ESP32-WROOM-32 Work As AP

nick.yao
Posts: 14
Joined: Mon May 13, 2019 11:23 am

ESP32-WROOM-32 Work As AP

Postby nick.yao » Fri Jun 28, 2019 2:07 am

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?

nick.yao
Posts: 14
Joined: Mon May 13, 2019 11:23 am

Re: ESP32-WROOM-32 Work As AP

Postby nick.yao » Fri Jul 05, 2019 8:53 am

Is anybody know why?

nick.yao
Posts: 14
Joined: Mon May 13, 2019 11:23 am

Re: ESP32-WROOM-32 Work As AP

Postby nick.yao » Wed Jul 17, 2019 11:15 am

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.

Who is online

Users browsing this forum: Bing [Bot], Gilbert and 97 guests