Page 1 of 1

Which core controls the wifi connection?

Posted: Sun Apr 21, 2019 12:35 pm
by Glebiys
Hi,

I have ESP32-DevKit board. Which core control the wifi connection? I create a sketch with a flashing LED and connect to the Wifi network. When I turned off the Wi-Fi router, I noticed a failure in the blinking of the LED. As soon as the ESP connects to the network, the blinks are restored.
In the loop, I will use important functions that should not be subject to such a hang. I thought that the work of Wifi goes to core0, and the loop to core1, which speaks of independent processes.
Idea?

Alex

Re: Which core controls the wifi connection?

Posted: Mon Apr 22, 2019 12:15 am
by boarchuz
Core 0, but I assure you that's not at all relevant here.

Perhaps post some code? There will be something in your loop() that is blocking waiting for a WiFi connection.