We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The disconnect event handler attempts to reconnect after auth failure errors, which can block forever:
nina-fw/arduino/libraries/WiFi/src/WiFi.cpp
Line 763 in feca160
We should just follow the example from IDF here:
https://github.com/espressif/esp-idf/blob/v5.1.2/components/wifi_provisioning/src/manager.c#L952
switch (disconnected->reason) { case WIFI_REASON_AUTH_EXPIRE: case WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT: case WIFI_REASON_AUTH_FAIL: case WIFI_REASON_HANDSHAKE_TIMEOUT: case WIFI_REASON_MIC_FAILURE: ESP_LOGE(TAG, "STA Auth Error"); prov_ctx->wifi_disconnect_reason = WIFI_PROV_STA_AUTH_ERROR; break; case WIFI_REASON_NO_AP_FOUND: ESP_LOGE(TAG, "STA AP Not found"); prov_ctx->wifi_disconnect_reason = WIFI_PROV_STA_AP_NOT_FOUND; break; default: /* If none of the expected reasons, retry connecting to host SSID */ prov_ctx->wifi_state = WIFI_PROV_STA_CONNECTING; esp_wifi_connect(); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The disconnect event handler attempts to reconnect after auth failure errors, which can block forever:
nina-fw/arduino/libraries/WiFi/src/WiFi.cpp
Line 763 in feca160
We should just follow the example from IDF here:
https://github.com/espressif/esp-idf/blob/v5.1.2/components/wifi_provisioning/src/manager.c#L952
The text was updated successfully, but these errors were encountered: