Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QLowEnergyService.characteristicRead() seems to fail
Forum Updated to NodeBB v4.3 + New Features

QLowEnergyService.characteristicRead() seems to fail

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 1 Posters 733 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kgregory
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kgregory
      wrote on last edited by kgregory
      #2

      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.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved