public interface SerialPortProvider
| Modifier and Type | Method and Description |
|---|---|
SerialPort |
getByName(String name)
Looks up a SerialPort by its name.
|
SerialPort getByName(String name) throws IllegalArgumentException, PeripheralNotFoundException, PeripheralInUseException
name - the nameIllegalArgumentException - if name is nullPeripheralNotFoundException - if the serial port does not existPeripheralInUseException - if the serial port is being used by another applicationCopyright © 2011. All Rights Reserved.