bindings-cpp icon indicating copy to clipboard operation
bindings-cpp copied to clipboard

Add product property to PortInfo

Open jasoneer opened this issue 2 years ago • 0 comments

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 https://github.com/serialport/bindings-interface/pull/43

jasoneer avatar Aug 29 '23 05:08 jasoneer