Searched defs:service_handle (Results 1 - 5 of 5) sorted by relevance

/system/bt/stack/srvc/
H A Dsrvc_dis_int.h47 UINT16 service_handle; member in struct:__anon1287
/system/bt/stack/gatt/
H A Dgatt_attr.c272 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 );
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)
464 tGATT_STATUS GATTS_StartService (tGATT_IF gatt_if, UINT16 service_handle, argument
560 GATTS_StopService(UINT16 service_handle) argument
[all...]
/system/bt/btif/src/
H A Dbtif_gatt_server.c574 static bt_status_t btif_gatts_add_included_service(int server_if, int service_handle, argument
580 btif_cb.srvc_handle = (uint16_t) service_handle;
586 static bt_status_t btif_gatts_add_characteristic(int server_if, int service_handle, argument
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, argument
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) argument
619 btif_cb.srvc_handle = (uint16_t) service_handle;
625 static bt_status_t btif_gatts_stop_service(int server_if, int service_handle) argument
630 btif_cb.srvc_handle = (uint16_t) service_handle;
635 btif_gatts_delete_service(int server_if, int service_handle) argument
[all...]
/system/bt/stack/gap/
H A Dgap_ble.c384 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, statu
[all...]

Completed in 211 milliseconds