4A-ESP8266__AT_Instruction_Set__EN_v0.30.pdf
(
869 KB
)
Pobierz
ESP8266 AT Instruction Set
Version 0.30
Espressif Systems IOT Team
Copyright (c) 2015
!
!
Espressif Systems
!
ESP8266
AT Instruction Set
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. No licenses express or implied, by estoppel or
otherwise, to any intellectual property rights are granted herein.
The WiFi Alliance Member Logo is a trademark of the WiFi Alliance.
All trade names, trademarks and registered trademarks mentioned in this document are property of
their respective owners, and are hereby acknowledged.
Copyright © 2015 Espressif Systems Inc. All rights reserved.
Espressif Systems Confidential
2/59
Friday, July 3, 2015
!
!
Espressif Systems
!
ESP8266
AT Instruction Set
Table of Contents
1.
2.
3.
Preambles ...................................................................................................6
Command Description ...............................................................................7
Basic AT Command Set .............................................................................8
3.1.
3.2.
1.
2.
3.
4.
5.
6.
7.
8.
9.
Overview ..................................................................................................8
Commands ..............................................................................................9
AT – Test AT startup
.................................................................................9
AT+RST – Restart module ........................................................................9
AT+GMR – View version info .....................................................................9
AT+GSLP – Enter deep-sleep mode .......................................................10
ATE – AT commands echo
......................................................................10
AT+RESTORE – Factory reset
.................................................................10
AT+UART – UART configuration .............................................................11
AT+UART_CUR – current UART configuration ........................................12
AT+UART_DEF – default UART configuration
..........................................13
10. AT+SLEEP – sleep mode ........................................................................14
11. AT+RFPOWER – set maximum value of RF TX Power
.............................14
12. AT+RFVDD – set RF TX Power according to VDD33 ...............................15
4.
WiFi Functions Overview .........................................................................16
4.1.
1.
2.
3.
4.
5.
6.
7.
8.
9.
Commands ............................................................................................18
AT+CWMODE – WiFi mode ....................................................................18
AT+CWMODE_CUR – current WiFi mode
..............................................19
AT+CWMODE_DEF – default WiFi mode ................................................20
AT+CWJAP – Connect to AP ..................................................................21
AT+CWJAP_CUR – Connect to AP,for current .....................................22
AT+CWJAP_DEF – Connect to AP,save as default ...............................23
AT+CWLAP – List available APs
.............................................................24
AT+CWQAP – Disconnect from AP .........................................................25
AT+CWSAP – Configuration of softAP mode ..........................................25
10. AT+CWSAP_CUR – Current config of softAP mode ................................26
Espressif Systems Confidential
3/59
Friday, July 3, 2015
!
!
Espressif Systems
!
ESP8266
AT Instruction Set
11. AT+CWSAP_DEF – Default config of softAP mode
..................................27
12. AT+CWLIF – IP of stations
.....................................................................27
13. AT+CWDHCP – Enable/Disable DHCP
..................................................28
14. AT+CWDHCP_CUR – Enable/Disable DHCP ..........................................29
15. AT+CWDHCP_DEF – Enable/Disable DHCP and save to Flash
..............30
16. AT+CWAUTOCONN – Auto connect to AP or not ...................................31
17. AT+CIPSTAMAC – Set MAC address of station
......................................31
18. AT+CIPSTAMAC_CUR – Set MAC address of station
............................32
19. AT+CIPSTAMAC_DEF – Set MAC address of station, save as default
....32
20. AT+CIPAPMAC – Set MAC address of softAP
........................................33
21. AT+CIPAPMAC_CUR – Set MAC address of softAP
..............................33
22. AT+CIPAPMAC_DEF – Set MAC address of softAP and save as default .34
23. AT+CIPSTA – Set IP address of station ...................................................35
24. AT+CIPSTA_CUR – Set IP address of station
.........................................36
25. AT+CIPSTA_DEF – Set IP address of station and save as default
...........37
26. AT+ CIPAP – Set IP address of softAP
...................................................38
27. AT+CIPAP_CUR – Set IP address of softAP
...........................................39
28. AT+CIPAP_DEF – Set IP address of softAP, save as default
...................40
29. AT+CWSTARTSMART – Start SmartConfig
............................................41
30. AT+CWSTOPSMART – stop SmartConfig
..............................................41
5.
TCP/IP Related AT Commands ...............................................................42
5.1.
5.2.
1.
2.
3.
4.
5.
6.
7.
8.
9.
Overview
...............................................................................................42
TCP/IP ...................................................................................................43
AT+CIPSTATUS – Information about connection .....................................43
AT+CIPSTART – Start connection ...........................................................44
AT+CIPSEND – Send data
.....................................................................45
AT+CIPSENDEX – Send data
.................................................................46
AT+CIPSENDBUF – Write data into TCP-send-buffer
..............................47
AT+CIPBUFSTATUS – Check status of TCP-send-buffer ........................48
AT+CIPCHECKSEQ – Check if specific segment sent successfully or not 9
4
AT+CIPBUFRESET – Reset segment ID count ........................................49
AT+CIPCLOSE – Close TCP or UDP connection
.....................................50
10. AT+CIFSR – Get local IP address
...........................................................50
Espressif Systems Confidential
4/59
Friday, July 3, 2015
!
!
Espressif Systems
!
ESP8266
AT Instruction Set
11. AT+CIPMUX – Enable multiple connections ............................................51
12. AT+CIPSERVER – Configure as TCP server
...........................................52
13. AT+CIPMODE – Set transfer mode
........................................................53
14. AT+SAVETRANSLINK – Save transparent transmission link to Flash
......54
15. AT+CIPSTO – Set TCP server timeout
...................................................55
16. AT+PING – Function Ping .......................................................................55
17. AT+CIUPDATE – Update through network ..............................................56
18. AT+CIPDINFO – Show remote IP and port with “+IPD”
..........................56
19. +IPD – Receive network data
.................................................................57
6.
7.
Appendix....................................................................................................58
Q&A ............................................................................................................59
Espressif Systems Confidential
5/59
Friday, July 3, 2015
Plik z chomika:
mikomil
Inne pliki z tego folderu:
Connecting Arduino. Programming And Networking With The Ethernet Shield.pdf
(9675 KB)
make_a_mind_controlled_arduino_robot.pdf
(8558 KB)
learning_internet_of_things.pdf
(5201 KB)
getting_started_with_electronic_projects.pdf
(6537 KB)
designing_the_internet_of_things.pdf
(5078 KB)
Inne foldery tego chomika:
Elektronika Praktyczna - Dodatkowe materiały
elektronika-praktyczna 2011
Zgłoś jeśli
naruszono regulamin