/* Function for transferring a SLIP escape byte (0xDB) when special bytes are transferred, that is 0xC0 and 0xDB.  */
static uint32_t send_tx_byte_esc(void)
/* Function for transferring a SLIP escape byte (0xDB) when special bytes are transferred, that is 0xC0 and 0xDB.  */
static uint32_t send_tx_byte_esc(void)
{
    uint32_t err_code = app_uart_put(APP_SLIP_ESC);
    if (err_code == NRF_SUCCESS)
    {
        send_tx_byte = send_tx_byte_encoded;
    }
    return err_code;
}