summaryrefslogtreecommitdiffstats
path: root/include/hardware/bt_gatt_client.h
diff options
context:
space:
mode:
authorGanesh Ganapathi Batta <ganeshg@broadcom.com>2014-04-18 10:02:49 -0700
committerMatthew Xie <mattx@google.com>2014-05-06 01:24:05 -0700
commitf9f4d10c4a742e58a465279a116ee0266578c0bc (patch)
tree37f3e89654a390c40ba83a7535ab181d4f6958fc /include/hardware/bt_gatt_client.h
parent6253b053643975821e39128705edf8eb2c209cae (diff)
downloadhardware_libhardware-f9f4d10c4a742e58a465279a116ee0266578c0bc.zip
hardware_libhardware-f9f4d10c4a742e58a465279a116ee0266578c0bc.tar.gz
hardware_libhardware-f9f4d10c4a742e58a465279a116ee0266578c0bc.tar.bz2
Add transport param to Connect APIs
Support for passing preferred transport for GATT connections as part of Connect APIs Change-Id: I83ba256574234c0a15a4bff48bcffa2e237c9393
Diffstat (limited to 'include/hardware/bt_gatt_client.h')
-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 11b146d..f709e2c 100644
--- a/include/hardware/bt_gatt_client.h
+++ b/include/hardware/bt_gatt_client.h
@@ -195,7 +195,7 @@ typedef struct {
/** Create a connection to a remote LE or dual-mode device */
bt_status_t (*connect)( int client_if, const bt_bdaddr_t *bd_addr,
- bool is_direct );
+ bool is_direct, int transport );
/** Disconnect a remote device or cancel a pending connection */
bt_status_t (*disconnect)( int client_if, const bt_bdaddr_t *bd_addr,
@@ -291,6 +291,7 @@ typedef struct {
/** Test mode interface */
bt_status_t (*test_command)( int command, btgatt_test_params_t* params);
+
} btgatt_client_interface_t;
__END_DECLS