Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Bluetooth API: Error "Could not await descriptor read result" happens when connecting to BLE service
Forum Update on Monday, May 27th 2025

Bluetooth API: Error "Could not await descriptor read result" happens when connecting to BLE service

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 458 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.
  • N Offline
    N Offline
    NhungPham
    wrote on last edited by NhungPham
    #1

    I am trying to connect to my BLE device by function:

    void Device::connectToService(QLowEnergyService *service)
    {
     if (!service)
     return;
     if (service->state() == QLowEnergyService::DiscoveryRequired) {
     service->discoverDetails();
     }
    }
    

    It works well on Mac OS. But on Win 10 the error "Could not await descriptor read result" happens.

    Please tell me know when this error happens. What can I do to fix it. Thank so much!

    Below is the log.

    qt.bluetooth.winrt: QLowEnergyControllerPrivateWinRTNew::connectToDevice
    qt.bluetooth.winrt: QLowEnergyControllerPrivateWinRTNew::registerForStatusChanges
    qt.bluetooth.winrt: Service discovery initiated
    qt.bluetooth.winrt.service.thread: QLowEnergyControllerPrivateWinRTNew::onServiceDiscoveryFinished Changing service pointer from thread QThread(0x191d3b7fad0)
    qt.bluetooth.winrt.service.thread: QLowEnergyControllerPrivateWinRTNew::onServiceDiscoveryFinished Changing service pointer from thread QThread(0x191d3b7fad0)
    qt.bluetooth.winrt.service.thread: QLowEnergyControllerPrivateWinRTNew::onServiceDiscoveryFinished Changing service pointer from thread QThread(0x191d3b7fad0)
    qt.bluetooth.winrt.service.thread: QLowEnergyControllerPrivateWinRTNew::onServiceDiscoveryFinished Changing service pointer from thread QThread(0x191d3b7fad0)
    qt.bluetooth.winrt.service.thread: QLowEnergyControllerPrivateWinRTNew::onServiceDiscoveryFinished Changing service pointer from thread QThread(0x191d3b7fad0)
    qt.bluetooth.winrt: QLowEnergyControllerPrivateWinRTNew::discoverServiceDetails "{XXX}"
    qt.bluetooth.winrt.service.thread: QLowEnergyControllerPrivateWinRTNew::discoverServiceDetails Changing service pointer from thread QThread(0x191d3b7fad0)
    qt.bluetooth.winrt: QWinRTLowEnergyServiceHandlerNew::QWinRTLowEnergyServiceHandlerNew
    qt.bluetooth.winrt: QWinRTLowEnergyServiceHandlerNew::obtainCharList
    qt.bluetooth.winrt: Could not await descriptor read result
    
    1 Reply Last reply
    0
    • Pham HoangP Offline
      Pham HoangP Offline
      Pham Hoang
      wrote on last edited by
      #2

      hi. any updates on this issue pls. i have the same error.

      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