Wiznet WizFi320 User Manual page 18

Table of Contents

Advertisement

Example
AT+CWMODE=3
AT+CWSTATE: Query the Wi-Fi state and Wi-Fi
information
Query Command
Function:
Query the Wi-Fi state and Wi-Fi information of ESP devices.
Command:
AT+CWSTATE?
Response:
+CWSTATE:<state>,<"ssid">
OK
Parameters
<state>: current Wi-Fi state.
o
o
o
o
o
<"ssid">: the SSID of the target AP.
Note
When ESP station is not connected to an AP, it is recommended to use
this command to query Wi-Fi information; after ESP station is connected
to an AP, it is recommended to use
information.
AT+CWJAP: Connect to an AP
Query Command
Function:
Query the AP to which the ESP Station is already connected.
© Copyright 2021 WIZnet Co., Ltd. All rights reserved.
0: ESP station has not started any Wi-Fi connection.
1: ESP station has connected to an AP, but does not get an
IPv4 address yet.
2: ESP station has connected to an AP, and got an IPv4
address.
3: ESP station is in Wi-Fi connecting or reconnecting state.
4: ESP station is in Wi-Fi disconnected state.
WizFi320 User Manual
AT+CWJAP
to query Wi-Fi
18

Advertisement

Table of Contents
loading

Table of Contents