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

ListPortInfo.serial_number is an empty string when device's serial number includes a - hyphen. #404

Open
Qlexio opened this issue Jan 27, 2025 · 0 comments

Comments

@Qlexio
Copy link
Owner

Qlexio commented Jan 27, 2025

I have a device which serial number is CCC-NNNNNNNN, when geting the comports the serial number is ''. I quickly checked and the regex for serial number in list_ports_windows is "^\w+$", so it does not get the serial numbers that include typographic characters other than _.


This issue has been cloned from: pyserial#771

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