cancel
Showing results for 
Search instead for 
Did you mean: 

about HID Get_Report/Set_Report

liyong
Associate II
Posted on March 05, 2007 at 03:46

about HID Get_Report/Set_Report

1 REPLY 1
liyong
Associate II
Posted on March 05, 2007 at 03:46

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 ?