Node USB
    Preparing search index...

    Function findByIds

    • Convenience method to get the first device with the specified VID and PID, or undefined if no such device is present.

      Parameters

      • vid: number
      • pid: number
      • timeout: number = DEFAULT_TIMEOUT

      Returns Promise<USBDevice | undefined>