Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't differentiate two non-usb serial devices #155

Closed
stevenxdyoung opened this issue Dec 31, 2021 · 1 comment
Closed

can't differentiate two non-usb serial devices #155

stevenxdyoung opened this issue Dec 31, 2021 · 1 comment

Comments

@stevenxdyoung
Copy link

The getinfo() only return vendorID and prodID, but it will be undefined when non-usb device connected, so it can't differentiate the two non-usb serial devices(like COM1 and COM2) by using getinfo(). Is it possible let getinfo() return device path, therefore the serial number can be extracted from device path, thanks.

@reillyeon
Copy link
Collaborator

This is a duplicate of #128. The solution won't be to provide the device path directly but to provide an identifier which will be used consistently to refer to the port with that path. That indirection is necessary as a privacy-preserving mechanism.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants