Interface UsbSerialDiscovery


  • @NonNullByDefault
    public interface UsbSerialDiscovery
    Interface for implementations for discovering serial ports provided by a USB device. An implementation of this interface is required by the UsbSerialDiscoveryService.
    Author:
    Henning Sudbrock - Initial contribution
    • Method Detail

      • doSingleScan

        void doSingleScan()
        Executes a single scan for serial ports provided by USB devices; informs listeners about all discovered devices (including those discovered in a previous scan).
      • startBackgroundScanning

        void startBackgroundScanning()
        Starts scanning for serial ports provided by USB devices in the background; informs listeners about newly discovered devices. Should return fast.
      • stopBackgroundScanning

        void stopBackgroundScanning()
        Stops scanning for serial ports provided by USB devices in the background. Should return fast.