Unsolved Bluetooth API: Error "Could not await descriptor read result" happens when connecting to BLE service
-
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
-
hi. any updates on this issue pls. i have the same error.