3.0.0-rc1 WiFi not found

tyethgundry
Posts: 9
Joined: Sat Nov 07, 2020 10:02 pm

3.0.0-rc1 WiFi not found

Postby tyethgundry » Fri Apr 12, 2024 12:24 pm

Hey, we used to get WiFi included by including #include <WiFiClientSecure.h> but since RC1 (we were using alpha3) there are CI errors.
Adding #include "WiFi.h" resolves it, but is this necessary, or a regression?

https://github.com/adafruit/Adafruit_Wi ... tep:11:197

tyethgundry
Posts: 9
Joined: Sat Nov 07, 2020 10:02 pm

Re: 3.0.0-rc1 WiFi not found

Postby tyethgundry » Fri Apr 12, 2024 1:05 pm

It's expected:
Me No Dev:
"There will be docs. Reason is that WiFiClientSecure can now work on chips without WiFi, so it is not included by default. The whole network interface layer has changed to support H2 (and P4) and to also equalize all network interfaces (with PPP also on the way)"
https://github.com/espressif/arduino-es ... 2051720522

tyethgundry
Posts: 9
Joined: Sat Nov 07, 2020 10:02 pm

Re: 3.0.0-rc1 WiFi not found

Postby tyethgundry » Mon Apr 15, 2024 1:19 pm

Also we do not initialise the wifi interface before requesting it's MAC address

Code: Select all

wifi.macAddress()
so now we have to either access the NetworkManager

Code: Select all

Network.macAddress()
or begin one of the interfaces first.

See https://github.com/espressif/arduino-esp32/issues/9509

Who is online

Users browsing this forum: No registered users and 25 guests