Skip to content

Commit e569ae6

Browse files
committed
[usbnet.nat]pid范围更改为1-7,和拨号一致
1 parent 2ad90b2 commit e569ae6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

en-us/api/QuecPythonClasslib.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5222,7 +5222,7 @@ get the status of NAT enablement(Whether IPV6 is supported)(supported only on 89
52225222
| Parameter | Type | Description |
52235223
| -------- | -------- | ----------------------------------------------------- |
52245224
| simid | int | simid,value:0/1 ,(only SIM0 is supported now) |
5225-
| pid | int | PDP context index ,range:1-8 |
5225+
| pid | int | PDP context index ,range:1-7 |
52265226

52275227
* Return Value
52285228

@@ -5254,7 +5254,7 @@ set NAT,Restart takes effect (supported only on 8910)
52545254
| Parameter | Type | Description |
52555255
| -------- | -------- | ----------------------------------------------------- |
52565256
| simid | int | simid,value:0/1 ,(only SIM0 is supported now) |
5257-
| pid | int | PDP context index ,range:1-8 |
5257+
| pid | int | PDP context index ,range:1-7 |
52585258
| Nat | int | Nat,value:0/10IPV6 is supported;1IPV6 is not supported |
52595259

52605260
* Return Value

zh-cn/api/QuecPythonClasslib.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5766,7 +5766,7 @@ USBNET.open()
57665766
| 参数 | 参数类型 | 参数说明 |
57675767
| ----- | -------- | ------------------------------ |
57685768
| simid | int | simid,范围:0/1 ,目前仅支持0 |
5769-
| pid | int | PDP索引, 展锐平台范围1-8 |
5769+
| pid | int | PDP索引, 展锐平台范围1-7 |
57705770

57715771
* 返回值
57725772

@@ -5796,7 +5796,7 @@ Nat设置,设置成功后重启生效(仅在8910平台支持)
57965796
| 参数 | 参数类型 | 参数说明 |
57975797
| ----- | -------- | -------------------------------------------------- |
57985798
| simid | int | simid,范围:0/1,目前仅支持0 |
5799-
| pid | int | PDP索引, 展锐平台范围1-8 |
5799+
| pid | int | PDP索引, 展锐平台范围1-7 |
58005800
| Nat | int | Nat,范围:0/10:支持ipv6拨号;1:不支持ipv6拨号 |
58015801

58025802
* 返回值

0 commit comments

Comments
 (0)