currently i am working on my final year project where i am able to transfer 8 bytes data hid reports but want to extended data size from 8 to 256 bytes or around it or may be more
what modification should i do to increase the size ???
increase data size for hid data transfer
-
- Posts: 2
- Joined: Thu Aug 23, 2012 2:28 pm
Re: increase data size for hid data transfer
Using bulk out you can separate the packed. 1.0 standards does not allow more then 8 at once.
Use bulk you can try this
etc...
Use bulk you can try this
Code: Select all
while (!usbInterruptIsReady()){usbPoll(); } usbSetInterrupt((void *)&reportBuffer + 0, 8);
while (!usbInterruptIsReady()){usbPoll(); } usbSetInterrupt((void *)&reportBuffer + 8, 8);
while (!usbInterruptIsReady()){usbPoll(); } usbSetInterrupt((void *)&reportBuffer + 16, 8);
etc...