src/WiFiManager.cpp
/*

Process

* Start in AP + STA mode
* Start a background scan for networks
* Once scan complete, look for matches to configured networks (priority order)
* If match found, try to connect
* If failed, try other matches
* when run out of matches and not connected, repeat background scan every xx seconds

* Leave in AP + STA mode, to allow backup configuration process and local connectivity

*/
Process
Start in AP + STA mode
Start a background scan for networks
Once scan complete, look for matches to configured networks (priority order)
If match found, try to connect
If failed, try other matches
when run out of matches and not connected, repeat background scan every xx seconds

Leave in AP + STA mode, to allow backup configuration process and local connectivity
Process Start in AP + STA mode Start a background scan for networks Once scan complete look for matches to configured networks ( priority order ) If match found try to connect If failed try other matches when run out of matches and not connected repeat background scan every xx seconds Leave in AP + STA mode to allow backup configuration process and local connectivity
WiFiManager::WiFiManager() {
  _taskCore = 1;
  _taskPriority = 1;
  _connectionCounter = 0;
  _APMode = true;
  _scanActive = false;
  _attemptingConnection = false;
  _enabled = true;
}
WiFiManager :: WiFiManager ( ) { _taskCore = 1 ; _taskPriority = 1 ; _connectionCounter = 0 ; _APMode = true ; _scanActive = false ; _attemptingConnection = false ; _enabled = true ; }
Process
Start in AP + STA mode
Start a background scan for networks
Once scan complete, look for matches to configured networks (priority order)
If match found, try to connect
If failed, try other matches
when run out of matches and not connected, repeat background scan every xx seconds
Process Start in AP + STA mode Start a background scan for networks Once scan complete look for matches to configured networks ( priority order ) If match found try to connect If failed try other matches when run out of matches and not connected repeat background scan every xx seconds