Hi Stuart,
Thank you for the link. It does seem what I am looking for. Are you aware of any similar standard created for a serial device? I have a working CDC usb setup, which is why I am asking. If required, will switch to HID though.

--
Łukasz Przeniosło
On March 20, 2023 15:25:09 Stuart Henderson via Nut-upsdev <[email protected]> wrote:

On 2023-03-20, Łukasz Przeniosło <[email protected]> wrote:
I would like to create a new UPS device that communicate with the outer=20
world over USB. The USB protocol can be either CDC serial or HID. I am=20
looking for an existing protocol that can be legally used by me, so I=20
don't need to come up with a new protocol + ask anyone to add any new=20
code to the NUT project. It should also be well documented, since I need=20
to reimplement it in my device.

What would be the best approach here? I would appreciate all help and=20
feedback!

Many of the HID-based UPS use the Power Device Class, docs are at
https://usb.org/sites/default/files/pdcv11.pdf



_______________________________________________
Nut-upsdev mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev

_______________________________________________
Nut-upsdev mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev

Reply via email to