This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C123GXL tiva c series: I am not able to receive and store a string from console using UART. I can receive only one character at a time using uart.h or uartstdio.h

I tried to store the characters in an array, but when I echo te characters on the console (Tera term/putty), those echoed characters are taken as inputs as well. 

I am not able to clear the echoed buffer. And I'm not exactly sure how to use cmdline.h/cmdline.c functions, any tutotiral? Any help would be appreciated.