Embedded Wireless Framework
ewf_adapter_api_modem_sms.h
Go to the documentation of this file.
1 /************************************************************************/
12 #ifndef __ewf_adapter_modem_sms__h__included__
13 #define __ewf_adapter_modem_sms__h__included__
14 
15 #include "ewf.h"
17 
18 #ifdef EWF_SMS_SUPPORT_ENABLED
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 /************************************************************************/
37 ewf_result ewf_adapter_modem_message_format_set(ewf_adapter* adapter_ptr, bool mode);
38 
45 ewf_result ewf_adapter_modem_message_format_read(ewf_adapter* adapter_ptr, bool * mode_ptr);
46 
54 ewf_result ewf_adapter_modem_message_send(ewf_adapter* adapter_ptr, const char * phone_num_str, const char * message_str);
55 
62 ewf_result ewf_adapter_modem_message_more_send_config_set(ewf_adapter* adapter_ptr, uint8_t n);
63 
70 ewf_result ewf_adapter_modem_message_more_send_config_read(ewf_adapter* adapter_ptr, uint8_t * n);
71 
81 ewf_result ewf_adapter_modem_message_read(ewf_adapter* adapter_ptr, uint32_t index, char * message_str, uint32_t * message_str_len);
82 
89 ewf_result ewf_adapter_modem_message_delete(ewf_adapter* adapter_ptr, uint32_t index);
90 
97 ewf_result ewf_adapter_modem_message_list(ewf_adapter* adapter_ptr, uint8_t stat);
98 
105 ewf_result ewf_adapter_modem_message_service_select(ewf_adapter* adapter_ptr, uint8_t service);
106 
116 ewf_result ewf_adapter_modem_message_service_read(ewf_adapter* adapter_ptr, uint8_t * service, bool * mt_ptr, bool * mo_ptr, bool* bm_ptr);
117 
125 ewf_result ewf_adapter_modem_message_service_center_address_set(ewf_adapter* adapter_ptr, const char * sca_str, uint32_t tosca);
126 
134 ewf_result ewf_adapter_modem_message_service_center_address_read(ewf_adapter* adapter_ptr, char * sca_str, uint32_t * tosca_ptr);
135 
142 ewf_result ewf_adapter_modem_message_show_header_values_mode_set(ewf_adapter* adapter_ptr, bool show);
143 
150 ewf_result ewf_adapter_modem_message_show_header_values_mode_read(ewf_adapter* adapter_ptr, bool * show_ptr);
151 
158 ewf_result ewf_adapter_modem_message_profile_save(ewf_adapter* adapter_ptr, uint8_t profile);
159 
166 ewf_result ewf_adapter_modem_message_profile_restore(ewf_adapter* adapter_ptr, uint8_t profile);
167 
182 ewf_result ewf_adapter_modem_message_preffered_storage_set(ewf_adapter* adapter_ptr, const char * mem1_str, const char * mem2_str, const char *mem3_str);
183 
195 ewf_result ewf_adapter_modem_message_preffered_storage_read(ewf_adapter* adapter_ptr, uint32_t * used1_ptr, uint32_t * total1_ptr, uint32_t * used2_ptr, uint32_t * total2_ptr, uint32_t * used3_ptr, uint32_t* total3_ptr);
196 
206 ewf_result ewf_adapter_modem_message_to_memory_write(ewf_adapter* adapter_ptr, const char * address_str, uint32_t address_type, uint32_t stat, uint32_t * index_ptr);
207 
217 ewf_result ewf_adapter_modem_message_send(ewf_adapter* adapter_ptr, uint32_t index, const char * address_str, uint32_t address_len, uint32_t address_type);
218 
229 ewf_result ewf_adapter_modem_message_recieve_indications_set(ewf_adapter* adapter_ptr, uint32_t mode, uint32_t mt, uint32_t bm, uint32_t ds, uint32_t bfr);
230 
231 
242 ewf_result ewf_adapter_modem_message_recieve_indications_read(ewf_adapter* adapter_ptr, uint32_t * mode_ptr, uint32_t * mt_ptr, uint32_t * bm_ptr, uint32_t * ds_ptr, uint32_t * bfr_ptr);
243 
244 
251 ewf_result ewf_adapter_modem_message_new_acknowlegdement(ewf_adapter* adapter_ptr, uint32_t n);
252 
253 /************************************************************************/
257 #ifdef __cplusplus
258 }
259 #endif
260 
261 #endif /* EWF_SMS_SUPPORT_ENABLED */
262 
263 #endif /* __ewf_adapter_modem_sms__h__included__ */
The Embedded Wireless Framework.
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