Raritan EMX JSON-RPC API
SerialPort.idl
1 #include <GsmModem.idl>
2 #include <AnalogModem.idl>
3 
5 module serial {
6 
11  interface SerialPort_3_0_0 {
15  constant int SUCCESS = 0;
16  constant int ERR_INVALID_VALUE = 1;
17 
21  enumeration PortState {
25  DISCONNECTED
26  };
27 
31  enumeration DetectionType {
35  FORCE_GSMMODEM
36  };
37 
41  enumeration BaudRate {
49  BR115200
50  };
51 
56  structure State {
58  string deviceName;
59  };
60 
64  structure Settings {
68  };
69 
73  valueobject ModemEvent extends idl.Event {
74  Object modem;
75  };
76 
80  valueobject ModemAddedEvent extends ModemEvent {
81  };
82 
86  valueobject ModemRemovedEvent extends ModemEvent {
87  };
88 
94  Settings getSettings();
95 
104  int setSettings(in Settings settings);
105 
111  State getState();
112 
119  Object getModem();
120  };
121 
122 }
1.200 kbit/s
Definition: SerialPort.idl:42
38::400 kbit/s
Definition: SerialPort.idl:47
Structure holding information about the current state of the port.
Definition: SerialPort.idl:56
PortState
Possible states the port can be in at a given time.
Definition: SerialPort.idl:21
Interface describing a physical serial port and the devices which can be attached to it...
Definition: SerialPort.idl:11
2.400 kbit/s
Definition: SerialPort.idl:43
Serial Ports.
Definition: AnalogModem.idl:7
An analog modem is attached to the port.
Definition: SerialPort.idl:23
Basic IDL definitions.
Definition: Event.idl:6
19::200 kbit/s
Definition: SerialPort.idl:46
4.800 kbit/s
Definition: SerialPort.idl:44
57::600 kbit/s
Definition: SerialPort.idl:48
Try to automatically determine the connected device.
Definition: SerialPort.idl:32
A GSM modem is attached to the port.
Definition: SerialPort.idl:24
BaudRate
Possible baud rates.
Definition: SerialPort.idl:41
BaudRate modemBaudRate
Baud rate to be used for communicating with an attached modem.
Definition: SerialPort.idl:66
The console application is running on the port.
Definition: SerialPort.idl:22
BaudRate consoleBaudRate
Baud rate to be used for running the console application.
Definition: SerialPort.idl:65
Always assume a console (terminal) is connected.
Definition: SerialPort.idl:33
9.600 kbit/s
Definition: SerialPort.idl:45
DetectionType detectType
Type of connected device to be assumed in device detection.
Definition: SerialPort.idl:67
Always assume an analog modem is connected.
Definition: SerialPort.idl:34
DetectionType
Device type the port shall be looking for.
Definition: SerialPort.idl:31
string deviceName
Name of the device currently connected.
Definition: SerialPort.idl:58
PortState state
Current connection state.
Definition: SerialPort.idl:57
Port settings.
Definition: SerialPort.idl:64