我用一个便宜的 Sim900 GPRS shield 和 arduino 并希望 xively。我可以使用 tcp 连接到 xively,但是当我发送数据时,我得到这个响应“状态”:400,“正文”:“语法错误:解析错误:”。我正在使用来自http://www.seeedstudio.com/wiki/GPRS_Shield_V1.0#SoftwareSerial_library_Notes的示例,并且我尝试了一些修改但没有任何运气。我没有找到关于这个字符串应该是什么样子的文档。
我的序列字符串如下所示: {"method": "put","resource": "/feeds/feednumber-removed/","params": {},"headers": {"X-PachubeApiKey":"device已删除键"},"body": {"version": "1.0.0","datastreams": {"id": "Sensor1","current_value": "1031"}]},"token": "123 "}
有人可以帮我解决这个问题吗?