readFirmwareStatus 查询当前固件指令

readFirmwareStatus ^5.9.0

查询当前固件指令

#请求参数

Prop Type Required Default Description
param Object Y {} 属性: name: mac: 请求参数

#接口调用示例

this.$bridge
    .readFirmwareStatus(params)
    .then(res => {    
    this.$alert(res)
    })
    .catch(err => {
    this.$toast(err)
    })

#返回参数

Prop Type Default Description
messageType String receiveSingleBlueFirmwareStatus H5用来判断消息类型
messageBody Object {}附表1 APP传递的JSON对象
  • 附表1:messageBody返回参数
Prop Type Value Description
name String Y N/A
mac String Y N/A
data Object {} 属性: otaVersion:{ Type: String, Default: N/A, Description: 固件版本 一般为9个字节 固件信息

TIP

该接口基于mSmart 协议,底层由singleBlueToothModule单蓝牙支持

posted on 2024-12-16 09:45  AtlasLapetos  阅读(18)  评论(0)    收藏  举报