Fix broken SDP discovery on QBluetoothSocket
authorAlex Blasche <alexander.blasche@digia.com>
Fri, 24 Jan 2014 13:12:46 +0000 (14:12 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 28 Jan 2014 06:12:40 +0000 (07:12 +0100)
commit7644b7184ab5c304594bb3298c41405374203592
treee7168500c8e9dd2ded9819a0ff3e5344378f1589
parent77b974742faa61e21e6e5c87ebff84e19211bea6
Fix broken SDP discovery on QBluetoothSocket

ThHis is only used on Bluez at this stage. THe SDP agent was initialized
with the local adapter being the remote address of the remote service.
This could never work. The remote address is now properly set (being the
handed over bt address to QBluetoothSocket::connectToService()).

[ChangeLog][QtBluetooth][QtBluetoothSocket] Fixed incorrect
invocation of QBluetoothDiscoveryAgent where the remote service address
was incorrectly assumed to be the local Bt adapter address. This prevented
the detection of the remote service. This bug only affects the Bluez
backend.

Change-Id: Ice2b9c351bfd42f1f4398b14ac68f76315f01fa8
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
src/bluetooth/qbluetoothsocket.cpp
src/bluetooth/qbluetoothsocket_bluez.cpp