We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I wanted to send data with different sizes using HID. Does the USB breaks up my data into sizes that fit the report descriptor and sends it serially so I can get my data on the other side of the USB?
"I wanted to send data with different sizes using HID."
You have two options,
a) Report IDs Define a separate report format for each report size on the report descriptor. These report formats are identified by unique report ID for each format.
b) Single large report format with padding Define single report format which fits to the greatest size of the data. The report is filled as follows, - The first byte is the number of bytes in the contents - Follows the contents bytes - Fill the rest with padding
You may have interest on this topic of USB-IF - Just I'm bored to write on it again and again. :-)
"Change ReportCount after enumeration" on USB-IF www.usb.org/.../viewtopic.php
Tsuneo
This forum is in need of a sticky with links to a number of your excellent posts.
I totally agree !!!!!