summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack He <siyuanh@google.com>2017-07-11 20:37:44 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-07-11 20:37:44 +0000
commit037bf6639923c6dbba3c7e473b2e3fc48f4341d5 (patch)
tree38f8a3c2db2f1efb44569910be586e37cd0e98ce
parent5d84f45474af41bddd5fe054902cfcddaf978519 (diff)
parente046029d08fe5fcad9541b5b812c0ceabd1bb955 (diff)
downloadlibhardware-037bf6639923c6dbba3c7e473b2e3fc48f4341d5.tar.gz
Merge "GATT: Expose opportunistic client API to Java" am: 3fca77cec8
am: e046029d08 Change-Id: I421ea96d16b91ea9b1a4e9592efa439ceb33b8d5
-rw-r--r--include/hardware/bt_gatt_client.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hardware/bt_gatt_client.h b/include/hardware/bt_gatt_client.h
index 9adeb6f0..cafc2da7 100644
--- a/include/hardware/bt_gatt_client.h
+++ b/include/hardware/bt_gatt_client.h
@@ -207,7 +207,8 @@ typedef struct {
/** Create a connection to a remote LE or dual-mode device */
bt_status_t (*connect)(int client_if, const RawAddress& bd_addr,
- bool is_direct, int transport, int initiating_phys);
+ bool is_direct, int transport, bool opportunistic,
+ int initiating_phys);
/** Disconnect a remote device or cancel a pending connection */
bt_status_t (*disconnect)( int client_if, const RawAddress& bd_addr,