diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-05-15 12:13:09 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-06-02 08:38:40 +0200 |
commit | f279b8569289c0c03dad77064c2fc3b1b97a47c4 (patch) | |
tree | 23c97c393caddd023ad55afe77dde7c123084379 /src/bluetooth/bluez/bluez.pri | |
parent | 00c7458831695ebf075c8e16a023e68cbefe1bc5 (diff) |
Bluez5: Add service (un)registration support
The Bluez5 DBus API does not permit the selection of the
local Bt adapter when registering a service. This means that
if the local device has two Bluetooth adapters the service will be
advertised by both adapters. This leads to cases where
the QBluetoothServer::listen() call binds the socket on one adapter
but the remote device tries to connect to the other adapter.
For now this is an acceptable behavior since it is rather rare to
have two local adapters at the same time. A potential future fix is
tracked by QTBUG-39012.
Task-number: QTBUG-32085
Change-Id: Ibb24edc5b9d1c25a005aedd98f6fc5d0d11b60f8
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Diffstat (limited to 'src/bluetooth/bluez/bluez.pri')
-rw-r--r-- | src/bluetooth/bluez/bluez.pri | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bluetooth/bluez/bluez.pri b/src/bluetooth/bluez/bluez.pri index 5bfea6c2..0fa5fc05 100644 --- a/src/bluetooth/bluez/bluez.pri +++ b/src/bluetooth/bluez/bluez.pri @@ -25,7 +25,8 @@ HEADERS += bluez/manager_p.h \ bluez/objectmanager_p.h \ bluez/properties_p.h \ bluez/adapter1_bluez5_p.h \ - bluez/device1_bluez5_p.h + bluez/device1_bluez5_p.h \ + bluez/profile1_p.h SOURCES += bluez/manager.cpp \ @@ -42,4 +43,5 @@ SOURCES += bluez/manager.cpp \ bluez/properties.cpp \ bluez/adapter1_bluez5.cpp \ bluez/device1_bluez5.cpp \ - bluez/bluez5_helper.cpp + bluez/bluez5_helper.cpp \ + bluez/profile1.cpp |