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
3.0.0-rc1 WiFi not found
-
- Posts: 9
- Joined: Sat Nov 07, 2020 10:02 pm
Re: 3.0.0-rc1 WiFi not found
It's expected:
https://github.com/espressif/arduino-es ... 2051720522Me 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)"
-
- Posts: 9
- Joined: Sat Nov 07, 2020 10:02 pm
Re: 3.0.0-rc1 WiFi not found
Also we do not initialise the wifi interface before requesting it's MAC address so now we have to either access the NetworkManager or begin one of the interfaces first.
See https://github.com/espressif/arduino-esp32/issues/9509
Code: Select all
wifi.macAddress()
Code: Select all
Network.macAddress()
See https://github.com/espressif/arduino-esp32/issues/9509
Who is online
Users browsing this forum: No registered users and 103 guests