Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/btif/src/
Dbtif_gatt_server.c515 static bt_status_t btif_gatts_add_included_service(int server_if, int service_handle, in btif_gatts_add_included_service() argument
521 btif_cb.srvc_handle = (uint16_t) service_handle; in btif_gatts_add_included_service()
527 static bt_status_t btif_gatts_add_characteristic(int server_if, int service_handle, in btif_gatts_add_characteristic() argument
534 btif_cb.srvc_handle = (uint16_t) service_handle; in btif_gatts_add_characteristic()
542 static bt_status_t btif_gatts_add_descriptor(int server_if, int service_handle, bt_uuid_t *uuid, in btif_gatts_add_descriptor() argument
548 btif_cb.srvc_handle = (uint16_t) service_handle; in btif_gatts_add_descriptor()
555 static bt_status_t btif_gatts_start_service(int server_if, int service_handle, int transport) in btif_gatts_start_service() argument
560 btif_cb.srvc_handle = (uint16_t) service_handle; in btif_gatts_start_service()
566 static bt_status_t btif_gatts_stop_service(int server_if, int service_handle) in btif_gatts_stop_service() argument
571 btif_cb.srvc_handle = (uint16_t) service_handle; in btif_gatts_stop_service()
[all …]
/external/bluetooth/bluedroid/stack/gatt/
Dgatt_attr.c248 UINT16 service_handle = 0; in gatt_profile_db_init() local
259 service_handle = GATTS_CreateService (gatt_cb.gatt_if , &uuid, 0, GATTP_MAX_ATTR_NUM, TRUE); in gatt_profile_db_init()
265 …gatt_cb.handle_of_h_r = GATTS_AddCharacteristic(service_handle, &uuid, 0, GATT_CHAR_PROP_BIT… in gatt_profile_db_init()
272 status = GATTS_StartService (gatt_cb.gatt_if, service_handle, GATTP_TRANSPORT_SUPPORTED ); in gatt_profile_db_init()
Dgatt_api.c277 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/gap/
Dgap_ble.c480 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/
Dgatt_api.h739 GATT_API extern UINT16 GATTS_AddIncludeService (UINT16 service_handle,
761 GATT_API extern UINT16 GATTS_AddCharacteristic (UINT16 service_handle, tBT_UUID *char_uuid,
783 GATT_API extern UINT16 GATTS_AddCharDescriptor (UINT16 service_handle, tGATT_PERM perm,
814 GATT_API extern tGATT_STATUS GATTS_StartService (tGATT_IF gatt_if, UINT16 service_handle,
829 GATT_API extern void GATTS_StopService (UINT16 service_handle);