Skip to content

Commit 00ccd4d

Browse files
committed
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 <slp@redhat.com>
1 parent cb1f893 commit 00ccd4d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

meshtastic/config.proto

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,16 @@ message Config {
592592
*/
593593
UDP_BROADCAST = 0x0001;
594594
}
595+
596+
/*
597+
* Enable rebroadcasting mesh packets via UDP
598+
*/
599+
bool udp_rebroadcast = 12;
600+
601+
/*
602+
* Enable skipping LoRa for locally generated packets sent via UDP
603+
*/
604+
bool udp_skip_lora = 13;
595605
}
596606

597607
/*

0 commit comments

Comments
 (0)