Home
last modified time | relevance | path

Searched refs:num_handle (Results 1 – 22 of 22) sorted by relevance

/hal_espressif-3.6.0/components/protocomm/src/simple_ble/
Dsimple_ble.c153 } else if (param->add_attr_tab.num_handle != g_ble_cfg_p->gatt_db_count) { in gatts_profile_event_handler()
156 …G, "created attribute table successfully, the number handle = %d", param->add_attr_tab.num_handle); in gatts_profile_event_handler()
157 … g_gatt_table_map = (uint16_t *) calloc(param->add_attr_tab.num_handle, sizeof(uint16_t)); in gatts_profile_event_handler()
163 g_ble_max_gatt_table_size = param->add_attr_tab.num_handle; in gatts_profile_event_handler()
164 …memcpy(g_gatt_table_map, param->add_attr_tab.handles, param->add_attr_tab.num_handle * sizeof(g_ga… in gatts_profile_event_handler()
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/include/
Dbtc_gatts.h59 uint16_t num_handle; member
160 uint8_t num_handle; member
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/gatt/
Dbta_gatts_api.c154 UINT16 num_handle, BOOLEAN is_primary) in BTA_GATTS_CreateService() argument
164 p_buf->num_handle = num_handle; in BTA_GATTS_CreateService()
Dbta_gatts_act.c328 p_msg->api_create_svc.num_handle, in bta_gatts_create_srvc()
/hal_espressif-3.6.0/components/bt/host/bluedroid/api/include/api/
Desp_gatts_api.h261 …uint16_t num_handle; /*!< The number of the attribute handle to be added to the gatts d… member
345 esp_gatt_srvc_id_t *service_id, uint16_t num_handle);
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/esp/wechat_AirSync/
Dwx_airsync_prf.c180 UINT16 num_handle = WX_IDX_NB; in AirSync_CreateService() local
185 esp_ble_gatts_create_srvc(server_if, &uuid, inst, num_handle, true); in AirSync_CreateService()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_security_server/main/
Dexample_ble_sec_gatts_demo.c450 ESP_LOGI(GATTS_TABLE_TAG, "The number handle = %x",param->add_attr_tab.num_handle); in gatts_profile_event_handler()
452 if(param->add_attr_tab.num_handle == HRS_IDX_NB) { in gatts_profile_event_handler()
458 param->add_attr_tab.num_handle, HRS_IDX_NB); in gatts_profile_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble_50/ble50_security_server/main/
Dble50_sec_gatts_demo.c404 ESP_LOGI(GATTS_TABLE_TAG, "The number handle = %x",param->add_attr_tab.num_handle); in gatts_profile_event_handler()
406 if(param->add_attr_tab.num_handle == HRS_IDX_NB) { in gatts_profile_event_handler()
412 param->add_attr_tab.num_handle, HRS_IDX_NB); in gatts_profile_event_handler()
/hal_espressif-3.6.0/components/bt/host/bluedroid/api/
Desp_gatts_api.c69 esp_gatt_srvc_id_t *service_id, uint16_t num_handle) in esp_ble_gatts_create_service() argument
80 arg.create_srvc.num_handle = num_handle; in esp_ble_gatts_create_service()
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/gatt/
Datt_protocol.c198 BT_HDR *attp_build_read_multi_cmd(UINT16 payload_size, UINT16 num_handle, UINT16 *p_handle) in attp_build_read_multi_cmd() argument
203 …if ((p_buf = (BT_HDR *)osi_malloc((UINT16)(sizeof(BT_HDR) + num_handle * 2 + 1 + L2CAP_MIN_OFFSET)… in attp_build_read_multi_cmd()
211 for (i = 0; i < num_handle && p_buf->len + 2 <= payload_size; i ++) { in attp_build_read_multi_cmd()
Dgatt_db.c65 UINT16 s_hdl, UINT16 num_handle) in gatts_init_service_db() argument
77 GATT_TRACE_DEBUG("s_hdl = %d num_handle = %d\n", s_hdl, num_handle ); in gatts_init_service_db()
81 p_db->end_handle = s_hdl + num_handle; in gatts_init_service_db()
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/esp/ble_button/
Dbutton_pro.c202 uint16_t num_handle = KEY_IDX_NB; in Button_CreateService() local
210 esp_ble_gatts_create_srvc(server_if, &uuid, inst, num_handle, true); in Button_CreateService()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_server_service_table/main/
Dgatts_table_creat_demo.c463 else if (param->add_attr_tab.num_handle != HRS_IDX_NB){ in gatts_profile_event_handler()
465 … doesn't equal to HRS_IDX_NB(%d)", param->add_attr_tab.num_handle, HRS_IDX_NB); in gatts_profile_event_handler()
468 …G, "create attribute table successfully, the number handle = %d\n",param->add_attr_tab.num_handle); in gatts_profile_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_spp_server/main/
Dble_spp_server_demo.c609 ESP_LOGI(GATTS_TABLE_TAG, "The number handle =%x\n",param->add_attr_tab.num_handle); in gatts_profile_event_handler()
613 else if (param->add_attr_tab.num_handle != SPP_IDX_NB){ in gatts_profile_event_handler()
614 …lly, num_handle (%d) doesn't equal to HRS_IDX_NB(%d)", param->add_attr_tab.num_handle, SPP_IDX_NB); in gatts_profile_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_compatibility_test/main/
Dble_compatibility_test.c574 else if (param->add_attr_tab.num_handle != HRS_IDX_NB){ in gatts_profile_event_handler()
576 … doesn't equal to HRS_IDX_NB(%d)", param->add_attr_tab.num_handle, HRS_IDX_NB); in gatts_profile_event_handler()
579 …G, "create attribute table successfully, the number handle = %d\n",param->add_attr_tab.num_handle); in gatts_profile_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_server_service_table/tutorial/
DGatt_Server_Service_Table_Example_Walkthrough.md448 uint16_t num_handle; /*!< The number of the attribute handle to be added to the gatts datab…
456 ESP_LOGI(GATTS_TABLE_TAG, "The number handle =%x\n",param->add_attr_tab.num_handle);
460 else if (param->add_attr_tab.num_handle != HRS_IDX_NB){
461 ESP_LOGE(GATTS_TABLE_TAG, "Create attribute table abnormally, num_handle (%d) \
462 doesn't equal to HRS_IDX_NB(%d)", param->add_attr_tab.num_handle, HRS_IDX_NB);
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/gatt/include/
Dbta_gatts_int.h84 UINT16 num_handle; member
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/main/
Dhid_device_le_prf.c610 if (param->add_attr_tab.num_handle == BAS_IDX_NB && in esp_hidd_prf_cb_hdl()
619 if (param->add_attr_tab.num_handle == HIDD_LE_IDX_NB && in esp_hidd_prf_cb_hdl()
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/include/bta/
Dbta_gatt_api.h224 UINT8 num_handle; member
1292 UINT8 inst, UINT16 num_handle, BOOLEAN is_primary);
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/gatt/
Dbtc_gatts.c227 param.add_attr_tab.num_handle = max_nb_attr; in btc_gatts_act_create_attr_tab()
246 btc_creat_tab_env.num_handle = max_nb_attr; in btc_gatts_act_create_attr_tab()
629 srvc_id.id.inst_id, arg->create_srvc.num_handle, in btc_gatts_call_handler()
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/include/stack/
Dgatt_api.h282 UINT8 num_handle; member
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/gatt/include/
Dgatt_int.h728 …vice_db (tGATT_SVC_DB *p_db, tBT_UUID *p_service, BOOLEAN is_pri, UINT16 s_hdl, UINT16 num_handle);