You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: en-us/api/QuecPythonClasslib.md
+17-15Lines changed: 17 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2083,6 +2083,8 @@ This function obtains the current information in the message storage.
2083
2083
*`loc3`- The memory storage where the Received messages stored in;
2084
2084
*`current_nums`- The current number of messages in the storage.
2085
2085
*`max_nums`- The maximum number of messages can be stored in the storage.
2086
+
2087
+
*-1 Failed execution.
2086
2088
2087
2089
* Example
2088
2090
@@ -2364,7 +2366,7 @@ This function sets APN. After setting, you need to restart or switch to mode 0 a
2364
2366
2365
2367
* Parameter
2366
2368
2367
-
This APIis a variable parameter function in Qualcomm/ASR_1803s/ASR_1601/ASR_1606/Unisoc(excluding EG915) platform, and the number of parameters is2or7. The number of parameters in other platforms is fixed at 2 :
2369
+
This APIis a variable parameter function in Qualcomm/ASR_1803s/ASR_1601/ASR_1606/Unisocplatform, and the number of parameters is2or7. The number of parameters in other platforms is fixed at 7 :
2368
2370
The number of parameters is2:net.setApn(apn, simid)
2369
2371
The number of parameters is7:net.setApn(pid, iptype, apn, usrname, password, authtype, simid)
2370
2372
@@ -2406,7 +2408,7 @@ This function obtains the current APN.
2406
2408
2407
2409
* Parameter
2408
2410
2409
-
This APIis a variable parameter function in Qualcomm/ASR_1803s/ASR_1601/ASR_1606/Unisoc(excluding EG915) platform, and the number of parameters is1or2. The number of parameters in other platforms is fixed at 1 :
2411
+
This APIis a variable parameter function in Qualcomm/ASR_1803s/ASR_1601/ASR_1606/Unisocplatform, and the number of parameters is1or2. The number of parameters in other platforms is fixed at 2 :
2410
2412
The number of parameters is2:net.setApn(pid, simid)
2411
2413
The number of parameters is1:net.setApn(simid)
2412
2414
@@ -2481,7 +2483,7 @@ case with one Parameter:
2481
2483
2482
2484
* Parameter
2483
2485
2484
-
This APIis a variable parameter function inBC25 platform, and the number of parameters is0or1. The number of parameters in other platforms is fixed at 0 :
2486
+
This APIis a variable parameter function inBC25/EIGEN platform, and the number of parameters is0or1. The number of parameters in other platforms is fixed at 0 :
2485
2487
The number of parameters is0:net.getCellInfo()
2486
2488
The number of parameters is1:net.getCellInfo(sinr_enable)
2487
2489
@@ -2534,7 +2536,7 @@ case with one Parameter:
2534
2536
| tac | Tracing area code, range : 0~65535|
2535
2537
| earfcn | Extended Absolute Radio Frequency Channel Number, range : 0-65535. |
2536
2538
| rssi | Received Signal Strength Indication. In LTE network, denotes RSRP quality (negative value), which is converted according to RSRP measurement report value, and the conversion relationship isas follows<br>RSRPquality=RSRP measurement report value -140, unit : dBm, range : -140~-44 dBm |
2537
-
| sinr | Signal to Noise Ratio(supported inBC25,range : -30~30) |
2539
+
| sinr | Signal to Noise Ratio(supported inBC25/EIGEN,range : -30~30) |
2538
2540
2539
2541
* Example
2540
2542
@@ -2719,7 +2721,7 @@ case with one Parameter:
2719
2721
2720
2722
* Parameter
2721
2723
2722
-
This APIis a variable parameter function inBC25 platform, and the number of parameters is0or1. The number of parameters in other platforms is fixed at 0 :
2724
+
This APIis a variable parameter function exceptBC25 platform, and the number of parameters is0or1. The number of parameters in other platforms is fixed at 0 :
2723
2725
The number of parameters is0:net.getCellInfo()
2724
2726
The number of parameters is1:net.getCellInfo(sinr_enable)
2725
2727
@@ -2750,7 +2752,7 @@ case with one Parameter:
2750
2752
`rsrp` : Reference Signal Receiving Power, range : -141~-44 dBm, 99 indicates unknown or undetected signal <br/>
2751
2753
`rsrq` : Reference Signal Receiving Quality, range : -20~-3 dBm, A larger value indicates better signal reception quality <br/>
2752
2754
`cqi` : Channel Quality
2753
-
`sinr`: Signal to Noise Ratio(supported in1803s/qualcomm/unisoc,range : -30~30)
2755
+
`sinr`: Signal to Noise Ratio(supported exceptRDA platform,range : -30~30)
2754
2756
* Example
2755
2757
2756
2758
```python
@@ -7838,7 +7840,7 @@ print(r.group(0))
7838
7840
7839
7841
#### wifiScan
7840
7842
7841
-
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.
| 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: 4–255. Unit: second. |
7950
-
|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: 1–3. Unit: round. |
7951
-
| 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: 4–30. |
7952
-
| 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: 1–255. 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. |
7953
7955
| 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 isnot connected when a data service is initiated. wifi scan runs normally. The RRC connection is only established after the scan completes. |
| 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: 4–255; unit: s.<br/>200U/600U: 120–5000; unit: ms. |
7977
-
|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: 1–3; unit: round<br/>200U/600U: 1–10; unit: round|
7978
-
| 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: 4–30<br/>200U/600U: 1–300|
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: 4–255; unit: s.<br/>8850/8910 platfroms: 120–5000; 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: 1–3; unit: round<br/>8850/8910 platforms: 1–10; 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: 4–30<br/>8850/8910 platforms: 1–300|
7979
7981
| 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: 1–255. |
7980
-
| 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 isnot connected when a data service is initiated. wifi scan runs normally. The RRC connection is only established after the scan completes. 200U or600U 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 isnot 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. |
0 commit comments