- 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
-
- getDescriptivePortName() - Method in class com.fazecast.jSerialComm.SerialPort
-
Gets a descriptive string representing this serial port or the device connected to it.
- getDSR() - Method in class com.fazecast.jSerialComm.SerialPort
-
- 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
-
- 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.
- 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.
- 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.
- 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.
- SerialPortPacketListener - Interface in com.fazecast.jSerialComm
-
This interface must be implemented to enable full packet reads using event-based serial port I/O.
- 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.
- 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.
- 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
-