Closed nirmalaranawat closed 1 year ago
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
Thank you for the links. I will explore C++ option as well as the lib serial port from flutter.
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
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.).