Modifier and Type | Method and Description |
---|---|
SerialPort.DataBits |
SerialPort.getDataBits()
Get the number of data bits.
|
static SerialPort.DataBits |
SerialPort.DataBits.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerialPort.DataBits[] |
SerialPort.DataBits.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
SerialPortBuilder |
SerialPortBuilder.setDataBits(SerialPort.DataBits dataBits) |
void |
SerialPort.setDataSize(SerialPort.DataBits data)
Set the data bits size, after the port has been opened.
|
Constructor and Description |
---|
SerialPort(String portName,
SerialPort.BaudRate rate,
SerialPort.DataBits data)
Open the specified port, no flow control
|
SerialPort(String portName,
SerialPort.BaudRate rate,
SerialPort.DataBits data,
int controlLineFlags)
Open the specified port, no flow control
|
SerialPort(String portName,
SerialPort.BaudRate rate,
SerialPort.DataBits data,
SerialPort.StopBits stop)
Open the specified port, no parity or flow control
|
SerialPort(String portName,
SerialPort.BaudRate rate,
SerialPort.DataBits data,
SerialPort.StopBits stop,
int controlFlags)
Open the specified port, no parity or flow control
|
SerialPort(String portName,
SerialPort.BaudRate rate,
SerialPort.DataBits data,
SerialPort.StopBits stop,
SerialPort.Parity parity)
Open the specified port, no flow control, with all control line flags
|
SerialPort(String portName,
SerialPort.BaudRate rate,
SerialPort.DataBits data,
SerialPort.StopBits stop,
SerialPort.Parity parity,
int controlLineFlags)
Open the specified port, no flow control, with the specified control line
flags
|
SerialPort(String portName,
SerialPort.BaudRate rate,
SerialPort.DataBits data,
SerialPort.StopBits stop,
SerialPort.Parity parity,
SerialPort.FlowControl flow)
Open the specified port, defining all options
|
SerialPort(String portName,
SerialPort.BaudRate rate,
SerialPort.DataBits data,
SerialPort.StopBits stop,
SerialPort.Parity parity,
SerialPort.FlowControl flow,
int controlFlags)
Open the specified port, defining all options
|
Copyright © 2020. All rights reserved.