Hi,
Wanted to know how I should approach a serial port connection with XON/XOFF flow control.
Before I read/write from/to serial port, what should I do?
The process is something like this:
I send data to my serial port, the receiver sends me XOFF after he receives it, now I should wait until he sends me XON, then I can send again. How I translate that to code? The waiting part (which should be passive, no?) is the difficult one for me.
The purpose is to send a hex file by lines.
Bookmarks