From 869b4831452e6ce80f4029fdc58c69b2f2dad29a Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Fri, 28 Jul 2023 10:15:25 -0500 Subject: [PATCH] Move node_broadcast_interval_secs to NeighborInfo --- meshtastic/mesh.options | 1 - meshtastic/mesh.proto | 12 ++++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/meshtastic/mesh.options b/meshtastic/mesh.options index 2d1a438..ad8bd71 100644 --- a/meshtastic/mesh.options +++ b/meshtastic/mesh.options @@ -52,7 +52,6 @@ *Waypoint.description max_size:100 *NeighborInfo.neighbors max_count:10 -*Neighbor.node_broadcast_interval_secs int_size:16 *DeviceMetadata.firmware_version max_size:18 diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index ee7757d..da85c53 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -1366,10 +1366,15 @@ message NeighborInfo { * Field to pass neighbor info for the next sending cycle */ uint32 last_sent_by_id = 2; + + /* + * Broadcast interval of the represented node (in seconds) + */ + uint32 node_broadcast_interval_secs = 3; /* * The list of out edges from this node */ - repeated Neighbor neighbors = 3; + repeated Neighbor neighbors = 4; } /* @@ -1385,11 +1390,6 @@ message Neighbor { * SNR of last heard message */ float snr = 2; - - /* - * Broadcast interval of the represented node (in seconds) - */ - uint32 node_broadcast_interval_secs = 3; } /*