Page 1 of 1

How to send a report more than 255 bytes?

Posted: Wed Apr 30, 2008 10:35 am
by icefire
I want to build a Hid report descripotr with more than 300 bytes, and then i meet the the limite of 255 bytes.
I need to modify the driver to send the report.
Does someone has hints ?

Posted: Wed Apr 30, 2008 1:00 pm
by christian
This is not currently supported by the driver. You would have to define usbMsgLen as 16 bit variable and update all accesses accordingly.

Posted: Sun May 04, 2008 10:09 pm
by christian
I've reworked some of the driver code and while doing this made the size of usbMsgLen a configuration option.

If you want a developer snapshot of this version, please let me know by e-mail (support system for avr-usb). The new version supports several kB of transfer size.

Posted: Mon May 05, 2008 12:39 pm
by butrus.butrus
christian wrote:I've reworked some of the driver code and while doing this made the size of usbMsgLen a configuration option.

If you want a developer snapshot of this version, please let me know by e-mail (support system for avr-usb). The new version supports several kB of transfer size.


Wow, thanks! :)