Hi,
I'm making a linux application that makes a lot of small writings on the serial port.
What I notice is that after 1 kB I have nonsense data transmitted, looks like I have an overflow on the output buffer.
I would like to know if there is a function that flushes the serial port, or if there is an option in opening the serial port that makes the writing blocking.
Thanks in advance.
I'm making a linux application that makes a lot of small writings on the serial port.
What I notice is that after 1 kB I have nonsense data transmitted, looks like I have an overflow on the output buffer.
I would like to know if there is a function that flushes the serial port, or if there is an option in opening the serial port that makes the writing blocking.
Thanks in advance.