diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-04-19 06:08:48 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-04-19 06:08:49 +0000 |
commit | 421643aab5fec0fa942ec905c18bd4f5e0cdf2ce (patch) | |
tree | df4b139bb24ae272147b475f8a3e01a768390e2f | |
parent | c871add2f9eb6cfb0be3fd2c9613af7315152e57 (diff) | |
parent | f6833f45c39e1ffd41b2183bfcfcceaf1e6bacdc (diff) | |
download | libhardware-421643aab5fec0fa942ec905c18bd4f5e0cdf2ce.tar.gz |
Merge "Read by UUID for PTS tests (3/5)"
-rw-r--r-- | include/hardware/bt_gatt_client.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/hardware/bt_gatt_client.h b/include/hardware/bt_gatt_client.h index ec8dd161..33a6825f 100644 --- a/include/hardware/bt_gatt_client.h +++ b/include/hardware/bt_gatt_client.h @@ -224,8 +224,13 @@ typedef struct { bt_status_t (*search_service)(int conn_id, bt_uuid_t *filter_uuid ); /** Read a characteristic on a remote device */ - bt_status_t (*read_characteristic)( int conn_id, uint16_t handle, - int auth_req ); + bt_status_t (*read_characteristic)(int conn_id, uint16_t handle, + int auth_req); + + /** Read a characteristic on a remote device */ + bt_status_t (*read_using_characteristic_uuid)( + int conn_id, bt_uuid_t *uuid, uint16_t s_handle, + uint16_t e_handle, int auth_req); /** Write a remote characteristic */ bt_status_t (*write_characteristic)(int conn_id, uint16_t handle, |