Instructions
" " ! "
Espressif Systems
ESP8266
AT Instruction Set
31.
AT+CIPAP_DEF – Set IP address of softAP, save as default
ESP8266 only supports class C IP addresses.!
AT+ CIPAP_DEF – Set IP address of ESP8266 softAP, save to flash
Example
AT+CIPAP_DEF="192.168.5.1", "192.168.5.1", "255.255.255.0"
Command
AT+CIPAP_DEF?
Response
+CIPAP_DEF:<IP>
OK
Parameters
<IP> string, IP address of ESP8266 softAP
Command
AT+CIPAP_DEF=<IP>[, <gateway>, <netmask>]
Response
OK
Parameters
<IP> string, IP address of ESP8266 softAP
[<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, 201649 73