User's Manual
WizFi320 User Manual
© Copyright 2021 WIZnet Co., Ltd. All rights reserved. 31
+CWDHCPS=<lease time>,<start IP>,<end IP>
OK
Set Command
Function:
Set the IP address range of the ESP SoftAP DHCP server.
Command:
AT+CWDHCPS=<enable>,<lease time>,<start IP>,<end IP>
Response:
OK
Parameters
• <enable>:
o 1: Enable DHCP server settings. The parameters below have
to be set.
o 0: Disable DHCP server settings and use the default IP
address range.
• <lease time>: lease time. Unit: minute. Range [1,2880].
• <start IP>: start IP address of the IP address range that can be obtained
from ESP SoftAP DHCP server.
• <end IP>: end IP address of the IP address range that can be obtained
from ESP SoftAP DHCP server.
Notes
• The configuration changes will be saved in the NVS area
if AT+SYSSTORE=1.
• This AT command works only when both SoftAP and DHCP server are
enabled for ESP devices.
• The IP address should be in the same network segment as the IP address
of ESP SoftAP.
Example
AT+CWDHCPS=1,3,"192.168.4.10","192.168.4.15"
AT+CWDHCPS=0 // Disable the settings and use the default IP address range.
AT+CWAUTOCONN: Automatically Connect to an
AP When Powered on
Set Command










