From 00ccd4d71b39e9af2a130e5184afeafa89f1d766 Mon Sep 17 00:00:00 2001 From: Sergio Lopez Date: Wed, 1 Apr 2026 11:43:03 +0200 Subject: [PATCH] network: add udp toggles to control rebroadcast Add two new toggles to the Network section: - udp_rebroadcast: Rebroadcasting mesh packets via UDP - udp_skip_lora: Skip LoRa for locally generated packets via UDP This enables us to implement #9999 without relying on roles. Signed-off-by: Sergio Lopez --- meshtastic/config.proto | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/meshtastic/config.proto b/meshtastic/config.proto index 33eaa58..5e4423e 100644 --- a/meshtastic/config.proto +++ b/meshtastic/config.proto @@ -592,6 +592,16 @@ message Config { */ UDP_BROADCAST = 0x0001; } + + /* + * Enable rebroadcasting mesh packets via UDP + */ + bool udp_rebroadcast = 12; + + /* + * Enable skipping LoRa for locally generated packets sent via UDP + */ + bool udp_skip_lora = 13; } /*