public class RS232Config extends CommConfig
Driver configuration options for RS232 hardware interface
Modifier and Type | Class and Description |
---|---|
static class |
RS232Config.Parity |
Modifier and Type | Field and Description |
---|---|
int |
baudRate |
byte |
dataBits |
RS232Config.Parity |
parity |
String |
portName |
int |
receiveThreshold |
int |
receiveTimeout |
byte |
stopBits |
enabled, id, moduleClass, name
Constructor and Description |
---|
RS232Config() |
getProvider
clone
@DisplayInfo(desc="Serial port device name. Usually something like /dev/ttyXXX on Linux") public String portName
public int baudRate
public byte dataBits
public byte stopBits
public RS232Config.Parity parity
@DisplayInfo(desc="Timeout after which data is released to the caller if at least one byte was received (in ms)") public int receiveTimeout
@DisplayInfo(desc="Minimum number of bytes to receive before they are sent to the caller") public int receiveThreshold
Copyright © 2015 Sensia Software LLC. All rights reserved.