Hi.
We didn't check the modes "Software/Hardware" flow control for QtSerialPort. I.e. it isn't known as this set of modes will behave with the Qt event-loop and so forth.
In the theory, for you (as transmitter role) is not necessary cares of existence of XON/XOFF bytes that received from the receiver. Because it does by hardware, at the level of the driver of the serial port.
So, your task consists in that simply to send all data to the receiver, like Transmitter::write(/all data/). And just watch for the bytesWritten() signal to know how many data are transferred in reality, IMHO.




Reply With Quote
Was easier than I thought.

Bookmarks