This module is responsible for encoding and decoding the serial bytes to/from Host into corresponding RF4Control APIs .
Macros | |
#define | RF4CONTROL_PID (2) |
#define | RF4CONTROL_PID_LEN (1) |
Functions | |
void | serial_data_handler (void) |
Function to handle the state machine serial data exchange. More... | |
void | serial_interface_init (void) |
This function does the initialization of the SIO or UART. More... | |
#define RF4CONTROL_PID (2) |
Referenced by nlde_data_confirm(), nlme_auto_discovery_confirm(), nlme_comm_status_indication(), nlme_discovery_confirm(), nlme_discovery_indication(), nlme_get_confirm(), nlme_pair_confirm(), nlme_pair_indication(), nlme_reset_confirm(), nlme_rx_enable_confirm(), nlme_set_confirm(), nlme_start_confirm(), nlme_unpair_confirm(), nlme_update_key_confirm(), nwk_ch_agility_confirm(), nwk_ch_agility_indication(), pbp_rec_pair_confirm(), process_incoming_sio_data(), vendor_data_confirm(), vendor_data_ind(), zrc_cmd_disc_confirm(), zrc_cmd_disc_indication(), and zrc_cmd_indication().
#define RF4CONTROL_PID_LEN (1) |
Referenced by nlde_data_confirm(), nlme_auto_discovery_confirm(), nlme_comm_status_indication(), nlme_discovery_confirm(), nlme_discovery_indication(), nlme_get_confirm(), nlme_pair_confirm(), nlme_pair_indication(), nlme_reset_confirm(), nlme_rx_enable_confirm(), nlme_set_confirm(), nlme_start_confirm(), nlme_unpair_confirm(), nlme_update_key_confirm(), nwk_ch_agility_confirm(), nwk_ch_agility_indication(), pbp_rec_pair_confirm(), vendor_data_confirm(), vendor_data_ind(), zrc_cmd_disc_confirm(), zrc_cmd_disc_indication(), and zrc_cmd_indication().
void serial_data_handler | ( | void | ) |
Function to handle the state machine serial data exchange.
References buf_count, data, data_length, head, process_incoming_sio_data(), rx_index, sio2host_rx(), sio2host_tx(), SIO_BUF_COUNT, SIO_RX_BUF_SIZE, and sio_tx_buf.
Referenced by main().
void serial_interface_init | ( | void | ) |
This function does the initialization of the SIO or UART.
References sio2host_init(), sio_rx_state, and UART_RX_STATE_SOT.
Referenced by main().