ESP8266 AT Instruction Set Version 2.0.
Disclaimer and Copyright Notice Information in this document, including URL references, is subject to change without notice. THIS DOCUMENT IS PROVIDED AS IS WITH NO WARRANTIES WHATSOEVER, INCLUDING ANY WARRANTY OF MERCHANTABILITY, NON-INFRINGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR SAMPLE. All liability, including liability for infringement of any proprietary rights, relating to use of information in this document is disclaimed.
About This Guide This document provides AT commands list based on ESP8266_NONOS_SDK. The document is structured as follows. Chapter Title Subject Chapter 1 Preambles Chapter 2 Command Description Basic description of AT commands. Chapter 3 Basic AT Commands List basic function AT commands. Chapter 4 Wi-Fi Related AT Commands Lists Wi-Fi related AT commands. Chapter 5 TCP/IP AT Commands Lists TCP/IP related AT commands.
" " Espressif Systems ESP8266 AT Instruction Set " Table of Contents 1. Preambles ...................................................................................................5 1.1. User-defined AT commands ....................................................................5 1.2. Downloading AT firmware into Flash .......................................................6 1. 4Mbit Flash ............................................................................................... 6 2.
" " Espressif Systems ESP8266 AT Instruction Set " 1. AT+CWMODE – WiFi mode ....................................................................23 2. AT+CWMODE_CUR – current WiFi mode .............................................. 24 3. AT+CWMODE_DEF – default WiFi mode ................................................ 25 4. AT+CWJAP – Connect to AP .................................................................. 26 5. AT+CWJAP_CUR – Connect to AP, for current .................................
" " Espressif Systems ESP8266 AT Instruction Set " 33. AT+CWSTOPSMART – stop SmartConfig .............................................. 50 34. AT+CWSTARTDISCOVER – Start the mode that ESP8266 can be found by WeChat ... 51 35. AT+CWSTOPDISCOVER – Stop the mode that ESP8266 can be found by WeChat ..... 51 36. AT+WPS – Set WPS function ................................................................. 52 37. AT+MDNS – Set MDNS function ............................................................ 52 5.
" " 7. Espressif Systems ESP8266 AT Instruction Set " Q&A ............................................................................................................
" Espressif Systems " 1. ESP8266 AT Instruction Set " Preambles AT command set is divided into: Basic AT commands, Wi-Fi AT commands, TCP/IP AT commands. 1.1. User-defined AT commands Please use only letters when naming user-defined AT commands. The AT command name must NOT contain characters or numbers. AT firmware is based on the ESP8266_NONOS_SDK. Espressif Systems AT commands are provided in libat.a. In the example of \ESP8266_NONOS_SDK\examples\at\user\user_main.
" " Espressif Systems ESP8266 AT Instruction Set " Please refer to ESP8266_Getting_Started_Guide for instructions on compiling applications. 1.2. Downloading AT firmware into Flash Refer to ESP8266_NONOS_SDK\bin\at\readme.txt for instructions on how to download AT firmware into Flash. Please use Espressif official Flash download tool and select corresponding Flash size to download the firmware. Espressif official Flash download tool: http://bbs.espressif.com/viewtopic.php?f=5&t=433 1.
" " Espressif Systems ESP8266 AT Instruction Set " bin Address Description blank.bin 0xFB000 Initialize RF_CAL parameter area esp_init_data_default.bin 0xFC000 Stores default RF parameter values, has to be downloaded into flash at least once. If the RF_CAL parameter area is initialized, this bin has to be downloaded too. blank.bin 0x7E000 Initialize Flash user parameter area, more details in Appendix. blank.bin 0xFE000 Initialize Flash system parameter area, more details in Appendix.
" " Espressif Systems ESP8266 AT Instruction Set " bin Address Description esp_init_data_default.bin 0x1FC000 Stores default RF parameter values, has to be downloaded into flash at least once. If the RF_CAL parameter area is initialized, this bin has to be downloaded too. blank.bin 0xFE000 Initialize Flash user parameter area, more details in Appendix. blank.bin 0x1FE000 Initialize Flash system parameter area, more details in Appendix. boot.bin 0x00000 In \bin\at user1.2048.new.5.
" " Espressif Systems ESP8266 AT Instruction Set " bin Address Description esp_init_data_default.bin 0x3FC000 Stores default RF parameter values, has to be downloaded into flash at least once. If the RF_CAL parameter area is initialized, this bin has to be downloaded too. blank.bin 0xFE000 Initialize Flash user parameter area, more details in Appendix. blank.bin 0x3FE000 Initialize Flash system parameter area, more details in Appendix. boot.bin 0x00000 In \bin\at user1.2048.new.5.
" " 2. Espressif Systems ESP8266 AT Instruction Set " Command Description Each Command set contains four types of AT commands. Type Command Format DescrIPtion Test AT+=? Query the Set command or internal parameters and its range values. Query AT+? Returns the current value of the parameter. Set AT+=<…> Execute AT+ Set the value of user-defined parameters in commands and run. Runs commands with no user-defined parameters. Notes: 1.
" Espressif Systems " 3. ESP8266 AT Instruction Set " Basic AT Commands 3.1. Overview The ESP8266 wireless Wi-Fi modules can be driven via the serial interface using the standard AT commands. Here is a list of some basic AT commands that can be used.
" " Espressif Systems 3.2. 1. ESP8266 AT Instruction Set " Commands AT – Test AT startup The type of this command is "executed". It is used to test the setup function of your wireless Wi-Fi module. AT – Test AT startup Response OK Parameters null 2. AT+RST – Restart module The type of this command is "executed". It’s used to restart the module. AT+RST – Restart module Response OK Parameters null 3.
" " Espressif Systems 4. ESP8266 AT Instruction Set " AT+GSLP – Enter deep-sleep mode This command is used to invoke the deep-sleep mode of the module, the type of which is "set". A minor adjustment has to be made before the module enter this deep sleep mode, i.e., connect XPD_DCDC with EXT_RSTB via 0 ohm resistor. AT+GSLP=
" " Espressif Systems 7. ESP8266 AT Instruction Set " AT+UART – UART configuration This command sets the UART configuration and writes the new configuration to the flash. It is stored as the default parameter and will also be used as the default baudrate henceforth. [THIS API IS DEPRECATED.] AT+UART=, , , , This command is deprecated, please use AT+UART_CUR or AT+UART_DEF instead.
" " Espressif Systems 8. ESP8266 AT Instruction Set " AT+UART_CUR – current UART configuration This command sets the current UART configuration, it does not write changes to the flash. Hence there is no change in the default baud rate. AT+UART_CUR=, , , , Example AT+UART_CUR=115200, 8, 1, 0, 3 Response OK Parameters Baudrate range: 110 to 115200*40 (4.
" " Espressif Systems 9. ESP8266 AT Instruction Set " AT+UART_DEF – default UART configuration This command sets the UART configuration and saves it to flash. It is stored as the default parameter and will also be used as the default baud rate henceforth. AT+UART_DEF=, , , , Example AT+UART_DEF=115200, 8, 1, 0, 3 Response OK Parameters Baudrate range: 110 to 115200*40 (4.
" " Espressif Systems ESP8266 AT Instruction Set " 10. AT+SLEEP – sleep mode This command sets ESP8266 sleep mode. It can only be used in station mode. Modem sleep is the default sleep mode. AT+SLEEP – sleep mode Command Response AT+SLEEP? +SLEEP : OK 0 : disable sleep mode Parameters 1 : light-sleep mode 2 : modem-sleep mode Command AT+SLEEP= Response OK Parameters Espressif Systems The same as above.
" " Espressif Systems ESP8266 AT Instruction Set " 11. AT+WAKEUPGPIO – set a GPIO to wake ESP8266 up from light-sleep mode This command sets a GPIO to wake the ESP8266 up from light-sleep mode. Please note that the and the in the command cannot use the same GPIO.
" " Espressif Systems ESP8266 AT Instruction Set " 12. AT+RFPOWER – set maximum value of RF TX Power This command sets the maximum value of ESP8266 RF TX power, it is not precise. AT+RFPOWER – set RF TX Power Example AT+RFPOWER=50 Command AT+RFPOWER= Response OK Parameters maximum value of RF TX power, range: [0, 82], unit: 0.25dBm 13. AT+RFVDD – set RF TX Power according to VDD33 This command sets ESP8266 RF TX power according to VDD33.
" " Espressif Systems Note Espressif Systems ESP8266 AT Instruction Set " "AT+RFVDD" will automatically set RF TX power according to VDD33. TOUT pin has to be suspended.
" " 4. Espressif Systems ESP8266 AT Instruction Set " Wi-Fi AT Commands Wi-Fi Functions Invoked by AT commands Command AT+CWMODE AT+CWMODE_CUR AT+CWMODE_DEF AT+CWJAP Description Wi-Fi mode(sta/AP/sta+AP), [@deprecated] Wi-Fi mode(sta/AP/sta+AP) Settings not updated in flash. Wi-Fi default mode(sta/AP/sta+AP) Save to flash.
" " Espressif Systems AT+CIPSTAMAC AT+CIPSTAMAC_CUR AT+CIPSTAMAC_DEF AT+CIPAPMAC AT+CIPAPMAC_CUR AT+CIPAPMAC_DEF AT+CIPSTA AT+CIPSTA_CUR AT+CIPSTA_DEF AT+CIPAP AT+CIPAP_CUR AT+CIPAP_DEF ESP8266 AT Instruction Set " Set MAC address of ESP8266 station [@deprecated] Set MAC address of ESP8266 station. Changes not save to flash. Set MAC address of ESP8266 station. Save changes to flash. Set MAC address of ESP8266 soft-AP [@deprecated] Set MAC address of ESP8266 soft-AP. Changes not save to flash.
" " Espressif Systems 4.1. 1. ESP8266 AT Instruction Set " Commands AT+CWMODE – WiFi mode The function of this AT command is to get the value scope of Wi-Fi mode, including station mode, softAP mode, and station+softAP mode, enquiry about the information of Wi-Fi mode, or set the Wi-Fi mode. AT+CWMODE – WiFi mode This command is deprecated. Please use AT+CWMODE_CUR or AT+CWMODE_DEF instead.
" " Espressif Systems 2. ESP8266 AT Instruction Set " AT+CWMODE_CUR – current WiFi mode There are three Wi-Fi working modes: Station mode, softAP mode, and the co-existence of Station mode and softAP mode. This command is used to query the current Wi-Fi mode, or to set a desired Wi-Fi mode.
" " Espressif Systems 3.
" " Espressif Systems 4. ESP8266 AT Instruction Set " AT+CWJAP – Connect to AP AT+CWJAP – Connect to AP [@deprecated]. Please use AT+CWJAP_CUR or AT+CWJAP_DEF instead.
" " Espressif Systems 5.
" " Espressif Systems 6.
" " Espressif Systems 7. ESP8266 AT Instruction Set " AT+CWLAPOPT – Set configuration for command AT+CWLAP This command is to set the configuration for command AT+CWLAP, whether the result of AT+CWLAP will be ordered according to , and which parameters will be shown in the result of AT+CWLAP.
" " Espressif Systems 8. ESP8266 AT Instruction Set " AT+CWLAP – List available APs AT+CWLAP - Lists available APs • AT+CWLAP List of all available AP's detected by ESP8266 Example • AT+CWLAP="WiFi", "ca:d7:19:d8:a6:44", 6 Find AP with specific SSID and MAC at specific channel.
" " Espressif Systems 9. ESP8266 AT Instruction Set " AT+CWQAP – Disconnect from AP AT+CWQAP - Disconnect from AP Command AT+ CWQAP Response OK Parameters null 10. AT+CWSAP – Configuration of softAP mode AT+ CWSAP – Configuration of softAP mode [@deprecated]. Please use AT+CWSAP_CUR or AT+CWSAP_DEF instead.
" " Espressif Systems ESP8266 AT Instruction Set " 11. AT+CWSAP_CUR – Current config of softAP mode AT+CWSAP_CUR – Set configuration of softAP mode, won’t save to flash Example AT+CWSAP_CUR="ESP8266", "1234567890", 5, 3 Command AT+CWSAP_CUR? Response +CWSAP_CUR:, , , , , Parameters Command The same as below.
" " Espressif Systems ESP8266 AT Instruction Set " 12. AT+CWSAP_DEF – Default config of softAP mode AT+ CWSAP_DEF – Set configuration of softAP mode, save to flash Example AT+CWSAP_DEF="ESP8266", "1234567890", 5, 3 Command AT+CWSAP_DEF? Response +CWSAP_DEF:, , , , , Parameters Command The same as below.
" " Espressif Systems ESP8266 AT Instruction Set " 13. AT+CWLIF – IP of stations This command is used to get the IP of stations that are connected to ESP8266 softAP.
" " Espressif Systems ESP8266 AT Instruction Set " 14. AT+CWDHCP – Enable/Disable DHCP AT+ CWDHCP – Enable/Disable DHCP [@deprecated]. Please use AT+CWDHCP_CUR or AT+CWDHCP_DEF instead.
" " Espressif Systems ESP8266 AT Instruction Set " 15.
" " Espressif Systems ESP8266 AT Instruction Set " 16.
" " Espressif Systems ESP8266 AT Instruction Set " 17. AT+CWDHCPS_CUR – Set the IP address allocated by ESP8266 soft-AP DHCP, does not save to flash This AT command is enabled when ESP8266 runs as soft-AP, and when DHCP server is running normally. The IP address should be on the same network segment with the IP address of ESP8266 soft-AP. Configuration changes will not be stored in flash.
" " Espressif Systems ESP8266 AT Instruction Set " 18. AT+CWDHCPS_DEF – Set the IP address allocated by ESP8266 soft-AP DHCP, save to flash This AT command is enabled when ESP8266 runs as soft-AP, and when DHCP server is running normally. The IP address should be on the same network segment with the IP address of ESP8266 soft-AP. This configuration will be stored in flash user parameter area.
" " Espressif Systems ESP8266 AT Instruction Set " 20. AT+CIPSTAMAC – Set MAC address of station MAC addresses of ESP8266 soft-AP and station are different, please do NOT set them to be the same. Note that the bit 0 of the first byte of ESP8266 MAC address cannot be 1, for example, MAC address can be "18:fe:35:98:d3:7b", but cannot be "15:fe:35:98:d3:7b". AT+ CIPSTAMAC – Set MAC address of ESP8266 station [@deprecated]. Use AT+CIPSTAMAC_CUR or AT+CIPSTAMAC_DEF instead.
" " Espressif Systems ESP8266 AT Instruction Set " 21. AT+CIPSTAMAC_CUR – Set MAC address of station MAC addresses of ESP8266 soft-AP and station are different, please do NOT set them to be the same. Note that the bit 0 of the first byte of ESP8266 MAC address cannot be 1, for example, MAC address can be "18:fe:35:98:d3:7b", but cannot be "15:fe:35:98:d3:7b".
" " Espressif Systems ESP8266 AT Instruction Set " 23. AT+CIPAPMAC – Set MAC address of softAP MAC addresses of ESP8266 soft-AP and station are different, please do NOT set them to be the same. Note that the bit 0 of the first byte of ESP8266 MAC address cannot be 1, for example, MAC address can be "1a:fe:36:97:d5:7b", but cannot be "15:fe:36:97:d5:7b". AT+ CIPAPMAC – Set MAC address of ESP8266 softAP [@deprecated]. Use AT+CIPAPMAC_CUR or AT+CIPAPMAC_DEF instead.
" " Espressif Systems ESP8266 AT Instruction Set " 25. AT+CIPAPMAC_DEF – Set MAC address of softAP and save as default MAC addresses of ESP8266 soft-AP and station are different, please do NOT set them to be the same. Note that the bit 0 of the first byte of ESP8266 MAC address cannot be 1, for example, MAC address can be "1a:fe:36:97:d5:7b", but cannot be "15:fe:36:97:d5:7b".
" " 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 Command AT+CIPSTA="192.168.6.100", "192.168.6.1", "255.255.255.
" " 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 Command AT+CIPSTA_CUR="192.168.6.100", "192.168.6.1", "255.255.255.
" " 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 Command AT+CIPSTA_DEF="192.168.6.100", "192.168.6.1", "255.255.255.
" " Espressif Systems ESP8266 AT Instruction Set " 29. AT+ CIPAP – Set IP address of softAP ESP8266 only supports class C IP addresses. This configuration will be stored in flash user parameter area. AT+ CIPAP – Set IP address of ESP8266 softAP [@deprecated]. Please use AT+CIPAP_CUR or AT+CIPAP_DEF instead. Example Command AT+CIPAP="192.168.5.1", "192.168.5.1", "255.255.255.
" " Espressif Systems ESP8266 AT Instruction Set " 30. AT+CIPAP_CUR – Set IP address of softAP ESP8266 only support class C IP address. This configuration will NOT store in flash. AT+CIPAP_CUR – Set IP address of ESP8266 softAP, won’t save to flash Example Command AT+CIPAP_CUR="192.168.5.1", "192.168.5.1", "255.255.255.
" " 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 Command AT+CIPAP_DEF="192.168.5.1", "192.168.5.1", "255.255.255.
" " Espressif Systems ESP8266 AT Instruction Set " 32. AT+CWSTARTSMART – Start SmartConfig SmartConfig is only available in station mode. SmartConfig can get protocol type (AirKiss or ESPTOUCH) automatically by command "AT+CWSTARTSMART". Alternatively, users may command "AT +CWSTARTSMART=" to set a specific protocol type.
" " Espressif Systems ESP8266 AT Instruction Set " 34. AT+CWSTARTDISCOVER – Start the mode that ESP8266 can be found by WeChat The parameter of this command needs to be obtained from Espressif Cloud. After connecting to an AP and obtaining an IP address, ESP8266 can be found by WeChat which is on the same LAN. WeChat : http://iot.weixin.qq.
" " Espressif Systems ESP8266 AT Instruction Set " 36. AT+WPS – Set WPS function Noe that WPS function can only be used when ESP8266 station is enabled. WPS function does not support WEP encryption. AT+WPS – Set WPS function Example AT+CWMODE=1 AT+WPS=1 Command AT+WPS= Response OK Parameter 1 : start WPS function 0 : stop WPS function 37. AT+MDNS – Set MDNS function ESP8266 softAP mode cannot support MDNS. Please do not use special characters (for example, ".
" Espressif Systems " 5. ESP8266 AT Instruction Set " TCP/IP Related AT Commands 5.1.
" " Espressif Systems 5.2. 1.
" " Espressif Systems 3. ESP8266 AT Instruction Set " AT+CIPSTART – Establish TCP connection, UDP transmission or SSL connection Refer to documentation "4B-ESP8266__AT Command Examples" for more on how to use this command. AT+CIPSTART – Function 1: Establish TCP connection Example Single connection (AT+CIPMUX=0) AT+CIPSTART="TCP", "iot.espressif.cn", 8000 AT+CIPSTART="TCP", "192.168.101.
" " Espressif Systems ESP8266 AT Instruction Set " ID of network connection (0~4), used for multi-connection string, "TCP" or "UDP" string, remote IP string, remote port [] optional, UDP port of ESP8266 Parameters [] optional. In UDP transparent transmission, it has to be 0. 0 : destination peer entity of UDP will not change, default option. 1 : destination peer entity of UDP can change once.
" " Espressif Systems ESP8266 AT Instruction Set " 1. ESP8266 can only set one SSL connection at most. 2. SSL connection does not support UART-WiFi passthrough mode Note (transparent transmission). 3. SSL connection needs a lot of memory, otherwise, it may cause system reboot. Users can try command "AT+CIPSSLSIZE=" to enlarge the buffer size. 4.
" " Espressif Systems 5. ESP8266 AT Instruction Set " AT+CIPSEND – Send data Please refer to documentation "4B-ESP8266__AT Command Examples" for more examples.
" " Espressif Systems ESP8266 AT Instruction Set " AT+CIPSEND – Send data Single connection Multiple connection UDP Transmission (+CIPMUX=0) AT+CIPSEND= (+CIPMUX=1) AT+CIPSEND=, AT+CIPSEND=[, ][, , ] Wrap return ">" after set command. Begins receiving serial data, when data length is met, starts transmission of data.
" " Espressif Systems 6. ESP8266 AT Instruction Set " AT+CIPSENDEX – Send data AT+CIPSENDEX – Send data Single connection Multiple connection UDP Transmission (+CIPMUX=0) AT+CIPSENDEX= (+CIPMUX=1) AT+CIPSENDEX=, AT+CIPSENDEX=[, ][, , ] Wrap return ">" after set command. Begins receiving serial data, when data length or "\0" is met, starts transmission of data.
" " Espressif Systems ESP8266 AT Instruction Set " 7. AT+CIPSENDBUF – Write data into TCP-send-buffer This command only writes data into TCP-send-buffer, so it can be called continually, and the user need not wait for "SEND OK"; if a TCP segment is sent successfully, it will return , SEND OK. Before data is met, input "+++" can switch back from data mode to command mode, and discard the data received before, cancel the "AT+CIPSENDBUF". This command can NOT be used on SSL connections.
" " Espressif Systems ESP8266 AT Instruction Set " 8. AT+CIPBUFSTATUS – Check status of TCP-send-buffer Please do not use this command on SSL connections.
" " Espressif Systems 9.
" " Espressif Systems ESP8266 AT Instruction Set " 11. AT+CIPCLOSE – Close TCP, UDP or SSL connection AT+CIPCLOSE – Close TCP, UDP or SSL connection Multiple connection AT+CIPCLOSE= OK Response or If no such connection, returns ERROR ID number of connection to close, when ID=5, all connections will Parameters be closed. (ID=5 has no effect in server mode) Single connection AT+CIPCLOSE OK Response or If no such connection is active, returns ERROR 12.
" " Espressif Systems ESP8266 AT Instruction Set " 13. AT+CIPMUX – Enable multiple connections AT+ CIPMUX – Enable or disable multiple connections Example Command AT+CIPMUX=1 AT+CIPMUX? +CIPMUX: Response OK Parameters 0 : single connection 1 : multiple connection Command AT+CIPMUX= OK Response If already connected, returns Link is builded Parameters The same as above. 1. "AT+CIPMUX=1" can only be set when transparent transmission disabled ( "AT+CIPMODE=0") Notes 2.
" " Espressif Systems ESP8266 AT Instruction Set " 14. AT+CIPSERVER – Configure as TCP server Server monitor will automatically be created when Server is created. When a client is connected to the server, it will take up one connection and be assigned an ID.
" " Espressif Systems ESP8266 AT Instruction Set " 15. AT+CIPMODE – Set transfer mode UART-WiFi passthrough mode (transparent transmission) can only be enabled in TCP single connection mode or UDP of which remote IP and port won’t change (parameter is 0 when using command "AT+CIPSTART" to create a UDP transmission) .
" " Espressif Systems ESP8266 AT Instruction Set " 16. AT+SAVETRANSLINK – Save transparent transmission link to flash AT+SAVETRANSLINK – Save transparent transmission link to flash Example AT+SAVETRANSLINK=1, "192.168.6.
" " Espressif Systems ESP8266 AT Instruction Set " 17. AT+CIPSTO – Set TCP server timeout AT+ CIPSTO – Set TCP server timeout AT+CIPMUX=1 Example AT+CIPSERVER=1, 1001 AT+CIPSTO=10 Command AT+CIPSTO? + CIPSTO: Response OK Parameters The same as below. Command AT+CIPSTO= Response OK Parameters TCP server timeout, range 0~7200 seconds ESP8266 configured as TCP server will disconnect to TCP client that did not Notes communicate with it until timeout.
" " Espressif Systems ESP8266 AT Instruction Set " 19. AT+CIUPDATE – Update through network Firmware upgrade depends on network condition. It will return ERROR if upgrade failed due to unfavorable network conditions. Please wait for some time before retrying. • If using Espressif AT BIN (\ESP8266_NONOS_SDK\bin\at), "AT+CIUPDATE" will download new AT BIN from Espressif Cloud.
" " Espressif Systems ESP8266 AT Instruction Set " 21.
" " 6. Espressif Systems ESP8266 AT Instruction Set " Appendix ESP8266 AT commands below will save configuration parameters into flash: AT Command Example Save into flash user parameter area AT+UART_DEF AT+UART_DEF=115200, 8, 1, 0, 3 AT+CWDHCP_DEF AT+CWDHCP_DEF=1, 1 AT+CIPSTAMAC_DEF AT+CIPSTAMAC_DEF="18:fe:35:98:d3:7b" AT+CIPAPMAC_DEF AT+CIPAPMAC_DEF="1a:fe:36:97:d5:7b" AT+CIPSTA_DEF AT+CIPSTA_DEF="192.168.6.100" AT+CIPAP_DEF AT+CIPAP_DEF="192.168.5.
" Espressif Systems " 7. ESP8266 AT Instruction Set " Q&A If you have any questions about AT Commands, please contact us (feedback@espressif.com) with information as follows: • Version info of AT : Using "AT+GMR" to get the version info.