checkDeviceOTAUpdate 检测设备OTA版本

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
  • 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 错误码
posted on 2024-12-21 14:44  AtlasLapetos  阅读(15)  评论(0)    收藏  举报