/system/bt/test/suite/support/ |
gatt.c | 164 void btgatts_service_added_cb(int status, int server_if, btgatt_srvc_id_t *srvc_id, int srvc_handle) { 167 gatt_service_handle = srvc_handle; 171 void btgatts_included_service_added_cb(int status, int server_if, int srvc_handle, int incl_srvc_handle) { 174 gatt_service_handle = srvc_handle; 179 void btgatts_characteristic_added_cb(int status, int server_if, bt_uuid_t *char_id, int srvc_handle, int char_handle) { 182 gatt_service_handle = srvc_handle; 187 void btgatts_descriptor_added_cb(int status, int server_if, bt_uuid_t *descr_id, int srvc_handle, int descr_handle) { 190 gatt_service_handle = srvc_handle; 195 void btgatts_service_started_cb(int status, int server_if, int srvc_handle) { 198 gatt_service_handle = srvc_handle; [all...] |
callbacks.c | 61 void btgatts_service_added_cb(int status, int server_if, btgatt_srvc_id_t *srvc_id, int srvc_handle); 62 void btgatts_included_service_added_cb(int status, int server_if, int srvc_handle, int incl_srvc_handle); 63 void btgatts_characteristic_added_cb(int status, int server_if, bt_uuid_t *char_id, int srvc_handle, int char_handle); 64 void btgatts_descriptor_added_cb(int status, int server_if, bt_uuid_t *descr_id, int srvc_handle, int descr_handle); 65 void btgatts_service_started_cb(int status, int server_if, int srvc_handle); 66 void btgatts_service_stopped_cb(int status, int server_if, int srvc_handle); 67 void btgatts_service_deleted_cb(int status, int server_if, int srvc_handle);
|
/hardware/libhardware/include/hardware/ |
bt_gatt_server.h | 56 btgatt_srvc_id_t *srvc_id, int srvc_handle); 60 int srvc_handle, int incl_srvc_handle); 64 bt_uuid_t *uuid, int srvc_handle, int char_handle); 68 bt_uuid_t *uuid, int srvc_handle, int descr_handle); 72 int srvc_handle); 76 int srvc_handle); 80 int srvc_handle);
|
/system/bt/test/suite/cases/ |
gatt.c | 111 int srvc_handle = gatt_get_service_handle(); local 112 CALL_AND_WAIT(gatt_interface->server->add_characteristic(server_if, srvc_handle, &char_uuid, 0x10 /* notification */, 0x01 /* read only */), btgatts_characteristic_added_cb); 116 CALL_AND_WAIT(gatt_interface->server->add_descriptor(server_if, srvc_handle, &desc_uuid, 0x01), btgatts_descriptor_added_cb); 120 CALL_AND_WAIT(gatt_interface->server->start_service(server_if, srvc_handle, 2 /*BREDR/LE*/), btgatts_service_started_cb); 124 CALL_AND_WAIT(gatt_interface->server->stop_service(server_if, srvc_handle), btgatts_service_stopped_cb); 128 CALL_AND_WAIT(gatt_interface->server->delete_service(server_if, srvc_handle), btgatts_service_deleted_cb);
|
/system/bt/btif/src/ |
btif_gatt_server.c | 95 uint16_t srvc_handle; member in struct:__anon69178 454 BTA_GATTS_AddIncludeService(p_cb->srvc_handle, p_cb->incl_handle); 462 BTA_GATTS_AddCharacteristic(p_cb->srvc_handle, &uuid, 472 BTA_GATTS_AddCharDescriptor(p_cb->srvc_handle, p_cb->permissions, 478 BTA_GATTS_StartService(p_cb->srvc_handle, p_cb->transport); 482 BTA_GATTS_StopService(p_cb->srvc_handle); 486 BTA_GATTS_DeleteService(p_cb->srvc_handle); 580 btif_cb.srvc_handle = (uint16_t) service_handle; 593 btif_cb.srvc_handle = (uint16_t) service_handle; 607 btif_cb.srvc_handle = (uint16_t) service_handle [all...] |
/packages/apps/Bluetooth/jni/ |
com_android_bluetooth_gatt.cpp | 668 btgatt_srvc_id_t *srvc_id, int srvc_handle) 673 srvc_handle); 678 int srvc_handle, 683 status, server_if, srvc_handle, incl_srvc_handle); 688 int srvc_handle, int char_handle) 693 srvc_handle, char_handle); 698 bt_uuid_t *descr_id, int srvc_handle, 704 srvc_handle, descr_handle); 708 void btgatts_service_started_cb(int status, int server_if, int srvc_handle) 712 server_if, srvc_handle); [all...] |