I'm using the Nordic as a BLE solution, and it is just passing along data through the UART to another chip through the UART. However, I'm not sure how to just pass the data along using the example UART application from the SDK.
I am basically using the SDK example as is, but I've removed the APP_UART_DATA_READY code from the uart_event_handle callback. Right now, I'm testing it without having any data being returned via the UART, but the UART will be a two-way communication channel.
My two main questions are:
- How do I differentiate between data sent from the main firmware via the UART and data received via the BLE destined for the UART?
- What exactly is the
app_uart_fifo
doing?