Searched refs:service_handle (Results 1 - 7 of 7) sorted by relevance

/external/bluetooth/bluedroid/stack/gatt/
H A Dgatt_attr.c249 UINT16 service_handle = 0; local
260 service_handle = GATTS_CreateService (gatt_cb.gatt_if , &uuid, 0, GATTP_MAX_ATTR_NUM, TRUE);
266 gatt_cb.handle_of_h_r = GATTS_AddCharacteristic(service_handle, &uuid, 0, GATT_CHAR_PROP_BIT_INDICATE);
273 status = GATTS_StartService (gatt_cb.gatt_if, service_handle, GATTP_TRANSPORT_SUPPORTED );
H A Dgatt_api.c270 ** Parameter service_handle : To which service this included service is added to.
277 UINT16 GATTS_AddIncludeService (UINT16 service_handle, UINT16 include_svc_handle) argument
282 if ((p_decl = gatt_find_hdl_buffer_by_handle(service_handle)) == NULL)
307 ** Parameter service_handle : To which service this included service is added to.
315 UINT16 GATTS_AddCharacteristic (UINT16 service_handle, tBT_UUID *p_char_uuid, argument
320 if ((p_decl = gatt_find_hdl_buffer_by_handle(service_handle)) == NULL)
347 ** Parameter service_handle : To which service this characteristic descriptor
357 UINT16 GATTS_AddCharDescriptor (UINT16 service_handle, argument
363 if ((p_decl = gatt_find_hdl_buffer_by_handle(service_handle)) == NULL)
463 tGATT_STATUS GATTS_StartService (tGATT_IF gatt_if, UINT16 service_handle, argument
559 GATTS_StopService(UINT16 service_handle) argument
[all...]
/external/bluetooth/bluedroid/stack/srvc/
H A Dsrvc_dis_int.h47 UINT16 service_handle; member in struct:__anon1585
H A Dsrvc_dis.c67 if (handle >= dis_cb.service_handle && handle <= dis_cb.max_handle)
332 dis_cb.service_handle = GATTS_CreateService (srvc_eng_cb.gatt_if , &uuid, 0, DIS_MAX_ATTR_NUM, TRUE);
334 if (dis_cb.service_handle == 0)
339 dis_cb.max_handle = dis_cb.service_handle + DIS_MAX_ATTR_NUM;
346 p_db_attr->handle = GATTS_AddCharacteristic(dis_cb.service_handle, &uuid, GATT_PERM_READ, GATT_CHAR_PROP_BIT_READ);
355 status = GATTS_StartService (srvc_eng_cb.gatt_if, dis_cb.service_handle, GATT_TRANSPORT_LE_BR_EDR);
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_gatt_server.c526 static bt_status_t btif_gatts_add_included_service(int server_if, int service_handle, argument
532 btif_cb.srvc_handle = (uint16_t) service_handle;
538 static bt_status_t btif_gatts_add_characteristic(int server_if, int service_handle, argument
545 btif_cb.srvc_handle = (uint16_t) service_handle;
553 static bt_status_t btif_gatts_add_descriptor(int server_if, int service_handle, bt_uuid_t *uuid, argument
559 btif_cb.srvc_handle = (uint16_t) service_handle;
566 static bt_status_t btif_gatts_start_service(int server_if, int service_handle, int transport) argument
571 btif_cb.srvc_handle = (uint16_t) service_handle;
577 static bt_status_t btif_gatts_stop_service(int server_if, int service_handle) argument
582 btif_cb.srvc_handle = (uint16_t) service_handle;
587 btif_gatts_delete_service(int server_if, int service_handle) argument
[all...]
/external/bluetooth/bluedroid/stack/include/
H A Dgatt_api.h741 ** Parameter service_handle : To which service this included service is added to.
748 GATT_API extern UINT16 GATTS_AddIncludeService (UINT16 service_handle,
761 ** Parameter service_handle : To which service this included service is added to.
770 GATT_API extern UINT16 GATTS_AddCharacteristic (UINT16 service_handle, tBT_UUID *char_uuid,
782 ** Parameter service_handle : To which service this characteristic descriptor
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,
833 ** Parameter service_handle : this is the start handle of a service
838 GATT_API extern void GATTS_StopService (UINT16 service_handle);
/external/bluetooth/bluedroid/stack/gap/
H A Dgap_ble.c480 UINT16 service_handle; local
493 service_handle = GATTS_CreateService (gap_cb.gatt_if, &uuid, 0, GAP_MAX_ATTR_NUM, TRUE);
495 GAP_TRACE_EVENT1 ("gap_attr_db_init service_handle = %d", service_handle);
501 p_db_attr->handle = GATTS_AddCharacteristic(service_handle, &uuid, GATT_PERM_READ, GATT_CHAR_PROP_BIT_READ);
507 p_db_attr->handle = GATTS_AddCharacteristic(service_handle,
516 status = GATTS_StartService(gap_cb.gatt_if, service_handle, GAP_TRANSPORT_SUPPORTED );
519 gap_cb.gatt_if, service_handle, status);

Completed in 36 milliseconds