Improve reconnect
This commit is contained in:
@@ -6,6 +6,7 @@ class Network {
|
||||
public:
|
||||
Network(std::string_view hostname, std::string_view apSsid = "Smart RGB");
|
||||
~Network();
|
||||
void reconnect();
|
||||
bool isConnected() const;
|
||||
std::string getHostname() const;
|
||||
bool setHostname(const std::string_view &hostname);
|
||||
@@ -27,6 +28,6 @@ private:
|
||||
<p><small>ESP32 WiFi Manager (c) 2022-2025 by Martin Verges</small></p>
|
||||
</body></html>
|
||||
)html";
|
||||
std::string_view hostname;
|
||||
std::string_view apSsid; // SSID for the fallback AP
|
||||
std::string hostname;
|
||||
std::string apSsid; // SSID for the fallback AP
|
||||
};
|
||||
Reference in New Issue
Block a user