Skip to content

Conversation

atanisoft
Copy link
Collaborator

Fixing static IP configuration so it doesn't get overwritten by DHCP as part of WiFi.begin().

Fixing DHCP client stop if WiFi.config() is called before WiFi.begin() (as done in WiFiClientStaticIP.ino)

…as part of WiFi.begin().

Fixing DHCP client stop if WiFi.config() is called before WiFi.begin() (as done in WiFiClientStaticIP.ino)
@hasenradball
Copy link

What were happend if I had first called ‚WiFi.begin()‘ and then WiFi.config()?

@atanisoft
Copy link
Collaborator Author

What were happend if I had first called ‚WiFi.begin()‘ and then WiFi.config()?

You will have a DHCP address once connected to the AP and after calling WiFi.config() it should have your static IP.

@me-no-dev me-no-dev merged commit 11cad87 into espressif:esp32s2 Jun 22, 2020
me-no-dev pushed a commit that referenced this pull request Nov 3, 2020
…as part of WiFi.begin(). (#4103)

Fixing DHCP client stop if WiFi.config() is called before WiFi.begin() (as done in WiFiClientStaticIP.ino)
me-no-dev pushed a commit that referenced this pull request Mar 31, 2021
…as part of WiFi.begin(). (#4103)

Fixing DHCP client stop if WiFi.config() is called before WiFi.begin() (as done in WiFiClientStaticIP.ino)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants