User's Manual

WizFi360 User Manual
Commands
AT+CWDHCP_CUR? AT+CWDHCP_CUR=<mode>,<en>
Response
DHCP disabled or enabled now OK
Parameters
Bit0:
0:SoftAP DHCP is disabled
<mode>:
0: Sets WizFi360 SoftAP
enabled.
10.2.2.13. AT+CWQAP Disconnect from the AP
Commands
AT+C WQ AP
Response
OK
Parameters
-
10.2.2.14. AT+CWDHCP Enables/Disables DHCP
Commands
AT+CWDHCP? AT+CWDHCP=<mode>,<en>
Response
DHCP disabled or enabled now OK
Parameters
Bit0:
0:SoftAP DHCP is disabled
1:SoftAP DHCP is enabled
Bit1:
0:Station DHCP is disabled
1:Station DHCP is enabled
<mode>:
0: Sets WizFi360 SoftAP
1: Sets WizFi360 Station
2: Sets WizFi360 SoftAP and
Station
<en>:
0: Disables DHCP
1: Enable DHCP
Notes
The configuration changes will be saved in flash.
This Set Command interacts with static-IP-related AT commands
(AT+CIPSTA-related and AT+CIPA-related commands
- If DHCP is enabled, static IP will be disabled;
- If static IP is enabled, DHCP will be disabled;
- Whether it is DHCP or static IP that is enabled depends on the last
configuration.
Example
AT+CWDHCP=0,1
10.2.2.15. AT+CWDHCP_CUR Enables/Disables DHCP; Configuration Not
Saved in the Flash