Embedded Wireless Framework
Data Structures | Macros | Typedefs | Functions
ewf_adapter_api_modem.h File Reference

The Embedded Wireless Framework modem adapter API. More...

#include "ewf.h"
#include "ewf_adapter_api_modem_types.h"
#include "ewf_adapter_api_modem_general.h"
#include "ewf_adapter_api_modem_network_service.h"
#include "ewf_adapter_api_modem_packet_domain.h"
#include "ewf_adapter_api_modem_sim_utility.h"
#include "ewf_adapter_api_modem_sms.h"

Go to the source code of this file.

Data Structures

struct  _ewf_adapter_api_modem_data
 

Macros

#define EWF_ADAPTER_MODEM_FUNCTIONALITY_MINIMUM   ("0")
 
#define EWF_ADAPTER_MODEM_FUNCTIONALITY_FULL   ("1")
 
#define EWF_ADAPTER_MODEM_FUNCTIONALITY_DISABLE_TX   ("2")
 
#define EWF_ADAPTER_MODEM_FUNCTIONALITY_DISABLE_RX   ("3")
 
#define EWF_ADAPTER_MODEM_FUNCTIONALITY_DISABLE_ME   ("4")
 

Typedefs

typedef struct _ewf_adapter_api_modem_data ewf_adapter_api_modem_data
 

Functions

ewf_result ewf_adapter_modem_custom_command_send (ewf_adapter *adapter_ptr, const char *command_str)
 Function to send command that is not implmented in the framework. More...
 
ewf_result ewf_adapter_modem_custom_command_receive (ewf_adapter *adapter_ptr, char **buffer_ptr_ptr, uint32_t *buffer_length_ptr)
 Function to read command that is not implmented in the framework. More...
 
ewf_result ewf_adapter_modem_functionality_set (ewf_adapter *adapter_ptr, const char *fun_str)
 Set the modem functionality (+cfun) More...
 
ewf_result ewf_adapter_modem_functionality_read (ewf_adapter *adapter_ptr, uint8_t *fun)
 Read the modem functionality (+cfun?) More...
 
ewf_result ewf_adapter_modem_clock_set (ewf_adapter *adapter_ptr, ewf_adapter_modem_time *time_info_ptr)
 Set the clock (+cclk) More...
 
ewf_result ewf_adapter_modem_clock_read (ewf_adapter *adapter_ptr, ewf_adapter_modem_time *time_info_ptr)
 Read the clock (+cclk) More...
 
ewf_result ewf_adapter_modem_alarm_set (ewf_adapter *adapter_ptr, ewf_adapter_modem_time *alarm_info_ptr, uint8_t n, uint32_t type, const char *text_str, uint32_t text_len, const char *recurr_str, uint32_t recurr_len, bool silent)
 Set the alarm (+cala) More...
 
ewf_result ewf_adapter_modem_alarm_delete (ewf_adapter *adapter_ptr, uint32_t index)
 Delete the alarm (+cald) More...
 
ewf_result ewf_adapter_modem_commands_list_read (ewf_adapter *adapter_ptr, const char **buffer_ptr_ptr, uint32_t *response_length_ptr)
 Read the list of commands (+clac) More...
 
ewf_result ewf_adapter_modem_extended_err_report_read (ewf_adapter *adapter_ptr, uint16_t *report)
 Read extended error report (+ceer) More...
 
ewf_result ewf_adapter_modem_indicator_status_read (ewf_adapter *adapter_ptr, char *indicator_ptr, uint32_t *indicator_len)
 Read status of MT indicators (+cind) More...
 

Detailed Description

The Embedded Wireless Framework modem adapter API.

Version
Preview

Specifiction: 3GPP TS 27.007, 3GPP TS 24.008, 3GPP TS 27.005, 3GPP TS 24.011