Page 1 of 1

Example hid-data fixed block

Posted: Thu Dec 30, 2010 10:58 pm
by eslavko
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...