Struct DebounceConfig
Defined in File fault_storage.hpp
Struct Documentation
-
struct DebounceConfig
Debounce configuration for fault filtering.
Public Members
-
int32_t confirmation_threshold = {-1}
Confirmation threshold (typically negative). Fault is CONFIRMED when counter <= this value. Default: -1 (immediate confirmation - first FAILED event confirms the fault). Set to lower values (e.g., -3) for debounce filtering.
-
bool healing_enabled = {false}
Whether healing is enabled. When true, faults can transition to HEALED status.
-
int32_t healing_threshold = {3}
Healing threshold (positive). Fault is HEALED when counter >= this value. Default: 3 (3 more PASSED than FAILED events to heal). Only used if healing_enabled.
-
bool critical_immediate_confirm = {true}
Whether CRITICAL severity bypasses debounce and confirms immediately.
-
double auto_confirm_after_sec = {0.0}
Time-based auto-confirmation. If > 0, PREFAILED faults older than this are auto-confirmed. 0.0 = disabled.
-
int32_t confirmation_threshold = {-1}