USB HID Set Report. Where to get the Data?

Status
Not open for further replies.

Genoil

New member
Hi, I'm using Teensy to reverse-engineer a USB HID device that uses HID Set Report Requests (HID 1.11 spec, 7.2.2 page 52). With my reverse engineered driver on the Teensy connected to a Windows host, I can catch the Set Report Request request sent from the host within usb_dev.c, but I have no idea where to get the Data part from.

Type: 0x21
Request: 0x09 SET_REPORT
Value:0x0301 Feature Report #01
Index: 0x0000
Lenght 0x08 8-bytes of data...but where?


I can see the Raw data bytes in USBlyzer and they contain expected values, but I don't know where to access them from within the Teensy USB code. The setup structure is fixed at 8 bytes (0x0921030100000008) and does not contain a Data field as described in the spec. Thanks for any hints!
 
Last edited:
would you mind sharing? thank you.
This is a 2 year old thread and these are the only two posts by that person, so unlikely they will respond...

If you do have some specific questions, you might try asking it in a new thread. You might also include additional information like which Teensy...

But if you are asking about T3.x and how their USB descriptor is defined,

You might start by looking that files (where Arduino installed)/hardware/teensy/avr/cores/teensy3/usb_desc.c (and .h)
 
Status
Not open for further replies.
Back
Top