mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
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>
This commit is contained in:
parent
cb1f89372a
commit
00ccd4d71b
1 changed files with 10 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue