- getBaudRate() - Method in class com.fazecast.jSerialComm.SerialPort
-
Gets the current baud rate of the serial port.
- getCommPort(String) - Static method in class com.fazecast.jSerialComm.SerialPort
-
Allocates a
SerialPort
object corresponding to the user-specified port descriptor.
- getCommPorts() - Static method in class com.fazecast.jSerialComm.SerialPort
-
Returns a list of all available serial ports on this machine.
- getCTS() - Method in class com.fazecast.jSerialComm.SerialPort
-
Returns whether the CTS line is currently asserted.
- getDCD() - Method in class com.fazecast.jSerialComm.SerialPort
-
Returns whether the DCD line is currently asserted.
- getDescriptivePortName() - Method in class com.fazecast.jSerialComm.SerialPort
-
Gets a descriptive string representing this serial port or the device connected to it.
- getDeviceReadBufferSize() - Method in class com.fazecast.jSerialComm.SerialPort
-
Returns the underlying receive buffer size used by the serial port device driver.
- getDeviceWriteBufferSize() - Method in class com.fazecast.jSerialComm.SerialPort
-
Returns the underlying transmit buffer size used by the serial port device driver.
- getDSR() - Method in class com.fazecast.jSerialComm.SerialPort
-
Returns whether the DSR line is currently asserted.
- getDTR() - Method in class com.fazecast.jSerialComm.SerialPort
-
Returns whether the DTR line is currently asserted.
- getEventType() - Method in class com.fazecast.jSerialComm.SerialPortEvent
-
Returns the type of serial port event that caused this object to be created.
- getFlowControlSettings() - Method in class com.fazecast.jSerialComm.SerialPort
-
Returns the flow control settings enabled on this serial port.
- getInputStream() - Method in class com.fazecast.jSerialComm.SerialPort
-
Returns an
InputStream
object associated with this serial port.
- getListeningEvents() - Method in interface com.fazecast.jSerialComm.SerialPortDataListener
-
- getMessageDelimiter() - Method in interface com.fazecast.jSerialComm.SerialPortMessageListener
-
- getNumDataBits() - Method in class com.fazecast.jSerialComm.SerialPort
-
Gets the current number of data bits per word.
- getNumStopBits() - Method in class com.fazecast.jSerialComm.SerialPort
-
Gets the current number of stop bits per word.
- getOutputStream() - Method in class com.fazecast.jSerialComm.SerialPort
-
Returns an
OutputStream
object associated with this serial port.
- getPacketSize() - Method in interface com.fazecast.jSerialComm.SerialPortPacketListener
-
- getParity() - Method in class com.fazecast.jSerialComm.SerialPort
-
Gets the current parity error-checking scheme.
- getPortDescription() - Method in class com.fazecast.jSerialComm.SerialPort
-
Gets a description of the port as reported by the device itself.
- getReadTimeout() - Method in class com.fazecast.jSerialComm.SerialPort
-
- getReceivedData() - Method in class com.fazecast.jSerialComm.SerialPortEvent
-
Returns any raw data bytes associated with this serial port event.
- getRI() - Method in class com.fazecast.jSerialComm.SerialPort
-
Returns whether the RI line is currently asserted.
- getRTS() - Method in class com.fazecast.jSerialComm.SerialPort
-
Returns whether the RTS line is currently asserted.
- getSerialPort() - Method in class com.fazecast.jSerialComm.SerialPortEvent
-
- getSystemPortName() - Method in class com.fazecast.jSerialComm.SerialPort
-
Gets the operating system-defined device name corresponding to this serial port.
- getVersion() - Static method in class com.fazecast.jSerialComm.SerialPort
-
Returns the current version of the jSerialComm library.
- getWriteTimeout() - Method in class com.fazecast.jSerialComm.SerialPort
-
- serialEvent(SerialPortEvent) - Method in interface com.fazecast.jSerialComm.SerialPortDataListener
-
- SerialPort - Class in com.fazecast.jSerialComm
-
This class provides native access to serial ports and devices without requiring external libraries or tools.
- SerialPortDataListener - Interface in com.fazecast.jSerialComm
-
This interface must be implemented to enable simple event-based serial port I/O.
- SerialPortDataListenerWithExceptions - Interface in com.fazecast.jSerialComm
-
This interface must be implemented to enable simple event-based serial port I/O with a custom Exception callback.
- SerialPortEvent - Class in com.fazecast.jSerialComm
-
This class describes an asynchronous serial port event.
- SerialPortEvent(SerialPort, int) - Constructor for class com.fazecast.jSerialComm.SerialPortEvent
-
Constructs a
SerialPortEvent
object corresponding to the specified serial event type.
- SerialPortEvent(SerialPort, int, byte[]) - Constructor for class com.fazecast.jSerialComm.SerialPortEvent
-
Constructs a
SerialPortEvent
object corresponding to the specified serial event type and containing the passed-in data bytes.
- SerialPortInvalidPortException - Exception in com.fazecast.jSerialComm
-
This class describes a serial port invalid port exception.
- SerialPortInvalidPortException() - Constructor for exception com.fazecast.jSerialComm.SerialPortInvalidPortException
-
- SerialPortInvalidPortException(String) - Constructor for exception com.fazecast.jSerialComm.SerialPortInvalidPortException
-
- SerialPortInvalidPortException(String, Throwable) - Constructor for exception com.fazecast.jSerialComm.SerialPortInvalidPortException
-
- SerialPortInvalidPortException(Throwable) - Constructor for exception com.fazecast.jSerialComm.SerialPortInvalidPortException
-
Constructs a
SerialPortInvalidPortException
with the specified cause and a detail message of
(cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause
).
- SerialPortIOException - Exception in com.fazecast.jSerialComm
-
This class describes a serial port IO exception.
- SerialPortIOException() - Constructor for exception com.fazecast.jSerialComm.SerialPortIOException
-
- SerialPortIOException(String) - Constructor for exception com.fazecast.jSerialComm.SerialPortIOException
-
- SerialPortIOException(String, Throwable) - Constructor for exception com.fazecast.jSerialComm.SerialPortIOException
-
- SerialPortIOException(Throwable) - Constructor for exception com.fazecast.jSerialComm.SerialPortIOException
-
Constructs a
SerialPortIOException
with the specified cause and a detail message of
(cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause
).
- SerialPortMessageListener - Interface in com.fazecast.jSerialComm
-
This interface must be implemented to enable delimited message reads using event-based serial port I/O.
- SerialPortPacketListener - Interface in com.fazecast.jSerialComm
-
This interface must be implemented to enable full packet reads using event-based serial port I/O.
- SerialPortTimeoutException - Exception in com.fazecast.jSerialComm
-
This class describes a serial port timeout exception.
- SerialPortTimeoutException() - Constructor for exception com.fazecast.jSerialComm.SerialPortTimeoutException
-
- SerialPortTimeoutException(String) - Constructor for exception com.fazecast.jSerialComm.SerialPortTimeoutException
-
- setBaudRate(int) - Method in class com.fazecast.jSerialComm.SerialPort
-
Sets the desired baud rate for this serial port.
- setBreak() - Method in class com.fazecast.jSerialComm.SerialPort
-
Sets the BREAK signal on the serial control line.
- setComPortParameters(int, int, int, int) - Method in class com.fazecast.jSerialComm.SerialPort
-
Sets all serial port parameters at one time.
- setComPortParameters(int, int, int, int, boolean) - Method in class com.fazecast.jSerialComm.SerialPort
-
Sets all serial port parameters at one time.
- setComPortTimeouts(int, int, int) - Method in class com.fazecast.jSerialComm.SerialPort
-
Sets the serial port read and write timeout parameters.
- setDTR() - Method in class com.fazecast.jSerialComm.SerialPort
-
Sets the state of the DTR line to 1.
- setFlowControl(int) - Method in class com.fazecast.jSerialComm.SerialPort
-
Specifies what kind of flow control to enable for this serial port.
- setNumDataBits(int) - Method in class com.fazecast.jSerialComm.SerialPort
-
Sets the desired number of data bits per word.
- setNumStopBits(int) - Method in class com.fazecast.jSerialComm.SerialPort
-
Sets the desired number of stop bits per word.
- setParity(int) - Method in class com.fazecast.jSerialComm.SerialPort
-
Sets the desired parity error-detection scheme to be used.
- setRs485ModeParameters(boolean, int, int) - Method in class com.fazecast.jSerialComm.SerialPort
-
Sets whether to enable RS-485 mode for this device.
- setRTS() - Method in class com.fazecast.jSerialComm.SerialPort
-
Sets the state of the RTS line to 1.
- SPACE_PARITY - Static variable in class com.fazecast.jSerialComm.SerialPort
-