Modifier and Type | Method and Description |
---|---|
SerialPort |
SerialPortBuilder.build() |
Constructor and Description |
---|
SerialPort(SerialPortBuilder builder)
Open the specified port, using parameters from the given builder.
|
SerialPort(String portName)
Open the specified port, 9600 baud, 8 data bits, 1 stop bit, no parity,
no flow control, not ignoring control lines
|
SerialPort(String portName,
boolean keepSettings)
Open up a serial port, but allow the user to keep the current settings of
the serial port.
|
SerialPort(String portName,
boolean keepSettings,
int controlFlags)
Open up a serial port, but allow the user to keep the current settings of
the serial port.
|
SerialPort(String portName,
int controlLineFlags)
Open the specified port, 9600 baud, 8 data bits, 1 stop bit, no parity,
no flow control, looking for the specified control lines
|
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.