Instructions
" " ! "
Espressif Systems
ESP8266
AT Instruction Set
27.
AT+CIPSTA_CUR – Set IP address of station
Only after ESP8266 station is connected to an AP, station IP can be obtained and inquired. This
configuration will NOT be stored in flash.!
AT+CIPSTA_CUR – Set IP address of ESP8266 station, do not save to flash
Example
AT+CIPSTA_CUR="192.168.6.100", "192.168.6.1", "255.255.255.0"
Command
AT+CIPSTA_CUR?
Response
+CIPSTA_CUR:<IP>
OK
Parameters
<IP> string, IP address of ESP8266 station
Command
AT+CIPSTA_CUR=<IP>[, <gateway>, <netmask>]
Response
OK
Parameters
<IP> string, IP address of ESP8266 station
[<gateway>] gateway
[<netmask>] netmask
Notes
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, 201645 73