feat(Telemetry,FileManager,LoggingHandler): QA-to-shipping stats reset — telemetry.reset_boot_data + logs.clear
Console wants a "reset device stats before shipping" button for staff to clear QA-bench data (test reboots, debug log spam) without wiping actual device configuration. telemetry.reset_strikes and telemetry.reset_metrics already covered bell strikes and runtime/playback counters — this adds the two gaps: lifetime boot count + SD boot history, and SD debug logs. Deliberately does not touch FirmwareValidator's NVS namespace (rollback safety state, not history) or device identity NVS (serial/hw_family). Verified: pio run on all four board variants.
This commit is contained in:
@@ -30,4 +30,5 @@ private:
|
||||
CommandResult handleResetMetrics(const CommandEnvelope& e);
|
||||
CommandResult handleGetBootHistory(const CommandEnvelope& e);
|
||||
CommandResult handleGetDiagnostics(const CommandEnvelope& e);
|
||||
CommandResult handleResetBootData(const CommandEnvelope& e);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user