Instructions
" " ! "
Espressif Systems
ESP8266
AT Instruction Set
26.
AT+CIPSTA – Set IP address of station
Only after ESP8266 station is connected to an AP, station IP can be obtained and inquired.
Configuration changes will be stored in flash user parameter area.!
AT+ CIPSTA – Set IP address of ESP8266 station
[@deprecated]. Please use AT+CIPSTA_CUR or AT+CIPSTA_DEF instead.
Example
AT+CIPSTA="192.168.6.100", "192.168.6.1", "255.255.255.0"
Command
AT+CIPSTA?
Response
+CIPSTA:<IP>
OK
Parameters
<IP> string, IP address of ESP8266 station
Command
AT+CIPSTA=<IP>[, <gateway>, <netmask>]
Response
OK
Parameters
<IP> string, IP address of ESP8266 station
[<gateway>] gateway
[<netmask>] netmask
Notes
This configuration interacts with AT+CWDHCP related AT commands:
•
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, 201644 73