Microchip® Advanced Software Framework

ble_host_sdk/services/serial_bridge/uart/serial_bridge.h File Reference
#include "compiler.h"
#include "status_codes.h"

Functions

uint8_t serial_bridge_init (void)
 This module performs serial input/output functionalities via UART. More...
 
void serial_bridge_task (void)
 Bridges the UARTS. More...
 
void platform_dtm_interface_receive (uint8_t rx_data)
 

void platform_dtm_interface_receive ( uint8_t  rx_data)

References platform_start_rx(), and ser_fifo_push_uint8().

Referenced by ble_init().

void serial_bridge_task ( void  )

Bridges the UARTS.

Parameters
Takesthe data from one USART Rx to other USART Tx and vice versa
Returns
None

References eusart_instance, g_etxdata, g_txdata, SER_FIFO_OK, ser_fifo_pull_uint8(), ser_fifo_push_uint8(), STATUS_OK, usart_get_job_status(), usart_instance, USART_TRANSCEIVER_TX, and usart_write_job().

Referenced by main().