HomeSort by relevance Sort by last modified time
    Searched refs:service_handle (Results 1 - 8 of 8) sorted by null

  /hardware/libhardware/include/hardware/
bt_gatt_server.h 162 bt_status_t (*add_included_service)( int server_if, int service_handle, int included_handle);
166 int service_handle, bt_uuid_t *uuid,
170 bt_status_t (*add_descriptor)(int server_if, int service_handle,
174 bt_status_t (*start_service)(int server_if, int service_handle,
178 bt_status_t (*stop_service)(int server_if, int service_handle);
181 bt_status_t (*delete_service)(int server_if, int service_handle);
  /system/bt/stack/srvc/
srvc_dis_int.h 47 UINT16 service_handle; member in struct:__anon69801
srvc_dis.c 96 if (handle >= dis_cb.service_handle && handle <= dis_cb.max_handle)
365 dis_cb.service_handle = GATTS_CreateService (srvc_eng_cb.gatt_if , &uuid, 0, DIS_MAX_ATTR_NUM, TRUE);
367 if (dis_cb.service_handle == 0)
372 dis_cb.max_handle = dis_cb.service_handle + DIS_MAX_ATTR_NUM;
379 p_db_attr->handle = GATTS_AddCharacteristic(dis_cb.service_handle, &uuid, GATT_PERM_READ, GATT_CHAR_PROP_BIT_READ);
388 status = GATTS_StartService (srvc_eng_cb.gatt_if, dis_cb.service_handle, GATT_TRANSPORT_LE_BR_EDR);
  /system/bt/btif/src/
btif_gatt_server.c 574 static bt_status_t btif_gatts_add_included_service(int server_if, int service_handle,
580 btif_cb.srvc_handle = (uint16_t) service_handle;
586 static bt_status_t btif_gatts_add_characteristic(int server_if, int service_handle,
593 btif_cb.srvc_handle = (uint16_t) service_handle;
601 static bt_status_t btif_gatts_add_descriptor(int server_if, int service_handle, bt_uuid_t *uuid,
607 btif_cb.srvc_handle = (uint16_t) service_handle;
614 static bt_status_t btif_gatts_start_service(int server_if, int service_handle, int transport)
619 btif_cb.srvc_handle = (uint16_t) service_handle;
625 static bt_status_t btif_gatts_stop_service(int server_if, int service_handle)
630 btif_cb.srvc_handle = (uint16_t) service_handle;
    [all...]
  /system/bt/stack/gap/
gap_ble.c 384 UINT16 service_handle; local
397 service_handle = GATTS_CreateService (gap_cb.gatt_if, &uuid, 0, GAP_MAX_ATTR_NUM, TRUE);
399 GAP_TRACE_EVENT ("gap_attr_db_init service_handle = %d", service_handle);
405 p_db_attr->handle = GATTS_AddCharacteristic(service_handle, &uuid, GATT_PERM_READ, GATT_CHAR_PROP_BIT_READ);
411 p_db_attr->handle = GATTS_AddCharacteristic(service_handle,
425 p_db_attr->handle = GATTS_AddCharacteristic(service_handle,
435 p_db_attr->handle = GATTS_AddCharacteristic(service_handle, &uuid,
443 status = GATTS_StartService(gap_cb.gatt_if, service_handle, GAP_TRANSPORT_SUPPORTED );
446 gap_cb.gatt_if, service_handle, status)
    [all...]
  /system/bt/stack/gatt/
gatt_attr.c 272 UINT16 service_handle = 0; local
283 service_handle = GATTS_CreateService (gatt_cb.gatt_if , &uuid, 0, GATTP_MAX_ATTR_NUM, TRUE);
289 gatt_cb.handle_of_h_r = GATTS_AddCharacteristic(service_handle, &uuid, 0, GATT_CHAR_PROP_BIT_INDICATE);
296 status = GATTS_StartService (gatt_cb.gatt_if, service_handle, GATTP_TRANSPORT_SUPPORTED );
gatt_api.c 270 ** Parameter service_handle : To which service this included service is added to.
277 UINT16 GATTS_AddIncludeService (UINT16 service_handle, UINT16 include_svc_handle)
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,
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,
363 if ((p_decl = gatt_find_hdl_buffer_by_handle(service_handle)) == NULL)
464 tGATT_STATUS GATTS_StartService (tGATT_IF gatt_if, UINT16 service_handle,
    [all...]
  /system/bt/stack/include/
gatt_api.h 747 ** Parameter service_handle : To which service this included service is added to.
754 extern UINT16 GATTS_AddIncludeService (UINT16 service_handle,
767 ** Parameter service_handle : To which service this included service is added to.
776 extern UINT16 GATTS_AddCharacteristic (UINT16 service_handle, tBT_UUID *char_uuid,
788 ** Parameter service_handle : To which service this characteristic descriptor
798 extern UINT16 GATTS_AddCharDescriptor (UINT16 service_handle, tGATT_PERM perm,
830 extern tGATT_STATUS GATTS_StartService (tGATT_IF gatt_if, UINT16 service_handle,
840 ** Parameter service_handle : this is the start handle of a service
845 extern void GATTS_StopService (UINT16 service_handle);
    [all...]

Completed in 207 milliseconds