mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Add protocol flags to enable UDP broadcasts and other future local networking transports
This commit is contained in:
parent
b1ebb963cb
commit
b77d1a3bb7
1 changed files with 21 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue