No more Info available
Hi michaelk.
Finally a could resolve the problem. I read somewhere that sending a zero string cleans the buffer on the UART chip. According to the web site this its a standard of the RS232 protocol.
After several tries I discover that sending a string whit zero, in hexadecimal format, twice deletes the buffer and allow me to send more commands.
echo -e -n "\x00" > /dev/ttyS0
echo -e -n "\x00" > /dev/ttyS0
What i never understand its why do I need to send Two strings. But it works, so I'm not going to question it(too much jeje).
Last edited by LSigales; 08-10-2010 at 12:51 PM.
|