Thanks for replying Jan.
I might have used some wrong terminology in my post? The report buffer is 9, but this same buffer is used to get data much larger than 9 bytes. So I have to keep querying Get_Report (using HidD_SetFeature in hid.dll)
Please view this image here ( I just uploaded it)
http://i.imgur.com/Vt6443A.png Attached is an image of a USB sniffer. There is duplication for every transfer due to the sniffer but the commands can still be seen. This was captured using the configuration application that came with the device byt getting the settings of the device. As you can see when I requested the settings of the device, it commanded a Set Report to the device. (Very first log in the grid in my screenshot). Then, every subsequent transfer is a Get Report(Feature len:
, for a total of 16 Get Report commands in a row, each carrying a data array that is a continuation of the previous one until it gets to the last one then it gives the last report and the LRC.
From what you said is that they should resize the report size to fit all of this data into a single report? From the looks of this USB sniffer and using the ID Tech configuration application (no source =\) , it looks like they send a hidD_SetFeature, followed by 16 hidD_GetFeatures in succession.
Now, I am trying to do this same thing in my application. Problem is, the number of reports I have to go out and fetch are variable( for this one in the screenshot was 16, some are 12, some are 2, some are 1, some are N). So I am trying to determine how many times I need to fire off Get_Report to get all the data, and if this is even the way to go about doing this.
My other question is maybe a timeout issue? Refering to my screen shot again, you can see that there is a 1 second delay from Set_Report and the first Get_Report. If that delay goes from 1 second to 2 seconds so the flow would be
Set_Report
Wait 2 second
Get_Report
Now get report will have nothing in the response, all 0's. Does anyone know why this is? Is there a timeout or some sort going on in getting feature data?
Thank you Jan and all very much for your attention!