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: Use correct serial number for composite devices #141

Merged
merged 1 commit into from
Dec 9, 2023

Conversation

danielstuart14
Copy link
Contributor

Fetch the serial number from the interface's parent device, as it contains the correct serial number on its HWID.

Prior to this commit:
image

After this commit:
image

From USBDeview:
image

This is a follow-up of #131

Copy link
Contributor

@eldruin eldruin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
@xobs What do you think?

Fetch the serial number from the interface's parent device, as it
contains the correct serial number on its HWID.
@danielstuart14
Copy link
Contributor Author

I forgot to run cargo fmt, just updated the branch

@xobs
Copy link
Contributor

xobs commented Dec 9, 2023

I think this does what my quick little patch did not. Nice job!

As long as the tests continue to pass, it looks correct to me.

Copy link
Contributor

@eldruin eldruin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great thank you @danielstuart14 and @xobs !

@eldruin eldruin merged commit 63fe571 into serialport:main Dec 9, 2023
21 checks passed
@danielstuart14
Copy link
Contributor Author

@eldruin thank you for merging the PR!
Any plans for a release with all the new changes?

@sirhcel
Copy link
Contributor

sirhcel commented Dec 11, 2023

Any plans for a release with all the new changes?

We are preparing a new release with #143. Please feel free to watch this issue for staying tuned.

@sirhcel sirhcel mentioned this pull request Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants