QLowEnergyService.characteristicRead() seems to fail



  • I get a bunch of these warnings during the discovery process when I connect to my bluetooth device. Furthermore, I seem to be not getting the characteristicRead() signal as I would expect. What might cause this?

    W QtBluetoothGatt: Performing queued job, handle: 16 Read (false) ValueKnown: false Skipping: false Characteristic
    

    On the other hand, if I do readCharacteristic() and then get the value from cache sometime later, that works.



  • Found the problem. I was trying to issue the readCharacteristic() command before the discovery process was complete.

    I still get that warning, though. But I guess it doesn't seem to be a problem.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.