Data Sheet

!
4. Wi-Fi AT Commands
4.2.30. AT+CIPAP_CUR—Sets the IP Address of the ESP8266 SoftAP; Configuration Not Saved in
the Flash
4.2.31. AT+CIPAP_DEF—Sets the IP Address of the ESP8266 SoftAP; Configuration Saved in the
Flash
Commands
Query Command:
AT+CIPAP_CUR?
Function: to obtain the IP address of the ESP8266
SoftAP.
Set Command:
AT+CIPAP_CUR=<ip>[,<gateway>,<netmask>]
Function: to set the IP address of the ESP8266
SoftAP.
Response
+CIPAP_CUR:<ip>,<gateway>,<netmask>
OK
OK
Parameters
<ip>: string parameter, the IP address of the ESP8266 SoftAP.
[<gateway>]: gateway.
[<netmask>]: netmask.
Notes
The configuration changes will be saved in the user parameter area in the flash.
Currently, ESP8266 only supports class C IP addresses.
The Set Command interacts with DHCP-related AT commands (AT+CWDHCP-related󰐇commands):
If static IP is enabled, DHCP will be disabled;
If DHCP is enabled, static IP will be disabled;
Whether it is DHCP or static IP that is enabled depends on the last configuration.
Example
AT+CIPAP_CUR="192.168.5.1","192.168.5.1","255.255.255.0"
Commands
Query Command:
AT+CIPAP_DEF?
Function: to obtain the IP address of the ESP8266
SoftAP.
Set Command:
AT+CIPAP_DEF=<ip>[,<gateway>,<netmask>]
Function: to set the IP address of the ESP8266
SoftAP.
Response
+CIPAP_DEF:<ip>,<gateway>,<netmask>
OK
OK
Parameters
<ip>: string parameter, the IP address of the ESP8266 SoftAP.
[<gateway>]: gateway.
[<netmask>]: netmask.
Notes
The configuration changes will be saved in the user parameter area in the flash.
Currently, ESP8266 only supports class C IP addresses.
The Set Command interacts with DHCP-related AT commands (AT+CWDHCP-related󰐇commands):
If static IP is enabled, DHCP will be disabled;
If DHCP is enabled, static IP will be disabled;
Whether it is DHCP or static IP that is enabled depends on the last configuration.
Example
AT+CIPAP_DEF="192.168.5.1","192.168.5.1","255.255.255.0"
Espressif
! /5237
2017.05