chegewara / EspTinyUSB

ESP32S2 native USB library. Implemented few common classes, like MIDI, CDC, HID or DFU (update).
MIT License
490 stars 70 forks source link

Implement HID ups and power device protocol #53

Open rahmanshaber opened 3 years ago

rahmanshaber commented 3 years ago

I want to send the power related info of m device's battery using the esp32's usb. i come to know of a protocol that used by the UPS which communicate using a usb cable attached to the computer.

there is a library that works with Arduino pro micro, this one https://github.com/abratchik/HIDPowerDevice

is there any possibility if you can add support for it?

chegewara commented 3 years ago

Hi, thanks for finding and bringing up that cool use case. In theory yes, i think i can add it, but there is 2 main limitations at this moment:

Im not saying i wont add it, but dont expect it too soon.

rahmanshaber commented 3 years ago

ESP guys are too slow, tinyusb from adafruite is not coming anytime soon as i saw that PR is inactive for months.

Only usable usb lib is this. i think as this one was the first one, people will use it for the foreseeable future. i will wait for the feature. Thanks.

Cp0204 commented 9 months ago

Hi, I'm looking for the same library. Have you made any progress?