A B C D E F G H I N O R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ALL_CONTROL_LINES - Static variable in class com.rm5248.serial.SerialPort
-
All CONTROL_LINE_XXX_CHANGE values OR'd together
B
- B0 - com.rm5248.serial.SerialPort.BaudRate
-
Not available in Windows
- B110 - com.rm5248.serial.SerialPort.BaudRate
- B115200 - com.rm5248.serial.SerialPort.BaudRate
- B1200 - com.rm5248.serial.SerialPort.BaudRate
- B134 - com.rm5248.serial.SerialPort.BaudRate
-
Not available in Windows
- B150 - com.rm5248.serial.SerialPort.BaudRate
-
Not available in Windows
- B1800 - com.rm5248.serial.SerialPort.BaudRate
-
Not available in Windows
- B19200 - com.rm5248.serial.SerialPort.BaudRate
- B200 - com.rm5248.serial.SerialPort.BaudRate
- B2400 - com.rm5248.serial.SerialPort.BaudRate
- B300 - com.rm5248.serial.SerialPort.BaudRate
- B38400 - com.rm5248.serial.SerialPort.BaudRate
- B4800 - com.rm5248.serial.SerialPort.BaudRate
- B50 - com.rm5248.serial.SerialPort.BaudRate
-
Not available in Windows
- B57600 - com.rm5248.serial.SerialPort.BaudRate
-
May not be available on all platforms
- B600 - com.rm5248.serial.SerialPort.BaudRate
- B75 - com.rm5248.serial.SerialPort.BaudRate
-
Not available in Windows
- B9600 - com.rm5248.serial.SerialPort.BaudRate
- build() - Method in class com.rm5248.serial.SerialPortBuilder
C
- carrierDetect - Variable in class com.rm5248.serial.SerialLineState
- clearToSend - Variable in class com.rm5248.serial.SerialLineState
- close() - Method in class com.rm5248.serial.SerialPort
- com.rm5248.serial - package com.rm5248.serial
- CONTROL_LINE_CD_CHANGE - Static variable in class com.rm5248.serial.SerialPort
-
Flag to set if you want to get notifications on Carrier Detect line change
- CONTROL_LINE_CTS_CHANGE - Static variable in class com.rm5248.serial.SerialPort
-
Flag to set if you want to get notifications on Clear To Send line change
- CONTROL_LINE_DSR_CHANGE - Static variable in class com.rm5248.serial.SerialPort
-
Flag to set if you want to get notifications on Data Set Ready line change
- CONTROL_LINE_DTR_CHANGE - Static variable in class com.rm5248.serial.SerialPort
-
Flag to set if you want to get notifications on Data Terminal Ready line change
- CONTROL_LINE_RI_CHANGE - Static variable in class com.rm5248.serial.SerialPort
-
Flag to set if you want to get notifications on Ring Indicagor line change
- CONTROL_LINE_RTS_CHANGE - Static variable in class com.rm5248.serial.SerialPort
-
Flag to set if you want to get notifications on Request To Send line change
D
- DATABITS_5 - com.rm5248.serial.SerialPort.DataBits
- DATABITS_6 - com.rm5248.serial.SerialPort.DataBits
- DATABITS_7 - com.rm5248.serial.SerialPort.DataBits
- DATABITS_8 - com.rm5248.serial.SerialPort.DataBits
- dataSetReady - Variable in class com.rm5248.serial.SerialLineState
- dataTerminalReady - Variable in class com.rm5248.serial.SerialLineState
E
- equals(Object) - Method in class com.rm5248.serial.SerialLineState
- EVEN - com.rm5248.serial.SerialPort.Parity
F
- finalize() - Method in class com.rm5248.serial.SerialPort
G
- getBaudRate() - Method in enum com.rm5248.serial.SerialPort.BaudRate
- getBaudRate() - Method in class com.rm5248.serial.SerialPort
-
Get the baud rate of the serial port.
- getDataBits() - Method in enum com.rm5248.serial.SerialPort.DataBits
- getDataBits() - Method in class com.rm5248.serial.SerialPort
-
Get the number of data bits.
- getFlowControl() - Method in enum com.rm5248.serial.SerialPort.FlowControl
- getFlowControl() - Method in class com.rm5248.serial.SerialPort
-
Get the flow control for the serial port.
- getInputStream() - Method in class com.rm5248.serial.SerialPort
-
Get the input stream used to talk to this device.
- getMajorNativeVersion() - Static method in class com.rm5248.serial.SerialPort
-
Get the major version of the native code.
- getMajorVersion() - Static method in class com.rm5248.serial.SerialPort
-
Get the major version of this library.
- getMinorNativeVersion() - Static method in class com.rm5248.serial.SerialPort
-
Get the minor version of the native code.
- getMinorVersion() - Static method in class com.rm5248.serial.SerialPort
-
Get the minor version of this library.
- getOutputStream() - Method in class com.rm5248.serial.SerialPort
-
Get the OutputStream used to talk to this device.
- getParity() - Method in class com.rm5248.serial.SerialPort
-
Get the parity of the serial port.
- getParity() - Method in enum com.rm5248.serial.SerialPort.Parity
- getPortName() - Method in class com.rm5248.serial.SerialPort
-
Get the name of the serial port that this object represents.
- getSerialLineState() - Method in class com.rm5248.serial.SerialPort
-
Get the serial line state for the specified serial port.
- getSerialLineStateInternalNonblocking() - Method in class com.rm5248.serial.SerialPort
-
Get the serial line state, but don't block when getting it
- getSerialPorts() - Static method in class com.rm5248.serial.SerialPort
-
Get an array of all the serial ports on the system.
- getStopBits() - Method in class com.rm5248.serial.SerialPort
-
Get the number of stop bits.
- getStopBits() - Method in enum com.rm5248.serial.SerialPort.StopBits
H
- HARDWARE - com.rm5248.serial.SerialPort.FlowControl
I
- isClosed() - Method in class com.rm5248.serial.SerialPort
N
- NO_CONTROL_LINE_CHANGE - Static variable in class com.rm5248.serial.SerialPort
-
Flag to set if you do not want to get any control line notifications
- NONE - com.rm5248.serial.SerialPort.FlowControl
- NONE - com.rm5248.serial.SerialPort.Parity
- NoSuchPortException - Exception in com.rm5248.serial
-
This exception is thrown when you attempt to open up a port that does not exist.
- NoSuchPortException(String) - Constructor for exception com.rm5248.serial.NoSuchPortException
-
Create a new exception with the specified error.
- NotASerialPortException - Exception in com.rm5248.serial
-
This exception is thrown when the device that you have opened is not a serial port.
- NotASerialPortException(String) - Constructor for exception com.rm5248.serial.NotASerialPortException
-
Create a new exception if this is not a serial port
O
- ODD - com.rm5248.serial.SerialPort.Parity
R
- requestToSend - Variable in class com.rm5248.serial.SerialLineState
- ringIndicator - Variable in class com.rm5248.serial.SerialLineState
S
- SerialChangeListener - Interface in com.rm5248.serial
-
This interface lets the user do something when the serial line state changes.
- SerialLineState - Class in com.rm5248.serial
-
This class represents the current state of the lines on the serial port.
- SerialLineState() - Constructor for class com.rm5248.serial.SerialLineState
- SerialPort - Class in com.rm5248.serial
-
A SerialPort represents a serial port on the system.
- SerialPort(SerialPortBuilder) - Constructor for class com.rm5248.serial.SerialPort
-
Open the specified port, using parameters from the given builder.
- SerialPort(String) - Constructor for class com.rm5248.serial.SerialPort
-
Open the specified port, 9600 baud, 8 data bits, 1 stop bit, no parity, no flow control, not ignoring control lines
- SerialPort(String, boolean) - Constructor for class com.rm5248.serial.SerialPort
-
Open up a serial port, but allow the user to keep the current settings of the serial port.
- SerialPort(String, boolean, int) - Constructor for class com.rm5248.serial.SerialPort
-
Open up a serial port, but allow the user to keep the current settings of the serial port.
- SerialPort(String, int) - Constructor for class com.rm5248.serial.SerialPort
-
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, SerialPort.BaudRate) - Constructor for class com.rm5248.serial.SerialPort
-
Open the specified port, no flow control, 8 data bits
- SerialPort(String, SerialPort.BaudRate, int) - Constructor for class com.rm5248.serial.SerialPort
-
Open the specified port, no flow control
- SerialPort(String, SerialPort.BaudRate, SerialPort.DataBits) - Constructor for class com.rm5248.serial.SerialPort
-
Open the specified port, no flow control
- SerialPort(String, SerialPort.BaudRate, SerialPort.DataBits, int) - Constructor for class com.rm5248.serial.SerialPort
-
Open the specified port, no flow control
- SerialPort(String, SerialPort.BaudRate, SerialPort.DataBits, SerialPort.StopBits) - Constructor for class com.rm5248.serial.SerialPort
-
Open the specified port, no parity or flow control
- SerialPort(String, SerialPort.BaudRate, SerialPort.DataBits, SerialPort.StopBits, int) - Constructor for class com.rm5248.serial.SerialPort
-
Open the specified port, no parity or flow control
- SerialPort(String, SerialPort.BaudRate, SerialPort.DataBits, SerialPort.StopBits, SerialPort.Parity) - Constructor for class com.rm5248.serial.SerialPort
-
Open the specified port, no flow control, with all control line flags
- SerialPort(String, SerialPort.BaudRate, SerialPort.DataBits, SerialPort.StopBits, SerialPort.Parity, int) - Constructor for class com.rm5248.serial.SerialPort
-
Open the specified port, no flow control, with the specified control line flags
- SerialPort(String, SerialPort.BaudRate, SerialPort.DataBits, SerialPort.StopBits, SerialPort.Parity, SerialPort.FlowControl) - Constructor for class com.rm5248.serial.SerialPort
-
Open the specified port, defining all options
- SerialPort(String, SerialPort.BaudRate, SerialPort.DataBits, SerialPort.StopBits, SerialPort.Parity, SerialPort.FlowControl, int) - Constructor for class com.rm5248.serial.SerialPort
-
Open the specified port, defining all options
- SerialPort.BaudRate - Enum in com.rm5248.serial
-
Represents the BaudRate that the SerialPort uses.
- SerialPort.DataBits - Enum in com.rm5248.serial
-
Represents the number of bits that the serial port uses.
- SerialPort.FlowControl - Enum in com.rm5248.serial
-
The Flow control scheme for the data, typically None.
- SerialPort.Parity - Enum in com.rm5248.serial
-
The parity bit for the data.
- SerialPort.StopBits - Enum in com.rm5248.serial
-
The number of stop bits for data.
- SerialPortBuilder - Class in com.rm5248.serial
-
Provides a Builder pattern to make constructing a SerialPort easy.
- SerialPortBuilder() - Constructor for class com.rm5248.serial.SerialPortBuilder
-
Create a new SerialPortBuilder.
- serialStateChanged(SerialLineState) - Method in interface com.rm5248.serial.SerialChangeListener
-
Fired when the state on the serial line changes.
- setBaudRate(SerialPort.BaudRate) - Method in class com.rm5248.serial.SerialPort
-
Set the Baud Rate for this port.
- setBaudRate(SerialPort.BaudRate) - Method in class com.rm5248.serial.SerialPortBuilder
- setControlFlags(int) - Method in class com.rm5248.serial.SerialPortBuilder
- setDataBits(SerialPort.DataBits) - Method in class com.rm5248.serial.SerialPortBuilder
- setDataSize(SerialPort.DataBits) - Method in class com.rm5248.serial.SerialPort
-
Set the data bits size, after the port has been opened.
- setFlowControl(SerialPort.FlowControl) - Method in class com.rm5248.serial.SerialPort
-
Set the flow control for the serial port
- setFlowControl(SerialPort.FlowControl) - Method in class com.rm5248.serial.SerialPortBuilder
- setInterruptCausesIOException(boolean) - Method in class com.rm5248.serial.SerialPort
-
Set if using Thread.interrupt() will throw an IO exception.
- setParity(SerialPort.Parity) - Method in class com.rm5248.serial.SerialPort
-
Set the parity of the serial port, after the port has been opened.
- setParity(SerialPort.Parity) - Method in class com.rm5248.serial.SerialPortBuilder
- setPort(String) - Method in class com.rm5248.serial.SerialPortBuilder
- setSerialChangeListener(SerialChangeListener) - Method in class com.rm5248.serial.SerialPort
-
Set the listener which will get events when there is activity on the serial port.
- setSerialLineState(SerialLineState) - Method in class com.rm5248.serial.SerialPort
-
Set the serial line state to the parameters given.
- setStopBits(SerialPort.StopBits) - Method in class com.rm5248.serial.SerialPort
-
Set the stop bits of the serial port, after the port has been opened.
- setStopBits(SerialPort.StopBits) - Method in class com.rm5248.serial.SerialPortBuilder
- SOFTWARE - com.rm5248.serial.SerialPort.FlowControl
- STOPBITS_1 - com.rm5248.serial.SerialPort.StopBits
- STOPBITS_2 - com.rm5248.serial.SerialPort.StopBits
T
- toString() - Method in class com.rm5248.serial.SerialLineState
V
- valueOf(String) - Static method in enum com.rm5248.serial.SerialPort.BaudRate
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.rm5248.serial.SerialPort.DataBits
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.rm5248.serial.SerialPort.FlowControl
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.rm5248.serial.SerialPort.Parity
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.rm5248.serial.SerialPort.StopBits
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.rm5248.serial.SerialPort.BaudRate
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.rm5248.serial.SerialPort.DataBits
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.rm5248.serial.SerialPort.FlowControl
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.rm5248.serial.SerialPort.Parity
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.rm5248.serial.SerialPort.StopBits
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages