Can any one give me any api to flush receive buffer of uart using mqx3.5?\
Please do reply
Thanks in advance,
Nisha
Hi
fflush( <file_descriptor> ); and don't forget memset((void*)your_local_receive_buffer, 0, sizeof(your_local_receive_buffer));