Skip to content

In WiFi STA if static IP is used there is no way to go back to dhcp #1896

Closed
@baruch

Description

@baruch

Basic Infos

When I set static IP I can't go back to dhcp mode unless I reset the esp completely since _useStaticIp is set and cannot be reset in any way.

In addition, if I just set WiFi.config() with all zeros this is considered as using a static ip instead of resetting to dhcp as I would have expected.

Hardware

Hardware: ?ESP-12?
Core Version: ?2.1.0?

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