Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
SERIAL BRIDGE

The Serial Bridge Module acts as a bridge layer between the Host and NCP for Serial I/O Communications.

Functions

void serial_bridge_handler (void)
 The serial_bridge_handler performs the functionality of the serial bridge by pushing data that comes from the host to the NCP and vice-versa. More...
 
void serial_bridge_init (void)
 Initializes the Serial Bridge Module Both Host and NCP Serial interfaces are initialized. More...
 

void serial_bridge_handler ( void  )

The serial_bridge_handler performs the functionality of the serial bridge by pushing data that comes from the host to the NCP and vice-versa.

References length_received_host, length_received_ncp, sio2host_rx(), sio2host_tx(), sio2ncp_rx(), sio2ncp_tx(), SIO_RX_BUF_SIZE, and temp.

Referenced by main().

void serial_bridge_init ( void  )

Initializes the Serial Bridge Module Both Host and NCP Serial interfaces are initialized.

Returns
STATUS_OK if initialization is succesful else FAILURE

References sio2host_init(), and sio2ncp_init().

Referenced by main().