版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、ESP8266 AT Ver0.5Espressif Systems IOT TeamCopyright (c) 2015ESP8266 ATEspressif Systemsd ExlesURL“”Wi-FiWi-Fi 2015 Espressif Systems Confidential2/18Friday, July 3, 2015ESP8266 ATEspressif Systemsd ExlesTable of Contents.41.2. TCP Cnt53.UDP 73.1.3.2. UDP 8 UDP 94.104.1.4.2.TCP cnt 10UDP 135.6. TCP
2、Server16 .18Espressif Systems Confidential3/18Friday, July 3, 2015ESP8266 ATEspressif Systemsd Exles1. Espressif AT AT “ 4A-ESP8266 AT Instruction Set ”AT bin esp_iot_sdkbinat “readme.txt” PC 115200 AT AT Espressif Systems Confidential4/18Friday, July 3, 2015ESP8266 AT TCP CEspressif Systemsd Exles2
3、.nt WiFi : IP :PC ESP8266 PC TCP Espressif Systems Confidential5/18Friday, July 3, 2015AT+CIFSRResponse :192.168.3.106/ Device got an IP from router.AT+CWJAP=, password/and password of router Response :OKAT+CWMODE=3/ softAP+sion mode Response :OKESP8266 ATEspressif Systemsd ExlesESP8266 cnt TCP serv
4、er: (n) busy n SEND OK.:Espressif Systems Confidential6/18Friday, July 3, 2015+IPD, n:x/ received n bytes, data=xxAT+CIPSEND=4/ set daength which will be sent, such as 4 bytesDGFY/ enter the data, no CR Response :SEND OKAT+CIPSTART=TCP, 192.168.3.116, 8080 /protocolserver IP & port Response :OKESP82
5、66 ATEspressif Systemsd Exles3.UDP UDP server cnt AT+CIPSTART “ 4A-ESP8266 AT Instruction Set ” WiFi : IP :PC ESP8266 PC UDP UDP Espressif Systems Confidential7/18Friday, July 3, 2015AT+CIFSRResponse :+CIFSR: STAIP, 192.168.101.104 / IP address of ESP8266 sionAT+CWJAP=, password/and password of rout
6、er Response :OKAT+CWMODE=3/ softAP+sion mode Response :OKESP8266 ATEspressif Systemsd Exles3.1. UDP UDP ”AT+CIPSTART“ 0 : UDP ID 4 :192.168.101.110, 8080 UDP IP port PC UDP 1112 ESP8266 UDP 0 UDP UDP UDP ESP8266 UDP 1112ESP8266 4 UDP “AT+CIPSEND=4, X” PC : (n) busy n SEND OK.: UDP :Espressif Systems
7、 Confidential8/18Friday, July 3, 2015AT+CIPCLOSE=4Response :4, CLOSEDOK+IPD, 4, n:x/ received n bytes, data=xxAT+CIPSEND=4, 5/ Send 5 bytes to transmisNO.4DGFYQ/ enter the data, no CR Response :SEND OKAT+CIPSTART=4, UDP, 192.168.101.110, 8080, 1112, 0Response :4, CONNECTOKAT+CIPMUX=1Response :OKESP8
8、266 ATEspressif Systemsd Exles3.2. UDP UDP “2”. :192.168.101.110, 8080 UDP IP port PC UDP 1112 ESP8266 UDP 2 UDP UDP UDP ESP8266 UDP : (n) busy n SEND OK. UDP UDP IP port : UDP :Espressif Systems Confidential9/18Friday, July 3, 2015AT+CIPCLOSEResponse :CLOSEDOK+IPD, n:x/ received n bytes, data=xxAT+
9、CIPSEND=6, ”192.168.101.111”, 1000/ Send 6 bytesabcdef/ enter the data, no CR Response :SEND OKAT+CIPSEND=5/ Send 5 bytesDGFYQ/ enter the data, no CR Response :SEND OKAT+CIPSTART=UDP, 192.168.101.110, 8080, 1112, 2Response :CONNECTOKESP8266 ATEspressif Systemsd Exles4.AT Demo ESP8266 TCP cnt UDP 4.1
10、.TCP cnt ESP8266 sion TCP cnt ESP8266 softAP “ 4A-ESP8266 AT Instruction Set ” WiFi : IP :PC ESP8266 PC TCP Espressif Systems Confidential10/18Friday, July 3, 2015AT+CIFSRResponse :192.168.101.105/ DeviIPt got from router.AT+CWJAP=, password/and password of router Response :OKAT+CWMODE=3/ softAP+sio
11、n mode Response :OKESP8266 ATEspressif Systemsd Exles TCP cnt TCP server: : “+”Espressif Systems Confidential11/18Friday, July 3, 2015AT+CIPSENDResponse: /From now on, data received from UART will be transparent transmitted to server.AT+CIPMODE=1Response :OKAT+CIPSTART=TCP, 192.168.101.110, 8080 / p
12、rotocolserver IP & port Response :OKLinkedESP8266 ATEspressif Systemsd Exles “+” “+” + “”:“+“ AT TCP AT+CIPSEND: TCP :Espressif Systems Confidential12/18Friday, July 3, 2015AT+CIPCLOSEResponse :CLOSEDOKAT+CIPMODE=0Response : OKESP8266 ATEspressif Systemsd Exles4.2.UDP ESP8266 soft-AP UDP ESP8266 s E
13、SP8266 AT Instruction Set ” ion “ 4A- WiFi :PC ESP8266 soft-AP PC UDPESP8266 PC UDP Espressif Systems Confidential13/18Friday, July 3, 2015AT+CIPSTART=UDP,192.168.4.2,1001,2233,0Response :OKAT+CWMODE=3/ softAP+sion mode Response :OKESP8266 ATEspressif Systems:d Exles : “+”Espressif Systems Confident
14、ial14/18Friday, July 3, 2015AT+CIPSENDResponse: /From now on, data received from UART will be transparent transmitted to server.AT+CIPMODE=1Response :OKESP8266 ATEspressif Systemsd Exles “+” “+” + “”:“+“ AT UDP AT+CIPSEND : UDP :Espressif Systems Confidential15/18Friday, July 3, 2015AT+CIPCLOSERespo
15、nse :CLOSEDOKAT+CIPMODE=0Response : OKESP8266 ATEspressif Systemsd Exles5. TCP Server AT Demo ESP8266 TCP TCP cnt ESP8266 softAP TCP ESP8266 s:ion WiFi : TCP server:PC ESP8266 soft-APPC TCP cnt Espressif Systems Confidential16/18Friday, July 3, 2015AT+CIPSERVER=1/ default port = 333 Response :OKAT+C
16、IPMUX=1Response :OKAT+CWMODE=3/ softAP+sion mode Response :OKESP8266 ATEspressif Systemsd Exles:ESP8266 TCP server ESP8266 TCP server TCP cnt PC ESP8266 2s : (n) busy n SEND OK.: TCP :Espressif Systems Confidential17/18Friday, July 3, 2015AT+CIPCLOSE=0/ Delete NO.0 connection. Response :0, CLOSEDOK+
17、IPD, 0, n:x/ received n bytes, data =x/ ID number of connection is defaulted to be 0.AT+CIPSEND=0, 4/ send 4 bytes to connection NO.0iopd/ enter the data, no CR Response :SEND OKESP8266 ATEspressif Systemsd Exles6. AT suppor AT : “AT+GMR” ESP-01 log log ets Jan8 2013,rst cause: 1,boot mode: (3,3)load 0 x40100000, tail 0chksum 0 xdeload 0 x3ffe8000,
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 寧波浙江寧波市北侖區(qū)民政事務(wù)中心招聘工作人員筆試歷年參考題庫附帶答案詳解
- 2025年江蘇蘇州市常熟高新技術(shù)產(chǎn)業(yè)開發(fā)區(qū)招商公司招聘筆試參考題庫附帶答案詳解
- 2025年內(nèi)蒙古赤峰市巴林右旗萬晟國有資本運營集團招聘筆試參考題庫附帶答案詳解
- 2025年中國詠菊詩工藝品市場調(diào)查研究報告
- 2025年廣西桂林市民政局所屬事業(yè)單位招聘11人歷年高頻重點提升(共500題)附帶答案詳解
- 2025年廣西柳州融水苗族自治縣文化體育廣電和旅游局招聘編外人員4人歷年高頻重點提升(共500題)附帶答案詳解
- 2025年廣西柳州市魚峰區(qū)招聘(自主實施)鄉(xiāng)鎮(zhèn)事業(yè)單位人員5人高頻重點提升(共500題)附帶答案詳解
- 2025年廣西柳州市柳北區(qū)市場監(jiān)督管理局事業(yè)單位招聘12人歷年高頻重點提升(共500題)附帶答案詳解
- 2025年廣西柳州市城中區(qū)融媒體中心招聘編外合同制工作人員4人高頻重點提升(共500題)附帶答案詳解
- 2025年廣西柳北區(qū)綜合指揮中心招聘合同制協(xié)辦員6人歷年高頻重點提升(共500題)附帶答案詳解
- 銀行會計主管年度工作總結(jié)2024(30篇)
- 教師招聘(教育理論基礎(chǔ))考試題庫(含答案)
- 2024年秋季學(xué)期學(xué)校辦公室工作總結(jié)
- 上海市12校2025屆高三第一次模擬考試英語試卷含解析
- 三年級數(shù)學(xué)(上)計算題專項練習(xí)附答案集錦
- 長亭送別完整版本
- 《鐵路軌道維護》課件-更換道岔尖軌作業(yè)
- 股份代持協(xié)議書簡版wps
- 職業(yè)學(xué)校視頻監(jiān)控存儲系統(tǒng)解決方案
- 《銷售心理學(xué)培訓(xùn)》課件
- 2024年安徽省公務(wù)員錄用考試《行測》真題及解析
評論
0/150
提交評論