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
"FC": 0//满充容量,单位:mAH
"RC": 0//剩余容量,单位:mAH
"soc": 1, //Soc百分比
"cycle": 0,//电池
"cell": 0//电压
"temp": 0//温度
"mac_status": "0,0,0,0,0,0,0,0"//基站状态(对应下表基站状态0-7)
"led": 0//led灯
"state": 0//充电宝状态 (0忽略)
}
]
}</code></pre>
<p><img src="https://www.showdoc.cc/server/api/common/visitfile/sign/aefa5a1c1cc7aa556a7f7f221a4ad805?showdoc=.jpg" alt="" />
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/b61fc7150e967320fd92b720a72fef56?showdoc=.jpg" alt="" />
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/e780a7058c534c550d0e5c8e6ad4e3c1?showdoc=.jpg" alt="" /></p>
<ul>
<li>备注:无</li>
</ul>