Skip to content

hid get product string

Chris Petersen edited this page Mar 4, 2016 · 1 revision

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"
Clone this wiki locally