Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add protocol flags to enable UDP broadcasts and other future local networking transports #643

Merged
merged 1 commit into from
Jan 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}
}
}
Loading