Embedded Wireless Framework
Functions
Hardware Interface API

Hardware interface functions implemented per platform. More...

Functions

ewf_result ewf_interface_process_byte (ewf_interface *interface_ptr, uint8_t b)
 Called by the hardware code to process an incoming byte When the hardware interface receives a byte it used this function to pase this byte to the common code for further processing. Typically used to process commands, when in command mode. More...
 
ewf_result ewf_interface_process_buffer (ewf_interface *interface_ptr, uint8_t *buffer_ptr, uint32_t buffer_length)
 Called by the hardware code to process a buffer When the hardware interface receives a byte it used this function to pase this byte to the common code for further processing. Typically used to process data. More...
 

Detailed Description

Hardware interface functions implemented per platform.

*** group_interface_tokenizer

Function Documentation

◆ ewf_interface_process_buffer()

ewf_result ewf_interface_process_buffer ( ewf_interface interface_ptr,
uint8_t *  buffer_ptr,
uint32_t  buffer_length 
)

Called by the hardware code to process a buffer When the hardware interface receives a byte it used this function to pase this byte to the common code for further processing. Typically used to process data.

Parameters
[in]interface_ptra pointer to the interface data structure
[in]buffer_ptra pointer to the incomming buffer to be processed
[in]buffer_lengththe size of the data pointe by the buffer_ptr parameter
Returns
ewf_result status code

◆ ewf_interface_process_byte()

ewf_result ewf_interface_process_byte ( ewf_interface interface_ptr,
uint8_t  b 
)

Called by the hardware code to process an incoming byte When the hardware interface receives a byte it used this function to pase this byte to the common code for further processing. Typically used to process commands, when in command mode.

Parameters
[in]interface_ptra pointer to the interface data structure
[in]bthe incomming byte to be processed
Returns
ewf_result status code