From b77d1a3bb744e741b73225bb7e4d1b68851b730d Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Sun, 5 Jan 2025 12:57:01 -0600 Subject: [PATCH] Add protocol flags to enable UDP broadcasts and other future local networking transports --- meshtastic/config.proto | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/meshtastic/config.proto b/meshtastic/config.proto index e308529d..20334a95 100644 --- a/meshtastic/config.proto +++ b/meshtastic/config.proto @@ -515,6 +515,26 @@ message Config { * rsyslog Server and Port */ string rsyslog_server = 9; + + /* + * Flags for enabling/disabling network protocols + */ + uint32 enabled_protocols = 10; + + /* + * Available flags auxiliary network protocols + */ + enum ProtocolFlags { + /* + * Do not broadcast packets over any network protocol + */ + NO_BROADCAST = 0x0000; + + /* + * Enable broadcasting packets via UDP over the local network + */ + UDP_BROADCAST = 0x0001; + } } /* @@ -1113,4 +1133,4 @@ message Config { SessionkeyConfig sessionkey = 9; DeviceUIConfig device_ui = 10; } -} +} \ No newline at end of file