CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
cdc::os_ui::BackupSummary Struct Reference

Aggregated outcome of a restore across all modules. More...

#include <BackupManager.h>

Public Attributes

bool ok = false
 Container decrypted and parsed successfully.
uint16_t imported = 0
 Total records restored (modules + system section).
uint16_t failed = 0
 Total records skipped due to errors.
uint8_t modules = 0
 Number of module sections that were applied.
uint8_t skipped = 0
 Module sections with no matching module on-device.
bool system = false
 System/NVS settings section was present and applied.

Detailed Description

Aggregated outcome of a restore across all modules.

Definition at line 10 of file BackupManager.h.

Member Data Documentation

◆ failed

uint16_t cdc::os_ui::BackupSummary::failed = 0

Total records skipped due to errors.

Definition at line 13 of file BackupManager.h.

Referenced by cdc::os_ui::BackupManager::importFrom().

◆ imported

uint16_t cdc::os_ui::BackupSummary::imported = 0

Total records restored (modules + system section).

Definition at line 12 of file BackupManager.h.

Referenced by cdc::os_ui::BackupManager::importFrom().

◆ modules

uint8_t cdc::os_ui::BackupSummary::modules = 0

Number of module sections that were applied.

Definition at line 14 of file BackupManager.h.

Referenced by cdc::os_ui::BackupManager::importFrom().

◆ ok

bool cdc::os_ui::BackupSummary::ok = false

Container decrypted and parsed successfully.

Definition at line 11 of file BackupManager.h.

Referenced by cdc::os_ui::BackupManager::importFrom().

◆ skipped

uint8_t cdc::os_ui::BackupSummary::skipped = 0

Module sections with no matching module on-device.

Definition at line 15 of file BackupManager.h.

Referenced by cdc::os_ui::BackupManager::importFrom().

◆ system

bool cdc::os_ui::BackupSummary::system = false

System/NVS settings section was present and applied.

Definition at line 16 of file BackupManager.h.

Referenced by cdc::os_ui::BackupManager::importFrom().


The documentation for this struct was generated from the following file: