2007-03-04 06:46 PM
2007-03-04 06:46 PM
HI:
Why my str7 USB only receive Set_RePort request, but can not receive Get_RePort request? in usb_prop.c, code like this: .... else if((Request_No == SET_REPORT)&&((Device_Info->USBbmRequestType &(REQUEST_TYPE | RECIPIENT)) ==(CLASS_REQUEST | INTERFACE_RECIPIENT))) { CopyRoutine = HID_Set_Report; } else if((Request_No == GET_REPORT)&&((Device_Info->USBbmRequestType &(REQUEST_TYPE | RECIPIENT)) ==(CLASS_REQUEST | INTERFACE_RECIPIENT))) { CopyRoutine = HID_Get_Report; } ... but I only can set the Set_Report interrupt ?