WiFi Channel Settings.

This commit is contained in:
Robin Davies
2021-08-20 10:35:37 -04:00
parent 140f2abd39
commit f6aa331d77
40 changed files with 2409 additions and 597 deletions
+21
View File
@@ -0,0 +1,21 @@
#pragma once
#include "json.hpp"
namespace pipedal {
class WifiConfigSettings {
public:
bool valid_ = false;
bool wifiWarningGiven_ = false;
bool rebootRequired_ = false;
bool enable_ = false;
std::string countryCode_ = "US"; // iso 3661
std::string hotspotName_ = "pipedal";
bool hasPassword_ = false;
std::string password_;
std::string channel_ = "g6";
public:
DECLARE_JSON_MAP(WifiConfigSettings);
};
}