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
@@ -15,6 +15,12 @@ public:
bool read_data(UpsData &data) override;
UpsProtocol get_protocol_type() const override { return PROTOCOL_APC_HID; }
std::string get_protocol_name() const override { return "APC HID Protocol"; }
// Beeper control methods
bool beeper_enable() override;
bool beeper_disable() override;
bool beeper_mute() override;
bool beeper_test() override;
private:
struct HidReport {