Interface SerialPortManager

@NonNullByDefault public interface SerialPortManager
Interface for a serial port manager.
Markus Rathgeb - Initial contribution
  • Method Details

    • getIdentifier

      default @Nullable SerialPortIdentifier getIdentifier(String name)
      Gets a serial port identifier for a given name.
      name - the name
      a serial port identifier or null
    • getIdentifiers

      Stream<SerialPortIdentifier> getIdentifiers()
      Gets the discovered serial port identifiers. SerialPortProviders may not be able to discover any or all identifiers. When the port name is known, the preferred way to get an identifier is by using getIdentifier(String).
      stream of discovered serial port identifiers