From 2a1386b151fb379f718d51ead179960e7ab8394a Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Sun, 23 Feb 2025 08:42:31 -0600 Subject: [PATCH] Admin messages --- meshtastic/admin.proto | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/meshtastic/admin.proto b/meshtastic/admin.proto index 809d7c6..6cfe6dc 100644 --- a/meshtastic/admin.proto +++ b/meshtastic/admin.proto @@ -154,6 +154,18 @@ message AdminMessage { PAXCOUNTER_CONFIG = 12; } + enum BackupLocation { + /* + * Backup to the internal flash + */ + FLASH = 0; + + /* + * Backup to the SD card + */ + SD = 1; + } + /* * TODO: REPLACE */ @@ -270,6 +282,16 @@ message AdminMessage { */ uint32 set_scale = 23; + /* + * Backup the node's preferences + */ + BackupLocation backup_preferences = 24; + + /* + * Restore the node's preferences + */ + BackupLocation restore_preferences = 25; + /* * Set the owner for this node */