Embedded Wireless Framework
ewf_adapter_api_modem_general.h
Go to the documentation of this file.
1 /************************************************************************/
12 #ifndef __ewf_adapter_modem_general__h__included__
13 #define __ewf_adapter_modem_general__h__included__
14 
15 #include "ewf.h"
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 /************************************************************************/
36 ewf_result ewf_adapter_modem_manufacturer_read(ewf_adapter* adapter_ptr, char * info_str, uint16_t * info_str_len_ptr);
37 
45 ewf_result ewf_adapter_modem_model_read(ewf_adapter* adapter_ptr, char * info_str, uint16_t * info_str_len_ptr);
46 
54 ewf_result ewf_adapter_modem_revision_read(ewf_adapter* adapter_ptr, char * info_str, uint16_t * info_str_len_ptr);
55 
65 ewf_result ewf_adapter_modem_serial_number_read(ewf_adapter* adapter_ptr, const char * snt_str, char * info_str, uint16_t * info_str_len_ptr);
66 
74 ewf_result ewf_adapter_modem_imsi_read(ewf_adapter* adapter_ptr, char * info_str, uint32_t * info_str_len_ptr);
75 
82 ewf_result ewf_adapter_modem_message_character_set(ewf_adapter* adapter_ptr, const char * chset_str);
83 
91 ewf_result ewf_adapter_modem_message_character_read(ewf_adapter* adapter_ptr, char * chset_str, uint32_t * chset_len_ptr);
92 
107 ewf_result ewf_adapter_modem_multiplexing_mode_set(ewf_adapter* adapter_ptr, bool transparency, uint8_t subset, uint8_t port_speed, uint32_t n1, uint8_t t1, uint8_t n2, uint8_t t2, uint8_t t3, uint8_t k);
108 
123 ewf_result ewf_adapter_modem_multiplexing_mode_read(ewf_adapter* adapter_ptr, bool * transparency_ptr, uint8_t *subset_ptr, uint8_t *port_speed_ptr, uint32_t* n1_ptr, uint8_t *t1_ptr, uint8_t *n2_ptr, uint8_t *t2_ptr, uint8_t *t3_ptr, uint8_t *k_ptr);
124 
125 /************************************************************************/
129 #ifdef __cplusplus
130 }
131 #endif
132 
133 #endif /* __ewf_adapter_modem_general__h__included__ */
The Embedded Wireless Framework.
ewf_result ewf_adapter_modem_message_character_set(ewf_adapter *adapter_ptr, const char *chset_str)
Set TE character set (+cscs)
ewf_result ewf_adapter_modem_revision_read(ewf_adapter *adapter_ptr, char *info_str, uint16_t *info_str_len_ptr)
Read manufacturer model revision info (+cgmr)
Definition: ewf_adapter_api_modem_general.c:66
ewf_result ewf_adapter_modem_message_character_read(ewf_adapter *adapter_ptr, char *chset_str, uint32_t *chset_len_ptr)
Read the TE character set (+cscs?)
ewf_result ewf_adapter_modem_manufacturer_read(ewf_adapter *adapter_ptr, char *info_str, uint16_t *info_str_len_ptr)
Read manufacturer info (+cgmi)
Definition: ewf_adapter_api_modem_general.c:12
ewf_result ewf_adapter_modem_multiplexing_mode_read(ewf_adapter *adapter_ptr, bool *transparency_ptr, uint8_t *subset_ptr, uint8_t *port_speed_ptr, uint32_t *n1_ptr, uint8_t *t1_ptr, uint8_t *n2_ptr, uint8_t *t2_ptr, uint8_t *t3_ptr, uint8_t *k_ptr)
Read Multiplexing mode (+cmux?)
ewf_result ewf_adapter_modem_model_read(ewf_adapter *adapter_ptr, char *info_str, uint16_t *info_str_len_ptr)
Read manufacturer model info (+cgmm)
Definition: ewf_adapter_api_modem_general.c:39
ewf_result ewf_adapter_modem_imsi_read(ewf_adapter *adapter_ptr, char *info_str, uint32_t *info_str_len_ptr)
Read the modem IMSI (+cimi)
Definition: ewf_adapter_api_modem_general.c:128
ewf_result ewf_adapter_modem_serial_number_read(ewf_adapter *adapter_ptr, const char *snt_str, char *info_str, uint16_t *info_str_len_ptr)
Read manufacturer product serial number info (+cgsn)
Definition: ewf_adapter_api_modem_general.c:93
ewf_result ewf_adapter_modem_multiplexing_mode_set(ewf_adapter *adapter_ptr, bool transparency, uint8_t subset, uint8_t port_speed, uint32_t n1, uint8_t t1, uint8_t n2, uint8_t t2, uint8_t t3, uint8_t k)
Set Multiplexing mode (+cmux)
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