Embedded Wireless Framework
|
The interface structure definition. More...
#include <ewf_interface.h>
The interface structure definition.
struct _ewf_adapter* _ewf_interface::adapter_ptr |
< The pointer to the adapter The pointer to the implementation data
volatile bool _ewf_interface::command_mode |
< Internal reception mode: command or URC URC processing policy: synchronous or asynchronous
ewf_interface_tokenizer_pattern* _ewf_interface::command_response_end_tokenizer_pattern_ptr |
A pointer to the first on a list of tokenizer patterns for tokenizing command responses, they do not complete commands and end the command mode
ewf_interface_tokenizer_pattern* _ewf_interface::command_response_tokenizer_pattern_ptr |
A pointer to the first on a list of tokenizer patterns set by the user for tokenizing URCs
volatile uint32_t _ewf_interface::default_timeout |
< The default timeout for all operations
ewf_result(* _ewf_interface::hardware_send) (ewf_interface *interface_ptr, const uint8_t *buffer_ptr, uint32_t buffer_length) |
A pointer to the hardware receive function
ewf_result(* _ewf_interface::hardware_start) (ewf_interface *interface_ptr) |
< A pointer to the hardware start function A pointer to the hardware stop function
ewf_result(* _ewf_interface::hardware_stop) (ewf_interface *interface_ptr) |
A pointer to the hardware send function
void* _ewf_interface::implementation_ptr |
The current message being received This is a serial interface, only one message at a time is being received. There is no interleaving of message types (command or data).
ewf_allocator* _ewf_interface::message_allocator_ptr |
< The message allocator, it might be NULL The data allocator, it might be NULL
ewf_interface_tokenizer_pattern* _ewf_interface::message_tokenizer_pattern_ptr |
< A pointer to the first on a list of tokenizer patterns for tokenizing messages A pointer to the first on a list of tokenizer patterns for tokenizing command responses, they complete commands and end the command mode
ewf_interface_response_callback _ewf_interface::response_callback |
< Pointer to the response callback Pointer to the URC callback
ewf_platform_queue* _ewf_interface::response_queue_ptr |
< The command response queue The urc queue
ewf_interface_urc_callback _ewf_interface::urc_callback |
Pointers to the user URC callbacks