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

Introducing FIFO buffer in uart_data_handler function..

I am working with ble_app_uart code, in that I am trying to send continuous data over BLE. But the BLE getting disconnected while sending large data.

So I planned to have an FIFO buffer which should continuously receive and stores the data(whatever the data size). Then the data should be processed and then it should be sent as frame with the length of 20 bytes. So how to introduce a new buffer and how to handle it with default app_uart_get() buffer.

Related