Merge branch 'backup-prefs' into 2.6

pull/652/head
Ben Meadors 2025-02-23 06:53:38 -06:00
commit dee784ab1c
1 zmienionych plików z 31 dodań i 0 usunięć

Wyświetl plik

@ -6,6 +6,7 @@ import "meshtastic/channel.proto";
import "meshtastic/mesh.proto";
import "meshtastic/telemetry.proto";
import "meshtastic/config.proto";
import "meshtastic/localonly.proto";
import "nanopb.proto";
option csharp_namespace = "Meshtastic.Protobufs";
@ -253,3 +254,33 @@ message ChannelFile {
*/
uint32 version = 2;
}
/*
* The on-disk backup of the node's preferences
*/
message BackupPreferences {
/*
* The version of the backup
*/
uint32 version = 1;
/*
* The node's configuration
*/
LocalConfig config = 2;
/*
* The node's module configuration
*/
LocalModuleConfig module_config = 3;
/*
* The node's channels
*/
ChannelFile channels = 4;
/*
* The node's user (owner) information
*/
User owner = 5;
}