From 76f12f8b61c8c6d6eed07146f5fe5961ed96f80d Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Thu, 21 Mar 2024 07:27:30 -0500 Subject: [PATCH] Add is_favorite to NodeInfo/Lite --- meshtastic/deviceonly.proto | 6 ++++++ meshtastic/mesh.proto | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/meshtastic/deviceonly.proto b/meshtastic/deviceonly.proto index decd244..618666e 100644 --- a/meshtastic/deviceonly.proto +++ b/meshtastic/deviceonly.proto @@ -127,6 +127,12 @@ message NodeInfoLite { * Number of hops away from us this node is (0 if adjacent) */ uint32 hops_away = 9; + + /* + * True if node is in our favorites list + * Persists between NodeDB resets and internal clean up + */ + bool is_favorite = 10; } /* diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index 48acc14..32a1d47 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -1126,6 +1126,12 @@ message NodeInfo { * Number of hops away from us this node is (0 if adjacent) */ uint32 hops_away = 9; + + /* + * True if node is in our favorites list + * Persists between NodeDB resets and internal clean up + */ + bool is_favorite = 10; } /*