Page 1 of 1

ESP32 WiFi doesn't connect with SDK 2.0.14

Posted: Mon Feb 19, 2024 4:35 pm
by AndyCoder
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?

Re: ESP32 WiFi doesn't connect with SDK 2.0.14

Posted: Wed Apr 24, 2024 8:11 pm
by AndyCoder