Public Access
feat(ups-hid): Beeper control
Signed-off-by: bullshit <coding@ow-software.pl>
This commit is contained in:
13 files changed
+702
-41
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user