WIFI AP connection crashes ESP32

rodmcm
Posts: 65
Joined: Sat Sep 02, 2017 3:31 am

WIFI AP connection crashes ESP32

Postby rodmcm » Mon Nov 26, 2018 4:10 am

Downloaded the latest ESP32 to Arduino IDE and found that every time my PC or phone looks for the AP connection then the ESP32 crashes. Usually this is when 'seeking IP Address"
Has anyone had issues with this new version. Any fixes?

paullbart
Posts: 4
Joined: Fri Dec 07, 2018 2:32 am

Re: WIFI AP connection crashes ESP32

Postby paullbart » Sat Dec 08, 2018 7:22 am

Hi
Don't know if you've sorted this yet.
I found by using:

Code: Select all

WiFi.enableAP(true); 
before:

Code: Select all

WiFi.softAP(SSID,PASSWORD)
solved the crashing/rebooting issue. I'm still having an issue where the ESP takes a while to hand out an IP and connect though.

rodmcm
Posts: 65
Joined: Sat Sep 02, 2017 3:31 am

Re: WIFI AP connection crashes ESP32

Postby rodmcm » Mon Dec 24, 2018 8:47 am

Thanks for that

I was using I2C at the same time.. When I removed the I2C the problems went away.. I am convinces that ESP32 is just not a good product if you attempt to use too many features.. So I have split my program into two ESPs, one for WIFI connect and one for logic. Works only because ESP is cheap.

It is interesting to see that for just the WIFI sections changes are still being made to the core program.. if I ran Espressif I would be asking some serious questions!!!

Rod

Who is online

Users browsing this forum: No registered users and 71 guests