modemApiPrivate.h File Reference
#include "modemApi.h"
Include dependency graph for modemApiPrivate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ModemManagerPrivate
 Allows to interact with a modem from inside the Deepsy. More...
 

Typedefs

typedef boost::function< void(boost::system::error_code &ec, SMS_NOTIFICATION sms_notif, std::vector< int > sms_identifiers)> sms_notification_handler_function
 Prototype of the handler function for getSmsNotifications_S method.
 
typedef boost::function< void(boost::system::error_code error_code, const std::map< std::string, dpyModem::s_SMSInfo > &smsInfoList)> get_sms_info_handler_function
 Prototype of the handler function used to retrieve sms info.
 
typedef boost::function< void(boost::system::error_code error_code, std::string simid, dpyModem::CallInfo callinfo)> get_sim_call_info_handler_function
 Prototype of the handler function used to retrieve call info.
 
typedef boost::function< void(boost::system::error_code, std::string simid, std::string smsid, dpyModem::SmsEvent event)> sms_event_handler_function
 Prototype of the handler function used to retrieve sms events.
 
typedef boost::function< void(boost::system::error_code, std::string simid, dpyModem::CallSourceStatus callSourceStatus)> call_source_status_handler_function
 Prototype of the handler function used to retrieve sim status in terms of calls.
 
typedef boost::function< void(boost::system::error_code, std::string simid, dpyModem::CallStatus event)> voice_call_event_handler_function
 Prototype of the handler function used to retrieve call events.
 
typedef boost::function< void(boost::system::error_code, std::string modemid, std::map< dpyModemPrivate::VoiceCallConfigParam, std::string > call_param_to_value_map)> voice_call_config_handler_function
 Prototype of the handler function used to retrieve the call configuration.
 

Enumerations

enum  SmsOperation { SEND, ERASE }
 Defines the possible sms operations. More...
 
enum  VoiceCallOperation { CALL, ANSWER, FINISH, MUTE }
 Defines the possible sms operations. More...
 
enum  VoiceCallConfigParam {
  AUDIO_MODE, RINGTONE, VOLUME_RINGTONE, VOLUME_PERCENT,
  MICRO_ADC_GAIN, MICRO_MULT_FACTOR
}
 Defines the possible voice call configuration parameters. More...
 
enum  SMS_NOTIFICATION { SMS_NEW, SMS_DELETED, SMS_SENT, SMS_STORAGE_FULL }
 Defines the possible sms notifications that the modem can report during its operation. More...
 
enum  VOICE_CALL_NOTIFICATIONS {
  CALL_DISABLED, CALL_WAITING, CALL_RINGING, CALL_DIALING,
  CALL_CONVERSATION, CALL_DISCONNECTED
}
 Defines the possible voice call notifications that the modem can report during its operation. More...
 
enum  VOICECALL_INFO { CALL_DURATION }
 Defines the possible Voice call related information that can be queried. More...
 

Detailed Description

Enumeration Type Documentation

enum SMS_NOTIFICATION
Enumerator
SMS_NEW 

Modem module has just received a SMS.

SMS_DELETED 

Modem SMS has been deleted from memory.

SMS_SENT 

Modem module SMS has been sent.

SMS_STORAGE_FULL 

Modem module SMS storage is full, some SMS should be deleted.

enum SmsOperation
Enumerator
SEND 

Send sms operation.

ERASE 

Delete sms operation.

enum VOICE_CALL_NOTIFICATIONS
Enumerator
CALL_DISABLED 

Modem call state is DISABLED.

CALL_WAITING 

Modem call state is IDLE.

CALL_RINGING 

Modem call state is RINGING.

CALL_DIALING 

Modem call state is DIALING.

CALL_CONVERSATION 

Modem call state is CONVERSATION.

CALL_DISCONNECTED 

Modem call state is DISCONNECTED.

enum VOICECALL_INFO
Enumerator
CALL_DURATION 

Current or last call duration.

enum VoiceCallConfigParam
Enumerator
AUDIO_MODE 

Audio mode.

RINGTONE 

Type of ring tone.

VOLUME_RINGTONE 

Volume of ring tone,varies from low to high.

VOLUME_PERCENT 

Percentage of volume.

MICRO_ADC_GAIN 

Amplification of the microphone. ADC Gain.

MICRO_MULT_FACTOR 

Amplification of the microphone. Multiplication factor.

enum VoiceCallOperation
Enumerator
CALL 

Make call operation.

ANSWER 

Answers incoming call operation.

FINISH 

Finish current call operation.

MUTE 

Mutes current call operation.