没有合适的资源?快使用搜索试试~ 我知道了~
首页Quectel_EC2x&EG9x&EM05_HTTP(S)_AT_Commands_Manual_V1.0.pdf
资源详情
资源评论
资源推荐
EC2x&EG9x&EM05 HTTP(S)
AT Commands Manual
LTE Module Series
Rev. EC2x&EG9x&EM05_HTTP(S)_AT_Commands_Manual_V1.0
Date: 2017-11-20
Status: Released
www.quectel.com
LTE Module Series
EC2x&EG9x&EM05 HTTP(S) AT Commands Manual
EC2x&EG9x&EM05_HTTP(S)_AT_Commands_Manual 1 / 36
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 HTTP(S) AT Commands Manual
EC2x&EG9x&EM05_HTTP(S)_AT_Commands_Manual 2 / 36
About the Document
History
Revision
Date
Author
Description
1.0
2017-11-20
Duke XIN/
Haley HUANG
Initial
LTE Module Series
EC2x&EG9x&EM05 HTTP(S) AT Commands Manual
EC2x&EG9x&EM05_HTTP(S)_AT_Commands_Manual 3 / 36
Contents
About the Document ................................................................................................................................... 2
Contents ....................................................................................................................................................... 3
Table Index ................................................................................................................................................... 5
1 Introduction .......................................................................................................................................... 6
1.1. The Process of Using HTTP(S) AT Commands ...................................................................... 6
1.2. Description of HTTP(S) Header .............................................................................................. 7
1.2.1. Customize HTTP(S) Request Header ............................................................................. 7
1.2.2. Output HTTP(S) Response Header ................................................................................. 7
1.3. Description of Data Mode ........................................................................................................ 8
2 Description of HTTP(S) AT Commands ............................................................................................. 9
2.1. AT+QHTTPCFG Configure Parameters for HTTP(S) Server ............................................... 9
2.2. AT+QHTTPURL Set URL of HTTP(S) Server .................................................................... 12
2.3. AT+QHTTPGET Send GET Request to HTTP(S) Server .................................................. 13
2.4. AT+QHTTPGETEX Send Range GET Request to HTTP(S) Server.................................. 14
2.5. AT+QHTTPPOST Send POST Request to HTTP(S) Server via UART/USB .................... 15
2.6. AT+QHTTPPOSTFILE Send POST Request to HTTP(S) Server via File ......................... 17
2.7. AT+QHTTPREAD Read Response from HTTP(S) Server via UART/USB ........................ 18
2.8. AT+QHTTPREADFILE Read Response from HTTP(S) Server via File ............................ 19
2.9. AT+QHTTPSTOP Cancel HTTP(S) Request ..................................................................... 20
3 Examples ............................................................................................................................................ 21
3.1. Access to HTTP Server ......................................................................................................... 21
3.1.1. Send HTTP GET Request and Read the Response ..................................................... 21
3.1.2. Send HTTP POST Request and Read the Response ................................................... 22
3.1.2.1. Post Body Obtained from UART/USB ................................................................... 22
3.1.2.2. Post Body Obtained from File System .................................................................. 23
3.2. Access to HTTPS Server ...................................................................................................... 24
3.2.1. Send HTTPS GET Request and Read the Response ................................................... 24
3.2.2. Send HTTPS POST Request and Read the Response ................................................ 26
3.2.2.1. Post Body Obtained from UART/USB ................................................................... 26
3.2.2.2. Post Body Obtained from File System .................................................................. 28
4 Error Handling .................................................................................................................................... 30
4.1. Executing HTTP(S) AT Commands Fails .............................................................................. 30
4.2. PDP Activation Fails .............................................................................................................. 30
4.3. DNS Parse Fails .................................................................................................................... 30
4.4. Entering Data Mode Fails ...................................................................................................... 31
4.5. Sending GET/POST Requests Fails .................................................................................. 31
4.6. Reading Response Fails ....................................................................................................... 31
5 Summary of ERROR Codes .............................................................................................................. 33
6 Summary of HTTP(S) Response Codes .......................................................................................... 35
剩余36页未读,继续阅读
ltrtt
- 粉丝: 17
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- RTL8188FU-Linux-v5.7.4.2-36687.20200602.tar(20765).gz
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0