Overview
Customize AT Firmware
Compiling AT project
Customize AT Functions
Add User-Defined AT Commands
Downloading AT Firmware into the Flash
16 Mbit Flash, Map: 1024 KB + 1024 KB
32 Mbit Flash, Map: 1024 KB + 1024 KB
4 Mbit Flash
8 Mbit Flash
16 Mbit Flash, Map: 512 KB + 512 KB
32 Mbit Flash, Map: 512 KB + 512 KB
Command Description
Basic AT Commands
Overview
Commands
AT—Tests AT Startup
AT+RST—Restarts the Module
AT+GMR—Checks Version Information
AT+GSLP—Enters Deep-sleep Mode
ATE—AT Commands Echoing
AT+RESTORE—Restores the Factory Default Settings
AT+UART_CUR—Current UART Configuration; Not Saved in the Flash
AT+UART_DEF—Default UART Configuration; Saved in the Flash
AT+SLEEP—Configures the Sleep Modes
AT+WAKEUPGPIO—Configures a GPIO to Wake ESP8266 up from Light-sleep Mode
AT+RFPOWER—Sets the Maximum Value of RF TX Power
AT+RFVDD—Sets RF TX Power According to VDD33
AT+SYSRAM—Checks the Remaining Space of RAM
AT+SYSADC—Checks the Value of ADC
AT+SYSIOSETCFG—Configures IO Working Mode
AT+SYSIOGETCFG—Checks the Working Modes of IO Pins
AT+SYSGPIODIR—Configures the Direction of a GPIO
AT+SYSGPIOWRITE—Configures the Output Level of a GPIO
AT+SYSGPIOREAD—Reads the GPIO Input Level
AT+SYSMSG_CUR—Set Current System Messages
AT+SYSMSG_DEF—Set Default System Messages
Wi-Fi AT Commands
Overview
Commands
AT+CWMODE_CUR—Sets the Current Wi-Fi mode; Configuration Not Saved in the Flash
AT+CWMODE_DEF—Sets the Default Wi-Fi mode; Configuration Saved in the Flash
AT+CWJAP_CUR—Connects to an AP; Configuration Not Saved in the Flash
AT+CWJAP_DEF—Connects to an AP; Configuration Saved in the Flash
AT+CWLAPOPT—Sets the Configuration for the Command AT+CWLAP
AT+CWLAP—Lists Available APs
AT+CWQAP—Disconnects from the AP
AT+CWSAP_CUR—Configures the ESP8266 SoftAP; Configuration Not Saved in the Flash
AT+CWSAP_DEF—Configures the ESP8266 SoftAP; Configuration Saved in the Flash
AT+CWLIF—IP of Stations to Which the ESP8266 SoftAP is Connected
AT+CWDHCP_CUR—Enables/Disables DHCP; Configuration Not Saved in the Flash
AT+CWDHCP_DEF—Enables/Disables DHCP; Configuration Saved in the Flash
AT+CWDHCPS_CUR—Sets the IP Address Allocated by ESP8266 SoftAP DHCP; Configuration Not Saved in Flash
AT+CWDHCPS_DEF—Sets the IP Address Allocated by ESP8266 SoftAP DHCP; Configuration Saved in Flash
AT+CWAUTOCONN—Auto-Connects to the AP or Not
AT+CIPSTAMAC_CUR—Sets the MAC Address of the ESP8266 Station; Configuration Not Saved in the Flash
AT+CIPSTAMAC_DEF—Sets the MAC Address of the ESP8266 Station; Configuration Saved in the Flash
AT+CIPAPMAC_CUR—Sets the MAC Address of the ESP8266 SoftAP; Configuration Not Saved in the Flash
AT+CIPAPMAC_DEF—Sets the MAC Address of the ESP8266 SoftAP; Configuration Saved in Flash
AT+CIPSTA_CUR—Sets the Current IP Address of the ESP8266 Station; Configuration Not Saved in the Flash
AT+CIPSTA_DEF—Sets the Default IP Address of the ESP8266 Station; Configuration Saved in the Flash
AT+CIPAP_CUR—Sets the IP Address of the ESP8266 SoftAP; Configuration Not Saved in the Flash
AT+CIPAP_DEF—Sets the Default IP Address of the ESP8266 SoftAP; Configuration Saved in the Flash
AT+CWSTARTSMART—Starts SmartConfig
AT+CWSTOPSMART—Stops SmartConfig
AT+CWSTARTDISCOVER—Enables the Mode that ESP8266 can be Found by WeChat
AT+CWSTOPDISCOVER—Disables the Mode that ESP8266 can be Found by WeChat
AT+WPS—Enables the WPS Function
AT+MDNS—Configures the MDNS Function
AT+CWHOSTNAME—Configures the Name of ESP8266 Station
AT+CWCOUNTRY_CUR—Set ESP8266 WiFi Country Code; Configuration Not Saved in the Flash
AT+CWCOUNTRY_DEF—Set the default WiFi Country Code of ESP8266; Configuration Saved in the Flash
TCP/IP-Related AT Commands
Overview
Commands
AT+CIPSTATUS—Gets the Connection Status
AT+CIPDOMAIN—DNS Function
AT+CIPSTART—Establishes TCP Connection, UDP Transmission or SSL Connection
AT+CIPSSLSIZE—Sets the Size of SSL Buffer
AT+CIPSSLCCONF - Sets Configuration of ESP SSL Client
AT+CIPSEND—Sends Data
AT+CIPSENDEX—Sends Data
AT+CIPSENDBUF—Writes Data into the TCP-Send-Buffer
AT+CIPBUFRESET—Resets the Segment ID Count
AT+CIPBUFSTATUS—Checks the Status of the TCP-Send-Buffer
AT+CIPCHECKSEQ—Checks If a Specific Segment Was Successfully Sent
AT+CIPCLOSEMODE—Set the Close Mode of TCP Connection
AT+CIPCLOSE—Closes the TCP/UDP/SSL Connection
AT+CIFSR—Gets the Local IP Address
AT+CIPMUX—Enable or Disable Multiple Connections
AT+CIPSERVER—Deletes/Creates TCP Server
AT+CIPSERVERMAXCONN—Set the Maximum Connections Allowed by Server
AT+CIPMODE—Sets Transmission Mode
AT+SAVETRANSLINK—Saves the Transparent Transmission Link in Flash
AT+CIPSTO—Sets the TCP Server Timeout
AT+PING—Ping Packets
AT+CIUPDATE—Updates the Software Through Wi-Fi
AT+CIPDINFO—Shows the Remote IP and Port with +IPD
+IPD—Receives Network Data
AT+CIPRECVMODE—Set TCP Receive Mode
AT+CIPRECVDATA—Get TCP Data in Passive Receive Mode
AT+CIPRECVLEN—Get TCP Data Length in Passive Receive Mode
AT+CIPSNTPCFG—Sets the Configuration of SNTP
AT+CIPSNTPTIME—Checks the SNTP Time
AT+CIPDNS_CUR—Sets User-defined DNS Servers; Configuration Not Saved in the Flash
AT+CIPDNS_DEF—Sets User-defined DNS Servers; Configuration Saved in the Flash
Appendix A
Appendix B
Q&A