These are chat archives for esp8266/Arduino

23rd
Jun 2017
an-erd
@an-erd
Jun 23 2017 19:06
@bertmelis Hi, regarding the stack dump problem w/WiFiMulti.run() above: I checked with the ICACHE_RAM_ATTR, still the same problem.
I also added some time stamps - in WiFiMulti.run() it takes ~4sec between the "connecting" and "connected" debug statement. If there's a ISR called (button pushed), I get an stack trace as described above.
I think it needs to be rewritten to decouple the WiFi.begin() and getting the result in the while loop
an-erd
@an-erd
Jun 23 2017 19:12
// wait for connection or fail
                while(status != WL_CONNECTED && status != WL_NO_SSID_AVAIL && status != WL_CONNECT_FAILED) {
                    delay(10);
                    status = WiFi.status();
                }
Does that make sense?