Hello Jan,
Could you please enlight me on the following
A/
From the HIDP_CAPS Structure
InputReportByteLength
Specifies the maximum size, in bytes, of all the input reports (including the report ID, if report IDs are used, which is prepended to the report data).
OutputReportByteLength
Specifies the maximum size, in bytes, of all the output reports (including the report ID, if report IDs are used, which is prepended to the report data).
FeatureReportByteLength
Specifies the maximum length, in bytes, of all the feature reports (including the report ID, if report IDs are used, which is prepended to the report data).
My question
Does it mean:
1/ that the specific buffer size MUST be equal to the SUM of all the reports sizes. ?
2 that the specific buffer size MUST at least be equal to the LARGEST report size. ?
I have used in the past a Buffer containing the SUM and addressed the pointers to the correct place in the buffer , but I only have used it for INPuts .
B/How