From 3d5064d27b50ece76b5b5e08186f01800732e1de Mon Sep 17 00:00:00 2001 From: dhruvelectro Date: Wed, 12 Oct 2016 21:14:21 +0530 Subject: [PATCH] Add how to re enable DHCP In WiFi.config, if we pass 0.0.0.0 for all three parameters (as local_ip, gateway and subnet mask), it will re enable the DHCP. We need to re connect the device to get the IP from router. --- doc/esp8266wifi/station-class.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/esp8266wifi/station-class.md b/doc/esp8266wifi/station-class.md index 5d60e6337c..78453e76a6 100644 --- a/doc/esp8266wifi/station-class.md +++ b/doc/esp8266wifi/station-class.md @@ -137,7 +137,7 @@ Connecting to sensor-net . Connected, IP address: 192.168.1.22 ``` -Please note that station with static IP configuration usually connects to the network faster. In the above example it took about 500ms (one dot `.` displayed). This is because obtaining of IP configuration by DHCP client takes time and in this case this step is skipped. +Please note that station with static IP configuration usually connects to the network faster. In the above example it took about 500ms (one dot `.` displayed). This is because obtaining of IP configuration by DHCP client takes time and in this case this step is skipped. If you pass all three parameter as 0.0.0.0 ( local_ip, gateway and subnet), it will re enable DHCP. You need to re connect the device to get new IPs. ### Manage Connection