-
Notifications
You must be signed in to change notification settings - Fork 13.3k
issues with IPv6 patch & IPAddress changes #5406
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
Comments
@d-a-v - tnx for open this issue :) detailed compile errors for thingspeak->ReadField example:
|
The same problem for me. Unable to compile project with my Syslog library:
|
#5409 will fix these issues.
There is no hack in #5409 thus no wrappers are needed (yet, and that's nice). |
Fixed via #5409 . Please open a new issue if there are further compile problems. |
It is not fixed yet, |
Examples fromEspAsyncTCP, ThingSpeak and Syslog now compile fine with #5416. |
Closing via #5416 . |
Basic Infos
Platform
Settings in IDE
Problem Description
Track issues from IPv6 + IPAddress changes
ref: 5c4db3a#commitcomment-31519816
@reaper7
Identified issues are:
struct ip_addr
which is espressif and not lwIP.This structure has been renamed to
struct ipv4_addr
within the SDK which is stuck to lwIP-v1.4.struct ip_addr_t
is the real name of that structure, but in arduinoIPAddress
should always be used.ipaddr->addr
is stuck to IPv4. It could be changed toip_2_ip4(ipaddr)->addr
with (this is defined in newer IPAddress.h but is needed for older cores):
IPAddress(ipaddr)
should be used anywhere, thus generic, simple and portable wrappers should be proposed for external libraries to keep compatibility with older cores, and IPv6 at the same time (IPv6 is costless when using IPAddress)INADDR_NONE
should be restored as it was (sorry for that,IPNoAddress
was an intermediary change that I forgot to revert)MCVE Sketch
TBD, using at least EspAsyncTCP library, thingspeak library
The text was updated successfully, but these errors were encountered: