Hi ESP32-friends.
I set wireless module is set to "AP+STA mode" and connected to an external device as an AP, the process of connecting to the router as an STA is being performed.(fro ESP32-S3 / IDF 5.1)
When connecting to the router as an STA, if the wrong router SSID and KEY are entered and the process of reconnecting is performed, a WIFI_EVENT_AP_STADISCONNECTED event may occur midway, and the AP connected to the external device may be disconnected.
When operating in AP+STA mode, will the operation become unstable and be disconnected?
The Wi-Fi Reason Code for WIFI_EVENT_AP_STADISCONNECTED was AUTH_EXPIRE, but is there a possibility that it may occur for reasons other than those listed in the manual?
For the ESP AP, this reason is reported when:
・the AP has not received any packets from the station in the past five minutes.
・the AP is stopped by calling esp_wifi_stop().
・the station is de-authed by calling esp_wifi_deauth_sta().
When entering the wrong router SSID-KEY in AP+STA mode, the AP side is disconnected.
-
- Posts: 8
- Joined: Wed Oct 12, 2022 5:16 am
Who is online
Users browsing this forum: Bing [Bot] and 230 guests