Advanced Users can post their questions and comments here for the not so Newbie crowd.

Moderator: eriksl

User avatar
By esp8266_abc
#84546 Hi,

I have two ESP8266 modules, both are in STA+AP mode. Either one connecting a third part router, will never encounter frequent disconnection.

However, once I bring one module connecting to another one (both still in STA+AP mode), frequent disconnection will repeat in a period of around 20s (with auto reconnection shortly sure). I check the disconnection event, and find disconnected.reason == 4, that is, REASON_ASSOC_EXPIRE.

If I change the module connecting to the other one from original STA+AP mode into STA-only mode, and connect it to the other module in STA+AP mode, there will be no frequent disconnection anymore.

What might be the reason, and how to solve it?

Thanks in advance!