7#include <AnalogModem.idl>
20 constant
int SUCCESS = 0;
21 constant
int ERR_INVALID_VALUE = 1;
Interface describing a physical serial port and the devices which can be attached to it.
int setSettings(in Settings settings)
Set settings.
BaudRate
Possible baud rates.
State getState()
Get current port state.
PortState
Possible states the port can be in at a given time.
@ GSMMODEM
A GSM modem is attached to the port.
@ CONSOLE
The console application is running on the port.
@ ANALOGMODEM
An analog modem is attached to the port.
DetectionType
Device type the port shall be looking for.
@ FORCE_CONSOLE
Always assume a console (terminal) is connected.
@ FORCE_ANALOGMODEM
Always assume an analog modem is connected.
@ AUTOMATIC
Try to automatically determine the connected device.
MetaData getMetaData()
Get port meta data.
Settings getSettings()
Get current settings.
Object getModem()
Get modem connected to port.
Common base for all events.
Event emitted when a modem is connected.
Event emitted when the modem connection state changes.
Object modem
Either a AnalogModem or a GsmModem.
Event emitted when a modem is disconnected.
BaudRate consoleBaudRate
Baud rate to be used for running the console application.
DetectionType detectType
Type of connected device to be assumed in device detection.
BaudRate modemBaudRate
Baud rate to be used for communicating with an attached modem.
Structure holding information about the current state of the port.
string deviceName
Name of the device currently connected.
PortState state
Current connection state.