Raritan PX2/PX3 JSON-RPC API
AnalogModem.idl
1 #ifndef __ANALOGMODEM_IDL__
2 #define __ANALOGMODEM_IDL__
3 
4 #include <Event.idl>
5 
7 module serial {
8 
13  interface AnalogModem {
17  constant int SUCCESS = 0;
18  constant int ERR_INVALID_VALUE = 1;
19 
20  structure Settings {
21  boolean dialInEnabled;
23  };
24 
28  valueobject DialInEvent extends idl.Event {
29  string number;
30  };
31 
35  valueobject CallReceivedEvent extends DialInEvent {
36  };
37 
41  valueobject CallEndedEvent extends DialInEvent {
42  boolean disconnectedRemotely;
43  };
46 
52  Settings getSettings();
53 
62  int setSettings(in Settings settings);
63  };
64 }
65 
66 #endif /* __ANALOGMODEM_IDL__ */
int ringsUntilAnswer
Number of rings until incoming call is answered.
Definition: AnalogModem.idl:22
Interface for communication with an analog modem attached to a serial port.
Definition: AnalogModem.idl:13
Serial Ports.
Definition: AnalogModem.idl:7
Basic IDL definitions.
Definition: Event.idl:6
Definition: AnalogModem.idl:20
boolean dialInEnabled
Whether dial-in to device is enabled.
Definition: AnalogModem.idl:21