User's Manual
WizFi320 User Manual
© Copyright 2021 WIZnet Co., Ltd. All rights reserved. 17
Query the Wi-Fi mode of ESP devices.
Command:
AT+CWMODE?
Response:
+CWMODE:<mode>
OK
Set Command
Function:
Set the Wi-Fi mode of ESP devices.
Command:
AT+CWMODE=<mode>[,<auto_connect>]
Response:
OK
Parameters
• <mode>:
o 0: Null mode. Wi-Fi RF will be disabled.
o 1: Station mode.
o 2: SoftAP mode.
o 3: SoftAP+Station mode.
• <auto_connect>: Enable or disable automatic connection to an AP when
you change the mode of the ESP device from the SoftAP mode or null
mode to the station mode or the SoftAP+Station mode. Default: 1. If you
omit the parameter, the default value will be used, i.e. automatically
connecting to an AP.
o 0: The ESP device will not automatically connect to an AP.
o 1: The ESP device will automatically connect to an AP if the
configuration to connect to the AP has already been saved in
flash before.
Note
• The configuration changes will be saved in the NVS area
if AT+SYSSTORE=1.










