This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem with the UART example

Dear all,

I am trying to configure the uart example found in https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples/samples/nrf9160 in order to be able to read and print whatever characters appear in the UART.

From what I can understand the current code will print each time the first character available in the buffer, whereas, I would like to be able to retrieve all of the available characters that I send, but I am not sure how to achieve that. What I need, I believe is to wait until I see a null character that will signal the end of the input char, but I don't see how I can achieve that in the given example. Any ideas/suggestions?

Parents Reply Children
No Data
Related