From e09bd361a47c6e9a43baf79c57db9c766b39c885 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Mon, 21 Oct 2024 05:05:25 -0500 Subject: [PATCH] Add rebroadcast mode to ignore non-standard portnum traffic --- meshtastic/config.proto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meshtastic/config.proto b/meshtastic/config.proto index 63df3a1..47edfa0 100644 --- a/meshtastic/config.proto +++ b/meshtastic/config.proto @@ -131,6 +131,12 @@ message Config { * Only permitted for SENSOR, TRACKER and TAK_TRACKER roles, this will inhibit all rebroadcasts, not unlike CLIENT_MUTE role. */ NONE = 4; + + /* + * Ignores packets from non-standard portnums such as: TAK, RangeTest, PaxCounter, etc. + * Only rebroadcasts packets with standard portnums: NodeInfo, Text, Position, Telemetry, and Routing. + */ + CORE_PORTNUMS_ONLY = 5; } /*