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!
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: