I am using an interrupt-driven UART port with MQX 4.0.
Here are the strings I see using an external terminal console (the expected result):
And here is what i get from UART:
I <=== Missing chars: "/OK"
The second batch actually comes through fine, even with the special char "/":
Terminal = UART:
However, the 3rd batch stops at a special character as well:
0801 9 <=== Missing chars: ".6.2009"
<=== Missing chars: "I/OK"
This is my receptions code:
//Pending char in UART
rx_uart = fgetc(connect_one_ch);
I've opened the UART descriptor using io_open, with no flags. What am I missing here? Please notice that the problem persists when I try to receive 3 lines from UART. Is there a special property I need to set?