hid get manufacturer string - part-cw/lambdanative GitHub Wiki

(hid-get-manufacturer-string ptr len)

Returns the manufacturer 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-manufacturer-string d 10)
"Yubico"