host/bare_api example - question/issue? #3089
Unanswered
Franticware
asked this question in
Q&A
Replies: 1 comment 1 reply
-
do you know how many bytes host (you code) requests, and how many bytes the device actually sent via the bus ? They may just leak/oversend 64b ytes if host request so, only 4 bytes is data, the rest could be garbage. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hi, I have built a host/bare_api example for RP2040 and the output is:
The HID report callback outputs 64 bytes, but the report actually is just 4 bytes long, so the 64 bytes are 16 reports bunched together. It seems like the callback is called only when the 64 byte buffer is full. Is it supposed to work like that, or is it a bug?
I have tested 6 other mice and the situation was the same or worse where they did not even connect.
Only one - Acer SM-9625 - seemed to work as expected:
Beta Was this translation helpful? Give feedback.
All reactions