- openPort
Opens this serial port for reading and writing with an optional delay time and
user-specified device
- closePort
Closes this serial port. Note that calling this method on an already closed port
will simply return
- getCommPorts
Returns a list of all available serial ports on this machine. The serial ports
can be accessed by it
- readBytes
Reads up to bytesToRead raw data bytes from the serial port and stores them in
the buffer starting a
- writeBytes
Writes up to bytesToWrite raw data bytes from the buffer parameter to the serial
port starting at th
- getCommPort
Allocates a SerialPort object corresponding to the user-specified port
descriptor. On Windows machin
- getSystemPortName
Gets the operating system-defined device name corresponding to this serial port.
- isOpen
Returns whether the port is currently open and available for communication.
- setComPortParameters
Sets all serial port parameters at one time. Allows the user to set all port
parameters with a singl
- getDescriptivePortName
Gets a descriptive string representing this serial port or the device connected
to it. This descript
- setBaudRate
Sets the desired baud rate for this serial port. The default baud rate is 9600
baud.
- setComPortTimeouts
Sets the serial port read and write timeout parameters.Note that time-based write timeouts are only