Job description
I will commission the modification of a test application using the HidSharp library (https://github.com/IntergatedCircuits/HidSharp) that takes data from the UPS and sends commands to it via USB.
Test application: https://github.com/saper-2/hidups-comm-test
The application uses the communication protocol described on the aforementioned site (https://networkupstools.org/protocols/voltronic-qs.html#V-protocol-queries). The UPS that I have has a similar communication protocol - the specification is available after selecting the principal.
The application currently indicates an error:
System.IndexOutOfRangeException: 'Index went beyond the boundaries of the array.'
in line 346 outRepBuff[0] = 0x00;