Modifier and Type | Method and Description |
---|---|
SerialPort.Parity |
SerialPort.getParity()
Get the parity of the serial port.
|
static SerialPort.Parity |
SerialPort.Parity.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerialPort.Parity[] |
SerialPort.Parity.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.setParity(SerialPort.Parity parity)
Set the parity of the serial port, after the port has been opened.
|
SerialPortBuilder |
SerialPortBuilder.setParity(SerialPort.Parity parity) |
Constructor and Description |
---|
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.