没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
LTE Module Series
EC20 R2.0 TCP/IP AT Commands Manual
EC20_R2.0_TCP/IP_AT_Commands_Manual Confidential / Released 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.
Office 501, Building 13, No.99, Tianzhou Road, Shanghai, China, 200233
Tel: +86 21 5108 6236
Email: info@quectel.com
Or our local office. For more information, please visit:
http://www.quectel.com/support/salesupport.aspx
For technical support, or to report documentation errors, please visit:
http://www.quectel.com/support/techsupport.aspx
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 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.
Quectel
Confidential
LTE Module Series
EC20 R2.0 TCP/IP AT Commands Manual
EC20_R2.0_TCP/IP_AT_Commands_Manual Confidential / Released 2 / 43
About the Document
History
Revision
Date
Author
Description
1.0
2017-03-27
Lory DONG
Initial
Quectel
Confidential
LTE Module Series
EC20 R2.0 TCP/IP AT Commands Manual
EC20_R2.0_TCP/IP_AT_Commands_Manual Confidential / Released 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 ................................................................................ 20
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 ...................................................... 24
2.1.15. AT+QICFG Configure Optional Parameters ............................................................... 25
2.1.16. AT+QISDE Control Whether to Echo the Data for AT+QISEND ................................. 27
2.1.17. AT+QIGETERROR Query the Last Error Code .......................................................... 28
2.2. Description of URC .................................................................................................................... 29
2.2.1. URC of Connection Closed ............................................................................................ 29
2.2.2. URC of Incoming Data ................................................................................................... 29
2.2.3. URC of Incoming Connection Full.................................................................................. 30
2.2.4. URC of Incoming Connection ........................................................................................ 30
2.2.5. URC of PDP Deactivation .............................................................................................. 30
3 Examples ............................................................................................................................................ 32
3.1. Configure and Activate a Context .............................................................................................. 32
3.1.1. Configure a Context ....................................................................................................... 32
3.1.2. Activate a Context .......................................................................................................... 32
3.1.3. Deactivate a Context ...................................................................................................... 32
3.2. TCP Client Works in Buffer Access Mode ................................................................................. 33
3.2.1. Set up a TCP Client Connection and Enter into Buffer Access Mode ........................... 33
3.2.2. Send Data in Buffer Access Mode ................................................................................. 33
3.2.3. Receive Data from Remote Server in Buffer Access Mode ........................................... 34
Quectel
Confidential
LTE Module Series
EC20 R2.0 TCP/IP AT Commands Manual
EC20_R2.0_TCP/IP_AT_Commands_Manual Confidential / Released 4 / 43
3.2.4. Close a Connection ........................................................................................................ 34
3.3. TCP Client Works in Transparent Access Mode ........................................................................ 34
3.3.1. Set up a TCP Client Connection and Enter into Transparent Access Mode ................. 34
3.3.2. Send Data in Transparent Access Mode ....................................................................... 34
3.3.3. Receive Data from Remote Server in Transparent Access Mode ................................. 35
3.3.4. Close a TCP Client ......................................................................................................... 35
3.4. TCP Client Works in Direct Push Mode ..................................................................................... 35
3.4.1. Set up a TCP Client Connection and Enter into Direct Push Mode .............................. 35
3.4.2. Send Data in Direct Push Mode ..................................................................................... 35
3.4.3. Receive Data from Remote Server in Direct Push Mode .............................................. 36
3.4.4. Close a TCP Client ......................................................................................................... 36
3.5. TCP Server Works in Buffer Access Mode ................................................................................ 36
3.5.1. Start a TCP Server ......................................................................................................... 36
3.5.2. Accept TCP Incoming Connection ................................................................................. 37
3.5.3. Receive Data from Incoming Connection ...................................................................... 37
3.5.4. Close a TCP Server ....................................................................................................... 37
3.6. Example of UDP Service ........................................................................................................... 37
3.6.1. Start a UDP Service ....................................................................................................... 37
3.6.2. Send UDP Data to Remote ............................................................................................ 38
3.6.3. Receive Data from Remote ............................................................................................ 38
3.6.4. Close a UDP Service ..................................................................................................... 38
3.7. PING ........................................................................................................................................... 39
3.8. Synchronize Local Time ............................................................................................................. 39
3.9. Example of Getting Last Error Code .......................................................................................... 39
4 Summary of Error Codes .................................................................................................................. 40
5 Appendix A Reference ....................................................................................................................... 42
Quectel
Confidential
剩余43页未读,继续阅读
资源评论
- 小花呵呵哒2019-08-20我有这个资源,以为他这个资源有什么特别的,跟我有的是一样的,只是名字不一样,3积分没了
- soso90soso2019-09-06这个资源可以。值得下载
- 星湖三文鱼2019-07-02还不错的资源啊
Nick_yao
- 粉丝: 0
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功