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

Windows: Always get the serial number in usbCheck, like the libusb version #56

Closed
wants to merge 1 commit into from

Conversation

qpernil
Copy link
Contributor

@qpernil qpernil commented Sep 26, 2024

This is based on the theory that getting the serial number string descriptor will definitely communicate with the device, and hence detect if the device handle has gone stale for some reason, such as the device having been removed and reinserted

@qpernil
Copy link
Contributor Author

qpernil commented Sep 26, 2024

My mistake, usbCheck is not called in the api handler

@qpernil qpernil closed this Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant