1#ifndef __RADM_SERIAL_ACCESS_PORT_IDL__
2#define __RADM_SERIAL_ACCESS_PORT_IDL__
5#include <UserEvent.idl>
6#include <AccessPort.idl>
55 enumeration EscapeKeyModifier {
DeviceInterfaceType
Serial device interface type.
@ DEV_IFTYPE_DCE
DCE (Data Communications Equipment) device.
@ DEV_IFTYPE_DTE
DTE (Data Terminal Equipment) device.
@ DEV_IFTYPE_AUTO
auto detect
Settings getSettings()
Get port settings.
Device getParent()
Get the parent device of this port.
FlowControl
Flow control type.
@ FLOW_CTRL_HARDWARE
Hardware flow control.
@ FLOW_CTRL_SOFTWARE
Software flow control.
@ FLOW_CTRL_NONE
No flow control.
@ PARITY_NONE
No parity (implies 8 data bits)
@ PARITY_ODD
Odd parity (implies 7 data bits)
@ PARITY_EVEN
Even parity (implies 7 data bits)
Emulation
Terminal emulation type.
Encoding
Character encoding.
int setSettings(in Settings settings)
Set new port settings.
DeviceInterfaceType getDetectedInterfaceType()
Get automatically detected interface type.
Common base for all events.
Event: The detected type has changed.
DeviceInterfaceType newIfType
Detected interface type after change.
DeviceInterfaceType oldIfType
Detected interface type before change.
string command
Command to send.
int delay
Delay after sending the command (in s)
Event: The port settings have changed.
Settings newSettings
Port settings after change.
Settings oldSettings
Port settings before change.
int stopBits
Number of stop bits (1 or 2)
EscapeKeyModifier escKeyModifier
Key modifier for going from terminal to command mode.
vector< ExitCommandItem > exitCommand
Sequence of commands to send when a client disconnects.
string escChar
Character for going from terminal to command mode (at most 1 character)
boolean alwaysActive
Whether data should be read and buffered even if no client is currently connected.
DeviceInterfaceType devIfType
Interface type override.
Encoding encoding
Character encoding.
FlowControl flowCtrl
Flow control mode.
boolean multiWriteMode
Whether multiple port accessors can write to the same port simultaneously.
Emulation emulation
Terminal emulation setting.
int txCharDelayMs
Delay after each transmitted character (in ms)
int txLineDelayMs
Delay after each transmitted line (in ms)
int sshDpaPort
SSH port for directly accessing this serial port (in case SSH-DPA is enabled)
int breakDurationMs
Duration of transmitted break conditions (in ms)
Parity parity
Parity mode.