Integrated changed for new wifimgr

This commit is contained in:
Magnus Persson
2022-01-10 10:27:24 +01:00
parent 4ff114642e
commit 93d9effcef
4 changed files with 120 additions and 143 deletions

View File

@ -25,7 +25,6 @@ SOFTWARE.
#define SRC_WIFI_HPP_
// Include
//#include <ESP8266WiFi.h>
#include <Arduino.h>
// classes
@ -41,15 +40,16 @@ class WifiConnection {
public:
// WIFI
WifiConnection();
bool connect();
bool disconnect();
bool isConnected();
bool isDoubleResetDetected();
void stopDoubleReset();
bool hasConfig();
bool connect();
bool disconnect();
bool isConnected();
bool isDoubleResetDetected();
void stopDoubleReset();
bool hasConfig();
String getIPAddress();
void startPortal();
void loop();
void startPortal();
void loop();
// OTA
bool updateFirmware();