Home
last modified time | relevance | path

Searched refs:service_handle (Results 1 – 12 of 12) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/api/include/api/
Desp_gatts_api.h125 uint16_t service_handle; /*!< Service attribute handle */ member
135 uint16_t service_handle; /*!< Service attribute handle */ member
144 uint16_t service_handle; /*!< Service attribute handle */ member
154 uint16_t service_handle; /*!< Service attribute handle */ member
163 uint16_t service_handle; /*!< Service attribute handle */ member
171 uint16_t service_handle; /*!< Service attribute handle */ member
179 uint16_t service_handle; /*!< Service attribute handle */ member
385 esp_err_t esp_ble_gatts_add_included_service(uint16_t service_handle, uint16_t included_service_han…
407 esp_err_t esp_ble_gatts_add_char(uint16_t service_handle, esp_bt_uuid_t *char_uuid,
430 esp_err_t esp_ble_gatts_add_char_descr (uint16_t service_handle,
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/include/
Dbtc_gatts.h65 uint16_t service_handle; member
70 uint16_t service_handle; member
75 uint16_t service_handle; member
80 uint16_t service_handle; member
86 uint16_t service_handle; member
96 uint16_t service_handle; member
Ddis_api.h111 UINT16 service_handle; member
/hal_espressif-latest/components/bt/host/bluedroid/api/
Desp_gatts_api.c119 esp_err_t esp_ble_gatts_add_included_service(uint16_t service_handle, uint16_t included_service_han… in esp_ble_gatts_add_included_service() argument
129 arg.add_incl_srvc.service_handle = service_handle; in esp_ble_gatts_add_included_service()
136 esp_err_t esp_ble_gatts_add_char(uint16_t service_handle, esp_bt_uuid_t *char_uuid, in esp_ble_gatts_add_char() argument
156 arg.add_char.service_handle = service_handle; in esp_ble_gatts_add_char()
175 esp_err_t esp_ble_gatts_add_char_descr (uint16_t service_handle, in esp_ble_gatts_add_char_descr() argument
196 arg.add_descr.service_handle = service_handle; in esp_ble_gatts_add_char_descr()
214 esp_err_t esp_ble_gatts_delete_service(uint16_t service_handle) in esp_ble_gatts_delete_service() argument
224 arg.delete_srvc.service_handle = service_handle; in esp_ble_gatts_delete_service()
229 esp_err_t esp_ble_gatts_start_service(uint16_t service_handle) in esp_ble_gatts_start_service() argument
239 arg.start_srvc.service_handle = service_handle; in esp_ble_gatts_start_service()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/
Dgatt_attr.c445 UINT16 service_handle = 0; in gatt_profile_db_init() local
456 service_handle = GATTS_CreateService (gatt_cb.gatt_if , &uuid, 0, GATTP_MAX_ATTR_NUM, TRUE); in gatt_profile_db_init()
457 GATT_TRACE_DEBUG ("GATTS_CreateService: handle of service handle%x", service_handle); in gatt_profile_db_init()
464 …gatt_cb.handle_of_h_r = GATTS_AddCharacteristic(service_handle, &uuid, 0, GATT_CHAR_PROP_BIT… in gatt_profile_db_init()
479 …GATTS_AddCharDescriptor (service_handle, GATT_PERM_READ | GATT_PERM_WRITE , &descr_uuid, &attr_val… in gatt_profile_db_init()
483 …gatt_cb.handle_of_cl_supported_feat = GATTS_AddCharacteristic(service_handle, &uuid, GATT_PERM_REA… in gatt_profile_db_init()
488 …gatt_cb.handle_of_database_hash = GATTS_AddCharacteristic(service_handle, &uuid, GATT_PERM_READ, G… in gatt_profile_db_init()
492 …gatt_cb.handle_of_sr_supported_feat = GATTS_AddCharacteristic(service_handle, &uuid, GATT_PERM_REA… in gatt_profile_db_init()
495 status = GATTS_StartService (gatt_cb.gatt_if, service_handle, GATTP_TRANSPORT_SUPPORTED ); in gatt_profile_db_init()
Dgatt_api.c275 UINT16 GATTS_AddIncludeService (UINT16 service_handle, UINT16 include_svc_handle) in GATTS_AddIncludeService() argument
280 if ((p_decl = gatt_find_hdl_buffer_by_handle(service_handle)) == NULL) { in GATTS_AddIncludeService()
311 UINT16 GATTS_AddCharacteristic (UINT16 service_handle, tBT_UUID *p_char_uuid, in GATTS_AddCharacteristic() argument
317 if ((p_decl = gatt_find_hdl_buffer_by_handle(service_handle)) == NULL) { in GATTS_AddCharacteristic()
353 UINT16 GATTS_AddCharDescriptor (UINT16 service_handle, in GATTS_AddCharDescriptor() argument
359 if ((p_decl = gatt_find_hdl_buffer_by_handle(service_handle)) == NULL) { in GATTS_AddCharDescriptor()
460 tGATT_STATUS GATTS_StartService (tGATT_IF gatt_if, UINT16 service_handle, in GATTS_StartService() argument
481 if ((p_list = gatt_find_hdl_buffer_by_handle(service_handle)) == NULL) { in GATTS_StartService()
559 void GATTS_StopService (UINT16 service_handle) in GATTS_StopService() argument
561 UINT8 ii = gatt_sr_find_i_rcb_by_handle(service_handle); in GATTS_StopService()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/gap/
Dgap_ble.c397 UINT16 service_handle; in gap_attr_db_init() local
410 service_handle = GATTS_CreateService (gap_cb.gatt_if, &uuid, 0, GAP_MAX_ATTR_NUM, TRUE); in gap_attr_db_init()
412 GAP_TRACE_EVENT ("gap_attr_db_init service_handle = %d", service_handle); in gap_attr_db_init()
418 p_db_attr->handle = GATTS_AddCharacteristic(service_handle, &uuid, in gap_attr_db_init()
431 p_db_attr->handle = GATTS_AddCharacteristic(service_handle, &uuid, in gap_attr_db_init()
450 p_db_attr->handle = GATTS_AddCharacteristic(service_handle, in gap_attr_db_init()
461 p_db_attr->handle = GATTS_AddCharacteristic(service_handle, &uuid, in gap_attr_db_init()
470 status = GATTS_StartService(gap_cb.gatt_if, service_handle, GAP_TRANSPORT_SUPPORTED ); in gap_attr_db_init()
476 gap_cb.gatt_if, service_handle, status); in gap_attr_db_init()
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/gatt/
Dbtc_gatts.c648 BTA_GATTS_DeleteService(arg->delete_srvc.service_handle); in btc_gatts_call_handler()
651 BTA_GATTS_StartService(arg->start_srvc.service_handle, BTA_GATT_TRANSPORT_LE); in btc_gatts_call_handler()
654 BTA_GATTS_StopService(arg->stop_srvc.service_handle); in btc_gatts_call_handler()
657 …BTA_GATTS_AddIncludeService(arg->add_incl_srvc.service_handle, arg->add_incl_srvc.included_service… in btc_gatts_call_handler()
663 BTA_GATTS_AddCharacteristic(arg->add_char.service_handle, &uuid, in btc_gatts_call_handler()
672 BTA_GATTS_AddCharDescriptor(arg->add_descr.service_handle, arg->add_descr.perm, &uuid, in btc_gatts_call_handler()
850 param.create.service_handle = p_data->create.service_id; in btc_gatts_cb_handler()
861 param.add_incl_srvc.service_handle = p_data->add_result.service_id; in btc_gatts_cb_handler()
869 param.add_char.service_handle = p_data->add_result.service_id; in btc_gatts_cb_handler()
878 param.add_char_descr.service_handle = p_data->add_result.service_id; in btc_gatts_cb_handler()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/dis/
Ddis_profile.c97 if (handle >= dis_cb.service_handle && handle <= dis_cb.max_handle) { in dis_valid_handle_range()
234 esp_ble_gatts_add_char(dis_cb.service_handle, &uuid, GATT_PERM_READ, in dis_AddChar()
241 esp_ble_gatts_start_srvc(dis_cb.service_handle); in dis_AddChar()
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/
Dgatt_api.h765 extern UINT16 GATTS_AddIncludeService (UINT16 service_handle,
787 extern UINT16 GATTS_AddCharacteristic (UINT16 service_handle, tBT_UUID *p_char_uuid,
810 extern UINT16 GATTS_AddCharDescriptor (UINT16 service_handle, tGATT_PERM perm,
843 extern tGATT_STATUS GATTS_StartService (tGATT_IF gatt_if, UINT16 service_handle,
858 extern void GATTS_StopService (UINT16 service_handle);
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/dis/include/
Dsrvc_dis_int.h45 UINT16 service_handle; member
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/battery/
Dbattery_prf.c93 dis_cb.service_handle = service_id; in bas_gatts_callback()