summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack He <siyuanh@google.com>2017-07-11 20:46:05 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-07-11 20:46:05 +0000
commitc00d8ae936dc7f80a199956a8735b325b3388c2f (patch)
treec5b21efa009361f17d5805c3b8834433d20dfdff
parent906bd8da85118a36702647a7591f5d8bb389080b (diff)
parent037bf6639923c6dbba3c7e473b2e3fc48f4341d5 (diff)
downloadlibhardware-c00d8ae936dc7f80a199956a8735b325b3388c2f.tar.gz
Merge "GATT: Expose opportunistic client API to Java" am: 3fca77cec8 am: e046029d08
am: 037bf66399 Change-Id: I2ffbb7d2e89400675c7278c855f84e1ee1f24c35
-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,