Refactor main to prepare for wifimgr lite
This commit is contained in:
@ -40,10 +40,13 @@ class Wifi {
|
||||
|
||||
public:
|
||||
// WIFI
|
||||
bool connect(bool showPortal = false);
|
||||
bool connect();
|
||||
bool disconnect();
|
||||
bool isConnected() { return connectedFlag; }
|
||||
bool hasConfig();
|
||||
String getIPAddress() { return WiFi.localIP().toString(); }
|
||||
bool startPortal();
|
||||
void portalLoop();
|
||||
|
||||
// OTA
|
||||
bool updateFirmware();
|
||||
|
Reference in New Issue
Block a user