ESP32 WiFi doesn't connect with SDK 2.0.14

AndyCoder
Posts: 4
Joined: Mon Feb 19, 2024 4:32 pm

ESP32 WiFi doesn't connect with SDK 2.0.14

Postby AndyCoder » Mon Feb 19, 2024 4:35 pm

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?

AndyCoder
Posts: 4
Joined: Mon Feb 19, 2024 4:32 pm

Re: ESP32 WiFi doesn't connect with SDK 2.0.14

Postby AndyCoder » Wed Apr 24, 2024 8:11 pm


Who is online

Users browsing this forum: Majestic-12 [Bot] and 232 guests