CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
SystemSettingsBackup.h
Go to the documentation of this file.
1#pragma once
2
3#include "cdc_core/IModule.h"
4
5struct cJSON;
6
7namespace cdc::os_ui {
8
26public:
37 static bool exportSystemSettings(cJSON* out);
38
51};
52
53} // namespace cdc::os_ui
Export/import for OS-level settings that live in NVS without an owning module.
static bool exportSystemSettings(cJSON *out)
Writes the user-configurable NVS settings into out.
static cdc::core::IModule::BackupResult importSystemSettings(const cJSON *in)
Restores the system settings from in best-effort.
Per-module restore outcome reported by importBackup().
Definition IModule.h:85