-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
WiFi.config signature differs from Arduino docs #1168
Comments
dns support where implemented later for ESP. but yes its can be confusing. |
Maybe in an major update this could be done. Just to smooth out some edges. Great work so far, really delighted with this amazing project. |
Btw, is the project following semver? |
I also found this, this troubled me for a long time.can anybody fix it? |
there is no real "fix" since if we change now, we break all existing code on every ESP. |
how about a "version macro" ? like: |
if you define something in the ino file the define not exists in any other cpp file. |
whatever,you will change the function's declaration sooner or later. |
i think that is something we can change when we go to version 3.0.0, |
Just had an idea — we can make transition smooth because it's easy to detect argument order. |
@igrr the check for the octet to choose the argument order interpretation would be done at runtime. How can we deprecate the "bad" order? Maybe print a message to Serial? |
The official Arduino docs state that the WiFi.config signature should look like this:
But for the esp8266 lib it is implemented like:
See ESP8266WiFi.h
This is a little confusing.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: