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

Bluetooth module fails to get services from devices

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Invalid
    • Affects Version/s: 5.7.1, 5.8.0 RC
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Description

      I'm trying to connect to a BLE Quarq bike power meter using the Low Energy Scanner example project. On the first screen it detects the meter correctly but when I click on it to look at the services list it fails with the message

      "Error:  "Unknown Error"
      qt.bluetooth.bluez: void QBluetoothSocketPrivate::_q_readNotify() 25 error: -1 "Resource temporarily unavailable"
      Error:  "Unknown Error"
      Disconnect from device"

      Other software on the same laptop seems to work fine. For example, in bluetoothctl:

      [bluetooth]# info F6:8B:DD:7E:E3:26 
      Device F6:8B:DD:7E:E3:26
      	Name: Quarq AFO58260
      	Alias: Quarq AFO58260
      	Appearance: 0x0484
      	Paired: no
      	Trusted: no
      	Blocked: no
      	Connected: no
      	LegacyPairing: no
      	UUID: Cycling Power             (00001818-0000-1000-8000-00805f9b34fb)
      	UUID: Unknown                   (0000fe51-0000-1000-8000-00805f9b34fb)
      	ServiceData Key: 0000fe51-0000-1000-8000-00805f9b34fb
      	ServiceData Value: 0x66
      	ServiceData Value: 0xff
      	ServiceData Value: 0xff
      	ServiceData Value: 0xff
      	ServiceData Value: 0xff
      	ServiceData Value: 0xff
      	ServiceData Value: 0xff
      	ServiceData Value: 0xff
      	ServiceData Value: 0x94
      	ServiceData Value: 0xe3
      	ServiceData Value: 0xae
      	ServiceData Value: 0x00
      	ServiceData Value: 0x07
      	ServiceData Value: 0x15
      	ServiceData Value: 0x65
      	ServiceData Value: 0xff
      	ServiceData Value: 0x02
      

        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:
            ryan0270 Tyler Ryan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes