summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Pawlowski <jpawlowski@google.com>2017-05-16 10:53:09 -0700
committerJakub Pawlowski <jpawlowski@google.com>2017-05-16 13:52:58 -0700
commita7c9c69ad43484ae5a29268c583ce9799819002d (patch)
treefc59ea715ad16604e1c2c5ea6b160d23968165e0
parented5b29d32f09a2985bd8f1bb0add2fa821892a65 (diff)
downloadlibhardware-a7c9c69ad43484ae5a29268c583ce9799819002d.tar.gz
Discover primary service by UUID for PTS tests (2/4)
Bug: 38123054 Test: manual Change-Id: Idaeac24005ff4521096b4849f976c69e530d800d (cherry picked from commit 560f2d97cd47e49659aa422df393157385ac9aa9)
-rw-r--r--include/hardware/bt_gatt_client.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/hardware/bt_gatt_client.h b/include/hardware/bt_gatt_client.h
index 33a6825f..154cb09e 100644
--- a/include/hardware/bt_gatt_client.h
+++ b/include/hardware/bt_gatt_client.h
@@ -223,6 +223,11 @@ typedef struct {
*/
bt_status_t (*search_service)(int conn_id, bt_uuid_t *filter_uuid );
+ /**
+ * Sead "Find service by UUID" request. Used only for PTS tests.
+ */
+ void (*btif_gattc_discover_service_by_uuid)(int conn_id, bt_uuid_t *uuid);
+
/** Read a characteristic on a remote device */
bt_status_t (*read_characteristic)(int conn_id, uint16_t handle,
int auth_req);