Пример #1
0
retval_t wpan_init(void)
{
	rcv_frame_ptr = &rcv_buffer[0] + 1;
	sio2ncp_init();
	tx_buffer[SOT_POS] = SOT;
	tx_buffer[PROTOCOL_ID_POS] = PROTOCOL_ID;
	return MAC_SUCCESS;
}
Пример #2
0
/**
 * @brief This function does the initialization of the SIO or UART.
 */
void serial_api_init(void)
{
	sio_rx_state = UART_RX_STATE_SOT;
	sio2ncp_init();
}
Пример #3
0
void serial_bridge_init()
{
	sio2host_init();

	sio2ncp_init();
}