HID Recieve OUT Endpoint Confusion #1204
Unanswered
samsamm777
asked this question in
Q&A
Replies: 2 comments
-
|
can you provide
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Sorry for my 2 cents, but:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm a little confused on how the
tud_hid_set_report_cbshould be working, when in relation to receiving reports on the OUT endpoint. The callback fires just fine when I send a report from the host. Good. The buffer length is also correct. However when it comes to reading the payload, ie any data after the first byte (reportID), its not there. I just get 0 on the 2nd byte.The report buffer should simply be
0x2, 0x4which is seems is correct in the buffer variable watcher. But not in the actual buffer array. Im just a bit confused. Anyone have any advice? Hopefully screenshot will help.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions