|
CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
|
Expert UI menus including module control and TROPIC maintenance actions. More...
#include "AppUiInternal.h"#include "cdc_os_ui/AppUi.h"#include "cdc_os_ui/HardwareInfo.h"#include "cdc_core/TropicStorage.h"#include "cdc_core/UsbManager.h"#include "cdc_core/EventBus.h"#include "cdc_hal/IPowerManager.h"#include "esp_system.h"#include "freertos/FreeRTOS.h"#include "freertos/task.h"#include "soc/rtc_cntl_reg.h"#include <cstdio>#include <cstring>Go to the source code of this file.
Classes | |
| struct | cdc::ui::FixedExpertEntry |
Namespaces | |
| namespace | cdc |
| namespace | cdc::ui |
| Centralized key-code constants for cdc_views. | |
Functions | |
| static void | cdc::ui::runSystemTest () |
| Opens hardware information/system-test screen. | |
| static void | cdc::ui::runTropicCacheRebuild () |
| Rebuilds cached TROPIC metadata and reports operation result. | |
| static void | cdc::ui::runTropicCacheCleanup () |
| Cleans cached TROPIC metadata and reports operation result. | |
| static void | cdc::ui::enterShipModeMenu () |
| Prompts to confirm ship-mode entry from the expert menu. | |
| void | cdc::ui::rebootIntoBootloader () |
| Reboots the device into USB download (bootloader) mode. | |
| static void | cdc::ui::rebuildModulesView () |
| Rebuilds module status list view content. | |
| static void | cdc::ui::onModuleRetryConfirm (void *userData) |
| Retries failed module initialization after user confirmation. | |
| static void | cdc::ui::onModuleSelect (uint16_t index, void *userData) |
| Handles module list selection for retry/toggle behavior. | |
| void | cdc::ui::showModulesView () |
| Shows module management list view. | |
| static void | cdc::ui::onShipModeConfirm (void *) |
| Disconnects the battery (ship mode) after user confirmation. | |
| static void | cdc::ui::rebuildExpertMenu () |
| Rebuilds expert menu item list including module-provided entries. | |
| static void | cdc::ui::onExpertMenuSelect (uint16_t index, void *userData) |
| Handles expert menu selection actions. | |
| void | cdc::ui::showExpertMenu () |
| Shows expert menu and initial warning toast. | |
| static void | cdc::ui::bootloaderResetTask (void *) |
| Worker that detaches USB, arms the download-boot bit and triggers a hard system reset. | |
| void | cdc::ui::onModuleErrorEvent (const core::Event &evt) |
| Displays toast notification for module error events. | |
Expert UI menus including module control and TROPIC maintenance actions.
Definition in file ExpertMenuUi.cpp.