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

Bluetooth Low Energy doesn't support simultaneous central and peripheral roles

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 5.9.3
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Ubuntu 16.04.1

      BlueZ 5.37

      Qt 5.9.3

      Description

      Qt application running locally on Ubuntu 16.04, BlueZ version 3.7 can't support two QLowEnergyControllers in different roles (one setup as a peripheral, the other setup as a central). If I have an external central device connected to the peripheral QLowEnergyController then attempt to connect to an external peripheral via the central QLowEnergyController I get the following error: qt.bluetooth.bluez: void QBluetoothSocketPrivate::_q_readNotify() 8 error: -1 "Software caused connection abort". The connection from the external central to the peripheral QLowEnergyController is then lost, however connecting to the external peripheral via the central QLowEnergyController works fine.

       

      The only illegal mode of operation I can see in the documentation is having two controllers connected to the same remote device, which should not be possible with only 1 controller in the central role.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              ablasche Alex Blasche
              Reporter:
              btuline Ben Tuline
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes