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

Add more verbose port information #8

Open
lachlanm-git opened this issue Oct 9, 2023 · 3 comments
Open

Add more verbose port information #8

lachlanm-git opened this issue Oct 9, 2023 · 3 comments

Comments

@lachlanm-git
Copy link
Contributor

Proposal:
Add the ability to retrieve information such as VID, PID, serial number.

It is possible to retrieve more information without additional dependencies such as libusb and there seems there is interest in this?
Example use-case: filter a comport based on the VID:PID and serial number.

Multi-OS example implementations: (linking to Windows below)...

@lachlanm-git
Copy link
Contributor Author

I've taken a pass at something for Windows: https://github.com/lachlanm-git/zig-serial-poc.

Would be happy to try and put together a PR if this is desired. Would the idea be to just add to the existing serial.zig or break this out?

@ikskuh
Copy link
Collaborator

ikskuh commented Oct 13, 2023

Imho we can add it to this library for sure, it's definitly a useful thing to have. Feel free to create a PR, i'll take a closer look then and try it out!

@lachlanm-git
Copy link
Contributor Author

Linux support started with #30

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

No branches or pull requests

2 participants