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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.9.3
    • None
    • 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

              ablasche Alex Blasche
              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