Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-82413

Cannot connect to a second Bluetooth device

    XMLWordPrintable

Details

    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vuokko Juha Vuolle
            hkhodr Hala Khodr
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes