opendnp3
3.1.0
Reference implementation of DNP3 (IEEE-1815)
|
Settings structure for the serial port. More...
#include <opendnp3/channel/SerialSettings.h>
Public Member Functions | |
SerialSettings () | |
Defaults to the familiar 9600 8/N/1, no flow control. More... | |
Public Attributes | |
TimeDuration | asyncOpenDelay |
Some physical layers need time to "settle" so that the first tx isn't lost. More... | |
int | baud |
Baud rate of the port, i.e. 9600 or 57600. More... | |
int | dataBits |
Data bits, usually 8. More... | |
std::string | deviceName |
name of the port, i.e. "COM1" or "/dev/tty0" More... | |
FlowControl | flowType |
Flow control setting, usually FLOW_NONE. More... | |
Parity | parity |
Parity setting for the port, usually PAR_NONE. More... | |
StopBits | stopBits |
Stop bits, usually set to 1. More... | |
Settings structure for the serial port.
Definition at line 34 of file SerialSettings.h.
|
inline |
Defaults to the familiar 9600 8/N/1, no flow control.
Definition at line 38 of file SerialSettings.h.
TimeDuration opendnp3::SerialSettings::asyncOpenDelay |
Some physical layers need time to "settle" so that the first tx isn't lost.
Definition at line 67 of file SerialSettings.h.
int opendnp3::SerialSettings::baud |
Baud rate of the port, i.e. 9600 or 57600.
Definition at line 52 of file SerialSettings.h.
int opendnp3::SerialSettings::dataBits |
Data bits, usually 8.
Definition at line 55 of file SerialSettings.h.
std::string opendnp3::SerialSettings::deviceName |
name of the port, i.e. "COM1" or "/dev/tty0"
Definition at line 49 of file SerialSettings.h.
FlowControl opendnp3::SerialSettings::flowType |
Flow control setting, usually FLOW_NONE.
Definition at line 64 of file SerialSettings.h.
Parity opendnp3::SerialSettings::parity |
Parity setting for the port, usually PAR_NONE.
Definition at line 61 of file SerialSettings.h.
StopBits opendnp3::SerialSettings::stopBits |
Stop bits, usually set to 1.
Definition at line 58 of file SerialSettings.h.