public static class MxNPort.IoctlMode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
baudRate
Actual baud rate.
|
int |
dataBits
|
int |
parity
|
int |
stopBits
|
public int baudRate
public int dataBits
DATA_BITS_5
, DATA_BITS_6
, DATA_BITS_7
, DATA_BITS_8
.
DATA_BITS_8
.public int parity
PARITY_NONE
, PARITY_ODD
, PARITY_EVEN
, PARITY_MARK
, PARITY_SPACE
.
PARITY_NONE
.public int stopBits
public IoctlMode()
Baud rate | Data bits | Stop bits | Parity |
38400 bps | 8 | 1 | None |
public IoctlMode(int baudRate, int dataBits, int parity, int stopBits)
baudRate
- The baud rate.dataBits
- The data bits.parity
- The parity.stopBits
- The stop bits.