Hi,
I have using hidapi_libusb on Android, and it looks like the first byte returned by hid_read is not the report ID as the doc suggest.
Trying on my Linux machine with hidraw and the same device, hid_read does include the report ID as first byte, so I suspect there is something wrong with libusb, or libusb on Android.
Do you have any suggestion to work around this? Mainly, I'm wondering if there is a way, even as a subsequent call to get the report ID related to a buffer read with hid_read
Tested with version 0.14.0
Hi,
I have using hidapi_libusb on Android, and it looks like the first byte returned by
hid_readis not the report ID as the doc suggest.Trying on my Linux machine with
hidrawand the same device,hid_readdoes include the report ID as first byte, so I suspect there is something wrong with libusb, or libusb on Android.Do you have any suggestion to work around this? Mainly, I'm wondering if there is a way, even as a subsequent call to get the report ID related to a buffer read with
hid_readTested with version 0.14.0