Embedded Wireless Framework
ewf_adapter_api_modem_sim_utility.h
Go to the documentation of this file.
1 /************************************************************************/
12 #ifndef __ewf_adapter_modem_sim_utility__h__included__
13 #define __ewf_adapter_modem_sim_utility__h__included__
14 
15 #include "ewf.h"
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 /************************************************************************/
37 ewf_result ewf_adapter_modem_sim_pin_enter(ewf_adapter* adapter_ptr, const char * pin_str);
38 
46 ewf_result ewf_adapter_modem_sim_pin_status_read(ewf_adapter* adapter_ptr, char * code_str, uint32_t * code_str_len);
47 
55 ewf_result ewf_adapter_modem_sim_pin_change(ewf_adapter* adapter_ptr, const char * pin_str, const char * new_pin_str);
56 
65 ewf_result ewf_adapter_modem_sim_pin_retries_read(ewf_adapter* adapter_ptr, const char * sel_code_str, uint32_t* retries_ptr, uint32_t* default_retries_ptr);
66 
74 ewf_result ewf_adapter_modem_sim_generic_access_set(ewf_adapter* adapter_ptr, uint32_t lenght, const char * command_str);
75 
88 ewf_result ewf_adapter_modem_sim_restricted_access(ewf_adapter* adapter_ptr, uint32_t command, uint32_t field, uint32_t p1, uint32_t p2, uint32_t p3, const char * data_str, const char * pathid_str);
89 
98 ewf_result ewf_adapter_modem_facility_lock(ewf_adapter* adapter_ptr, const char * facility_str, const char * password_str, uint32_t classx);
99 
108 ewf_result ewf_adapter_modem_facility_unlock(ewf_adapter* adapter_ptr, const char * facility_str, const char * password_str, uint32_t classx);
109 
118 ewf_result ewf_adapter_modem_facility_password_change(ewf_adapter* adapter_ptr, const char * facility_str, const char * old_password_str, const char * new_password_str);
119 
120 /************************************************************************/
124 #ifdef __cplusplus
125 }
126 #endif
127 
128 #endif /* __ewf_adapter_modem_sim_utility__h__included__ */
The Embedded Wireless Framework.
ewf_result ewf_adapter_modem_sim_restricted_access(ewf_adapter *adapter_ptr, uint32_t command, uint32_t field, uint32_t p1, uint32_t p2, uint32_t p3, const char *data_str, const char *pathid_str)
Restricted sim access (+crsm)
ewf_result ewf_adapter_modem_sim_pin_enter(ewf_adapter *adapter_ptr, const char *pin_str)
Enter the modem SIM PIN (+cpin)
Definition: ewf_adapter_api_modem_sim_utility.c:12
ewf_result ewf_adapter_modem_sim_pin_retries_read(ewf_adapter *adapter_ptr, const char *sel_code_str, uint32_t *retries_ptr, uint32_t *default_retries_ptr)
Remaining PIN retries (+cpinr)
ewf_result ewf_adapter_modem_sim_pin_change(ewf_adapter *adapter_ptr, const char *pin_str, const char *new_pin_str)
Set the modem SIM new PIN (+cpin)
ewf_result ewf_adapter_modem_facility_unlock(ewf_adapter *adapter_ptr, const char *facility_str, const char *password_str, uint32_t classx)
Unlock a modem facility (+clck)
ewf_result ewf_adapter_modem_facility_lock(ewf_adapter *adapter_ptr, const char *facility_str, const char *password_str, uint32_t classx)
Lock a modem facility (+clck)
ewf_result ewf_adapter_modem_sim_pin_status_read(ewf_adapter *adapter_ptr, char *code_str, uint32_t *code_str_len)
Read the modem SIM PIN status (+cpin?)
ewf_result ewf_adapter_modem_sim_generic_access_set(ewf_adapter *adapter_ptr, uint32_t lenght, const char *command_str)
Generic SIM access (+csim)
ewf_result ewf_adapter_modem_facility_password_change(ewf_adapter *adapter_ptr, const char *facility_str, const char *old_password_str, const char *new_password_str)
Change pwssword of a modem facility (+cpwd)
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