Details
-
Type:
Bug
-
Status: Reported
-
Priority:
P2: Important
-
Resolution: Unresolved
-
Affects Version/s: 5.13.2
-
Fix Version/s: None
-
Component/s: Connectivity: Bluetooth
-
Labels:None
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