I'm seeing a few of these errors in my uart evt handler
I cannot seem to find where these are enumerated in app_uart_fifo.c or nnrf_drv_uart.h or nrfx_uarte.h.
Question 1 - Where can I find these?
<error> app: APP_UART_COMMUNICATION_ERROR : 1 00
<error> app: APP_UART_COMMUNICATION_ERROR : 5 00
<error> app: APP_UART_COMMUNICATION_ERROR : 4 00
Here is the code generating that log -
NRF_LOG_ERROR("APP_UART_COMMUNICATION_ERROR : %d %02x", p_event->data.error_code, NRF_UARTE0->ERRORSRC);
When this happens, I try to run
app_uart_flush();
app_uart_close();
APP_UART_FIFO_INIT();
Question 2 - Is there a better way to recover?
Thanks!