Skip to content

Friendly name support for all platforms #219

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Noel-ACLB
Copy link

@Noel-ACLB Noel-ACLB commented May 31, 2025

This adds / fixes friendly name support for all platforms.

  • Windows:
    Friendly names were already supported, but it would just show the generic name (like "USB Serial Device" or "USB Serial Port").
    This was changed to showing the device string (in USB CDC devices) if available.

  • Mac:
    Friendly name support was added, showing the USB device string if available.

  • Linux:
    As for Mac.
    In addition, filtering for active serial ports was added, whereas previously a long list of inactive ttys was returned.
    This ensures behavior that is consistent with the other platforms.

Noel-ACLB added 2 commits May 31, 2025 10:36
- add friendlyname support for Mac & Linux
- filter out inactive ports (Linux only)
@Noel-ACLB
Copy link
Author

This feature also requires a change in bindings-interface.
See serialport/bindings-interface#60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant