Topic: Issue with Exponent...
Hi -
I've run into an issue retrieving the ReportDescriptor from a UPS device. HidSharp throws an exception of:
ArgumentOutOfRangeException("value", "Value range is [0, 15]
in the method DecodeExponent.
When I step into the code, I see that the value being passed in is 0xFFFFFFFF (4294967295)
If I modify the code that validates the value to ignore the check for a valid range for the exponent, all the other values in the returned ReportDescriptor look valid. And I get good values for Exponent in other reports.
As I'm new to HID and trying to understand, was curious as to what a -1 for Unit Exponent might indicate. I'm assuming it's an undefined value and if I use a tool like USBlyzer and look at the HID Report Descriptor it returns, there is no value for Unit but it does not throw an exception.
Any help or information anyone could provide would be greatly appreciated.
Thanks in advance.