Skip to content

WiFi.Config() setting wrong IP Address #540

@brycebot

Description

@brycebot

The following issue is present for me when using WiFi.config.
Code:


IPAddress chipIP = (192,168,10,22); 
WiFi.config(chipIP,WiFi.gatewayIP(),WiFi.subnetMask());

Result of code is:

IP Address: 22.0.0.0

Seems like every number I put in the last parameter of IPAddress is assigned as the first number of the new IP address, all other parameters are discarded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions