文档
测试

设备总数(蓝牙)

POST
{{host}}/api/device/limitBtDeviceTotal

响应参数

参数名
类型
描述
必填
ret
int
返回码:0-正常,非0-失败
必填
msg
string
返回消息
必填
result
array
返回数据
必填
no_network_total
int
未组网设备数量
必填
networking_total
int
已组网设备数量
必填
modified_total
int
需要修改设备数量
必填
bt_device_type
string
蓝牙设备类型代码
必填
bt_device_type_name
string
蓝牙设备类型名称
必填

说明 / 示例

###### 示例代码 ```javascript //请求 let res = await post("api/device/limitBtDeviceTotal") //返回 res = { ret: 0, msg: "查询成功", result:[{ "no_network_total": 1, "networking_total": 1, "modified_total": 0, "bt_device_type": "MeshConverter", "bt_device_type_name": "mesh多功能转换器" }, { "no_network_total": 0, "networking_total": 0, "modified_total": 1, "device_type": "MicrowaveSensor", "bt_device_type_name": "mesh微波传感器" } ] } ```