-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ESP_IDF 5.1] Add support for ESP_IDF 5.1 (ESP32 Arduino SDK 3.x) #4841
Conversation
src/src/WebServer/AccessControl.cpp
Outdated
return ip.v4() <= high.v4(); | ||
// FIXME TD-er: Must check whether both are of same type and check full range IPv6 | ||
for (int i = 0; i < 4; ++i) { | ||
if (ip[i] != ip[i]) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo? I'd expect if (ip[i] != high[i]) {
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep typo, thanks
@@ -43,6 +43,9 @@ struct EthernetEventData_t { | |||
|
|||
|
|||
void markGotIP(); | |||
#if FEATURE_USE_IPV6 | |||
void martGotIP6(const IPAddress& ip6); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd expected that toe be named markGotIPv6
, perhaps? (so, with a k
instead of a t
, and maybe a v
inserted ?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nah, Mart got the 6th IP, that's all... ;)
In 20230505 build some extra data was added which was not present on older builds. However this data is being used as an extra check for validity of data. So ESPEasy should not check for these on packets received from nodes running an older build.
Yesterday Arduino for ESP32 moved on to ESP IDF 5.1
This means a lot of changes are needed to support this new IDF.
Also we can't use SPIFFS anymore, so this migration may be partially at first.
ToDo:
webserver.client().remoteIP()
does not work anymore)Now with WiFi6 support (802.11ax) for ESP32-C6:
It would be greatly appreciated if someone else could also test some of the builds based on this PR.
GH Actions builds are uploaded to the 'latest' web flasher location
N.B. Only the ESP32 LittleFS bin files are based on IDF5.1