Skip to content

Commit f2d6221

Browse files
authored
Merge pull request #128 from QuecPythonRich/main
wiki标准要求原平台限制改为模块限制
2 parents b4ef7d9 + 9f11deb commit f2d6221

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

en-us/api/QuecPythonClasslib.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -5427,7 +5427,7 @@ USBNET.open()
54275427

54285428
> **USBNET.getNat(simid, pid)**
54295429

5430-
get the status of NAT enablement(Whether IPV6 is supported)(supported only on 8910)
5430+
get the status of NAT enablement(Whether IPV6 is supported)(supported only on EC200U/EC600U)
54315431

54325432
* Parameter
54335433

@@ -5458,8 +5458,8 @@ USBNET.getNat(0, 1)
54585458

54595459
> **USBNET.setNat(simid, pid, Nat)**
54605460

5461-
set NAT,Restart takes effect (supported only on 8910)
5462-
(8910 platform: Usbnet.set_worktype () API will make the corresponding Nat value set to 1, so that the pid cannot dial up IPV6, so after close USBnet, you can use this interface to disable NAT and make IPV6 function normal)
5461+
set NAT,Restart takes effect (supported only on EC200U/EC600U)
5462+
( Usbnet.set_worktype () API will make the corresponding Nat value set to 1, so that the pid cannot dial up IPV6, so after close USBnet, you can use this interface to disable NAT and make IPV6 function normal)
54635463

54645464
* Parameter
54655465

zh-cn/api/QuecPythonClasslib.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -5975,7 +5975,9 @@ USBNET.open()
59755975

59765976
> **USBNET.getNat(simid, pid)**
59775977

5978-
获取某一路网卡的Nat使能情况(是否支持ipv6拨号)(仅在8910平台支持)
5978+
获取某一路网卡的Nat使能情况(是否支持ipv6拨号)
5979+
5980+
(仅在EC200U/EC600U平台支持)
59795981

59805982
* 参数
59815983

@@ -6004,8 +6006,8 @@ USBNET.getNat(0, 1)
60046006

60056007
> **USBNET.setNat(simid, pid, Nat)**
60066008

6007-
Nat设置,设置成功后重启生效(仅在8910平台支持
6008-
8910平台USBNET.set_worktype()接口调用的时候会使对应的Nat值变为1,使得该pid无法IPV6拨号,所以在close USBnet后,可以使用该接口关闭NAT,使IPV6功能正常)
6009+
Nat设置,设置成功后重启生效(仅在EC200U/EC600U平台支持
6010+
USBNET.set_worktype()接口调用的时候会使对应的Nat值变为1,使得该pid无法IPV6拨号,所以在close USBnet后,可以使用该接口关闭NAT,使IPV6功能正常)
60096011

60106012
* 参数
60116013

0 commit comments

Comments
 (0)