Files
micheleandClaude Sonnet 5 ffc1774a7a Fix STA Wi-Fi join rejected on WPA2-only routers
StaClient hardcoded the connection authmode threshold to
WIFI_AUTH_WPA2_WPA3_PSK, which ESP-IDF rejects unless the AP itself
advertises WPA2/WPA3 transition mode. A plain WPA2-PSK router (no WPA3)
was silently refused every retry ("authmode threshold failure") and
the device never joined. Lower the threshold to WIFI_AUTH_WPA2_PSK,
which still requires a password but accepts WPA2-only APs.

Verified over serial monitor: STA joined APUACOM_E10C8E and obtained
an IP within ~1s of association, no more disconnect/retry loop.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LSn46SmzX9hoDPMNWhg6D4
2026-09-09 21:03:57 +02:00
..