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; }
/** * @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(); }
void serial_bridge_init() { sio2host_init(); sio2ncp_init(); }