At+Cipsta_Def : Setting Ip Information Station Mode, Save To Flash - Wiznet WizFi360 At Instruction Set

Hide thumbs Also See for WizFi360:
Table of Contents

Advertisement

Return Value:
+CIPSTA_CUR:ip:<ip>\r\n
Return Values
+CIPSTA_CUR:gateway:<gateway>\r\n
and
+CIPSTA_CUR:netmask:<netmask>\r\n
descriptions
\r\n
OK\r\n
Description: Parameter above
Command: AT+CIPSTA_CUR?\r\n
Reply:
+CIPSTA_CUR:ip:"192.168.1.88"\r\n
+CIPSTA_CUR:gateway:"192.168.1.1"\r\n
Examples
+CIPSTA_CUR:netmask:"255.255.255.0"\r\n
\r\n
OK\r\n
Description: Parameter above
Command Description:
-
The setting is not saved to the Flash, the next reboot / after power is invalid;
-
This Set Command interacts with commands related DHCP. For example, if DHCP is enabled, static IP will be disabled and if
static IP is enabled, DHCP will be disabled. The last configured command is set.

3.2.2.8 AT+CIPSTA_DEF : Setting IP information Station mode, save to Flash

Command string
AT+CIPSTA_DEF=<ip>[,<gateway>,<netmask>]
<ip>: static IP address of WizFi360 station
Parameters
and
<gateway>: Gateway
description
<netmask>: Subnet Mask
Return Values
\r\n
and
OK\r\n
descriptions
Predecessors
no
Command: AT+CIPSTA_DEF="192.168.1.88","192.168.1.1","255.255.255.0"\r\n
Example 1
Reply:\r\n
OK\r\n
WizFi360 AT command
Function Description
Set the static IP

Advertisement

Table of Contents
loading

Table of Contents