Priority: P3: Somewhat important
Affects Version/s: 5.10.1
Fix Version/s: 5.11.0
Component/s: Serial Port
Environment:Windows 10 Home Version 1709
Qt 5.10.1 (MinGW_530_32)
Microsoft Serial Driver version 10.0.16299.15 (also present with ST VCP Driver)
I am using a device transmitting at 600Hz to a Windows 10 computer. The problem is QSerialPort has random timeout's where waitForReadyRead(1000) returns false or waitForReadyRead(-1) will hang forever.
This problem can be reproduced on the Qt Terminal Example ([QT_INSTALL_EXAMPLES]/serialport/terminal) which uses the ReadyRead() signal, the signal will simply never be fired in some cases when the port is opened and application waits forever. I am unable to reproduce the problem with other Window's Terminal programs eg. HTerm, RealTerm.
I am using the Windows built in driver as recommended by ST on their website.
Using Serial Port Monitor on the Qt terminal example when the program hangs I have this output: pastebin
Output from a test program (program included in link) gives this behaviour: pastebin
|For Gerrit Dashboard: QTBUG-67224|
|225277,7||Start overlapped I/O notifier before any asynchronous operation||5.11||qt/qtserialport||Status: MERGED||-2||0|