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 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, 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  VoiceCallOperation { CALL, ANSWER, FINISH, MUTE }
 Defines the possible voice call 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  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 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.