qt.bluetooth.windows: Could not await descriptor read result
-
The same code runs normally on Android, but when running on Windows (Qt 6.5 + MSVC2019 64-bit), the following message is displayed: "qt.bluetooth.windows: Could not await descriptor read result."
When running on Android, the following code prints "00", but no output is generated when running on Windows.
Is there any way to resolve this issue?if (properties.testFlag(QLowEnergyCharacteristic::Notify)) { charaToNotify_ = characteristic; notifyDescriptor_ = characteristic.descriptor(QBluetoothUuid::DescriptorType::ClientCharacteristicConfiguration); if(notifyDescriptor_.isValid()) { currentService_->writeDescriptor(notifyDescriptor_, QByteArray::fromHex("0100")); } QString str = QString::fromStdString(notifyDescriptor_.value().toHex().toUpper().toStdString()); qDebug()<<str; }