Skip to content

Commit

Permalink
Merge pull request #643 from meshtastic/udp-broadcast
Browse files Browse the repository at this point in the history
Add protocol flags to enable UDP broadcasts and other future local networking transports
  • Loading branch information
thebentern authored Jan 5, 2025
2 parents b1ebb96 + b77d1a3 commit 76f806e
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion meshtastic/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

/*
Expand Down Expand Up @@ -1113,4 +1133,4 @@ message Config {
SessionkeyConfig sessionkey = 9;
DeviceUIConfig device_ui = 10;
}
}
}

0 comments on commit 76f806e

Please sign in to comment.