public class SerialPortConfiguration
extends java.lang.Object
Qualifiers and types | Fields and descriptions |
---|---|
int |
baudrate
Baud rate
|
int |
databits
Data bits
|
int |
flowControl
Flow control
SerialPort.FLOWCONTROL_NONE
SerialPort.FLOWCONTROL_RTSCTS SerialPort.FLOWCONTROL_XONXOFF |
int |
parity
Data verification method
SerialPort.PARITY_NONE SerialPort.PARITY_ODD SerialPort.PARITY_EVEN |
java.lang.String |
port
Serial port path(/dev/ttymxc1, /dev/ttymxc2, ...)
|
int |
stopbits
Stop bit
SerialPort.STOPBITS_1
SerialPort.STOPBITS_2 SerialPort.STOPBITS_1_5 |
Constructors and instructions |
---|
SerialPortConfiguration() |
SerialPortConfiguration(java.lang.String port,
int baudrate,
int databits,
int parity,
int stopbits,
int flowControl) |
public java.lang.String port
public int baudrate
public int databits
public int parity
public int stopbits
public int flowControl