feat(ups-hid): Beeper control

Signed-off-by: bullshit <coding@ow-software.pl>
This commit is contained in:
bullshit committed 2025-08-18 12:04:20 +02:00
1 parent 64f29e49c8
commit bbacfcb5c8
13 files changed
+702 -41

No files matched your search

+6
View File
@@ -26,6 +26,12 @@ class CyberPowerProtocol : public UpsProtocolBase {
bool read_data(UpsData &data) override;
UpsProtocol get_protocol_type() const override { return PROTOCOL_CYBERPOWER_HID; }
std::string get_protocol_name() const override { return "CyberPower HID"; }
// Beeper control methods
bool beeper_enable() override;
bool beeper_disable() override;
bool beeper_mute() override;
bool beeper_test() override;
private:
// Report ID constants (based on NUT debug logs)