Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Knowledge Base Articles

HID out report example

Not applicable

HID out report example

Question: Do you have an code example that demonstrates HID Out report transfer ?



The code example attached does a key board report transfer. Accoeding to the input keyboard report sent the output report sent by the HID driver is displayed on the LCD.

For information on HID Key board report structure in page 60 of HID specification.

Please find the code example attached that demonstrates a out report transfer.

1. In the project  'capslock' + 'a' is sent all the time via EP1.
2. Open a note pad and place the cursor there
3. In the OUT Endpoint EP2 , a value of 0x02  is observed indicating that the caps lock is pressed. The contents of EP2 by transferred to rxbuf and displayed on an LCD

Version history
Revision #:
1 of 1
Last update:
‎Apr 05, 2011 11:18 AM
Updated by: