From 9adb17d940c236625ab0bcf6fb3c4c6ddfc695e9 Mon Sep 17 00:00:00 2001 From: ford-jones Date: Sat, 11 Oct 2025 00:17:27 +1300 Subject: [PATCH 1/3] New setting for persisting favourite nodes --- meshtastic/config.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meshtastic/config.proto b/meshtastic/config.proto index f17a078..ec9d941 100644 --- a/meshtastic/config.proto +++ b/meshtastic/config.proto @@ -262,6 +262,11 @@ message Config { * Defaults to ENABLED */ BuzzerMode buzzer_mode = 13; + + /* + * When true, favourited nodes are persisted through NodeDB resets. + */ + bool preserve_favourites = 14; } /* From 38d066501125b37d866cd01ea7d97c3ef6909041 Mon Sep 17 00:00:00 2001 From: ford-jones Date: Sat, 11 Oct 2025 13:47:56 +1300 Subject: [PATCH 2/3] Use American-English spelling --- meshtastic/config.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshtastic/config.proto b/meshtastic/config.proto index ec9d941..6f9af03 100644 --- a/meshtastic/config.proto +++ b/meshtastic/config.proto @@ -266,7 +266,7 @@ message Config { /* * When true, favourited nodes are persisted through NodeDB resets. */ - bool preserve_favourites = 14; + bool preserve_favorites = 14; } /* From 68dee221b201e99b3124be85953c834ade6f7cc1 Mon Sep 17 00:00:00 2001 From: ford-jones Date: Sun, 12 Oct 2025 17:01:32 +1300 Subject: [PATCH 3/3] Convert reset tag to bool in favor of additional settings --- meshtastic/admin.proto | 3 ++- meshtastic/config.proto | 5 ----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/meshtastic/admin.proto b/meshtastic/admin.proto index 8dc1dc2..9dbefbd 100644 --- a/meshtastic/admin.proto +++ b/meshtastic/admin.proto @@ -469,8 +469,9 @@ message AdminMessage { /* * Tell the node to reset the nodedb. + * When true, favorites are preserved through reset. */ - int32 nodedb_reset = 100; + bool nodedb_reset = 100; } } diff --git a/meshtastic/config.proto b/meshtastic/config.proto index 6f9af03..f17a078 100644 --- a/meshtastic/config.proto +++ b/meshtastic/config.proto @@ -262,11 +262,6 @@ message Config { * Defaults to ENABLED */ BuzzerMode buzzer_mode = 13; - - /* - * When true, favourited nodes are persisted through NodeDB resets. - */ - bool preserve_favorites = 14; } /*