ESP32 WiFi doesn't connect with any SDK 2.x but 1.0.6 works

hi,

i'm trying to connect to WiFi with my ESP32 WROOM
Using Arduino IDE 2.3.1 with esp32 board package 2.0.14 on (ubuntu linux)

example from ~/.arduino15/packages/esp32/hardware/esp32/2.0.14/libraries/WiFi/examples/WiFiClientConnect/WiFiClientConnect.ino
(changed only the ssid + password)

it compiles, uploads, serial monitor shows:
[WiFi] WiFi Status: 0
[WiFi] WiFi Status: 0
[WiFi] WiFi Status: 0
[WiFi] Failed to connect to WiFi!

it's the same with 2.0.7, 2.0.0

but with 1.0.6 it works, always the same code, different serial output:

[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi Status: 0
[WiFi] WiFi is connected!
[WiFi] IP address: 192.168.2.102

not sure how to debug this
anything i can do to make WiFi work with 2.0.14?

https://docs.espressif.com/projects/arduino-esp32/en/latest/troubleshooting.html#id3
this helped

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.