# 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)
  })
1
2
3
4
5
6
7
8
9
10
11

# 返回参数

  • 成功时返回
Prop Type Default Description
deviceInfo Array N/A
  • items 对象属性
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 错误码
更新时间: 10/27/2022, 2:33:23 PM