Closed
Description
The official Arduino docs state that the WiFi.config signature should look like this:
WiFi.config(ip);
WiFi.config(ip, dns);
WiFi.config(ip, dns, gateway);
WiFi.config(ip, dns, gateway, subnet);
But for the esp8266 lib it is implemented like:
WiFi.config(ip);
WiFi.config(ip, gateway, subnet, dns);
See ESP8266WiFi.h
This is a little confusing.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.