Modifier and Type | Method and Description |
---|---|
SerialPort.BaudRate |
SerialPort.getBaudRate()
Get the baud rate of the serial port.
|
static SerialPort.BaudRate |
SerialPort.BaudRate.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerialPort.BaudRate[] |
SerialPort.BaudRate.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.setBaudRate(SerialPort.BaudRate rate)
Set the Baud Rate for this port.
|
SerialPortBuilder |
SerialPortBuilder.setBaudRate(SerialPort.BaudRate baudRate) |
Constructor and Description |
---|
SerialPort(String portName,
SerialPort.BaudRate rate)
Open the specified port, no flow control, 8 data bits
|
SerialPort(String portName,
SerialPort.BaudRate rate,
int controlLines)
Open the specified port, no flow control
|
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.