Embedded Wireless Framework
Macros
Adapter declaration and initialization

Renesas RYZ024A adapter declaration macros. More...

Macros

#define EWF_ADAPTER_RENESAS_RYZ024A_INITIALIZE_HEADER(adapter_ptr)
 
#define EWF_ADAPTER_RENESAS_RYZ024A_INITIALIZE_TCP_API(adapter_ptr)
 
#define EWF_ADAPTER_RENESAS_RYZ024A_INITIALIZE_UDP_API(adapter_ptr)
 
#define EWF_ADAPTER_RENESAS_RYZ024A_INITIALIZE_TLS_BASIC_API(adapter_ptr)
 
#define EWF_ADAPTER_RENESAS_RYZ024A_INITIALIZE_MQTT_BASIC_API(adapter_ptr)
 
#define EWF_ADAPTER_RENESAS_RYZ024A_STATIC_DECLARE(adapter_ptr, adapter_name_symb, message_allocator_ptr_param, data_allocator_ptr_param, interface_ptr_param)
 Declare a Renesas RYZ024A adapter. More...
 

Detailed Description

Renesas RYZ024A adapter declaration macros.

*** group_adapter_renesas_ryz024a_data

Macro Definition Documentation

◆ EWF_ADAPTER_RENESAS_RYZ024A_INITIALIZE_MQTT_BASIC_API

#define EWF_ADAPTER_RENESAS_RYZ024A_INITIALIZE_MQTT_BASIC_API (   adapter_ptr)
Value:
do { \
adapter_ptr->mqtt_basic_api_ptr = &ewf_adapter_renesas_common_api_mqtt_basic; \
} while(0)

◆ EWF_ADAPTER_RENESAS_RYZ024A_INITIALIZE_TCP_API

#define EWF_ADAPTER_RENESAS_RYZ024A_INITIALIZE_TCP_API (   adapter_ptr)
Value:
do { \
adapter_ptr->tcp_api_ptr = &ewf_adapter_renesas_common_api_tcp; \
} while(0)

◆ EWF_ADAPTER_RENESAS_RYZ024A_INITIALIZE_TLS_BASIC_API

#define EWF_ADAPTER_RENESAS_RYZ024A_INITIALIZE_TLS_BASIC_API (   adapter_ptr)
Value:
do { \
adapter_ptr->tls_basic_api_ptr = &ewf_adapter_renesas_common_api_tls_basic; \
} while(0)

◆ EWF_ADAPTER_RENESAS_RYZ024A_INITIALIZE_UDP_API

#define EWF_ADAPTER_RENESAS_RYZ024A_INITIALIZE_UDP_API (   adapter_ptr)
Value:
do { \
adapter_ptr->udp_api_ptr = &ewf_adapter_renesas_common_api_udp; \
} while(0)

◆ EWF_ADAPTER_RENESAS_RYZ024A_STATIC_DECLARE

#define EWF_ADAPTER_RENESAS_RYZ024A_STATIC_DECLARE (   adapter_ptr,
  adapter_name_symb,
  message_allocator_ptr_param,
  data_allocator_ptr_param,
  interface_ptr_param 
)
Value:
do { \
static ewf_adapter_renesas_ryz024a ewf_adapter_renesas_ryz024a__implementation__##adapter_name_symb = {0}; \
static ewf_adapter ewf_adapter_renesas_ryz024a__##adapter_name_symb = {0}; \
static ewf_adapter_api_modem_data ewf_adapter_renesas_ryz024a__modem_data__##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_renesas_ryz024a_urc_callback; \
ewf_adapter_renesas_ryz024a__##adapter_name_symb.interface_ptr = interface_ptr_param; \
ewf_adapter_renesas_ryz024a__##adapter_name_symb.implementation_ptr = &(ewf_adapter_renesas_ryz024a__implementation__##adapter_name_symb); \
adapter_ptr = &(ewf_adapter_renesas_ryz024a__##adapter_name_symb); \
interface_ptr_param->adapter_ptr = adapter_ptr; \
EWF_ADAPTER_RENESAS_RYZ024A_INITIALIZE_HEADER(adapter_ptr); \
ewf_adapter_renesas_ryz024a__##adapter_name_symb.modem_api_data_ptr = &ewf_adapter_renesas_ryz024a__modem_data__##adapter_name_symb; \
ewf_adapter_renesas_ryz024a__##adapter_name_symb.control_api_ptr = &ewf_adapter_renesas_ryz024a_api_control; \
ewf_adapter_renesas_ryz024a__##adapter_name_symb.info_api_ptr = &ewf_adapter_renesas_common_api_info; \
EWF_ADAPTER_RENESAS_RYZ024A_INITIALIZE_TCP_API(adapter_ptr); \
EWF_ADAPTER_RENESAS_RYZ024A_INITIALIZE_UDP_API(adapter_ptr); \
EWF_ADAPTER_RENESAS_RYZ024A_INITIALIZE_TLS_BASIC_API(adapter_ptr); \
EWF_ADAPTER_RENESAS_RYZ024A_INITIALIZE_MQTT_BASIC_API(adapter_ptr); \
} while(0)
Definition: ewf_adapter_api_modem.h:34
The Renesas RYZ024A adapter data structure.
Definition: ewf_adapter_renesas_ryz024a.h:363
The EWF network adapter control structure definition.
Definition: ewf_adapter.h:50

Declare a Renesas RYZ024A adapter.

Parameters
[in,out]adapter_ptra pointer to an adapter that will be initialized to point to the one statically declared by the macro
[in]adapter_name_symba unique symbol name that will be used as a name suffix for the statically declared data
[in]message_allocator_ptr_parama pointer to an allocator, used by the adapter to allocate command and response buffers
[in]data_allocator_ptr_parama pointer to an allocator, used by the adapter to allocate data buffers
[in]interface_ptr_parama pointer to an interface, used by the adapter to talk with the hardware