Example hid-data fixed block

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
eslavko
Rank 1
Rank 1
Posts: 36
Joined: Sat Dec 18, 2010 6:37 pm

Example hid-data fixed block

Post by eslavko » Thu Dec 30, 2010 10:58 pm

Hello...

I just study and try to use hid-data example. I write windows host in freebasic (no libusb just API calls). The example as is just work. It has fixed data size. I can change descriptor to have smaller or biger block. Just wonder if is some chance to change block size on the fly. Or at least to use few predefined lengths. Or at wery least to have different size for read and for wryte.
This is probably possible but as i understand I need to change descriptor but dont know how.

Thanks for any help and happy new year...

Post Reply