# queryDeviceAbility ^11.0
查询设备物模型能力
# 请求参数
Prop | Type | Default | Comment |
---|---|---|---|
mac | String | N/A | mac地址 |
applianceId | String | N/A | 设备deviceId |
# 接口调用示例
const params = {
mac: 'xxxxxxxxxxxx',
applianceId: 'xxxx', //设备deviceId
}
this.$bridge
.queryDeviceAbility(params)
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
# 返回参数
- 成功时返回
Prop | Type | Default | Description |
---|---|---|---|
version | String | N/A | 紧凑型物模型版本 |
dataType | String | N/A | 物模型类型0-json物模型,1-紧凑物模型(当前只支持紧凑物模型) |
isSupportLan | Boolean | N/A | true/false//是否支持局域网控制 |