Page 1 of 1

ESP32-WROOM-32 Work As AP

Posted: Fri Jun 28, 2019 2:07 am
by nick.yao
When using ESP32 as a hotspot, if you connect the module with an Android phone or a computer, the module can detect that the Android phone/computer is disconnected when disconnected. But with the Apple phone connection module, when disconnected, the module seems to often fail to detect that the Apple phone is disconnected. It is observed by printing debug information through the SYSTEM_EVENT_AP_STADISCONNECTED event.
The problem caused by this is that when setting up only one STA connection module, even if the Apple mobile phone has turned off WIFI, other mobile phones cannot connect to the module.
Has anyone encountered the same problem as me?

Re: ESP32-WROOM-32 Work As AP

Posted: Fri Jul 05, 2019 8:53 am
by nick.yao
Is anybody know why?

Re: ESP32-WROOM-32 Work As AP

Posted: Wed Jul 17, 2019 11:15 am
by nick.yao
By submitting an error to espressif officially, I received the following reply:
I found out that this was because the iPhone did not send a deauth packet when the wifi was turned off, causing 32 unable to detect that the phone was disconnected. When ESP32 is used as Ap, if the STA does not receive data for more than 5 minutes , the STA will be actively kicked out.