Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
MAC API Decoder

The API Encoder Module Decodes the incoming command byte stream to corresponding MAC Api's.

Macros

#define SIO_RX_BUF_SIZE   156
 

Functions

static void api_process_incoming_sio_data (void)
 Process data received from SIO. More...
 
void handle_rx_frame (void)
 
void process_rf_serial_byte (uint8_t byte)
 
bool wpan_task (void)
 The stack task function called by the application. More...
 

Variables

uint8_t data [SIO_RX_BUF_SIZE]
 
uint8_t data_length = 0
 
static uint8_t * rcv_buff_ptr
 
uint8_t rcv_buffer [RX_BUFFER_LENGTH] = {0}
 
uint8_t * rcv_frame_ptr
 
static uint8_t rcv_length = 0
 
static uint8_t rcv_state = UART_RX_STATE_SOT
 
static uint8_t rx_index = 0
 

#define SIO_RX_BUF_SIZE   156

Referenced by wpan_task().

static void api_process_incoming_sio_data ( void  )
static
bool wpan_task ( void  )

The stack task function called by the application.

This function should be called as frequently as possible by the application in order to provide a permanent execution of the protocol stack.

Returns
Boolean true if an event was processed otherwise false.

References api_process_incoming_sio_data(), data, data_length, rx_index, sio2ncp_rx(), SIO_RX_BUF_SIZE, and sw_timer_service().

uint8_t data[SIO_RX_BUF_SIZE]
uint8_t data_length = 0

Referenced by wpan_task().

uint8_t* rcv_buff_ptr
static
uint8_t* rcv_frame_ptr
uint8_t rcv_length = 0
static
uint8_t rcv_state = UART_RX_STATE_SOT
static
uint8_t rx_index = 0
static