bindings-cpp
bindings-cpp copied to clipboard
Add product property to PortInfo
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