QSerialPort::bytesAvailable() always return 0
Unsolved
QtonPi
-
I am trying to write a simple application which communicates via the UART to a LoRa device. I know the port is set up correctly on the Pi as I have verified communications with a .NET application. However, when I try to use Qt and the QSerialPort class I can see the data (using a scope) both in the Tx and Rx directions but calling bytesAvailable() always returns 0.
I have built the QSerialPort module using 5.12.10.
Just wondered if anyone else has had a similar problem?
-
Hi,
How are you using QSerialPort ?
-
See this bug report