tzapu / WiFiManager

ESP8266 WiFi Connection manager with web captive portal
http://tzapu.com/esp8266-wifi-connection-manager-library-arduino-ide/
MIT License
6.57k stars 1.97k forks source link

refactor: abstract ap scanning #32

Open tablatronix opened 8 years ago

tablatronix commented 8 years ago

Abstract wifi scanning out of handleWifi so it can be called on its own.

Probably need to abstract most of the html outputters so they can be called internally or used to callout to server->sendContent(item); externally.

make the code more portable

tzapu commented 8 years ago

well, do you think there would still be a need for this? there isn t much you can do realy with scanning... also, most users of this lib, i don t think would mess about with html through abstractors, etc

currently to me it just seems a lot of effort with little to no payback

tablatronix commented 8 years ago

I thought you had plans to add templating

tablatronix commented 7 years ago

abstracting scanning needs to be done to allow live ajax scanning updating and prescan so the config page does not have to wait on it