Instructions
" " ! "  
 Espressif Systems
ESP8266 
AT Instruction Set
28.
AT+CIPSTA_DEF – Set IP address of station and save as default 
AT+CIPSTA_DEF – Set IP address of ESP8266 station, save to flash
Example
AT+CIPSTA_DEF="192.168.6.100", "192.168.6.1", "255.255.255.0"
Command
AT+CIPSTA_DEF?
Response
+CIPSTA:<IP> 
OK
Parameters
<IP> string, IP address of ESP8266 station
Command
AT+CIPSTA_DEF=<IP>[, <gateway>, <netmask>]
Response
OK
Parameters
<IP> string, IP address of ESP8266 station 
[<gateway>]  gateway 
[<netmask>]  netmask
Notes
Configuration changes will be stored in flash user parameter area. 
This configuration interacts with DHCP related AT commands (AT+CWDHCP 
related): 
•
If static IP is enabled, DHCP will be disabled; 
•
If DHCP is enabled, static IP will be disabled; 
•
This will depend on the last configuration.
Espressif Systems   /   Friday, July 15, 201646 73










