Gets the name of all serial ports on the system
Definition at line 11 of file main/java/kernel/serial_ports/PortDriver.java.
| String kernel.serial_ports.PortDriver.getApplicationName |
( |
| ) |
|
| SerialPort kernel.serial_ports.PortDriver.getPortByName |
( |
String |
portName | ) |
throws NoSuchPortException, PortInUseException |
- Parameters
-
| portName | The name of the port that needs to be retrieved. An example of a valid name is "/dev/ttyUSB0" |
- Returns
- An open serial port
- Exceptions
-
| NoSuchPortException | if no port with that name is available to the application |
| PortInUseException | if the port exists, but is currently owned by another application. |
Implemented in kernel.serial_ports.RXTXPortDriver.
| List<String> kernel.serial_ports.PortDriver.getSerialPortNames |
( |
| ) |
|
The documentation for this interface was generated from the following file: