From 856fa57a431077febf11fea27d8c63091623126d Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Fri, 13 Jun 2014 12:22:05 +0200 Subject: Discover all Bluetooth services and their handles Change-Id: I83d88412319c34cf6c8cf0c6e841458226c9d073 Reviewed-by: Fabian Bumberger --- src/bluetooth/qbluetoothsocket_bluez.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/bluetooth/qbluetoothsocket_bluez.cpp') 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; -- cgit v1.2.3