Embedded Wireless Framework
ewf_adapter_api_modem_packet_domain.h
Go to the documentation of this file.
1 /************************************************************************/
12 #ifndef __ewf_adapter_modem_packet_domain__h__included__
13 #define __ewf_adapter_modem_packet_domain__h__included__
14 
15 #include "ewf.h"
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 /************************************************************************/
38 
52 ewf_result ewf_adapter_modem_eps_network_registration_read(ewf_adapter* adapter_ptr, ewf_adapter_modem_network_status * epsregistrationstatus_ptr, ewf_adapter_modem_act * act_ptr, uint32_t * tac_ptr, uint32_t * ci_ptr, uint32_t rac_ptr, uint8_t * cause_type_ptr, uint8_t * reject_cause_ptr);
53 
62 
76 ewf_result ewf_adapter_modem_gprs_network_registration_read(ewf_adapter* adapter_ptr, ewf_adapter_modem_network_status * status_ptr, ewf_adapter_modem_act* act_ptr, uint32_t * tac_ptr, uint32_t * ci_ptr, uint32_t * rac_ptr, uint8_t * cause_type_ptr, uint8_t * reject_cause_ptr);
77 
85 ewf_result ewf_adapter_modem_init_pdp_activate(ewf_adapter* adapter_ptr, uint32_t n, bool attachPDN);
86 
94 ewf_result ewf_adapter_modem_init_pdp_activation_config_read(ewf_adapter* adapter_ptr, uint32_t * n_ptr, bool * attachpdn_ptr);
95 
104 ewf_result ewf_adapter_modem_pdp_apn_set(ewf_adapter* adapter_ptr, uint32_t context_id, const char * pdptype_ptr, const char* apn_ptr);
105 
115 ewf_result ewf_adapter_modem_pdp_apn_read(ewf_adapter* adapter_ptr, uint32_t context_id, char* pdptype_ptr, char* apn_ptr, uint8_t apn_str_len);
116 
126 ewf_result ewf_adapter_modem_pdp_context_authentication_set(ewf_adapter* adapter_ptr, uint32_t context_id, const char * userid_str, const char * password_str);
127 
136 ewf_result ewf_adapter_modem_pdp_data_mode_enter(ewf_adapter* adapter_ptr, const char * l2p_str, uint32_t context_id);
137 
144 ewf_result ewf_adapter_modem_packet_service_activate(ewf_adapter* adapter_ptr, uint32_t context_id);
145 
152 ewf_result ewf_adapter_modem_packet_service_deactivate(ewf_adapter* adapter_ptr, uint32_t context_id);
153 
160 
167 
175 
176 /************************************************************************/
180 #ifdef __cplusplus
181 }
182 #endif
183 
184 #endif /* __ewf_adapter_modem_packet_domain__h__included__ */
The Embedded Wireless Framework.
ewf_result ewf_adapter_modem_network_attach_status_read(ewf_adapter *adapter_ptr, bool *state_ptr)
Read the network attach status (+cgatt?)
ewf_result ewf_adapter_modem_packet_service_deactivate(ewf_adapter *adapter_ptr, uint32_t context_id)
De-activate context (+cgact)
Definition: ewf_adapter_api_modem_packet_domain.c:114
ewf_result ewf_adapter_modem_gprs_network_registration_urc_set(ewf_adapter *adapter_ptr, const char *n_str)
GPRS Network Registration (+cgreg)
Definition: ewf_adapter_api_modem_packet_domain.c:33
ewf_result ewf_adapter_modem_eps_network_registration_read(ewf_adapter *adapter_ptr, ewf_adapter_modem_network_status *epsregistrationstatus_ptr, ewf_adapter_modem_act *act_ptr, uint32_t *tac_ptr, uint32_t *ci_ptr, uint32_t rac_ptr, uint8_t *cause_type_ptr, uint8_t *reject_cause_ptr)
Read EPS Network Registration (+cereg?)
ewf_result ewf_adapter_modem_pdp_apn_read(ewf_adapter *adapter_ptr, uint32_t context_id, char *pdptype_ptr, char *apn_ptr, uint8_t apn_str_len)
Read PDP context APN (+cgdcont?)
ewf_result ewf_adapter_modem_pdp_data_mode_enter(ewf_adapter *adapter_ptr, const char *l2p_str, uint32_t context_id)
Enter data state (+cgdata)
ewf_result ewf_adapter_modem_eps_network_registration_urc_set(ewf_adapter *adapter_ptr, const char *n_str)
EPS Network Registration (+cereg)
Definition: ewf_adapter_api_modem_packet_domain.c:12
ewf_result ewf_adapter_modem_packet_service_activate(ewf_adapter *adapter_ptr, uint32_t context_id)
Activate context (+cgact)
Definition: ewf_adapter_api_modem_packet_domain.c:89
ewf_result ewf_adapter_modem_packet_service_detach(ewf_adapter *adapter_ptr)
Detach form the Packet domain service (+cgatt)
Definition: ewf_adapter_api_modem_packet_domain.c:153
ewf_result ewf_adapter_modem_init_pdp_activation_config_read(ewf_adapter *adapter_ptr, uint32_t *n_ptr, bool *attachpdn_ptr)
Read Initial PDP context activation config(+cipca)
ewf_result ewf_adapter_modem_pdp_apn_set(ewf_adapter *adapter_ptr, uint32_t context_id, const char *pdptype_ptr, const char *apn_ptr)
Set PDP context APN (+cgdcont)
Definition: ewf_adapter_api_modem_packet_domain.c:54
ewf_result ewf_adapter_modem_packet_service_attach(ewf_adapter *adapter_ptr)
Attach to the Packet domain service (+cgatt)
Definition: ewf_adapter_api_modem_packet_domain.c:137
ewf_result ewf_adapter_modem_gprs_network_registration_read(ewf_adapter *adapter_ptr, ewf_adapter_modem_network_status *status_ptr, ewf_adapter_modem_act *act_ptr, uint32_t *tac_ptr, uint32_t *ci_ptr, uint32_t *rac_ptr, uint8_t *cause_type_ptr, uint8_t *reject_cause_ptr)
Read GPRS Network Registration (+cgreg)
ewf_result ewf_adapter_modem_pdp_context_authentication_set(ewf_adapter *adapter_ptr, uint32_t context_id, const char *userid_str, const char *password_str)
Set PDP context authentication parameter (+cgauth)
ewf_result ewf_adapter_modem_init_pdp_activate(ewf_adapter *adapter_ptr, uint32_t n, bool attachPDN)
Initial PDP context activation (+cipca)
enum _ewf_result ewf_result
Success and error result codes specific to the EWF API.
The EWF network adapter control structure definition.
Definition: ewf_adapter.h:50