From 87ec3c8d8d7203cccfbd6972144ddbc43d816c32 Mon Sep 17 00:00:00 2001 From: Christophe Painchaud Date: Thu, 28 Jan 2021 18:13:09 +0100 Subject: [PATCH] adding WifiManager::isConfigPortalActive() abd WifiManager::isWebPortalActive() --- WiFiManager.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/WiFiManager.h b/WiFiManager.h index 7e56cae..944dab5 100644 --- a/WiFiManager.h +++ b/WiFiManager.h @@ -640,6 +640,10 @@ class WiFiManager // DEBUG_WM("NO fromString METHOD ON IPAddress, you need ESP8266 core 2.1.0 or newer for Custom IP configuration to work."); return false; } + + public: + inline bool isConfigPortalActive() { return configPortalActive; } + inline bool isWebPortalActive() { return webPortalActive; } }; #endif