diff --git a/ESP/lib/src/data/config/project_config.hpp b/ESP/lib/src/data/config/project_config.hpp index 0b40c27..e4a2500 100644 --- a/ESP/lib/src/data/config/project_config.hpp +++ b/ESP/lib/src/data/config/project_config.hpp @@ -44,6 +44,16 @@ public: struct WiFiConfig_t { + //! Constructor for WiFiConfig_t - allows us to use emplace_back + WiFiConfig_t(const std::string &name, + const std::string &ssid, + const std::string &password, + uint8_t channel, + bool adhoc) : name(std::move(name)), + ssid(std::move(ssid)), + password(std::move(password)), + channel(channel), + adhoc(adhoc) {} std::string name; std::string ssid; std::string password; diff --git a/ESP/src/main.cpp b/ESP/src/main.cpp index 944b517..55fe156 100644 --- a/ESP/src/main.cpp +++ b/ESP/src/main.cpp @@ -46,10 +46,12 @@ void setup() { case WiFiState_e::WiFiState_Disconnected: { + //! TODO: Implement break; } case WiFiState_e::WiFiState_Disconnecting: { + //! TODO: Implement break; } case WiFiState_e::WiFiState_ADHOC: @@ -68,10 +70,12 @@ void setup() } case WiFiState_e::WiFiState_Connecting: { + //! TODO: Implement break; } case WiFiState_e::WiFiState_Error: { + //! TODO: Implement break; } }