When in "AP+STA mode" & "incorrect router SSID and KEY are entered" & "reconnection is performed", -> AP disconnect.

Okoshi Hiroaki
Posts: 8
Joined: Wed Oct 12, 2022 5:16 am

When in "AP+STA mode" & "incorrect router SSID and KEY are entered" & "reconnection is performed", -> AP disconnect.

Postby Okoshi Hiroaki » Sun Aug 04, 2024 1:06 pm

When the 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 a STA is being carried out.

When connecting to the router as a STA, if the incorrect router SSID and KEY are entered and the process is carried out to reconnect, 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 operation become unstable and cause a disconnection?
The Wi-Fi Reason Code for WIFI_EVENT_AP_STADISCONNECTED was AUTH_EXPIRE, but is there a possibility that this may occur for reasons other than those listed below 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().

Who is online

Users browsing this forum: No registered users and 329 guests