Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.13.2
-
None
-
8
-
be1a9e8d0 (dev)
-
Foundations Sprint 102, Foundation Sprint 103
Description
Hello,
I connect to a Bluetooth device using:
socket->connectToService(QBluetoothAddress(macAddr),QBluetoothUuid(QBluetoothUuid::SerialPort));
It connects successfully to the first device, when I try to connect to another device, it gets stuck in connecting state. Noting that the same code was working in the QT 5.11 version.
qt.bluetooth.bluez: Detecting bluetoothd version qt.bluetooth.bluez: Using /proc/<pid>/exe qt.bluetooth.bluez: Using /proc/<pid>/cmdline qt.bluetooth.bluez: Detected bluetoothd version 5.52 qt.bluetooth.bluez: Bluetoothd: "5.52" qt.bluetooth: Using Bluetooth dbus socket implementation CelluloBluetooth::openSocket(): To "00:06:66:E7:8E:64" "" ... qt.bluetooth.bluez: Registering client profile on "/qt/btsocket/cellulo_control_panel6711/3068773154" with options: qt.bluetooth.bluez: QMap(("Name", QVariant(QString, "QBluetoothSocket-6711"))("Role", QVariant(QString, "client"))("Service", QVariant(QString, "00001101-0000-1000-8000-00805f9b34fb"))) Cellulo::CelluloBluetoothEnums::ConnectionStatusConnecting qt.bluetooth.bluez: Profile Context: New Connection CelluloBluetooth::socketConnected(): "00:06:66:E7:8E:64" qt.bluetooth: Using Bluetooth dbus socket implementation CelluloBluetooth::openSocket(): To "00:06:66:74:40:D2" "" ... qt.bluetooth.bluez: Registering client profile on "/qt/btsocket/cellulo_control_panel6711/1005690391" with options: qt.bluetooth.bluez: QMap(("Name", QVariant(QString, "QBluetoothSocket-6711"))("Role", QVariant(QString, "client"))("Service", QVariant(QString, "00001101-0000-1000-8000-00805f9b34fb"))) Cellulo::CelluloBluetoothEnums::ConnectionStatusConnecting qt.bluetooth.bluez: Profile Context: New Connection CelluloBluetooth::refreshConnection(): Connection attempt timed out, will retry
Attachments
For Gerrit Dashboard: QTBUG-82413 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
543319,10 | Unregister Bluetooth profile UUID after connection | dev | qt/qtconnectivity | Status: MERGED | +2 | 0 |