Hi,
I'm developing an application using Libuartes to handle GPS data
1. According my knowledge about Libuartes, It will call the NRF_LIBUARTE_ASYNC_EVT_RX_DATA when the buffer is full (or the incoming data has "\r","\n" to indicate TX buffer was completed (please confirm this point for me.)
2. But in fact, when I test with my terminal (Hercules), I send every string to my nrf then the NRF_LIBUARTE_ASYNC_EVT_RX_DATA event was call and RX buffer receive exactly what I sent (even the size of buffer I have sent is not equal with RX buffer and no "\r""\n").
When I test with my GPS module. the NRF_LIBUARTE_ASYNC_EVT_RX_DATA was called when my RX buffer is full (but when I connect with my GPS with Hercules) GPS data has "\r"\n" at the last every data.
Ex:
a. When I connect GPS directly with Hercules : every 1s I receive data one by one
"12345"
after 1s
"12345"
after 1s
"12345"
b. When I connect GPS directly with NRF with Libuartes RX buffer configuration : 15
I wait 3s to received the whole data like above at 1 time. I need every 1s my debug will show "12345" not after 3s I receive
"12345"
"12345"
"12345"
So what is the difference in here ?. The way of NRF handle RX data from incoming data (I send text by Hercules) and (GPS) not is the same