Wiznet WizFi320 User Manual page 30

Table of Contents

Advertisement

Parameters
<operate>:
o
o
<mode>:
o
o
<state>: the status of DHCP
o
o
o
Notes
The configuration changes will be saved in the NVS area
if AT+SYSSTORE=1.
This Set Command correlates with the commands that set static IP, such
as
AT+CIPSTA
o
o
o
Example
//
Enable Station
DHCP.
AT+CWDHCP=1,1
//
Disable SoftAP
DHCP.
AT+CWDHCP=0,2
AT+CWDHCPS: Query/Set the IP Addresses
Allocated by an ESP SoftAP DHCP Server
Query Command
Command:
AT+CWDHCPS?
Response:
© Copyright 2021 WIZnet Co., Ltd. All rights reserved.
0: disable
1: enable
Bit0: Station DHCP
Bit1: SoftAP DHCP
Bit0:
0: Station DHCP is disabled.
1: Station DHCP is enabled.
Bit1:
0: SoftAP DHCP is disabled.
1: SoftAP DHCP is enabled.
Bit2 (ESP32 only):
0: Ethernet DHCP is disabled.
1: Ethernet DHCP is enabled.
and AT+CIPAP:
If DHCP is enabled, static IP address will be disabled;
If static IP address is enabled, DHCP will be disabled;
The last configuration overwrites the previous configuration.
If the last DHCP mode
If the last DHCP mode
WizFi320 User Manual
is
2, the current DHCP mode will be
is
3, the current DHCP mode will be
3.
1.
30

Advertisement

Table of Contents
loading

Table of Contents