summaryrefslogtreecommitdiffstats
path: root/include/hardware/bt_gatt_types.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_types.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_types.h')
-rw-r--r--include/hardware/bt_gatt_types.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/hardware/bt_gatt_types.h b/include/hardware/bt_gatt_types.h
index 0ac217e..e037ddc 100644
--- a/include/hardware/bt_gatt_types.h
+++ b/include/hardware/bt_gatt_types.h
@@ -43,6 +43,14 @@ typedef struct
uint8_t is_primary;
} btgatt_srvc_id_t;
+/** Preferred physical Transport for GATT connection */
+typedef enum
+{
+ GATT_TRANSPORT_AUTO,
+ GATT_TRANSPORT_BREDR,
+ GATT_TRANSPORT_LE
+} btgatt_transport_t;
+
__END_DECLS
#endif /* ANDROID_INCLUDE_BT_GATT_TYPES_H */