PAD 心跳
<h5>简要描述</h5>
<ul>
<li>MQTT收发</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>xxx</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>post</li>
</ul>
<h5>备注</h5>
<p>终端请求:<br />
{
"command":"heartbeat",
"serial":"862952021229827", //设备唯一ID
"msgid":"xxx", //消息唯一ID
"message":{
"signal":"25", //设备移动信号强度
"temperature":"25.5", //设备温度
"humidity":"45", //设备湿度</p>
<pre><code>}</code></pre>
<p>}
服务器响应:
{
"command":"heartbeat", //命令字
"msgid":"xxx", //消息唯一ID
"code":"0", //0-设备已注册,否则设备未注册<br />
"message":{
"systemtime":"2016-11-17 07:48:04" //当前时间
}
} </p>