two transactions to send the report?
Posted: Fri Mar 05, 2010 1:55 am
Basically I have 9 packets I need to send and maybe more in the future. I can only send 8 with 1.1 spec, so I need to to a multi endpoint, or hoping for a better method. Any project examples out there? Is there something that I could do with the control endpoint?
I see how to set up the mutli in endpoints but dont see how I send more then one?I guess I would have expected a usbSetInterrupt( endPoint, report, size ); but ts not done that way.
er wait, just saw usbSetInterrupt3 , so Do I need do so something like
usbSetInterrupt(reportBuffer1, curGamepad->report_size);
usbSetInterrupt3(reportBuffer2, curGamepad->report_size);
? going to try this.
ok didnt work..
what iuf I did somthign like this
usbSetInterrupt((void *)&reportBuffer + 0, curGamepad->report_size);
while (!usbInterruptIsReady()) usbPoll();
usbSetInterrupt((void *)&reportBuffer + 8, curGamepad->report_size);
The hid still only sees the first 8 ?
I see how to set up the mutli in endpoints but dont see how I send more then one?I guess I would have expected a usbSetInterrupt( endPoint, report, size ); but ts not done that way.
er wait, just saw usbSetInterrupt3 , so Do I need do so something like
usbSetInterrupt(reportBuffer1, curGamepad->report_size);
usbSetInterrupt3(reportBuffer2, curGamepad->report_size);
? going to try this.
ok didnt work..
what iuf I did somthign like this
usbSetInterrupt((void *)&reportBuffer + 0, curGamepad->report_size);
while (!usbInterruptIsReady()) usbPoll();
usbSetInterrupt((void *)&reportBuffer + 8, curGamepad->report_size);
The hid still only sees the first 8 ?