6#ifndef __ANALOGMODEM_IDL__ 
    7#define __ANALOGMODEM_IDL__ 
   22        constant 
int SUCCESS                   = 0; 
 
   23        constant 
int ERR_INVALID_VALUE         = 1; 
 
 
 
Interface for communication with an analog modem attached to a serial port.
int setSettings(in Settings settings)
Set modem settings.
Settings getSettings()
Get modem settings.
Common base for all events.
An event that's emitted when a dial-in call was hung up.
boolean disconnectedRemotely
If true, the call was disconnected by the caller If false, the call was disconnected locally,...
An event that's emitted when a dial-in call was answered.
string number
The caller's phone number.
int ringsUntilAnswer
Number of rings until incoming call is answered.
boolean dialInEnabled
Whether dial-in to device is enabled.