Raritan PX2/PX3 JSON-RPC API
|
Interface for communication with an analog modem attached to a serial port. More...
import"AnalogModem.idl";
Classes | |
struct | Settings |
Public Member Functions | |
Settings | getSettings () |
Get modem settings. More... | |
int | setSettings (in Settings settings) |
Set modem settings. More... | |
Public Attributes | |
constant int | SUCCESS = 0 |
Error codes. More... | |
constant int | ERR_INVALID_VALUE = 1 |
Invalid argument. | |
valueobject | DialInEvent: idl::Event { string number |
Dial-in event. More... | |
valueobject | CallReceivedEvent: DialInEvent { } |
An event that's emitted when a dial-in call was answered. | |
valueobject | CallEndedEvent: DialInEvent { boolean disconnectedRemotely |
An event that's emitted when a dial-in call was hung up. More... | |
Interface for communication with an analog modem attached to a serial port.
Settings serial::AnalogModem::getSettings | ( | ) |
Get modem settings.
int serial::AnalogModem::setSettings | ( | in Settings | settings | ) |
Set modem settings.
settings | – New settings |
valueobject serial::AnalogModem::CallEndedEvent |
An event that's emitted when a dial-in call was hung up.
If true, the call was disconnected by the caller If false, the call was disconnected locally, e.g. due to a connection failure
valueobject serial::AnalogModem::DialInEvent |
Dial-in event.
The caller's phone number
constant int serial::AnalogModem::SUCCESS = 0 |
Error codes.
No error