Instructions
" " ! "  
 Espressif Systems
ESP8266 
AT Instruction Set
17.
AT+CWDHCPS_CUR – Set the IP address allocated by ESP8266 soft-AP DHCP, does 
not save to flash 
This AT command is enabled when ESP8266 runs as soft-AP, and when DHCP server is running 
normally. The IP address should be on the same network segment with the IP address of ESP8266 
soft-AP. Configuration changes will not be stored in flash.!
AT+CWDHCPS_CUR – Set the IP address allocated by ESP8266 soft-AP DHCP, not to be stored 
in flash
Example
AT+CWDHCPS_CUR=1, 3, "192.168.4.10", "192.168.4.15" 
or 
AT+CWDHCPS_CUR=0 // Disable the settings and use the default IP range.
Command
AT+CWDHCPS_CUR?
Response
+CWDHCPS_CUR=<lease time>, <start IP>, <end IP>
Parameters
<enable> 
0 : Disable the settings and use the default IP range. 
1: Enable setting the IP range, parameters below have to be set. 
<lease time> the unit of lease time is minute, range [1, 2880] 
<start IP>  
start IP of the IP range that can be obtained from ESP8266 soft-AP DHCP 
server 
<end IP> 
 end IP of the IP range that can be obtained from ESP8266 soft-AP DHCP 
server
Command
AT+CWDHCPS_CUR=<enable>, <lease time>, <start IP>, <end IP>
Response
OK
Parameters
The same as above.
Espressif Systems   /   Friday, July 15, 201638 73










