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?
ESP32-WROOM-32 Work As AP
Re: ESP32-WROOM-32 Work As AP
Is anybody know why?
Re: ESP32-WROOM-32 Work As AP
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.
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: Baidu [Spider] and 62 guests