From 3d96c2e7fadc23b6fb067606df3bdbd301879dbc Mon Sep 17 00:00:00 2001 From: summer8999 Date: Mon, 1 Aug 2022 14:39:55 +0800 Subject: [PATCH] SR000H5EJ6 Signed-off-by: summer8999 --- .../reference/apis/js-apis-device-manager.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-device-manager.md b/zh-cn/application-dev/reference/apis/js-apis-device-manager.md index 12f5737601..213bc65dc7 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-device-manager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-device-manager.md @@ -61,7 +61,7 @@ createDeviceManager(bundleName: string, callback: AsyncCallback<DeviceManager | deviceName | string | 是 | 设备名称。 | | deviceType | [DeviceType](#devicetype) | 是 | 设备类型。 | | networkId8+ | string | 是 | 设备网络标识。 | - +| rangge9+ | 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) } ] }; -- GitLab