summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothsocket_bluez.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-06-13 12:22:05 +0200
committerAlex Blasche <alexander.blasche@digia.com>2014-06-16 14:17:32 +0200
commit856fa57a431077febf11fea27d8c63091623126d (patch)
tree3805c1230dc632d6f00685fe8b702b744e383bee /src/bluetooth/qbluetoothsocket_bluez.cpp
parent9f973ffb423b9c6721162ede29e18b7950152a08 (diff)
Discover all Bluetooth services and their handles
Change-Id: I83d88412319c34cf6c8cf0c6e841458226c9d073 Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Diffstat (limited to 'src/bluetooth/qbluetoothsocket_bluez.cpp')
-rw-r--r--src/bluetooth/qbluetoothsocket_bluez.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bluetooth/qbluetoothsocket_bluez.cpp b/src/bluetooth/qbluetoothsocket_bluez.cpp
index 16977f74..cb963b4f 100644
--- a/src/bluetooth/qbluetoothsocket_bluez.cpp
+++ b/src/bluetooth/qbluetoothsocket_bluez.cpp
@@ -164,7 +164,9 @@ void QBluetoothSocketPrivate::connectToService(const QBluetoothAddress &address,
addr.l2_family = AF_BLUETOOTH;
// This is an ugly hack but the socket class does what's needed already.
// For L2CP GATT we need a channel rather than a socket and the LE address type
- // We don't want to make this public API offering
+ // We don't want to make this public API offering for now especially since
+ // only Linux (of all platforms supported by this library) supports this type
+ // of socket.
if (isLowEnergySocket) {
addr.l2_cid = port;
addr.l2_bdaddr_type = BDADDR_LE_PUBLIC;