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

How to restart only UART in case of UART error.

Hi

We are testing using "ble_app_uart".
In case of APP_UART_COMMUNICATION_ERROR, I would like to restart only UART.

        case APP_UART_COMMUNICATION_ERROR:
            // I want to restart only uart here.
            APP_ERROR_HANDLER(p_event->data.error_communication);
            break;

In this case, does it restart just by executing "uart_init()"?


Is there any other good way?

Parents Reply Children
No Data
Related