At+Cwdhcp - Enable/Disable Dhcp - Espressif Systems ESP8266 At Instruction Set

Hide thumbs Also See for ESP8266:
Table of Contents

Advertisement

Espressif Systems
"
"
14. AT+CWDHCP – Enable/Disable DHCP
AT+ CWDHCP – Enable/Disable DHCP
[@deprecated]. Please use AT+CWDHCP_CUR or AT+CWDHCP_DEF instead.
Command
AT+CWDHCP?
Response
DHCP disabled or enabled now?
Bit0 : 0 - soft-AP DHCP disabled
Parameters
bit1 : 0 - station DHCP disabled
Command
AT+CWDHCP=<mode>, <en>
Response
OK
<mode>
Parameters
<en>
• Configuration changes will be stored in flash user parameter area.
• This configuration interacts with static IP related AT commands
Notes
Espressif Systems
"
1 - soft-AP DHCP enabled
1 - station DHCP enabled
0 : set ESP8266 soft-AP
1 : set ESP8266 station
2 : set both softAP and station
0 : Disable DHCP
1 : Enable DHCP
related and
AT+CIPAP
If DHCP is enabled, static IP will be disabled;
If static IP is enabled, DHCP will be disabled;
This will depend on the last configuration.
related):
35 73
/
ESP8266
AT Instruction Set
(AT+CIPSTA
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

Table of Contents