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

Physical port for usb serial devices #222

Open
anti-social opened this issue Oct 18, 2024 · 0 comments
Open

Physical port for usb serial devices #222

anti-social opened this issue Oct 18, 2024 · 0 comments

Comments

@anti-social
Copy link

I'm working on a program that flashes and sets up an stm32 mcu device. During a setup the device should be rebooted multiple times. So I need a way to identify the same device between reboots. USB physical port is the only thing that is stable. For example nusb crate has bus_id and port_chain for physical port identification (they don't release it yet): port_chain

It would be nice to have similar data in a UsbPortInfo struct.

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

1 participant