Public Access
feat(ups-hid): timer delay commands
Signed-off-by: bullshit <coding@ow-software.pl>
This commit is contained in:
19 files changed
+1008
-40
No files matched your search
@@ -39,6 +39,14 @@ class CyberPowerProtocol : public UpsProtocolBase {
|
||||
bool stop_battery_test() override;
|
||||
bool start_ups_test() override;
|
||||
bool stop_ups_test() override;
|
||||
|
||||
// Timer polling for real-time countdown
|
||||
bool read_timer_data(UpsData &data) override;
|
||||
|
||||
// Delay configuration methods
|
||||
bool set_shutdown_delay(int seconds) override;
|
||||
bool set_start_delay(int seconds) override;
|
||||
bool set_reboot_delay(int seconds) override;
|
||||
|
||||
private:
|
||||
// Report ID constants (based on NUT debug logs)
|
||||
|
||||
Reference in new issue
Block a user