At+Cwdhcps_Cur - Set The Ip Address Allocated By Esp8266 Soft-Ap Dhcp, Does Not Save To Flash - Espressif Systems ESP8266 At Instruction Set

Hide thumbs Also See for ESP8266:
Table of Contents

Advertisement

Espressif Systems
"
"
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
AT+CWDHCPS_CUR=1, 3, "192.168.4.10", "192.168.4.15"
Example
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>
<enable>
<lease time>
<start IP>
Parameters
<end IP>
Command
AT+CWDHCPS_CUR=<enable>, <lease time>, <start IP>, <end IP>
Response
OK
Parameters
The same as above.
Espressif Systems
"
0 : Disable the settings and use the default IP range.
1: Enable setting the IP range, parameters below have to be set.
the unit of lease time is minute, range [1, 2880]
start IP of the IP range that can be obtained from ESP8266 soft-AP DHCP
server
end IP of the IP range that can be obtained from ESP8266 soft-AP DHCP
server
38 73
/
ESP8266
AT Instruction Set
Friday, July 15, 2016

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP8266 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents