Merge pull request #643 from meshtastic/udp-broadcast

Add protocol flags to enable UDP broadcasts and other future local networking transports
This commit is contained in:
Ben Meadors 2025-01-05 13:04:41 -06:00 committed by GitHub
commit 76f806e1bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}
}
}