3、设备主动上传设备状态
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>回调url</code></li>
</ul>
<p><strong>返回示例</strong></p>
<pre><code>{
"macno": "bmtpower-001", //设备号
"time": 1544758335, // 返回时间戳
"sn": 129, // sn序号
"mac_nums": 1, // 本基站支持的充电宝个数
"mac_nums_alter": 1, // 本次上传充电宝个数
"mac_detail": [
{
"addr": 1, //充电宝位置编号
"barcode": 0,//充电宝Barcode
"DC": 0//单位:mAH
"soc": 1, //Soc百分比
"cycle": 0,//电池
"lock": 0//门锁(0关闭,1打开)
"state": 0//状态 (0忽略,255清除固定的状态,其它值设定该槽位为指定状态)
}
]
}</code></pre>
<p><img src="https://www.showdoc.cc/server/api/common/visitfile/sign/20e71d1649ec9c7287968b1aa04d4f64?showdoc=.jpg" alt="" />
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/46136e787dc676773dff4bacab660185?showdoc=.jpg" alt="" /></p>
<ul>
<li>备注:无</li>
</ul>