Thank you for the reply Jan.
Yes, the application can read the feature reports, but the data is not clear. The Device is a Battery with USB comunication
EX: I have % capacity value to be read with a ReportID 33 (UsagePage 85; usage 66), I get the 5 Bytes Received are 21,64,42,00,00. In this HEX(21) = 33 in Decimal, that is Report ID and Hex(64)=100, the capacity which is correct. I am not sure what the rest of the Bytes represent
I have Temperature to read with ReportID 26 (UsagePage 86; usage 34), Received Bytes are 1A, 33, 01, 00,00. In this Hex(1A)=26, Hex(33)=51. This is not correct. I should get a HEX value of 134, if I combine the Byte 2 & 3, 01 & 33, it is near to the expected value. I am not sure, if I should do it, as the expected result is more than 2 digits.
I have Battery Current with ReportID 87 (UsaagePage 84, usage 31), Received Bytes are 57, 26, 00, 00,00. Hex(57)=87, Hex(26)=38, but I should get a value as 7.
I am not sure, if I am doing right by sending the parameters inFeatureReportBuffer[0]=ReportID, inFeatureReportBuffer[1]=usagePage & inFeatureReportBuffer[2]=Usage. Because, the received byte are same when I change the UsagePage & Usage for the same ReportID. I need to read values with different UsagePage & Usage within the same ReportID
Yes Jan, you are correct, using the VB6 application, I can read the Feature report and the values are as expected.
Thank you
Srini