-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rawhid test device ProMicroRawHID Feature Report Problem #20
Comments
I do not have problems with TeensyRawHid. TeensyRawHid run log.
And I can see the Arduini serial monitor received the packet.
Another test:
And I can see the Arduini serial monitor received the packet.
|
I checked the HID report descriptor and it does not support Feature report at all.
HID Report Parser output
|
It seems to me by default feature report is not supported by the library. |
Issue resolved by fixing the above file.
|
Now it works.
Arduino serial monitor:
|
I will close this issue here as it is not a problem with hidapitester but the HID library. |
For Feature report, hidapitester needs to add first 0 in order to work with HID device without Feature report ID (tested under Windows). The zero will not appear on the wire and the device will not receive the firs zero.
Arduino serial monitor output.
|
BTW, I have also tested the other two tinyusb based example using an Arduino M0 clone and they both work as expected. Test results here: |
I have issues with the other example ProMicroRawHID in terms of Feature report.
https://github.com/todbot/hidapitester/tree/master/test_hardware/ProMicroRawHID
Reading input seems to be okay (I did the minor change to send 0x08 to 0x47. But the comments about 2s does not seem to be right. It seems to be once per second. Basically the code has been changed to 1s but the comment has not been updated.
Sending the output report seems to be okay as well since I can see the echo from Arduino terminal Window.
It does not seem to work when sending the feature report.
The text was updated successfully, but these errors were encountered: