Public Access
- lib/apps_model (host-tested): SettingsMenu (rows, readable values, choices, validation messages) and SetupWizard (names, Region confirmation, timezone; saves only when finished) - AppManager: modal Apps that Home/Back can't leave (setup wizard) - SettingsApp: all settings plus Storage (usage, erase SD behind a dialog) and About (version, node id, battery, memory, uptime) pages, replacing the temporary Diagnostics App - SetupApp: first-boot wizard, opened modally until SetupDone - Node id and default names derived from the MAC like Meshtastic - Widget demo is now hidden (About, then w) - lib_ldf_mode = deep+ so libraries see each other's headers Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EhqxQ49eCju4CzKYNjZzwT
25 lines
626 B
C++
25 lines
626 B
C++
#pragma once
|
|
|
|
namespace roro {
|
|
|
|
struct Choice {
|
|
const char* label;
|
|
const char* value;
|
|
};
|
|
|
|
// Timezones offered in Settings and the setup wizard (POSIX TZ strings).
|
|
inline const Choice kTimezones[] = {
|
|
{"Brussels", "CET-1CEST,M3.5.0,M10.5.0/3"}, // also Paris, Amsterdam, Berlin...
|
|
{"London", "GMT0BST,M3.5.0/1,M10.5.0"},
|
|
{"Lisbon", "WET0WEST,M3.5.0/1,M10.5.0"},
|
|
{"Helsinki", "EET-2EEST,M3.5.0/3,M10.5.0/4"},
|
|
{"UTC", "UTC0"},
|
|
};
|
|
|
|
// Regions the radio may be used in (see Region in CONTEXT.md).
|
|
inline const Choice kRegions[] = {
|
|
{"EU868 (Europe, 869.5 MHz)", "EU868"},
|
|
};
|
|
|
|
} // namespace roro
|