Skip to content

WiFi.config signature differs from Arduino docs #1168

Closed
@FWeinb

Description

@FWeinb

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions