请教如何用gprs模块用at命令给乐联网发送传感器数据?
本帖最后由 jzmno1 于 2013-11-11 17:24 编辑模块是sim900a的,支持http协议,请教怎么用at命令调试给乐联网发送传感器数据。
Checking registration status...
AT+CREG?
+CREG: 0,1
OK
The device is registered in home network.
Querying bearer 1 .
AT+SAPBR=2,1
+SAPBR: 1,1,"10.50.159.189"
OK
Bearer1 is Connected.IP address is "10.50.159.189"
Bearer 1 is Connected.
Initializing HTTP service...
AT+HTTPINIT
+CME ERROR: 3
Error initializing HTTP service.
Setting up HTTP parameters..
AT+HTTPPARA="URL","http://www.lewei50.com/api/V1/gateway/UpdateSensors/jzm"
OK
AT+HTTPPARA="CID",1
OK
AT+HTTPDATA=166,10000
DOWNLOAD
OK
AT+HTTPACTION=1
OK
+HTTPACTION:1,200,48
想搞一个项目感应水压,只有gprs网络。
页:
[1]