You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WiFi credentials added and device rebooted. Succesfully joins wifi in STA mode, but disconnects almost immediately. Router logs show nothing obvious (DHCP conflicts, blocked MAC).
UART logs show errors and looping but failing to maintain a connection. WiFi coverage is acceptable (no issues with other devices on same AP).
Thanks for the log — it points at the SSID, not the signal.
The device never associates: there is no connected with and no got IP, only WiFi STA disconnected repeating until AP fallback. So it is a failure to join rather than a drop
after joining.
The configured SSID is 5GHz, and the ESP32-S31 is 2.4 GHz only — its datasheet gives the radio
as 2412-2484 MHz, and ESP-IDF defines SOC_WIFI_SUPPORT_5G for the ESP32-C5 alone. The boot line band mode:0x1 is WIFI_BAND_MODE_2G_ONLY, the only value this chip can report. (The S31 is
Wi-Fi 6 — but 802.11ax is a protocol generation, not a band.)
If your AP publishes separate SSIDs per band, provision the 2.4 GHz one. A single band-steering
SSID should just work.
Our side of this: the log said only WiFi STA disconnected, which reads exactly like a weak-signal
drop — ESP-IDF supplies a reason code with that event and we were discarding it. Next build logs it:
WiFi STA disconnected, reason 201 (no AP with that SSID — wrong name, or a 5 GHz-only network: ESP32 is 2.4 GHz) — reconnecting (attempt 1)
Activity
wompslab commentedon Aug 20, 2026
@ewowi - closed in error, unable to attach log - maybe you will have better luck - https://cdn.discordapp.com/attachments/1513874957564903584/1539762760336806010/ESP-ROMesp32s31-20251218-wifi-stability?ex=6a882811&is=6a86d691&hm=546f0b7a0ccf1dc86a2a083ec3c31938f168d1608f1bebd8b36dfebaa13a5bbf&
MoonModules commentedon Aug 20, 2026
Full serial log (755 lines) — 4x: STA init on SSID
5GHz, 4 disconnects, softAP fallbackewowi commentedon Aug 20, 2026
Thanks for the log — it points at the SSID, not the signal.
The device never associates: there is no
connected withand nogot IP, onlyWiFi STA disconnectedrepeating until AP fallback. So it is a failure to join rather than a dropafter joining.
The configured SSID is
5GHz, and the ESP32-S31 is 2.4 GHz only — its datasheet gives the radioas 2412-2484 MHz, and ESP-IDF defines
SOC_WIFI_SUPPORT_5Gfor the ESP32-C5 alone. The boot lineband mode:0x1isWIFI_BAND_MODE_2G_ONLY, the only value this chip can report. (The S31 isWi-Fi 6 — but 802.11ax is a protocol generation, not a band.)
If your AP publishes separate SSIDs per band, provision the 2.4 GHz one. A single band-steering
SSID should just work.
Our side of this: the log said only
WiFi STA disconnected, which reads exactly like a weak-signaldrop — ESP-IDF supplies a reason code with that event and we were discarding it. Next build logs it:
Network receive stops copying a frame nothing changed
MoonModules commentedon Sep 4, 2026
Can we close this, it was a 5ghz issue wasn't it?
ewowi commentedon Oct 5, 2026
Closing, as this turned out to be the 5 GHz band rather than MoonLight. Please reopen if the station still drops on 2.4 GHz.