You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got problem connecting and got wrong password as response from my Android phone. When using com0 to read the debug messages I saw a restart every time I tried to connect. I tried to flash and also emptied the flash in the ESP32 before uploading the code again. I'm using Arduino IDE. The error message I saw was WiFi.softAPIP() causes Core 0 panic'ed (InstrFetchProhibited)
When searching for the message I found a discussion about timing issue. So I tried some different suggestion and found a working solution with a added delay and moving the softAPConfig line to run after the delay. Thanks AlphaLima for providing the original code, great for me flying sailplane and using Kobo with XCSoar.
Below is the part I changed. Might be useful for someone with same problem.
My HW is a Espressif ESP32 WLAN Dev Kit Board Development Bluetooth Wifi v1 WROOM32 NodeMCU.
if(debug) COM[DEBUG_COM]->println("\n\nWiFi serial bridge V1.10");
#ifdef MODE_AP
if(debug) COM[DEBUG_COM]->println("Open ESP Access Point mode");
// AP mode (phone connects directly to ESP) (no router)
WiFi.mode(WIFI_AP);
// WiFi.softAPConfig(ip, ip, netmask); // configure ip address for softAP // workaround mj
WiFi.softAP(ssid, pw); // configure ssid and password for softAP
delay(2000); // workaround mj
WiFi.softAPConfig(ip, ip, netmask); // configure ip address for softAP
#endif
The text was updated successfully, but these errors were encountered:
I got problem connecting and got wrong password as response from my Android phone. When using com0 to read the debug messages I saw a restart every time I tried to connect. I tried to flash and also emptied the flash in the ESP32 before uploading the code again. I'm using Arduino IDE. The error message I saw was
WiFi.softAPIP() causes Core 0 panic'ed (InstrFetchProhibited)
When searching for the message I found a discussion about timing issue. So I tried some different suggestion and found a working solution with a added delay and moving the softAPConfig line to run after the delay. Thanks AlphaLima for providing the original code, great for me flying sailplane and using Kobo with XCSoar.
Below is the part I changed. Might be useful for someone with same problem.
My HW is a Espressif ESP32 WLAN Dev Kit Board Development Bluetooth Wifi v1 WROOM32 NodeMCU.
The text was updated successfully, but these errors were encountered: