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

Add product property to PortInfo #138

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

Conversation

jasoneer
Copy link

@jasoneer jasoneer commented Aug 29, 2023

I would like to add a product property to PortInfo to provide the USB device's product/model string separately on Mac and Linux. Unsure if Windows can display this string so left its implementation alone. Also on Linux, I used ID_MODEL instead of ID_MODEL_ENC as the escaped characters were getting in the way of parsing/display.

Typings change in serialport/bindings-interface#43

@jasoneer jasoneer changed the title Add product field to Port Add product property to PortInfo Aug 29, 2023
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