Embedded Wireless Framework
ewf_adapter_api_modem_network_service.h
Go to the documentation of this file.
1 /************************************************************************/
12 #ifndef __ewf_adapter_modem_network_service__h__included__
13 #define __ewf_adapter_modem_network_service__h__included__
14 
15 #include "ewf.h"
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 /************************************************************************/
40 ewf_result ewf_adapter_modem_subscriber_number_read(ewf_adapter* adapter_ptr, char * alphax_str, uint32_t * alphax_buffer_len_ptr, char * numberx_str, uint32_t * numberx_len_ptr, uint32_t * typex_ptr, uint8_t * service_ptr);
41 
49 
63 ewf_result ewf_adapter_modem_network_registration_read(ewf_adapter* adapter_ptr, ewf_adapter_modem_cmd_query_network_reg reg_cmd, uint32_t * n_ptr, ewf_adapter_modem_network_status * RegistrationStatus_ptr, ewf_adapter_modem_act * act_ptr, uint32_t * tac_ptr, uint32_t * ci_ptr, uint8_t * cause_type_ptr, uint8_t * reject_cause_ptr);
64 
72 ewf_result ewf_adapter_modem_network_registration_check(ewf_adapter* adapter_ptr, ewf_adapter_modem_cmd_query_network_reg reg_cmd, uint32_t timeout);
73 
83 ewf_result ewf_adapter_modem_operator_select(ewf_adapter* adapter_ptr, ewf_adapter_modem_operator_sel_register_mode registration_mode, ewf_afapter_modem_operator_name_format operator_name_format, const char * operator_name_str, ewf_adapter_modem_act act);
84 
95 ewf_result ewf_adapter_modem_operator_select_read(ewf_adapter* adapter_ptr, ewf_adapter_modem_operator_sel_register_mode * registration_mode_ptr, ewf_afapter_modem_operator_name_format * operator_name_format_ptr, char * operator_name_str, uint32_t * operator_name_len_ptr, ewf_adapter_modem_act *act_ptr);
96 
110 ewf_result ewf_adapter_modem_operator_list_edit(ewf_adapter* adapter_ptr, uint32_t index, ewf_afapter_modem_operator_name_format format, const char *operator_name_str, uint8_t gsm, uint8_t gsm_compact, uint8_t utran, uint8_t etran, uint8_t ngran);
111 
126 ewf_result ewf_adapter_modem_operator_list_read(ewf_adapter* adapter_ptr, uint32_t * index_ptr, ewf_afapter_modem_operator_name_format * format_ptr, char *operator_name_str, uint32_t * operator_name_len_ptr, uint8_t *gsm_ptr, uint8_t *gsm_compact_ptr, uint8_t *utran_ptr, uint8_t *etran_ptr, uint8_t *ngran_ptr);
127 
135 
143 
154 ewf_result ewf_adapter_modem_dynamic_parameters_read(ewf_adapter* adapter_ptr, ewf_adapter_modem_edrx_act* act_type_ptr, uint8_t * requested_edrx_ptr, uint8_t * nw_provided_edrx_ptr, uint8_t * paging_time_window_ptr);
155 
166 ewf_result ewf_adapter_modem_dynamic_parameters_set(ewf_adapter* adapter_ptr, uint8_t mode, ewf_adapter_modem_edrx_act act_type, uint8_t requested_edrx, uint8_t nw_provided_edrx, uint8_t paging_time_window);
167 
186 ewf_result ewf_adapter_modem_power_saving_mode_set(ewf_adapter* adapter_ptr, uint32_t mode, const char * periodic_rau_str, const char * gprs_ready_timer_str, const char * periodic_tau_str, const char * active_time_str);
187 
210 ewf_result ewf_adapter_modem_power_saving_mode_read(ewf_adapter* adapter_ptr, uint32_t * mode, char * periodic_rau_str, uint8_t * periodic_rau_len_ptr, char * gprs_Ready_timer_str, uint8_t * gprs_ready_timer_len_ptr, char * periodic_tau_str, uint8_t * periodic_tau_len_ptr, char * active_time_str, uint8_t * active_time_len_ptr);
211 
219 ewf_result ewf_adapter_modem_signal_strength_read(ewf_adapter* adapter_ptr, int32_t * rssi_ptr, int32_t *ber_ptr);
220 
232 ewf_result ewf_adapter_modem_signal_strength_extended_read(ewf_adapter* adapter_ptr, int32_t * rxlev_ptr, int32_t * ber_ptr, int32_t * rscp_ptr, int32_t * ecno_ptr, int32_t * rsrq_ptr, int32_t * rsrp_ptr);
233 
242 
249 ewf_result ewf_adapter_modem_timezone_reporting_read(ewf_adapter* adapter_ptr, uint32_t * reporting_ptr);
250 
259 
267 
268 /************************************************************************/
272 #ifdef __cplusplus
273 }
274 #endif
275 
276 #endif /* __ewf_adapter_modem_network_service__h__included__ */
The Embedded Wireless Framework.
ewf_result ewf_adapter_modem_network_registration_read(ewf_adapter *adapter_ptr, ewf_adapter_modem_cmd_query_network_reg reg_cmd, uint32_t *n_ptr, ewf_adapter_modem_network_status *RegistrationStatus_ptr, ewf_adapter_modem_act *act_ptr, uint32_t *tac_ptr, uint32_t *ci_ptr, uint8_t *cause_type_ptr, uint8_t *reject_cause_ptr)
Read Network Registration (+creg?, +cgreg?, +cereg?)
Definition: ewf_adapter_api_modem_network_service.c:33
ewf_result ewf_adapter_modem_signal_strength_extended_read(ewf_adapter *adapter_ptr, int32_t *rxlev_ptr, int32_t *ber_ptr, int32_t *rscp_ptr, int32_t *ecno_ptr, int32_t *rsrq_ptr, int32_t *rsrp_ptr)
Read extended signal strength information (+cesq)
ewf_result ewf_adapter_modem_timezone_reporting_read(ewf_adapter *adapter_ptr, uint32_t *reporting_ptr)
Read Time zone reporting (+ctzr?)
ewf_result ewf_adapter_modem_network_registration_urc_set(ewf_adapter *adapter_ptr, const char *n_str)
Set Network Registration URC (+creg)
Definition: ewf_adapter_api_modem_network_service.c:12
ewf_result ewf_adapter_modem_operator_list_edit(ewf_adapter *adapter_ptr, uint32_t index, ewf_afapter_modem_operator_name_format format, const char *operator_name_str, uint8_t gsm, uint8_t gsm_compact, uint8_t utran, uint8_t etran, uint8_t ngran)
This function is used to edit the PLMN selector with Access Technology lists (+cpol)
ewf_result ewf_adapter_modem_timezone_reporting_set(ewf_adapter *adapter_ptr, uint32_t reporting)
Time zone reporting set (+ctzr)
ewf_result ewf_adapter_modem_subscriber_number_read(ewf_adapter *adapter_ptr, char *alphax_str, uint32_t *alphax_buffer_len_ptr, char *numberx_str, uint32_t *numberx_len_ptr, uint32_t *typex_ptr, uint8_t *service_ptr)
Read subscriber number (+cnum)
ewf_result ewf_adapter_modem_timezone_autoupdate_read(ewf_adapter *adapter_ptr, uint32_t *option_ptr)
Read automatic Time zone update (+ctzu?)
ewf_result ewf_adapter_modem_operator_list_select(ewf_adapter *adapter_ptr, uint8_t list)
Preferred PLMN selector with Access Technology list set (+cpls)
ewf_result ewf_adapter_modem_operator_list_read(ewf_adapter *adapter_ptr, uint32_t *index_ptr, ewf_afapter_modem_operator_name_format *format_ptr, char *operator_name_str, uint32_t *operator_name_len_ptr, uint8_t *gsm_ptr, uint8_t *gsm_compact_ptr, uint8_t *utran_ptr, uint8_t *etran_ptr, uint8_t *ngran_ptr)
Prefered PLMN list read (+cpol?)
ewf_result ewf_adapter_modem_operator_select(ewf_adapter *adapter_ptr, ewf_adapter_modem_operator_sel_register_mode registration_mode, ewf_afapter_modem_operator_name_format operator_name_format, const char *operator_name_str, ewf_adapter_modem_act act)
Operator selection (+cops)
ewf_result ewf_adapter_modem_signal_strength_read(ewf_adapter *adapter_ptr, int32_t *rssi_ptr, int32_t *ber_ptr)
Read signal strength information (+csq)
ewf_result ewf_adapter_modem_network_registration_check(ewf_adapter *adapter_ptr, ewf_adapter_modem_cmd_query_network_reg reg_cmd, uint32_t timeout)
Check if modem is registered to network.
Definition: ewf_adapter_api_modem_network_service.c:94
ewf_result ewf_adapter_modem_operator_select_read(ewf_adapter *adapter_ptr, ewf_adapter_modem_operator_sel_register_mode *registration_mode_ptr, ewf_afapter_modem_operator_name_format *operator_name_format_ptr, char *operator_name_str, uint32_t *operator_name_len_ptr, ewf_adapter_modem_act *act_ptr)
Read Operator selection (+cops?)
ewf_result ewf_adapter_modem_timezone_autoupdate_set(ewf_adapter *adapter_ptr, uint32_t option)
Automatic Time zone update set (+ctzu)
ewf_result ewf_adapter_modem_dynamic_parameters_read(ewf_adapter *adapter_ptr, ewf_adapter_modem_edrx_act *act_type_ptr, uint8_t *requested_edrx_ptr, uint8_t *nw_provided_edrx_ptr, uint8_t *paging_time_window_ptr)
Read eDRX dynamic parameters (+cedrxrdp)
ewf_result ewf_adapter_modem_operator_option_list_read(ewf_adapter *adapter_ptr, uint8_t *list_ptr)
Preferred PLMN with Access Technology list read (+cpls)
ewf_result ewf_adapter_modem_power_saving_mode_read(ewf_adapter *adapter_ptr, uint32_t *mode, char *periodic_rau_str, uint8_t *periodic_rau_len_ptr, char *gprs_Ready_timer_str, uint8_t *gprs_ready_timer_len_ptr, char *periodic_tau_str, uint8_t *periodic_tau_len_ptr, char *active_time_str, uint8_t *active_time_len_ptr)
Read Power saving mode setting (+?)
ewf_result ewf_adapter_modem_power_saving_mode_set(ewf_adapter *adapter_ptr, uint32_t mode, const char *periodic_rau_str, const char *gprs_ready_timer_str, const char *periodic_tau_str, const char *active_time_str)
Set Power saving mode setting (+cpsms)
ewf_result ewf_adapter_modem_dynamic_parameters_set(ewf_adapter *adapter_ptr, uint8_t mode, ewf_adapter_modem_edrx_act act_type, uint8_t requested_edrx, uint8_t nw_provided_edrx, uint8_t paging_time_window)
Set eDRX dynamic parameters (+cedrxs)
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