This document summarizes the AT commands for the ESP8266 WiFi module. Some key functions include connecting to WiFi networks, getting the IP address, setting up TCP/UDP connections, sending and receiving data, and updating the firmware. The commands allow configuring the WiFi mode, security, and checking the connection status.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
146 views1 page
ESP8266ATCommandsSet PDF
This document summarizes the AT commands for the ESP8266 WiFi module. Some key functions include connecting to WiFi networks, getting the IP address, setting up TCP/UDP connections, sending and receiving data, and updating the firmware. The commands allow configuring the WiFi mode, security, and checking the connection status.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
ESP8266 AT Command Set
Function AT Command Response
Working AT OK Restart AT+RST OK [System Ready, Vendor:www.ai-thinker.com] Firmware version AT+GMR AT+GMR 0018000902 OK List Access Points AT+CWLAP AT+CWLAP +CWLAP:(4,"RochefortSurLac",- 38,"70:62:b8:6f:6d:58",1) +CWLAP:(4,"LiliPad2.4",-83,"f8:7b:8c:1e:7c:6d",1) OK Join Access Point AT+CWJAP? Query AT+CWJAP? +CWJAP:"RochefortSurLac" OK AT+CWJAP="SSID","Password" Quit Access Point AT+CWQAP=? Query AT+CWQAP OK Get IP Address AT+CIFSR AT+CIFSR 192.168.0.105 OK Set Parameters of AT+ CWSAP? Query Access Point AT+ CWSAP= <ssid>,<pwd>,<chl>, <ecn> ssid, pwd chl = channel, ecn = encryption WiFi Mode AT+CWMODE? Query AT+CWMODE=1 STA AT+CWMODE=2 AP AT+CWMODE=3 BOTH Set up TCP or UDP AT+CIPSTART=? Query connection (CIPMUX=0) AT+CIPSTART = id = 0-4, type = TCP/UDP, addr = IP address, port= port <type>,<addr>,<port> (CIPMUX=1) AT+CIPSTART= <id><type>,<addr>, <port> TCP/UDP AT+ CIPMUX? Query Connections AT+ CIPMUX=0 Single AT+ CIPMUX=1 Multiple Check join devices' IP AT+CWLIF TCP/IP Connection AT+CIPSTATUS AT+CIPSTATUS? no this fun Status Send TCP/IP data (CIPMUX=0) AT+CIPSEND=<length>; (CIPMUX=1) AT+CIPSEND= <id>,<length> Close TCP / UDP AT+CIPCLOSE=<id> or AT+CIPCLOSE connection Set as server AT+ CIPSERVER= <mode>[,<port>] mode 0 to close server mode; mode 1 to open; port = port Set the server AT+CIPSTO? Query timeout AT+CIPSTO=<time> <time>0~28800 in seconds Baud Rate* AT+CIOBAUD? Query AT+CIOBAUD? +CIOBAUD:9600 OK Supported: 9600, 19200, 38400, 74880, 115200, 230400, 460800, 921600 Check IP address AT+CIFSR AT+CIFSR 192.168.0.106 OK Firmware Upgrade AT+CIUPDATE 1. +CIPUPDATE:1 found server (from Cloud) 2. +CIPUPDATE:2 connect server 3. +CIPUPDATE:3 got edition 4. +CIPUPDATE:4 start update Received data +IPD (CIPMUX=0): + IPD, <len>: (CIPMUX=1): + IPD, <id>, <len>: <data> Watchdog Enable* AT+CSYSWDTENABLE Watchdog, auto restart when program errors occur: enable Watchdog Disable* AT+CSYSWDTDISABLE Watchdog, auto restart when program errors occur: disable
* New in V0.9.2.2 (from http://www.electrodragon.com/w/Wi07c)