Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.4.0
-
None
Description
QBluetoothSocket::waitForReadyRead(5000) allways return 0, but next code is worked:
int timeout(5); while (timeout && !_device->bytesAvailable()) { msleep(100); timeout--; eventDispatcher()->processEvents(QEventLoop::AllEvents); }
Attachments
Issue Links
- duplicates
-
QTBUG-38916 QBluetoothSocket does not supporting synchronous access
-
- Reported
-
- resulted in
-
QTBUG-50345 Android: QBluetoothSocket::bytesAvailable() returns wrong values
-
- Closed
-