How to send a report more than 255 bytes?

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
icefire
Posts: 5
Joined: Mon Dec 24, 2007 12:48 pm

How to send a report more than 255 bytes?

Post by icefire » Wed Apr 30, 2008 10:35 am

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 ?

christian
Objective Development
Objective Development
Posts: 1443
Joined: Thu Nov 09, 2006 11:46 am

Post by christian » Wed Apr 30, 2008 1:00 pm

This is not currently supported by the driver. You would have to define usbMsgLen as 16 bit variable and update all accesses accordingly.

christian
Objective Development
Objective Development
Posts: 1443
Joined: Thu Nov 09, 2006 11:46 am

Post by christian » Sun May 04, 2008 10:09 pm

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.

butrus.butrus
Posts: 10
Joined: Wed Sep 12, 2007 7:57 pm
Contact:

Post by butrus.butrus » Mon May 05, 2008 12:39 pm

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! :)

Post Reply