/system/bt/service/ |
H A D | gatt_server.h | 213 ServiceDeclaration() : num_handles(0), service_handle(-1) {} 217 int service_handle; member in struct:bluetooth::GattServer::ServiceDeclaration 266 int service_handle) override; 271 int service_handle, 277 int service_handle, 282 int service_handle) override; 286 int service_handle) override;
|
H A D | gatt_server.cpp | 501 int service_handle) { 516 << " handle: " << service_handle 525 pending_handle_map_[*gatt_id] = service_handle; 526 CHECK(-1 == pending_decl_->service_handle); 527 pending_decl_->service_handle = service_handle; 536 int service_handle, 544 CHECK(pending_decl_->service_handle == service_handle); 551 << " service_handle 497 ServiceAddedCallback( hal::BluetoothGattInterface* gatt_iface, int status, int server_id, const btgatt_srvc_id_t& srvc_id, int service_handle) argument 532 CharacteristicAddedCallback( hal::BluetoothGattInterface* gatt_iface, int status, int server_id, const bt_uuid_t& uuid, int service_handle, int char_handle) argument 565 DescriptorAddedCallback( hal::BluetoothGattInterface* gatt_iface, int status, int server_id, const bt_uuid_t& uuid, int service_handle, int desc_handle) argument 598 ServiceStartedCallback( hal::BluetoothGattInterface* gatt_iface, int status, int server_id, int service_handle) argument 612 << " handle: " << service_handle; local [all...] |
H A D | gatt_server_old.cpp | 118 int service_handle; member in struct:bluetooth::gatt::ServerInternals 155 g_internal->service_handle = srvc_handle; 299 "%s: status:%d server_if:%d service_handle:%d char_handle:%d", __func__, 317 "%s: status:%d server_if:%d service_handle:%d uuid[0]:%u " 516 server_if, service_handle, &c_uuid, properties, permissions); 523 service_handle(0), 532 gatt->server->delete_service(server_if, service_handle); 651 internal_->service_handle); 702 internal_->server_if, internal_->service_handle, GATT_TRANSPORT_LE); 705 internal_->service_handle); [all...] |
/system/bt/stack/srvc/ |
H A D | srvc_dis_int.h | 45 UINT16 service_handle; member in struct:__anon1295
|
H A D | srvc_dis.c | 94 if (handle >= dis_cb.service_handle && handle <= dis_cb.max_handle) 358 dis_cb.service_handle = GATTS_CreateService (srvc_eng_cb.gatt_if , &uuid, 0, DIS_MAX_ATTR_NUM, TRUE); 360 if (dis_cb.service_handle == 0) 365 dis_cb.max_handle = dis_cb.service_handle + DIS_MAX_ATTR_NUM; 372 p_db_attr->handle = GATTS_AddCharacteristic(dis_cb.service_handle, &uuid, GATT_PERM_READ, GATT_CHAR_PROP_BIT_READ); 381 status = GATTS_StartService (srvc_eng_cb.gatt_if, dis_cb.service_handle, GATT_TRANSPORT_LE_BR_EDR);
|
/system/bt/btif/src/ |
H A D | btif_gatt_server.c | 575 static bt_status_t btif_gatts_add_included_service(int server_if, int service_handle, argument 581 btif_cb.srvc_handle = (uint16_t) service_handle; 587 static bt_status_t btif_gatts_add_characteristic(int server_if, int service_handle, argument 594 btif_cb.srvc_handle = (uint16_t) service_handle; 602 static bt_status_t btif_gatts_add_descriptor(int server_if, int service_handle, bt_uuid_t *uuid, argument 608 btif_cb.srvc_handle = (uint16_t) service_handle; 615 static bt_status_t btif_gatts_start_service(int server_if, int service_handle, int transport) argument 620 btif_cb.srvc_handle = (uint16_t) service_handle; 626 static bt_status_t btif_gatts_stop_service(int server_if, int service_handle) argument 631 btif_cb.srvc_handle = (uint16_t) service_handle; 636 btif_gatts_delete_service(int server_if, int service_handle) argument [all...] |
/system/bt/stack/gap/ |
H A D | 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, statu [all...] |
/system/bt/stack/gatt/ |
H A D | gatt_attr.c | 270 UINT16 service_handle = 0; local 281 service_handle = GATTS_CreateService (gatt_cb.gatt_if , &uuid, 0, GATTP_MAX_ATTR_NUM, TRUE); 287 gatt_cb.handle_of_h_r = GATTS_AddCharacteristic(service_handle, &uuid, 0, GATT_CHAR_PROP_BIT_INDICATE); 294 status = GATTS_StartService (gatt_cb.gatt_if, service_handle, GATTP_TRANSPORT_SUPPORTED );
|
H A D | gatt_api.c | 269 ** Parameter service_handle : To which service this included service is added to. 276 UINT16 GATTS_AddIncludeService (UINT16 service_handle, UINT16 include_svc_handle) argument 281 if ((p_decl = gatt_find_hdl_buffer_by_handle(service_handle)) == NULL) 306 ** Parameter service_handle : To which service this included service is added to. 314 UINT16 GATTS_AddCharacteristic (UINT16 service_handle, tBT_UUID *p_char_uuid, argument 319 if ((p_decl = gatt_find_hdl_buffer_by_handle(service_handle)) == NULL) 346 ** Parameter service_handle : To which service this characteristic descriptor 356 UINT16 GATTS_AddCharDescriptor (UINT16 service_handle, argument 362 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...] |
/system/bt/test/suite/gatt/ |
H A D | gatt_test.h | 42 int service_handle() const { return service_handle_; } function in class:bttest::GattTest
|
H A D | gatt_unittest.cpp | 130 int srvc_handle = service_handle();
|
/system/bt/stack/include/ |
H A D | 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);
|