summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/bluez/bluez_data_p.h
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2017-05-16 15:11:57 +0200
committerAlex Blasche <alexander.blasche@qt.io>2017-05-23 13:32:47 +0000
commitca248e3667f52f951bdd60d923b25a6b8fb4296d (patch)
tree5b54e427c3e6d0b2d7b18c07ec5867101754ea09 /src/bluetooth/bluez/bluez_data_p.h
parent4593b79d84b9c8cc818d3c30e3882d699228339f (diff)
Make it more obvious that another active BTLE connection prevents connect
Task-number: QTBUG-55150 Change-Id: I223e2b2015e210162e59fb994b9352e790b036d4 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/bluetooth/bluez/bluez_data_p.h')
-rw-r--r--src/bluetooth/bluez/bluez_data_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bluetooth/bluez/bluez_data_p.h b/src/bluetooth/bluez/bluez_data_p.h
index 8c2dc43e..25edc661 100644
--- a/src/bluetooth/bluez/bluez_data_p.h
+++ b/src/bluetooth/bluez/bluez_data_p.h
@@ -99,6 +99,10 @@ struct bt_security {
#define BDADDR_LE_PUBLIC 0x01
#define BDADDR_LE_RANDOM 0x02
+#define SCO_LINK 0x00
+#define ACL_LINK 0x01
+#define ESCO_LINK 0x02
+#define LE_LINK 0x80 // based on hcitool.c -> no fixed constant available
/* Byte order conversions */
#if __BYTE_ORDER == __LITTLE_ENDIAN