vpelletier / python-libusb1

Python ctype-based wrapper around libusb1
GNU Lesser General Public License v2.1
174 stars 67 forks source link

match on serial number #45

Closed wjasper closed 3 years ago

wjasper commented 5 years ago

If two devices with the same vendorID and productID are on the USB bus, there is no way to differentiate between them other than by serial number. This change does not change the API, only adds an optional serialNumber argument to allow for a match. Other APIs for hid devices (hidapi) also have this capability.

vpelletier commented 3 years ago

Closing, as a follow-up to #44 .