HidSharp application to communicate between via USB port with UPS

Employer
no avatar
Medd
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;

Published
on 2023-12-21
Category
Required functions:
The purpose of the order is to improve the code so that two-way communication, downloading and sending basic commands is possible. UPS for testing can be sent after the selection of the principal.

Offers sent (4)

Budget
Negotiable
Copyright
-
Expires in
30 days