Skip to content

Commit f8c39ed

Browse files
committed
【wifiscan】-修改参数范围,平台支持情况等
1 parent 99451aa commit f8c39ed

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

en-us/api/QuecPythonClasslib.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7840,7 +7840,7 @@ print(r.group(0))
78407840

78417841
#### wifiScan
78427842

7843-
Note: The BC25PA platform does not support this module function.
7843+
Note: wifiscan supports the platforms: 1603/1606(except:600MCN_LC/800MCN_GC/800MCN_LC)/8910/8850.
78447844

78457845
##### Determine whether wifiScan is supported
78467846

@@ -7948,10 +7948,10 @@ True
79487948

79497949
| Return Value | Type | Description |
79507950
| ------------- | ------------ | ------------------------------------------------------------ |
7951-
| timeout | Integer type | This parameter is the timeout of upper layer application. When the application triggers timeout, it actively reports the scanned hot spot information. The application automatically reports the hot spot information if it scans all the hop spots which have been set previously or the underlying layer scan reaches the frequency sweeping timeout before the timeout of the application. Range: 4255. Unit: second. |
7952-
| round | Integer type | This parameter is the scanning rounds of wifi. When reaching the scanning rounds, the scan stops and the scanning results are obtained. Range: 13. Unit: round. |
7953-
| max_bssid_num | Integer type | This parameter determines the maximum number of hot spots to be scanned. If the number of hot spots scanned by the underlying layer reaches the maximum, the scan stops and the scanning results are obtained. Range: 430. |
7954-
| scan_timeout | Integer type | This parameter is the wifi hot spot scanning timeout of underlying layer. If the underlying layer scan reaches the hot spot scanning timeout set previously, the scan stops and the scanning results are obtained. Range: 1255. Unit: second. |
7951+
| timeout | Integer type | This parameter is the timeout of upper layer application. When the application triggers timeout, it actively reports the scanned hot spot information. The application automatically reports the hot spot information if it scans all the hop spots which have been set previously or the underlying layer scan reaches the frequency sweeping timeout before the timeout of the application. |
7952+
| round | Integer type | This parameter is the scanning rounds of wifi. When reaching the scanning rounds, the scan stops and the scanning results are obtained. |
7953+
| max_bssid_num | Integer type | This parameter determines the maximum number of hot spots to be scanned. If the number of hot spots scanned by the underlying layer reaches the maximum, the scan stops and the scanning results are obtained. |
7954+
| scan_timeout | Integer type | This parameter is the wifi hot spot scanning timeout of underlying layer. If the underlying layer scan reaches the hot spot scanning timeout set previously, the scan stops and the scanning results are obtained. |
79557955
| priority | Integer type | This parameter is the priority setting of wifi scanning service. 0 indicates that ps is preferred; 1 indicates that wifi is preferred. When ps is preferred, the wifi scan is terminated when a data service is initiated. When wifi is preferred, RRC connection is not connected when a data service is initiated. wifi scan runs normally. The RRC connection is only established after the scan completes. |
79567956

79577957
* Example:
@@ -7975,11 +7975,11 @@ True
79757975

79767976
| Parameter | Type | Description |
79777977
| ------------- | ------------ | ------------------------------------------------------------ |
7978-
| timeout | Integer type | This parameter is the timeout of upper layer application. When the application triggers timeout, it actively reports the scanned hot spot information. The application automatically reports the hot spot information if it scans all the hop spots which have been set previously or the underlying layer scan reaches the frequency sweeping timeout before the timeout of the application. <br>Range:<br/>600S: 4255; unit: s.<br/>200U/600U: 1205000; unit: ms. |
7979-
| round | Integer type | This parameter is the scanning rounds of wifi. When reaching the scanning rounds, the scan stops and the scanning results are obtained. <br/>Range:<br/>600S: 13; unit: round<br/>200U/600U: 110; unit: round |
7980-
| max_bssid_num | Integer type | This parameter determines the maximum number of hot spots to be scanned. If the number of hot spots scanned by the underlying layer reaches the maximum, the scan stops and the scanning results are obtained. <br/>Range:<br/>600S: 430<br/>200U/600U: 1300 |
7978+
| timeout | Integer type | This parameter is the timeout of upper layer application. When the application triggers timeout, it actively reports the scanned hot spot information. The application automatically reports the hot spot information if it scans all the hop spots which have been set previously or the underlying layer scan reaches the frequency sweeping timeout before the timeout of the application. <br>Range:<br/>1603/1606 platforms: 4255; unit: s.<br/>8850/8910 platfroms: 1205000; unit: ms. |
7979+
| round | Integer type | This parameter is the scanning rounds of wifi. When reaching the scanning rounds, the scan stops and the scanning results are obtained. <br/>Range:<br/>1603/1606 platforms: 13; unit: round<br/>8850/8910 platforms: 110; unit: round |
7980+
| max_bssid_num | Integer type | This parameter determines the maximum number of hot spots to be scanned. If the number of hot spots scanned by the underlying layer reaches the maximum, the scan stops and the scanning results are obtained. <br/>Range:<br/>1603/1606 platforms: 430<br/>8850/8910 platforms: 1300 |
79817981
| scan_timeout | Integer type | This parameter is the wifi hot spot scanning timeout of underlying layer. If the underlying layer scan reaches the hot spot scanning timeout set previously, the scan stops and the scanning results are obtained. Range: 1255. |
7982-
| priority | Integer type | This parameter is the priority setting of wifi scanning service. 0 indicates that ps is preferred; 1 indicates that wifi is preferred. When ps is preferred, the wifi scan is terminated when a data service is initiated. When wifi is preferred, RRC connection is not connected when a data service is initiated. wifi scan runs normally. The RRC connection is only established after the scan completes. 200U or 600U platforms do not support this parameter. You can set this parameter to 0. |
7982+
| priority | Integer type | This parameter is the priority setting of wifi scanning service. 0 indicates that ps is preferred; 1 indicates that wifi is preferred. When ps is preferred, the wifi scan is terminated when a data service is initiated. When wifi is preferred, RRC connection is not connected when a data service is initiated. wifi scan runs normally. The RRC connection is only established after the scan completes. 8850/8910 platforms do not support this parameter. You can set this parameter to 0. |
79837983

79847984
* Return Value:
79857985

zh-cn/api/QuecPythonClasslib.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8310,7 +8310,7 @@ print(r.group(0))
83108310

83118311
#### wifiScan - WiFi扫描
83128312

8313-
注意:BC25PA平台不支持此方法。
8313+
注意:支持wifiscan的平台: 1603/1606(不包含:600MCN_LC/800MCN_GC/800MCN_LC)/8910/8850.
83148314

83158315
##### 判断是否支持 wifiScan
83168316

@@ -8412,10 +8412,10 @@ True
84128412

84138413
| 返回值 | 类型 | 说明 |
84148414
| ------------- | ---- | ------------------------------------------------------------ |
8415-
| timeout | 整型 | 该超时时间参数是上层应用的超时,当触发超时会主动上报已扫描到的热点信息,若在超时前扫描到设置的热点个数或达到底层扫频超时时间会自动上报热点信息。该参数设置范围为4-255秒。 |
8416-
| round | 整型 | 该参数是Wi-Fi扫描轮,达到扫描轮数后,会结束扫描并获取扫描结果。该参数设置范围为1-3轮次。 |
8417-
| max_bssid_num | 整型 | 该参数是Wi-Fi扫描热点最大个,若底层扫描热点个数达到设置的最大个数,会结束扫描并获取扫描结果。该参数设置范围为4-30个。 |
8418-
| scan_timeout | 整型 | 该参数是底层Wi-Fi扫描热点超时时间,若底层扫描热点时间达到设置的超时时间,会结束扫描并获取扫描结果。该参数设置范围为1-255秒。 |
8415+
| timeout | 整型 | 该超时时间参数是上层应用的超时,当触发超时会主动上报已扫描到的热点信息,若在超时前扫描到设置的热点个数或达到底层扫频超时时间会自动上报热点信息。 |
8416+
| round | 整型 | 该参数是Wi-Fi扫描轮,达到扫描轮数后,会结束扫描并获取扫描结果。|
8417+
| max_bssid_num | 整型 | 该参数是Wi-Fi扫描热点最大个,若底层扫描热点个数达到设置的最大个数,会结束扫描并获取扫描结果。|
8418+
| scan_timeout | 整型 | 该参数是底层Wi-Fi扫描热点超时时间,若底层扫描热点时间达到设置的超时时间,会结束扫描并获取扫描结果。|
84198419
| priority | 整型 | 该参数是Wi-Fi扫描业务优先级设置,0为ps优先,1为Wi-Fi优先。ps优先时,当有数据业务发起时会中断Wi-Fi扫描。Wi-Fi优先时,当有数据业务发起时,不会建立RRC连接,保障Wi-Fi扫描正常执行,扫描结束后才会建立RRC连接。 |
84208420

84218421
* 示例:
@@ -8439,11 +8439,11 @@ True
84398439

84408440
| 参数 | 类型 | 说明 |
84418441
| ------------- | ---- | ------------------------------------------------------------ |
8442-
| timeout | 整型 | 该超时时间参数是上层应用的超时,当触发超时会主动上报已扫描到的热点信息,若在超时前扫描到设置的热点个数或达到底层扫频超时时间会自动上报热点信息。<br>参数范围:<br/>600S4-255<br/>200U/600U120-5000毫秒 |
8443-
| round | 整型 | 该参数是wifi扫描轮,达到扫描轮数后,会结束扫描并获取扫描结果。<br/>参数范围:<br/>600S1-3轮次<br/>200U/600U1-10轮次 |
8444-
| max_bssid_num | 整型 | 该参数是wifi扫描热点最大个,若底层扫描热点个数达到设置的最大个数,会结束扫描并获取扫描结果。<br/>参数范围:<br/>600S4-30<br/>200U/600U1-300 |
8442+
| timeout | 整型 | 该超时时间参数是上层应用的超时,当触发超时会主动上报已扫描到的热点信息,若在超时前扫描到设置的热点个数或达到底层扫频超时时间会自动上报热点信息。<br>参数范围:<br/>1603/1606平台4-255<br/>8850/8910平台120-5000毫秒 |
8443+
| round | 整型 | 该参数是wifi扫描轮,达到扫描轮数后,会结束扫描并获取扫描结果。<br/>参数范围:<br/>1603/1606平台1-3轮次<br/>8850/8910平台1-10轮次 |
8444+
| max_bssid_num | 整型 | 该参数是wifi扫描热点最大个,若底层扫描热点个数达到设置的最大个数,会结束扫描并获取扫描结果。<br/>参数范围:<br/>1603/1606平台4-30<br/>8850/8910平台1-30 |
84458445
| scan_timeout | 整型 | 该参数是底层wifi扫描热点超时时间,若底层扫描热点时间达到设置的超时时间,会结束扫描并获取扫描结果。该参数设置范围为1-255秒。 |
8446-
| priority | 整型 | 该参数是wifi扫描业务优先级设置,0为ps优先,1为wifi优先。ps优先时,当有数据业务发起时会中断wifi扫描。Wifi优先时,当有数据业务发起时,不会建立RRC连接,保障wifi扫描正常执行,扫描结束后才会建立RRC连接。200U/600U 平台不支持该参数,设置时写0即可。 |
8446+
| priority | 整型 | 该参数是wifi扫描业务优先级设置,0为ps优先,1为wifi优先。ps优先时,当有数据业务发起时会中断wifi扫描。Wifi优先时,当有数据业务发起时,不会建立RRC连接,保障wifi扫描正常执行,扫描结束后才会建立RRC连接。8850/8910平台不支持该参数,设置时写0即可。 |
84478447

84488448
* 返回值:
84498449

0 commit comments

Comments
 (0)