This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB HID IN & OUT Reports through Control & Interrupt transfer

Hi,

dig around with/for HID reports, i ran into a strange problem within a WinXP test application that i wrote.

Following configuration:
1 (non compound) device with
1 config with
1 interface (HID) with
2 endpoints wheras
1 interrupt in (ep1) and
1 interrupt out (ep2)

Setting and requesting the reports through control transfer (ep0) works like a charme, but with interrupt transfers the host application first sets an report without any problem, but the request of the following in interrupt leads to a problem. I figured out that the in interrupt terminates on the wrong (ep2) endpoint.
within the win api i used readfile in an overlapped mode, but there is no chance to define a endpoint. why isn't the interface interpreted correctly by the hostapp? or is there something to define elsewhere?

thx & kr

0