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.

LAUNCHXL-CC1350: How to let Uart dynamically get the input command

Part Number: LAUNCHXL-CC1350

Hi team,

Here's the request from the customer:

Customer found that UART is the MODE of FULL, and many resources are written Uart (uart, &input, 1), which can only read one word at a time. If it is possible to dynamically obtain the number of Uart input words read, such as input 1234567 can read 1234567 directly?

He have used methods like sizeof or strlen to get it automatically, but when there is no input, Uart(uart,&input,0) will always appear, which resulting in continuous interruption. Can provide a solution and a method for Uart to read the buffer?

Could you help check this case? Thanks.

Best Regards,                                                       

Nick