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

    Returns undefined | Device