Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
#84557 Hello friends, see if someone has happened to you.

In an esp8266 that is in STA mode I change it to AP mode and it works fine, but when I try to change it back to STA mode it doesn't connect to Wi-Fi.

I have to restart it and put it in STA mode and then it connects without problems.

The code is fine, because I use it when I restart it and it connects.

I tried a lot of things without result.

Greetings and thank you.
User avatar
#84568 Yes, and nothing.

STA to AP mode is fine, but if I am in AP and pass it to STA it does not connect to Wi-Fi.

I've tried changing modes directly, turning off the chip's Wi-Fi, activating it and setting it to STA and nothing.

If I restart it works fine in any mode.

I have tried several ESPs and the same result.

I use the library version ESP8266 Arduino Core ESP 2.50.