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 12f57376017d2d14db806c93e39c4dfe530f2dc0..213bc65dc7fe2b0329f8292d845b37504cd39f93 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) } ] };