- Wed Jun 10, 2020 5:47 am
#87488
If I'm not mistaken, by default AP mode is enabled in the original AT-commmand firmware when an ESP comes from the factory.
The ESP actually has two code "Threads" running: the WiFi core and the firmware you put into it (for instance made with Arduino); the latter one talks (instructs and listens) to the former core.
If the WiFi core is still in AP mode, it will behave like this until it's told otherwise.
Having two cores is also the reason why you have to prevent tight loops in your code by inserting a delay() or a yield() into (some) loops to let the WiFi core breathe, otherwise you will get watchdog resets.
Assumption is the mother of all f*ckups. At least: that's what I'm assuming.