MUKESH.K.S
Full Member level 1
Hello experts....
I was trying to implement the HID mouse usb using PIC18f4550. I am using xc8 compiler and mplab Xide. I know that microchip provides the USB stack for HID class, but I don't want to use the library because my intention is to learn the usb protocol. I am using the same descriptors given in the microchip library. I am able to do the enumeration almost completely, windows is showing my device in the device manager input devices list. But I am stuck with one problem, I am not able to identify one request from the windows. After the HID report descriptor request , windows is sending this setup packet
0x80,0x06,0x01,0x03,0x09,0x04,0xff,0x00 and 0x80,0x06,0x02,0x03,0x09,0x04,0xff,0x00. Please help me in understanding this request. What kind of request is this ? How should I reply to this request?
I was trying to implement the HID mouse usb using PIC18f4550. I am using xc8 compiler and mplab Xide. I know that microchip provides the USB stack for HID class, but I don't want to use the library because my intention is to learn the usb protocol. I am using the same descriptors given in the microchip library. I am able to do the enumeration almost completely, windows is showing my device in the device manager input devices list. But I am stuck with one problem, I am not able to identify one request from the windows. After the HID report descriptor request , windows is sending this setup packet
0x80,0x06,0x01,0x03,0x09,0x04,0xff,0x00 and 0x80,0x06,0x02,0x03,0x09,0x04,0xff,0x00. Please help me in understanding this request. What kind of request is this ? How should I reply to this request?