Paul

Up to now I have only used one endpoint. I believe you set up your device in the descriptor file. You tell it the number of interfaces you want, the number of endpoints, in the endpoint descriptor you tell the type of transfer and so on.

Then in the report descriptor you would set the packet size type of data and so on.

In PBP you would listen for that endpoint "USBIN X,buffer,cnt, goto label" (X being the endpoint number 1,2 etc). The PC sends endpoint "0" PBP endpoint is 1

Check out the USB18.inc file

I am not an expert but have made many USB devices and written custom descriptors.


Dave