Add Store and Forward++ module

This commit is contained in:
Jonathan Bennett
2025-12-20 13:05:13 -06:00
parent 9da4396c6f
commit 82325a60ba
6 changed files with 1271 additions and 0 deletions

View File

@@ -169,6 +169,9 @@ extern struct portduino_config_struct {
int configDisplayMode = 0;
bool has_configDisplayMode = false;
// Store and Forward++
bool sfpp_stratum0 = false;
// General
std::string mac_address = "";
bool mac_address_explicit = false;
@@ -488,6 +491,13 @@ extern struct portduino_config_struct {
out << YAML::EndMap; // Config
}
// StoreAndForward
if (sfpp_stratum0) {
out << YAML::Key << "StoreAndForward" << YAML::Value << YAML::BeginMap;
out << YAML::Key << "Stratum0" << YAML::Value << true;
out << YAML::EndMap; // StoreAndForward
}
// General
out << YAML::Key << "General" << YAML::Value << YAML::BeginMap;
if (config_directory != "")