do { \
static
ewf_adapter ewf_adapter_mxchip_emw3080b__##adapter_name_symb = {0}; \
interface_ptr_param->message_allocator_ptr = message_allocator_ptr_param; \
interface_ptr_param->data_allocator_ptr = data_allocator_ptr_param; \
interface_ptr_param->urc_callback = ewf_adapter_mxchip_emw3080b_urc_callback; \
ewf_adapter_mxchip_emw3080b__##adapter_name_symb.interface_ptr = interface_ptr_param; \
ewf_adapter_mxchip_emw3080b__##adapter_name_symb.implementation_ptr = &(ewf_adapter_mxchip_emw3080b__implementation__##adapter_name_symb); \
adapter_ptr = &(ewf_adapter_mxchip_emw3080b__##adapter_name_symb); \
interface_ptr_param->adapter_ptr = adapter_ptr; \
EWF_ADAPTER_MXCHIP_EMW3080B_INITIALIZE_HEADER(adapter_ptr); \
ewf_adapter_mxchip_emw3080b__##adapter_name_symb.control_api_ptr = &ewf_adapter_mxchip_emw3080b_api_control; \
ewf_adapter_mxchip_emw3080b__##adapter_name_symb.wifi_station_api_ptr = &ewf_adapter_mxchip_common_api_wifi_station; \
ewf_adapter_mxchip_emw3080b__##adapter_name_symb.info_api_ptr = &ewf_adapter_mxchip_common_api_info; \
EWF_ADAPTER_MXCHIP_EMW3080B_INITIALIZE_TCP_API(adapter_ptr); \
EWF_ADAPTER_MXCHIP_EMW3080B_INITIALIZE_UDP_API(adapter_ptr); \
EWF_ADAPTER_MXCHIP_EMW3080B_INITIALIZE_TLS_BASIC_API(adapter_ptr); \
EWF_ADAPTER_MXCHIP_EMW3080B_INITIALIZE_MQTT_BASIC_API(adapter_ptr); \
} while(0)
The MX-CHIP 8266 adapter driver data structure.
Definition: ewf_adapter_mxchip_emw3080b.h:190
The EWF network adapter control structure definition.
Definition: ewf_adapter.h:50
Declare a MX-CHIP 8266 adapter.