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

cross mob

HID out report example

lock attach
Attachments are accessible only for community members.

HID out report example

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

 

Answer:

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

Attachments
0 Likes
1354 Views
Contributors