Describes what a serial port can do
Definition at line 9 of file SerialPort.java.
| void kernel.serial_ports.SerialPort.close |
( |
| ) |
|
close the port and release it to the world
- Returns
- The stream wrapper used to obtain the input and output streams for the pot
- Returns
- The configuration parameters of the port
| boolean kernel.serial_ports.SerialPort.isPortOpen |
( |
| ) |
|
- Returns
- true if the port is open, else false
| void kernel.serial_ports.SerialPort.open |
( |
| ) |
throws PortInUseException |
| void kernel.serial_ports.SerialPort.setConfig |
( |
PortConfiguration |
newConfig | ) |
throws UnsupportedCommOperationException |
Set the configuration to a new value
- Parameters
-
| newConfig | a data structure representing the new values to be set |
- Exceptions
-
| UnsupportedCommOperationException | if it cannot be done |
The documentation for this interface was generated from the following file: