checkDeviceOTAUpdate ^6.8
检测设备OTA版本
#请求参数
| Prop |
Type |
Default |
Comment |
deviceIds |
Array |
N/A |
JSON数组字符串 |
#接口调用示例
const params = {
deviceIds: ['1221'], //家电Id,家电设备Id
}
this.$bridge
.checkDeviceOTAUpdate(params)
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
#返回参数
| Prop |
Type |
Default |
Description |
deviceInfo |
Array |
N/A |
|
| Prop |
Type |
Default |
Description |
upgradeModuleVersion |
String |
N/A |
可升级的模块版本号 |
deviceId |
String |
N/A |
设备号 |
upgradeWifiVersion |
String |
N/A |
可升级的wireless版本号 |
moduleVersion |
String |
N/A |
模块当前版本号, |
wifiVersion |
String |
N/A |
当前wireless版本号 |
| Prop |
Type |
Default |
Description |
msg |
String |
N/A |
错误消息 |
code |
Number |
N/A |
错误码 |