Modifier and Type | Method and Description |
---|---|
SerialPort.StopBits |
SerialPort.getStopBits()
Get the number of stop bits.
|
static SerialPort.StopBits |
SerialPort.StopBits.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerialPort.StopBits[] |
SerialPort.StopBits.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
SerialPort.setStopBits(SerialPort.StopBits stop)
Set the stop bits of the serial port, after the port has been opened.
|
SerialPortBuilder |
SerialPortBuilder.setStopBits(SerialPort.StopBits stopBits) |
Constructor and Description |
---|
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.