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

Question: Is there any way I can get serial number, manufacturer name, PID and VID information. #13

Closed
nirmalaranawat opened this issue Jun 3, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@nirmalaranawat
Copy link

I am making an windows application which communicates with hardware connected over serial port ( via USB to Serial converter). I want to the application to connected to an com port automatically if it meets certain criteria (Serial number, Manufacturer ID etc.).

@FengChendian
Copy link
Owner

It's different from serial port communication. So I didn't implement it using dart.

If you can use C++:

Please see How to get USB vendor and product Id programmatically in c++
and
win32 doc SetupDiEnumDeviceInfo

@nirmalaranawat
Copy link
Author

Thank you for the links. I will explore C++ option as well as the lib serial port from flutter.

@FengChendian
Copy link
Owner

FengChendian commented Jun 10, 2022

I will try to support the feature in next version. But I find that win32 package does't support function SetupDiGetDeviceInstanceIdW for now.

Please refer to issue

@FengChendian FengChendian added wontfix This will not be worked on enhancement New feature or request and removed wontfix This will not be worked on labels Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants