Home
last modified time | relevance | path

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

/device/soc/esp/esp32/components/bt/host/bluedroid/api/include/api/
Desp_gatts_api.h137 uint16_t service_handle; /*!< Service attribute handle */ member
147 uint16_t service_handle; /*!< Service attribute handle */ member
156 uint16_t service_handle; /*!< Service attribute handle */ member
166 uint16_t service_handle; /*!< Service attribute handle */ member
175 uint16_t service_handle; /*!< Service attribute handle */ member
183 uint16_t service_handle; /*!< Service attribute handle */ member
191 uint16_t service_handle; /*!< Service attribute handle */ member
379 esp_err_t esp_ble_gatts_add_included_service(uint16_t service_handle, uint16_t included_service_han…
399 esp_err_t esp_ble_gatts_add_char(uint16_t service_handle, esp_bt_uuid_t *char_uuid,
420 esp_err_t esp_ble_gatts_add_char_descr (uint16_t service_handle,
[all …]
/device/soc/esp/esp32/components/bt/host/bluedroid/api/
Desp_gatts_api.c118 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
128 arg.add_incl_srvc.service_handle = service_handle; in esp_ble_gatts_add_included_service()
135 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
155 arg.add_char.service_handle = service_handle; in esp_ble_gatts_add_char()
173 esp_err_t esp_ble_gatts_add_char_descr (uint16_t service_handle, in esp_ble_gatts_add_char_descr() argument
194 arg.add_descr.service_handle = service_handle; in esp_ble_gatts_add_char_descr()
211 esp_err_t esp_ble_gatts_delete_service(uint16_t service_handle) in esp_ble_gatts_delete_service() argument
221 arg.delete_srvc.service_handle = service_handle; in esp_ble_gatts_delete_service()
226 esp_err_t esp_ble_gatts_start_service(uint16_t service_handle) in esp_ble_gatts_start_service() argument
236 arg.start_srvc.service_handle = service_handle; in esp_ble_gatts_start_service()
[all …]
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/std/include/
Dbtc_gatts.h72 uint16_t service_handle; member
77 uint16_t service_handle; member
82 uint16_t service_handle; member
87 uint16_t service_handle; member
93 uint16_t service_handle; member
103 uint16_t service_handle; member
Ddis_api.h111 UINT16 service_handle; member
/device/soc/winnermicro/wm800/board/include/bt/
Dwm_ble_gatt.h374 tls_bt_status_t tls_ble_server_add_characteristic(uint8_t server_if, uint16_t service_handle,
389 tls_bt_status_t tls_ble_server_add_descriptor(uint8_t server_if, uint16_t service_handle,
403 tls_bt_status_t tls_ble_server_start_service(uint8_t server_if, uint16_t service_handle, int transp…
415 tls_bt_status_t tls_ble_server_stop_service(uint8_t server_if, uint16_t service_handle);
427 tls_bt_status_t tls_ble_server_delete_service(uint8_t server_if, uint16_t service_handle);
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gap/
Dgap_ble.c375 UINT16 service_handle; in gap_attr_db_init() local
388 service_handle = GATTS_CreateService (gap_cb.gatt_if, &uuid, 0, GAP_MAX_ATTR_NUM, 1); in gap_attr_db_init()
390 GAP_TRACE_EVENT ("gap_attr_db_init service_handle = %d", service_handle); in gap_attr_db_init()
396 …p_db_attr->handle = GATTS_AddCharacteristic(service_handle, &uuid, GATT_PERM_READ, GATT_CHAR_PROP_… in gap_attr_db_init()
403 p_db_attr->handle = GATTS_AddCharacteristic(service_handle, in gap_attr_db_init()
419 p_db_attr->handle = GATTS_AddCharacteristic(service_handle, in gap_attr_db_init()
430 p_db_attr->handle = GATTS_AddCharacteristic(service_handle, &uuid, in gap_attr_db_init()
439 status = GATTS_StartService(gap_cb.gatt_if, service_handle, GAP_TRANSPORT_SUPPORTED ); in gap_attr_db_init()
445 gap_cb.gatt_if, service_handle, status); in gap_attr_db_init()
/device/soc/winnermicro/hals/communication/bt_lite/ble/source/
Dnble.c108 uint16_t service_handle; in on_svr_register_cb() local
127 service_handle = (uint16_t)*(uint16_t *)ctxt->chr.chr_def->arg; in on_svr_register_cb()
128 ble_server_retrieve_id_by_service_id(service_handle, &server_if); in on_svr_register_cb()
134 …ctxt->chr.val_handle, ctxt->chr.val_handle, service_handle, server_if, (int)ctxt->chr.chr_def->arg… in on_svr_register_cb()
142 service_handle, ctxt->chr.val_handle); in on_svr_register_cb()
149 service_handle = (uint16_t)*(uint16_t *)ctxt->dsc.dsc_def->arg; in on_svr_register_cb()
150 ble_server_retrieve_id_by_service_id(service_handle, &server_if); in on_svr_register_cb()
154 ctxt->dsc.handle, ctxt->dsc.handle, service_handle, server_if); in on_svr_register_cb()
161 service_handle, ctxt->dsc.handle); in on_svr_register_cb()
Dnble_server.h37 …void ble_server_retrieve_service_handle_by_server_id(uint16_t server_id, uint16_t *service_handle);
Dnble_server.c133 void ble_server_retrieve_service_handle_by_server_id(uint16_t server_id, uint16_t *service_handle) in ble_server_retrieve_service_handle_by_server_id() argument
142 *service_handle = svc_item->attr_handle; in ble_server_retrieve_service_handle_by_server_id()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_ble/legacy_include/
Dbluetooth_legacy_include.h39 uint16_t service_handle,
136 /* OUT */ uint16_t * service_handle
141 /* IN */ uint16_t service_handle,
152 /* IN */ uint16_t service_handle,
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/
Dgatt_attr.c338 UINT16 service_handle = 0; in gatt_profile_db_init() local
349 service_handle = GATTS_CreateService (gatt_cb.gatt_if , &uuid, 0, GATTP_MAX_ATTR_NUM, 1); in gatt_profile_db_init()
350 GATT_TRACE_DEBUG ("GATTS_CreateService: handle of service handle%x", service_handle); in gatt_profile_db_init()
357 …gatt_cb.handle_of_h_r = GATTS_AddCharacteristic(service_handle, &uuid, 0, GATT_CHAR_PROP_BIT… in gatt_profile_db_init()
372 …GATTS_AddCharDescriptor (service_handle, GATT_PERM_READ | GATT_PERM_WRITE , &descr_uuid, &attr_val… in gatt_profile_db_init()
375 status = GATTS_StartService (gatt_cb.gatt_if, service_handle, GATTP_TRANSPORT_SUPPORTED ); in gatt_profile_db_init()
Dgatt_api.c258 UINT16 GATTS_AddIncludeService (UINT16 service_handle, UINT16 include_svc_handle) in GATTS_AddIncludeService() argument
263 if ((p_decl = gatt_find_hdl_buffer_by_handle(service_handle)) == NULL) { in GATTS_AddIncludeService()
294 UINT16 GATTS_AddCharacteristic (UINT16 service_handle, tBT_UUID *p_char_uuid, in GATTS_AddCharacteristic() argument
300 if ((p_decl = gatt_find_hdl_buffer_by_handle(service_handle)) == NULL) { in GATTS_AddCharacteristic()
336 UINT16 GATTS_AddCharDescriptor (UINT16 service_handle, in GATTS_AddCharDescriptor() argument
342 if ((p_decl = gatt_find_hdl_buffer_by_handle(service_handle)) == NULL) { in GATTS_AddCharDescriptor()
440 tGATT_STATUS GATTS_StartService (tGATT_IF gatt_if, UINT16 service_handle, in GATTS_StartService() argument
461 if ((p_list = gatt_find_hdl_buffer_by_handle(service_handle)) == NULL) { in GATTS_StartService()
534 void GATTS_StopService (UINT16 service_handle) in GATTS_StopService() argument
536 UINT8 ii = gatt_sr_find_i_rcb_by_handle(service_handle); in GATTS_StopService()
[all …]
/device/soc/esp/esp32/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()
846 param.create.service_handle = p_data->create.service_id; in btc_gatts_cb_handler()
857 param.add_incl_srvc.service_handle = p_data->add_result.service_id; in btc_gatts_cb_handler()
865 param.add_char.service_handle = p_data->add_result.service_id; in btc_gatts_cb_handler()
874 param.add_char_descr.service_handle = p_data->add_result.service_id; in btc_gatts_cb_handler()
[all …]
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/include/stack/
Dgatt_api.h752 extern UINT16 GATTS_AddIncludeService (UINT16 service_handle,
774 extern UINT16 GATTS_AddCharacteristic (UINT16 service_handle, tBT_UUID *p_char_uuid,
797 extern UINT16 GATTS_AddCharDescriptor (UINT16 service_handle, tGATT_PERM perm,
830 extern tGATT_STATUS GATTS_StartService (tGATT_IF gatt_if, UINT16 service_handle,
845 extern void GATTS_StopService (UINT16 service_handle);
/device/soc/esp/esp32/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()
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/std/dis/include/
Dsrvc_dis_int.h45 UINT16 service_handle; member
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/std/battery/
Dbattery_prf.c101 dis_cb.service_handle = service_id; in bas_gatts_callback()
/device/soc/winnermicro/wm800/board/src/app/wm_atcmd/
Dwm_cmdp_hostif_gcc.h363 u16 service_handle; member
372 u16 service_handle; member