Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions en-us/api/QuecPythonClasslib.md
Original file line number Diff line number Diff line change
Expand Up @@ -5427,7 +5427,7 @@ USBNET.open()

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

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

* Parameter

Expand Down Expand Up @@ -5458,8 +5458,8 @@ USBNET.getNat(0, 1)

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

set NAT,Restart takes effect (supported only on 8910)
(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)
set NAT,Restart takes effect (supported only on EC200U/EC600U)
( 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)

* Parameter

Expand Down
8 changes: 5 additions & 3 deletions zh-cn/api/QuecPythonClasslib.md
Original file line number Diff line number Diff line change
Expand Up @@ -5975,7 +5975,9 @@ USBNET.open()

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

获取某一路网卡的Nat使能情况(是否支持ipv6拨号)(仅在8910平台支持)
获取某一路网卡的Nat使能情况(是否支持ipv6拨号)

(仅在EC200U/EC600U平台支持)

* 参数

Expand Down Expand Up @@ -6004,8 +6006,8 @@ USBNET.getNat(0, 1)

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

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

* 参数

Expand Down