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

QLowEnergyController::connected never gets emitted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Invalid
    • Affects Version/s: 5.5.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      bluez version 5.36
      Linux 4.5.0-rc7 and 4.4.4

      Description

      On my system it isn't possible to connect to BTLE devices, the QLowEnergyController::connected signal will never be emitted. This is reproducible both with the example programs (heartlistener and lowenergyscanner) and my own code.

      I have tested this with all three BTLE sensor devices I have access to. Sadly I only have one controller device available, the Intel 8087:0a2a device integrated to my laptop.

      This is with bluez version 5.36 and Linux 4.5.0-rc7. I'd expect the bluez version to be fairly important here.

      lowenergyscanner outputs the following on the console when attempting to connect to a device:

      1. /usr/lib/x86_64-linux-gnu/qt5/examples/bluetooth/lowenergyscanner/lowenergyscanner
        Error: "Unknown Error"
        qt.bluetooth.bluez: void QBluetoothSocketPrivate::_q_readNotify() 12 error: -1 "Resource temporarily unavailable"
        Error: "Unknown Error"
        Disconnect from device

      This looks very much like the same issue as the one reported here: https://forum.qt.io/topic/54687/qlowenergycontroller-not-working

        Attachments

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

          Activity

            People

            Assignee:
            ablasche Alex Blasche
            Reporter:
            viiru Arto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes