Data Sheet

Air602_AT Instruction User Manual
2.2.2.2
Query/set the local IP address in STA mode
AT+NIP
Function
When the wireless network card is used as a STA, this command is used to set/query the local IP address. It should be
noted that when the address type is set to DHCP Server, you cannot use this command to query the IP address
information that the wireless network card actually allocates dynamically. Queries can use the AT+LKSTT command.
FormatASCII):
AT+NIP=[!?][type],[ip],[netmask],[gateway],[dns]<CR>
+OK[=type,ip,netmask,gateway,dns]<CR><LF><CR><LF>
Parameter
TypeAddress type
ipip addressdata format "192.168.1.22" Without quotes
netmaskSubnet mask, data format is the same as ip address
gateway Gateway address, data format is the same as ip address
dns DNS address, data format is the same as ip address
e.g.:
AT+WPRT=!0
+OK
AT+NIP=!0
+OK
AT+SSID=!TP-LINK_HyFi_1E
+OK
Luat 22 /73 page
Value Description
0 Dynamically assign/enable DHCP Server using DHCP
1 Use static IP address / disable DHCP Server