Open lachlanm-git opened 1 year ago
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?
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!
Linux support started with https://github.com/ZigEmbeddedGroup/serial/pull/30
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)...