Embedded Wireless Framework
ewf_adapter_simcom_common.h
Go to the documentation of this file.
1 /************************************************************************/
9 #ifndef __ewf_adapter_simcom_common__h__included__
10 #define __ewf_adapter_simcom_common__h__included__
11 
12 #include "ewf_adapter.h"
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 /************************************************************************/
25 /************************************************************************/
33 {
34  uint8_t dummy;
35 
37 
38 /************************************************************************/
48 extern ewf_adapter_api_control ewf_adapter_simcom_common_api_control;
49 
50 ewf_result ewf_adapter_simcom_common_start(ewf_adapter* adapter_ptr);
51 ewf_result ewf_adapter_simcom_common_stop(ewf_adapter* adapter_ptr);
52 
61 extern ewf_adapter_api_info ewf_adapter_simcom_common_api_info;
62 
63 ewf_result ewf_adapter_simcom_common_info(ewf_adapter* adapter_ptr);
64 ewf_result ewf_adapter_simcom_common_get_ipv4_address(ewf_adapter* adapter_ptr, uint32_t* address_ptr);
65 ewf_result ewf_adapter_simcom_common_get_ipv4_netmask(ewf_adapter* adapter_ptr, uint32_t* netmask_ptr);
66 ewf_result ewf_adapter_simcom_common_get_ipv4_gateway(ewf_adapter* adapter_ptr, uint32_t* gateway_ptr);
67 ewf_result ewf_adapter_simcom_common_get_ipv4_dns(ewf_adapter* adapter_ptr, uint32_t* dns);
68 
77 ewf_result ewf_adapter_simcom_common_urc_callback(ewf_interface* interface_ptr, uint8_t* buffer_ptr, uint32_t buffer_length);
78 
82 /************************************************************************/
86 #ifdef __cplusplus
87 }
88 #endif
89 
90 #endif /* __ewf_adapter_simcom_common__h__included__ */
The Embedded Wireless Framework adapter API implementation.
struct _ewf_adapter_simcom_common ewf_adapter_simcom_common
The SIMCom common adapter data structure.
enum _ewf_result ewf_result
Success and error result codes specific to the EWF API.
The adapter control API type.
Definition: ewf_adapter_api_control.h:28
Definition: ewf_adapter_api_info.h:26
The SIMCom common adapter data structure.
Definition: ewf_adapter_simcom_common.h:33
The EWF network adapter control structure definition.
Definition: ewf_adapter.h:50
The interface structure definition.
Definition: ewf_interface.h:66