Arduino的GSM屏蔽:AT将数据发送到服务器(IP&安培;港口)命令的HTTP请求,不 [英] arduino gsm shield: AT commands for sending data to server(ip & port), not HTTP requests

查看:394
本文介绍了Arduino的GSM屏蔽:AT将数据发送到服务器(IP&安培;港口)命令的HTTP请求,不的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经连接上的Arduino UNO一个Arduino GSM / GPRS盾。我希望将数据发送到服务器(IP&放大器;端口)。他们不是HTTP请求。
什么是适当的AT命令序列将数据发送到服务器? (不是HTTP)
高AP preciate如果AT命令与它们的含义。
在此先感谢!

I have connected an arduino gsm/gprs shield on arduino uno. I want to send the data to a server(ip & port). They are not HTTP requests. What are the appropriate AT commands sequence to send data to a server ? (not HTTP) Highly appreciate if the AT commands are with their meanings. Thanks in advance !!!

推荐答案

我用一个Arduino连接到一个网站(xively.com),并发送数据通过TCP套接字。

I have used an Arduino to connect to a website(xively.com) and send it data over a TCP socket.

我曾经在下面的命令序列:

I used the following sequence of AT commands:

AT+CGATT=1
AT+CSTT=[APN]
AT+CIICR
AT+CIFSR
AT+CIPSPRT=0
AT+CIPSTART=\"tcp\",\"api.xively.com\",\"8081\   
AT+CIPSEND (followed by '\r' and message)
AT+CIPCLOSE

您可以找到这些AT命令的含义在
ftp://imall.iteadstudio.com/IM120417009_IComSat/DOC_SIM900_AT%20Command%20Manual_V1.03.pdf

You can find the meanings of these AT commands at ftp://imall.iteadstudio.com/IM120417009_IComSat/DOC_SIM900_AT%20Command%20Manual_V1.03.pdf

下面这个链接可以帮助:
http://www.cooking-hacks.com/documentation/tutorials/arduino-gprs-gsm-quadband-sim900

The following link might help: http://www.cooking-hacks.com/documentation/tutorials/arduino-gprs-gsm-quadband-sim900

这篇关于Arduino的GSM屏蔽:AT将数据发送到服务器(IP&安培;港口)命令的HTTP请求,不的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆