Raritan PX2/PX3 JSON-RPC API
|
6 #include <GsmModem.idl>
7 #include <AnalogModem.idl>
20 constant
int SUCCESS = 0;
21 constant
int ERR_INVALID_VALUE = 1;
86 valueobject ModemEvent extends
idl.Event {
93 valueobject ModemAddedEvent extends ModemEvent {
99 valueobject ModemRemovedEvent extends ModemEvent {
@ BR2400
2.400 kbit/s
Definition: SerialPort.idl:48
Structure holding information about the current state of the port.
Definition: SerialPort.idl:69
BaudRate
Possible baud rates.
Definition: SerialPort.idl:46
Serial Ports.
Definition: AnalogModem.idl:12
@ BR19200
19::200 kbit/s
Definition: SerialPort.idl:51
DetectionType detectType
Type of connected device to be assumed in device detection.
Definition: SerialPort.idl:80
DetectionType
Device type the port shall be looking for.
Definition: SerialPort.idl:36
@ CONSOLE
The console application is running on the port.
Definition: SerialPort.idl:27
@ BR4800
4.800 kbit/s
Definition: SerialPort.idl:49
@ AUTOMATIC
Try to automatically determine the connected device.
Definition: SerialPort.idl:37
int setSettings(in Settings settings)
Set settings.
PortState state
Current connection state.
Definition: SerialPort.idl:70
@ BR38400
38::400 kbit/s
Definition: SerialPort.idl:52
Basic IDL definitions.
Definition: Event.idl:10
Interface describing a physical serial port and the devices which can be attached to it.
Definition: SerialPort.idl:16
Object getModem()
Get modem connected to port.
BaudRate modemBaudRate
Baud rate to be used for communicating with an attached modem.
Definition: SerialPort.idl:79
PortState
Possible states the port can be in at a given time.
Definition: SerialPort.idl:26
Port settings.
Definition: SerialPort.idl:77
State getState()
Get current port state.
Settings getSettings()
Get current settings.
@ FORCE_ANALOGMODEM
Always assume an analog modem is connected.
Definition: SerialPort.idl:39
BaudRate consoleBaudRate
Baud rate to be used for running the console application.
Definition: SerialPort.idl:78
@ ANALOGMODEM
An analog modem is attached to the port.
Definition: SerialPort.idl:28
@ BR9600
9.600 kbit/s
Definition: SerialPort.idl:50
@ GSMMODEM
A GSM modem is attached to the port.
Definition: SerialPort.idl:29
MetaData getMetaData()
Get port meta data.
@ FORCE_CONSOLE
Always assume a console (terminal) is connected.
Definition: SerialPort.idl:38
@ BR1200
1.200 kbit/s
Definition: SerialPort.idl:47
@ BR57600
57::600 kbit/s
Definition: SerialPort.idl:53
string deviceName
Name of the device currently connected.
Definition: SerialPort.idl:71