Hi
I'm using the UART async API and want to pass the received data to a fifo or workqueue to them process this received data.
There does not seem to be any examples of doing this with the async API, so where can i find something ?
KR
Hi
I'm using the UART async API and want to pass the received data to a fifo or workqueue to them process this received data.
There does not seem to be any examples of doing this with the async API, so where can i find something ?
KR
Hi Lee,
You can have a look at our peripheral_uart exampel
Here you can see we how it is putting the received datainto a FIFO https://github.com/nrfconnect/sdk-nrf/blob/main/samples/bluetooth/peripheral_uart/src/main.c#L182
Regards
Runar
do you not have a simpler example ?
i only need to worry about receive data. This data is from a GPS receiver, data should be out in fifo and then processed is worker/separate thread.
i found this, much easier example, might be of interest to others.
Just remember is based on an old version of NCS so it will not work out of the box
Regards
Runar