Interface ArduinoMatcher


public interface ArduinoMatcher
Interface for matching an arduino running the blink arduino library. If your arduino-compatible hardware has a unique vendorId / productId, you can implement this interface and KOS will automatically check for your device when it detects a new usb serial device. If there is a match, KOS will spawn the standard arduino adapter for your device.
Since:
1.0
Version:
2025-03-28
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    matchArduino(int vendorId, int productId)
    Check if the device is an expected arduino type.
  • Method Details

    • matchArduino

      int matchArduino(int vendorId, int productId)
      Check if the device is an expected arduino type. If so, return the baud rate for the device so it can be probed. If the device isn't an expected arduino, return zero to indicate it should be ignored.