Page 1 of 1

3.0.0-rc1 WiFi not found

Posted: Fri Apr 12, 2024 12:24 pm
by tyethgundry
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

Re: 3.0.0-rc1 WiFi not found

Posted: Fri Apr 12, 2024 1:05 pm
by tyethgundry
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

Re: 3.0.0-rc1 WiFi not found

Posted: Mon Apr 15, 2024 1:19 pm
by tyethgundry
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