summaryrefslogtreecommitdiff
path: root/btio/btio.h
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2012-04-24 22:42:26 -0300
committerJohan Hedberg <johan.hedberg@intel.com>2012-04-25 12:58:48 +0300
commitd94f9cbf7575a73e46dc2d0c27958c2ec2d841a8 (patch)
tree9cce49ae8cee08b66234c5a33013bb5440d78606 /btio/btio.h
parentba801fcd67e4fa5169e8c8b73fd87b6c08fca335 (diff)
downloadbluez-d94f9cbf7575a73e46dc2d0c27958c2ec2d841a8.tar.gz
btio: Add address type in bt_io_connect
This patch adds a new BtIO option to allow setting the remote Bluetooth address type for BLE connections. Allowed values for BT_IO_OPT_DEST_TYPE option are: BDADDR_BREDR, BDADDR_LE_PUBLIC, and BDADDR_LE_RANDOM.
Diffstat (limited to 'btio/btio.h')
-rw-r--r--btio/btio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/btio/btio.h b/btio/btio.h
index 429e8c0e9..cf0e07008 100644
--- a/btio/btio.h
+++ b/btio/btio.h
@@ -51,6 +51,7 @@ typedef enum {
BT_IO_OPT_SOURCE_BDADDR,
BT_IO_OPT_DEST,
BT_IO_OPT_DEST_BDADDR,
+ BT_IO_OPT_DEST_TYPE,
BT_IO_OPT_DEFER_TIMEOUT,
BT_IO_OPT_SEC_LEVEL,
BT_IO_OPT_KEY_SIZE,