提交 3d96c2e7 编写于 作者: S summer8999

SR000H5EJ6

Signed-off-by: Nsummer8999 <xionghuan7@huawei.com>
上级 5b6a03d4
......@@ -61,7 +61,7 @@ createDeviceManager(bundleName: string, callback: AsyncCallback&lt;DeviceManager
| deviceName | string | 是 | 设备名称。 |
| deviceType | [DeviceType](#devicetype) | 是 | 设备类型。 |
| networkId<sup>8+</sup> | string | 是 | 设备网络标识。 |
| rangge<sup>9+</sup> | number | 是 | 发现设备的距离。 |
## DeviceType
......@@ -401,13 +401,9 @@ startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions: string): void
var filterOptions = {
"filter_op": "AND",
"filters": [
{
"type": "credible",
"value": 2
},
{
"type": "range",
"value": 50
"value": 50 // 需过滤发现设备的距离,单位(cm)
}
]
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册