Skip to content

Commit 99451aa

Browse files
committed
修正NET模块相关API说明,无具体对应版本
1 parent 2938515 commit 99451aa

File tree

2 files changed

+18
-14
lines changed

2 files changed

+18
-14
lines changed

en-us/api/QuecPythonClasslib.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2083,6 +2083,8 @@ This function obtains the current information in the message storage.
20832083
* `loc3` - The memory storage where the Received messages stored in;
20842084
* `current_nums` - The current number of messages in the storage.
20852085
* `max_nums` - The maximum number of messages can be stored in the storage.
2086+
2087+
* -1 Failed execution.
20862088

20872089
* Example
20882090

@@ -2364,7 +2366,7 @@ This function sets APN. After setting, you need to restart or switch to mode 0 a
23642366

23652367
* Parameter
23662368

2367-
This API is a variable parameter function in Qualcomm/ASR_1803s/ASR_1601/ASR_1606/Unisoc(excluding EG915) platform, and the number of parameters is 2 or 7. The number of parameters in other platforms is fixed at 2
2369+
This API is a variable parameter function in Qualcomm/ASR_1803s/ASR_1601/ASR_1606/Unisoc platform, and the number of parameters is 2 or 7. The number of parameters in other platforms is fixed at 7
23682370
The number of parameters is 2:net.setApn(apn, simid)
23692371
The number of parameters is 7:net.setApn(pid, iptype, apn, usrname, password, authtype, simid)
23702372

@@ -2406,7 +2408,7 @@ This function obtains the current APN.
24062408

24072409
* Parameter
24082410

2409-
This API is a variable parameter function in Qualcomm/ASR_1803s/ASR_1601/ASR_1606/Unisoc(excluding EG915) platform, and the number of parameters is 1 or 2. The number of parameters in other platforms is fixed at 1
2411+
This API is a variable parameter function in Qualcomm/ASR_1803s/ASR_1601/ASR_1606/Unisoc platform, and the number of parameters is 1 or 2. The number of parameters in other platforms is fixed at 2
24102412
The number of parameters is 2:net.setApn(pid, simid)
24112413
The number of parameters is 1:net.setApn(simid)
24122414

@@ -2481,7 +2483,7 @@ case with one Parameter:
24812483

24822484
* Parameter
24832485

2484-
This API is a variable parameter function in BC25 platform, and the number of parameters is 0 or 1. The number of parameters in other platforms is fixed at 0
2486+
This API is a variable parameter function in BC25/EIGEN platform, and the number of parameters is 0 or 1. The number of parameters in other platforms is fixed at 0
24852487
The number of parameters is 0:net.getCellInfo()
24862488
The number of parameters is 1:net.getCellInfo(sinr_enable)
24872489

@@ -2534,7 +2536,7 @@ case with one Parameter:
25342536
| tac | Tracing area code, range : 0 ~ 65535 |
25352537
| earfcn | Extended Absolute Radio Frequency Channel Number, range : 0-65535. |
25362538
| 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 is as follows<br>RSRP quality = RSRP measurement report value - 140, unit : dBm, range : -140 ~ -44 dBm |
2537-
| sinr | Signal to Noise Ratio(supported in BC25range : -30 ~ 30) |
2539+
| sinr | Signal to Noise Ratio(supported in BC25/EIGENrange : -30 ~ 30) |
25382540

25392541
* Example
25402542

@@ -2719,7 +2721,7 @@ case with one Parameter:
27192721

27202722
* Parameter
27212723

2722-
This API is a variable parameter function in BC25 platform, and the number of parameters is 0 or 1. The number of parameters in other platforms is fixed at 0
2724+
This API is a variable parameter function except BC25 platform, and the number of parameters is 0 or 1. The number of parameters in other platforms is fixed at 0
27232725
The number of parameters is 0:net.getCellInfo()
27242726
The number of parameters is 1:net.getCellInfo(sinr_enable)
27252727

@@ -2750,7 +2752,7 @@ case with one Parameter:
27502752
`rsrp` : Reference Signal Receiving Power, range : -141 ~ -44 dBm, 99 indicates unknown or undetected signal <br/>
27512753
`rsrq` : Reference Signal Receiving Quality, range : -20 ~ -3 dBm, A larger value indicates better signal reception quality <br/>
27522754
`cqi` : Channel Quality
2753-
`sinr`: Signal to Noise Ratio(supported in 1803s/qualcomm/unisocrange : -30 ~ 30)
2755+
`sinr`: Signal to Noise Ratio(supported except RDA platformrange : -30 ~ 30)
27542756
* Example
27552757

27562758
```python

zh-cn/api/QuecPythonClasslib.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2122,6 +2122,8 @@ if __name__ == '__main__':
21222122
`current_nums` - 当前空间已有短信数量
21232123

21242124
`max_nums` - 当前空间最大短信存储数量
2125+
2126+
失败返回整形-1
21252127

21262128
* 示例
21272129

@@ -2409,7 +2411,7 @@ sms.setCallback(cb)
24092411

24102412
* 参数
24112413

2412-
该接口在Qualcomm/ASR_1803s/ASR_1601/ASR_1606/Unisoc(不包括EG915)平台为可变参函数,参数个数为27, 其他平台参数个数固定为2
2414+
该接口在Qualcomm/ASR_1803s/ASR_1601/ASR_1606/Unisoc平台为可变参函数,参数个数为27, 其他平台参数个数固定为7
24132415
参数个数为2:net.setApn(apn, simid)
24142416
参数个数为7:net.setApn(pid, iptype, apn, usrname, password, authtype, simid)
24152417

@@ -2452,7 +2454,7 @@ sms.setCallback(cb)
24522454

24532455
* 参数
24542456

2455-
该接口在Qualcomm/ASR_1803s/ASR_1601/ASR_1606/Unisoc(不包括EG915)平台为可变参函数,参数个数为12, 其他平台参数个数固定为1
2457+
该接口在Qualcomm/ASR_1803s/ASR_1601/ASR_1606/Unisoc平台为可变参函数,参数个数为12, 其他平台参数个数固定为2
24562458
参数个数为2:net.getApn(pid, simid)
24572459
参数个数为1:net.getApn(simid)
24582460

@@ -2519,7 +2521,7 @@ sms.setCallback(cb)
25192521

25202522
* 参数
25212523

2522-
该接口在BC25平台为可变参函数,参数个数为01, 其他平台参数个数固定为0
2524+
该接口在BC25平台和移芯小内存方案为可变参函数,参数个数为01, 其他平台参数个数固定为0
25232525
参数个数为0:net.getCellInfo()
25242526
参数个数为1:net.getCellInfo(sinr_enable)
25252527

@@ -2573,7 +2575,7 @@ sms.setCallback(cb)
25732575
| earfcn | 无线频道编号,范围 0 ~ 65535 |
25742576
| rssi | 接收的信号强度,在LTE网络下,表示RSRP质量(负值),是根据RSRP测量报告值换算而来,换算关系如下:<br>RSRP质量(负数)= RSRP测量报告值 - 140,单位dBm,范围 -140 ~ -44 dBm |
25752577
| rsrq |(Reference Signal Receiving Quality):LTE参考信号接收质量(仅ASR平台数据有意义,其余平台默认0),范围 -20 ~ -3 注:理论上rsrq的范围应该是-19.5 ~ -3,但由于计算方法问题,目前能给出的是-20 ~ -3|
2576-
| sinr |信噪比(目前仅BC25平台支持获取该参数,非服务小区默认写0, 范围-30 ~ 30) |
2578+
| sinr |信噪比(目前仅BC25和移芯小内存平台支持获取该参数,范围-30 ~ 30) |
25772579

25782580
* 示例
25792581

@@ -2595,7 +2597,7 @@ sms.setCallback(cb)
25952597

25962598
##### 获取网络制式及漫游配置
25972599

2598-
注意:BC25PA平台不支持此方法。EC200U/EC600U平台不支持漫游参数配置。
2600+
注意:BC25PA平台不支持此方法。展锐平台不支持漫游参数配置。移芯平台仅支持LTE ONLY.
25992601

26002602
> **net.getConfig()**
26012603

@@ -2658,7 +2660,7 @@ sms.setCallback(cb)
26582660

26592661
##### 设置网络制式及漫游配置
26602662

2661-
注意:BC25PA平台不支持此方法。展锐平台不支持漫游参数配置。
2663+
注意:BC25PA平台不支持此方法。展锐平台不支持漫游参数配置。移芯平台仅支持LTE ONLY.
26622664

26632665
> **net.setConfig(mode, roaming)**
26642666

@@ -2749,7 +2751,7 @@ sms.setCallback(cb)
27492751

27502752
* 参数
27512753

2752-
该接口在1803s/qualcomm/unisoc(不包括EG915)平台为可变参函数,参数个数为01, 其他平台参数个数固定为0
2754+
该接口在非RDA平台为可变参函数,参数个数为01, RDA平台参数个数固定为0
27532755
参数个数为0:net.getSignal()
27542756
参数个数为1:net.getSignal(sinr_enable)
27552757

@@ -2785,7 +2787,7 @@ sms.setCallback(cb)
27852787

27862788
`cqi` :信道质量
27872789

2788-
`sinr`: 信噪比(目前仅1803s/qualcomm/unisoc平台支持获取该参数)
2790+
`sinr`: 信噪比(RDA平台不支持获取该参数)
27892791

27902792
* 示例
27912793

0 commit comments

Comments
 (0)