版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 实验六酵母菌死活细胞鉴别
- 2026年低压电工特种作业考试试题及详细答案
- 改过得珍惜大学美好时光主题班会策划书
- 10个健康饮水习惯让你远离亚健康
- 小区门口商铺转让合同范本
- 全铝家具加盟合同范本
- 2026塑料散堆填料项目商业计划书之AI驱动流体力学模拟优化设计深度研究报告
- 2025高考志愿填报策略与决策体系构建-高饱和度颜色-现代时尚插画风格
- 谷歌翻译AI技术解析
- 同济大学高等数学课件D92二重积分的计算
- 杭州临安区辅警考试真题及答案2025
- 文具店策划创业策划方案书
- 项目风险防范与应对措施方案2025
- 水利水电工程移民信息管理系统技术导则
- 事业单位招聘考试(公共基础知识)题库及答案
- 瓷砖基础知识培训课件教学
- 大数据技术及其应用场景
- 公共营养师基础知识
- 2025年江苏苏州市常熟高新技术产业开发区招商公司招聘笔试参考题库附带答案详解
- JT-T-769-2009公路工程聚羧酸系高性能减水剂
- JBT 6434-2024 输油齿轮泵(正式版)
评论
0/150
提交评论