Attachments are accessible only for community members.
HID out report example
Anonymous
Not applicable
Apr 05, 2011
11:18 AM
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Apr 05, 2011
11:18 AM
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
Rate this article:
Contributors
-
This widget could not be displayed.Anonymous