没有合适的资源?快使用搜索试试~ 我知道了~
首页Quectel_EC2x&EG9x;&EM05;_TCP(IP)_AT_Commands_Manual_V1.0
资源详情
资源评论
资源推荐
LTE Module Series
EC2x&EG9x&EM05 TCP/IP AT Commands Manual
EC2x&EG9x&EM05_TCP/IP_AT_Commands_Manual 1 / 43
Our aim is to provide customers with timely and comprehensive service. For any
assistance, please contact our company headquarters:
Quectel Wireless Solutions Co., Ltd.
7
th
Floor, Hongye Building, No.1801 Hongmei Road, Xuhui District, Shanghai 200233, China
Tel: +86 21 5108 6236
Email: info@quectel.com
Or our local office. For more information, please visit:
http://quectel.com/support/sales.htm
For technical support, or to report documentation errors, please visit:
http://quectel.com/support/technical.htm
Or email to: support@quectel.com
GENERAL NOTES
QUECTEL OFFERS THE INFORMATION AS A SERVICE TO ITS CUSTOMERS. THE INFORMATION
PROVIDED IS BASED UPON CUSTOMERS’ REQUIREMENTS. QUECTEL MAKES EVERY EFFORT
TO ENSURE THE QUALITY OF THE INFORMATION IT MAKES AVAILABLE. QUECTEL DOES NOT
MAKE ANY WARRANTY AS TO THE INFORMATION CONTAINED HEREIN, AND DOES NOT ACCEPT
ANY LIABILITY FOR ANY INJURY, LOSS OR DAMAGE OF ANY KIND INCURRED BY USE OF OR
RELIANCE UPON THE INFORMATION. ALL INFORMATION SUPPLIED HEREIN IS SUBJECT TO
CHANGE WITHOUT PRIOR NOTICE.
COPYRIGHT
THE INFORMATION CONTAINED HERE IS PROPRIETARY TECHNICAL INFORMATION OF
QUECTEL WIRELESS SOLUTIONS CO., LTD. TRANSMITTING, REPRODUCTION, DISSEMINATION
AND EDITING OF THIS DOCUMENT AS WELL AS UTILIZATION OF THE CONTENT ARE
FORBIDDEN WITHOUT PERMISSION. OFFENDERS WILL BE HELD LIABLE FOR PAYMENT OF
DAMAGES. ALL RIGHTS ARE RESERVED IN THE EVENT OF A PATENT GRANT OR
REGISTRATION OF A UTILITY MODEL OR DESIGN.
Copyright © Quectel Wireless Solutions Co., Ltd. 2017. All rights reserved.
LTE Module Series
EC2x&EG9x&EM05 TCP/IP AT Commands Manual
EC2x&EG9x&EM05_TCP/IP_AT_Commands_Manual 2 / 43
About the Document
History
Revision
Date
Author
Description
1.0
2017-11-22
Duke XIN/
Shirly WANG
Initial
LTE Module Series
EC2x&EG9x&EM05 TCP/IP AT Commands Manual
EC2x&EG9x&EM05_TCP/IP_AT_Commands_Manual 3 / 43
Contents
About the Document ................................................................................................................................... 2
Contents ....................................................................................................................................................... 3
Table Index ................................................................................................................................................... 5
1 Introduction .......................................................................................................................................... 6
1.1. The Process of Using TCP/IP AT Commands ............................................................................. 6
1.2. Description of Data Access Modes .............................................................................................. 8
2 Description of TCP/IP AT Commands ............................................................................................. 10
2.1. Description of AT Commands .................................................................................................... 10
2.1.1. AT+QICSGP Configure Parameters of a TCP/IP Context .......................................... 10
2.1.2. AT+QIACT Activate a PDP Context ............................................................................ 11
2.1.3. AT+QIDEACT Deactivate a PDP Context ................................................................... 12
2.1.4. AT+QIOPEN Open a Socket Service .......................................................................... 13
2.1.5. AT+QICLOSE Close a Socket Service ........................................................................ 14
2.1.6. AT+QISTATE Query Socket Service Status ................................................................ 15
2.1.7. AT+QISEND Send Data .............................................................................................. 17
2.1.8. AT+QIRD Retrieve the Received TCP/IP Data ........................................................... 19
2.1.9. AT+QISENDEX Send Hex String ................................................................................ 21
2.1.10. AT+QISWTMD Switch Data Access Modes ................................................................ 21
2.1.11. AT+QPING Ping a Remote Server .............................................................................. 22
2.1.12. AT+QNTP Synchronize Local Time with NTP Server ................................................. 23
2.1.13. AT+QIDNSCFG Configure Address of DNS Server ................................................... 24
2.1.14. AT+QIDNSGIP Get IP Address by Domain Name ...................................................... 25
2.1.15. AT+QICFG Configure Optional Parameters ............................................................... 26
2.1.16. AT+QISDE Control Whether to Echo the Data for AT+QISEND ................................. 29
2.1.17. AT+QIGETERROR Query the Last Error Code .......................................................... 29
2.2. Description of URC .................................................................................................................... 30
2.2.1. URC of Connection Closed ............................................................................................ 30
2.2.2. URC of Incoming Data ................................................................................................... 31
2.2.3. URC of Incoming Connection Full.................................................................................. 31
2.2.4. URC of Incoming Connection ........................................................................................ 32
2.2.5. URC of PDP Deactivation .............................................................................................. 32
3 Examples ............................................................................................................................................ 33
3.1. Configure and Activate a Context .............................................................................................. 33
3.1.1. Configure a Context ....................................................................................................... 33
3.1.2. Activate a Context .......................................................................................................... 33
3.1.3. Deactivate a Context ...................................................................................................... 33
3.2. TCP Client Works in Buffer Access Mode ................................................................................. 34
3.2.1. Set up a TCP Client Connection and Enter into Buffer Access Mode ........................... 34
3.2.2. Send Data in Buffer Access Mode ................................................................................. 34
3.2.3. Receive Data from Remote Server in Buffer Access Mode ........................................... 35
LTE Module Series
EC2x&EG9x&EM05 TCP/IP AT Commands Manual
EC2x&EG9x&EM05_TCP/IP_AT_Commands_Manual 4 / 43
3.2.4. Close a Connection ........................................................................................................ 35
3.3. TCP Client Works in Transparent Access Mode ........................................................................ 35
3.3.1. Set up a TCP Client Connection and Enter into Transparent Access Mode ................. 35
3.3.2. Send Data in Transparent Access Mode ....................................................................... 35
3.3.3. Receive Data from Remote Server in Transparent Access Mode ................................. 36
3.3.4. Close a TCP Client ......................................................................................................... 36
3.4. TCP Client Works in Direct Push Mode ..................................................................................... 36
3.4.1. Set up a TCP Client Connection and Enter into Direct Push Mode .............................. 36
3.4.2. Send Data in Direct Push Mode ..................................................................................... 36
3.4.3. Receive Data from Remote Server in Direct Push Mode .............................................. 37
3.4.4. Close a TCP Client ......................................................................................................... 37
3.5. TCP Server Works in Buffer Access Mode ................................................................................ 37
3.5.1. Start a TCP Server ......................................................................................................... 37
3.5.2. Accept TCP Incoming Connection ................................................................................. 38
3.5.3. Receive Data from Incoming Connection ...................................................................... 38
3.5.4. Close a TCP Server ....................................................................................................... 38
3.6. Example of UDP Service ........................................................................................................... 38
3.6.1. Start a UDP Service ....................................................................................................... 38
3.6.2. Send UDP Data to Remote ............................................................................................ 39
3.6.3. Receive Data from Remote ............................................................................................ 39
3.6.4. Close a UDP Service ..................................................................................................... 39
3.7. PING ........................................................................................................................................... 40
3.8. Synchronize Local Time ............................................................................................................. 40
3.9. Example of Getting Last Error Code .......................................................................................... 40
4 Summary of Error Codes .................................................................................................................. 41
5 Appendix A Reference ....................................................................................................................... 43
剩余43页未读,继续阅读
cloudsway
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- ExcelVBA中的Range和Cells用法说明.pdf
- 基于单片机的电梯控制模型设计.doc
- 主成分分析和因子分析.pptx
- 共享笔记服务系统论文.doc
- 基于数据治理体系的数据中台实践分享.pptx
- 变压器的铭牌和额定值.pptx
- 计算机网络课程设计报告--用winsock设计Ping应用程序.doc
- 高电压技术课件:第03章 液体和固体介质的电气特性.pdf
- Oracle商务智能精华介绍.pptx
- 基于单片机的输液滴速控制系统设计文档.doc
- dw考试题 5套.pdf
- 学生档案管理系统详细设计说明书.doc
- 操作系统PPT课件.pptx
- 智慧路边停车管理系统方案.pptx
- 【企业内控系列】企业内部控制之人力资源管理控制(17页).doc
- 温度传感器分类与特点.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0