public class UARTConfig extends Object implements ICommConfig
Driver configuration options for RS232 hardware interface
Modifier and Type | Class and Description |
---|---|
static class |
UARTConfig.Parity |
Modifier and Type | Field and Description |
---|---|
int |
baudRate |
byte |
dataBits |
UARTConfig.Parity |
parity |
String |
portName |
int |
receiveThreshold |
int |
receiveTimeout |
byte |
stopBits |
Constructor and Description |
---|
UARTConfig() |
@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 UARTConfig.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 © 2016 Sensia Software LLC. All rights reserved.