Wiznet WizFi320 User Manual page 31

Table of Contents

Advertisement

+CWDHCPS=<lease time>,<start IP>,<end
OK
Set Command
Function:
Set the IP address range of the ESP SoftAP DHCP server.
Command:
AT+CWDHCPS=<enable>,<lease time>,<start IP>,<end
Response:
OK
Parameters
<enable>:
o
o
<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
AT+CWAUTOCONN: Automatically Connect to an
AP When Powered on
Set Command
© Copyright 2021 WIZnet Co., Ltd. All rights reserved.
IP>
1: Enable DHCP server settings. The parameters below have
to be set.
0: Disable DHCP server settings and use the default IP
address range.
and
use the default IP address
WizFi320 User Manual
IP>
range.
31

Advertisement

Table of Contents
loading

Table of Contents