User's Manual

WizFi320 User Manual
© Copyright 2021 WIZnet Co., Ltd. All rights reserved. 36
Query the IP address of the ESP Station.
Command:
AT+CIPSTA?
Response:
+CIPSTA:ip:<"ip">
+CIPSTA:gateway:<"gateway">
+CIPSTA:netmask:<"netmask">
+CIPSTA:ip6ll:<"ipv6 addr">
+CIPSTA:ip6gl:<"ipv6 addr">
OK
Set Command
Function:
Set the IPv4 address of the ESP station.
Command:
AT+CIPSTA=<"ip">[,<"gateway">,<"netmask">]
Response:
OK
Parameters
<”ip”>: string parameter showing the IPv4 address of the ESP station.
<”gateway”>: gateway.
<”netmask”>: netmask.
<”ipv6 addr”>: string parameter showing the IPv6 address of the ESP
station.
Notes
For the query command, only when the ESP station is connected to an AP
or the static IP address is configured can its IP address be queried.
The configuration changes will be saved in the NVS area
if AT+SYSSTORE=1.
The Set Command correlates with the commands that set DHCP, such
as AT+CWDHCP.
o If static IP address is enabled, DHCP will be disabled;
o If DHCP is enabled, static IP address will be disabled;