hid get product string - part-cw/lambdanative GitHub Wiki
(hid-get-product-string ptr len)
Returns the product string from the open HID device pointer.
Parameter | Description |
---|---|
ptr | HID device pointer |
len | Maximum string length |
Example
> (define d (hid-open-path "USB_1050_0120_14300000"))
> (hid-get-product-string d 100)
"Security Key by Yubico"