CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
SystemSettingsBackup.cpp File Reference

Export/import of OS-level NVS settings for the backup container. More...

#include "cdc_os_ui/SystemSettingsBackup.h"
#include "cdc_os_ui/WifiHandlers.h"
#include "cdc_os_ui/SettingsHandlers.h"
#include "cdc_os_ui/views/LockScreenView.h"
#include "cdc_core/ModuleRegistry.h"
#include "cdc_hal/IDisplay.h"
#include "cdc_hal/ISleepController.h"
#include "cdc_hal/IRtc.h"
#include "cdc_hal/IWifiController.h"
#include "cdc_ui/I18n.h"
#include "cdc_log.h"
#include "cJSON.h"
#include <cstring>
#include <cstdio>

Go to the source code of this file.

Namespaces

namespace  cdc
namespace  cdc::os_ui

Detailed Description

Export/import of OS-level NVS settings for the backup container.

These settings have no owning IModule, so the central BackupManager cannot reach them through the module loop. This helper serializes them into the top-level "system" section and restores them best-effort. Every value is read/written exclusively through the owning service's public API, so the NVS namespaces and keys are never re-encoded here.

Definition in file SystemSettingsBackup.cpp.