赞
踩
SIM7600CE是一款SMT封装的模块,支持 LTE-TDD/LTE-FDD/HSPA+/TD-SCDMA/EVDO和GSM/GPRS/EDGE等频段,支持LTE CAT4(下行速度为150Mbps)
其性能稳定,外观小巧,性价比高,可以低功耗实现SMS和数据信息的传输
数据传输
post
下面的配置针对中国移动SIM卡
AT+CGSOCKCONT=?
+CGSOCKCONT: (1-24,100-179),"IP",,,(0-2),(0-4),(0-1),(0-1)
+CGSOCKCONT: (1-24,100-179),"PPP",,,(0-2),(0-4),(0-1),(0-1)
+CGSOCKCONT: (1-24,100-179),"IPV6",,,(0-2),(0-4),(0-1),(0-1)
+CGSOCKCONT: (1-24,100-179),"IPV4V6",,,(0-2),(0-4),(0-1),(0-1)
AT+CGSOCKCONT=1,"IP","CMNET"
OK
AT+CHTTPACT="www.huaoe.com",80
+CHTTPACT: REQUEST
POST /ad02/test.php HTTP/1.1
Host: www.huaoe.com
Accept: */*
Content-Type: application/x-www-form-urlencoded
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36
Connection: close //短连接
Cache-Control:no-cache
Accept-Charset:utf-8, us-ascii
Pragma: no-cache
Content-Length:30
dtuMsg=HOE-SIM7600CE-HTTP-TEST //消息体
1A(Ctrl+Z) //结束
OK
//返回值
+CHTTPACT: DATA,225
http/1.1 200 ok
connection: close
date: wed, 17 may 2017 01:05:00 gmt
server: microsoft-iis/6.0
x-powered-by: asp.net
x-powered-by: php/5.2.17
content-type: text/html
dtuMsg is:HOE-SIM7600CE-HTTP-TSET<br>save ok!<br>

Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。