/external/bluetooth/bluedroid/btif/src/ |
D | btif_gatt_server.c | 526 static bt_status_t btif_gatts_add_included_service(int server_if, int service_handle, in btif_gatts_add_included_service() argument 532 btif_cb.srvc_handle = (uint16_t) service_handle; in btif_gatts_add_included_service() 538 static bt_status_t btif_gatts_add_characteristic(int server_if, int service_handle, in btif_gatts_add_characteristic() argument 545 btif_cb.srvc_handle = (uint16_t) service_handle; in btif_gatts_add_characteristic() 553 static bt_status_t btif_gatts_add_descriptor(int server_if, int service_handle, bt_uuid_t *uuid, in btif_gatts_add_descriptor() argument 559 btif_cb.srvc_handle = (uint16_t) service_handle; in btif_gatts_add_descriptor() 566 static bt_status_t btif_gatts_start_service(int server_if, int service_handle, int transport) in btif_gatts_start_service() argument 571 btif_cb.srvc_handle = (uint16_t) service_handle; in btif_gatts_start_service() 577 static bt_status_t btif_gatts_stop_service(int server_if, int service_handle) in btif_gatts_stop_service() argument 582 btif_cb.srvc_handle = (uint16_t) service_handle; in btif_gatts_stop_service() [all …]
|
/external/bluetooth/bluedroid/stack/gatt/ |
D | gatt_attr.c | 249 UINT16 service_handle = 0; in gatt_profile_db_init() local 260 service_handle = GATTS_CreateService (gatt_cb.gatt_if , &uuid, 0, GATTP_MAX_ATTR_NUM, TRUE); in gatt_profile_db_init() 266 …gatt_cb.handle_of_h_r = GATTS_AddCharacteristic(service_handle, &uuid, 0, GATT_CHAR_PROP_BIT… in gatt_profile_db_init() 273 status = GATTS_StartService (gatt_cb.gatt_if, service_handle, GATTP_TRANSPORT_SUPPORTED ); in gatt_profile_db_init()
|
D | gatt_api.c | 277 UINT16 GATTS_AddIncludeService (UINT16 service_handle, UINT16 include_svc_handle) in GATTS_AddIncludeService() argument 282 if ((p_decl = gatt_find_hdl_buffer_by_handle(service_handle)) == NULL) in GATTS_AddIncludeService() 315 UINT16 GATTS_AddCharacteristic (UINT16 service_handle, tBT_UUID *p_char_uuid, in GATTS_AddCharacteristic() argument 320 if ((p_decl = gatt_find_hdl_buffer_by_handle(service_handle)) == NULL) in GATTS_AddCharacteristic() 357 UINT16 GATTS_AddCharDescriptor (UINT16 service_handle, in GATTS_AddCharDescriptor() argument 363 if ((p_decl = gatt_find_hdl_buffer_by_handle(service_handle)) == NULL) in GATTS_AddCharDescriptor() 463 tGATT_STATUS GATTS_StartService (tGATT_IF gatt_if, UINT16 service_handle, in GATTS_StartService() argument 483 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 …]
|
/external/bluetooth/bluedroid/stack/srvc/ |
D | srvc_dis.c | 67 if (handle >= dis_cb.service_handle && handle <= dis_cb.max_handle) in dis_valid_handle_range() 332 …dis_cb.service_handle = GATTS_CreateService (srvc_eng_cb.gatt_if , &uuid, 0, DIS_MAX_ATTR_NUM, TRU… in DIS_SrInit() 334 if (dis_cb.service_handle == 0) in DIS_SrInit() 339 dis_cb.max_handle = dis_cb.service_handle + DIS_MAX_ATTR_NUM; in DIS_SrInit() 346 …p_db_attr->handle = GATTS_AddCharacteristic(dis_cb.service_handle, &uuid, GATT_PERM_READ, GATT_CH… in DIS_SrInit() 355 …status = GATTS_StartService (srvc_eng_cb.gatt_if, dis_cb.service_handle, GATT_TRANSPORT_LE_BR_EDR); in DIS_SrInit()
|
D | srvc_dis_int.h | 47 UINT16 service_handle; member
|
/external/bluetooth/bluedroid/stack/gap/ |
D | gap_ble.c | 480 UINT16 service_handle; in gap_attr_db_init() local 493 service_handle = GATTS_CreateService (gap_cb.gatt_if, &uuid, 0, GAP_MAX_ATTR_NUM, TRUE); in gap_attr_db_init() 495 GAP_TRACE_EVENT1 ("gap_attr_db_init service_handle = %d", service_handle); in gap_attr_db_init() 501 …p_db_attr->handle = GATTS_AddCharacteristic(service_handle, &uuid, GATT_PERM_READ, GATT_CHAR_PROP_… in gap_attr_db_init() 507 p_db_attr->handle = GATTS_AddCharacteristic(service_handle, in gap_attr_db_init() 516 status = GATTS_StartService(gap_cb.gatt_if, service_handle, GAP_TRANSPORT_SUPPORTED ); in gap_attr_db_init() 519 gap_cb.gatt_if, service_handle, status); in gap_attr_db_init()
|
/external/bluetooth/bluedroid/stack/include/ |
D | gatt_api.h | 748 GATT_API extern UINT16 GATTS_AddIncludeService (UINT16 service_handle, 770 GATT_API extern UINT16 GATTS_AddCharacteristic (UINT16 service_handle, tBT_UUID *char_uuid, 792 GATT_API extern UINT16 GATTS_AddCharDescriptor (UINT16 service_handle, tGATT_PERM perm, 823 GATT_API extern tGATT_STATUS GATTS_StartService (tGATT_IF gatt_if, UINT16 service_handle, 838 GATT_API extern void GATTS_StopService (UINT16 service_handle);
|