From 69e08e78712ab2f6a1ceb1be0a07e8b0a2cdef92 Mon Sep 17 00:00:00 2001 From: tablatronix Date: Fri, 9 Nov 2018 14:19:30 -0600 Subject: [PATCH] add input accepttype --- WiFiManager.cpp | 4 ++-- examples/DEV/OnDemandConfigPortal/OnDemandConfigPortal.ino | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WiFiManager.cpp b/WiFiManager.cpp index ace65a8..2781f03 100644 --- a/WiFiManager.cpp +++ b/WiFiManager.cpp @@ -2722,10 +2722,10 @@ void WiFiManager::handleUpdating(){ // cannot upload if softreset after upload, maybe check for hard reset at least for dev, ERROR[11]: Invalid bootstrapping state, reset ESP8266 before updating // add upload status to webpage somehow // abort upload if error detected ? - // supress cp timeout on upload, so it doesnt keep uploading? + // [x] supress cp timeout on upload, so it doesnt keep uploading? // add progress handler for debugging // combine route handlers into one callback and use argument or post checking instead of mutiple functions maybe, if POST process else server upload page? - // add upload checking, do we need too check file? + // [x] add upload checking, do we need too check file? // convert output to debugger if not moving to example if (captivePortal()) return; // If captive portal redirect instead of displaying the page bool error = false; diff --git a/examples/DEV/OnDemandConfigPortal/OnDemandConfigPortal.ino b/examples/DEV/OnDemandConfigPortal/OnDemandConfigPortal.ino index 4e14584..c90aae3 100644 --- a/examples/DEV/OnDemandConfigPortal/OnDemandConfigPortal.ino +++ b/examples/DEV/OnDemandConfigPortal/OnDemandConfigPortal.ino @@ -113,7 +113,7 @@ void setup() { // wm.setCountry("US"); - wm.setConfigPortalTimeout(120); + // wm.setConfigPortalTimeout(120); // wm.startConfigPortal("AutoConnectAP", "password"); //fetches ssid and pass and tries to connect