From b92a313b80e0c5df16411fea59699e590143ee0e Mon Sep 17 00:00:00 2001 From: "Rich.wu" Date: Tue, 20 Feb 2024 14:41:29 +0800 Subject: [PATCH] =?UTF-8?q?fix=20(net):=20=E4=BF=AE=E6=94=B9wiki=E4=B8=AD?= =?UTF-8?q?=E8=8B=B1=E6=96=87=E7=89=88B7=E5=AF=B9=E5=BA=94=E7=9A=84band?= =?UTF-8?q?=E5=80=BC=E8=AF=B4=E6=98=8E=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 固件版本: N/A 是否需要文案翻译: 否 ######################################################################################## # # # 示例: # # # # fix (network): 重复创建并关闭socket一定次数后,无法再次创建socket。 # # # # 1. 调用select接口并在其它线程调用socket.close()时,socket引用计数没有自减, # # 由于socket总数(即引用计数)有上限,导致创建一定数量的socket无法再次创建socket。 # # # # 2. 调用socket.close()释放资源时,将引用计数自减,及时释放出被占用的资源,修复该问题。# # # # 固件版本:EC600MCNLAR02_QPY # # # # 是否需要文案翻译: 是 # # # ######################################################################################## # # # 说明: # # # # <提交类型> 用于说明提交的类型,一般有以下几种: # # - feat: 新增feature。 # # - fix: 修复bug。 # # - docs: 仅仅修改了文档,如readme.md。 # # - style: 仅仅是对格式进行修改,如逗号、缩进、空格等。不改变代码逻辑。 # # - refactor: 代码重构,没有新增功能或修复bug。 # # - perf: 优化相关,如提升性能、用户体验等。 # # - test: 测试用例,包括单元测试、集成测试。 # # - chore: 改变构建流程、或者增加依赖库、工具等。 # # - revert: 版本回滚。 # # # # <功能范围> 用于说明提交影响的功能范围。 # # # # <修改点简述> 提交目的的简短描述。 # # # # <修改点详述> 用于详细描述修改点,可选。不填写,请删除该行;若填写,请描述以下内容: # # - 为何进行修改 # # - 如何解决问题的 # # - 是否有副作用(必要时) # # # ######################################################################################## --- docs/API_reference/en/iotlib/net.md | 2 +- docs/API_reference/zh/iotlib/net.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/API_reference/en/iotlib/net.md b/docs/API_reference/en/iotlib/net.md index 07becc29..eeb193c5 100644 --- a/docs/API_reference/en/iotlib/net.md +++ b/docs/API_reference/en/iotlib/net.md @@ -824,7 +824,7 @@ This method sets the required band, that is, lock the band specified by the user | Network Mode | Band Value | | --------------- | ------------------------------------------------------------ | | EGPRS(GSM) | EGSM900 - 0x1
DCS1800 - 0x2
GSM850 - 0x4
PCS1900 - 0x8 | -| LTE/eMTC/NB-IoT | BAND1 - 0x1
BAND2 - 0x2
BAND3 - 0x4
BAND4 - 0x8
BAND5 - 0x10
BAND8 - 0x80
BAND12 - 0x800
BAND13 - 0x1000
BAND18 - 0x20000
BAND19 - 0x40000
BAND20 - 0x80000
BAND25 - 0x1000000
BAND26 - 0x2000000
BAND27 - 0x4000000
BAND28 - 0x8000000
BAND31 - 0x40000000
BAND66 - 0x20000000000000000
BAND71 - 0x400000000000000000
BAND72 - 0x800000000000000000
BAND73 - 0x1000000000000000000
BAND85 - 0x1000000000000000000000
| +| LTE/eMTC/NB-IoT | BAND1 - 0x1
BAND2 - 0x2
BAND3 - 0x4
BAND4 - 0x8
BAND5 - 0x10
BAND7 - 0x40
BAND8 - 0x80
BAND12 - 0x800
BAND13 - 0x1000
BAND18 - 0x20000
BAND19 - 0x40000
BAND20 - 0x80000
BAND25 - 0x1000000
BAND26 - 0x2000000
BAND27 - 0x4000000
BAND28 - 0x8000000
BAND31 - 0x40000000
BAND66 - 0x20000000000000000
BAND71 - 0x400000000000000000
BAND72 - 0x800000000000000000
BAND73 - 0x1000000000000000000
BAND85 - 0x1000000000000000000000
| * Supported `band` of BG95-M3 Series Module diff --git a/docs/API_reference/zh/iotlib/net.md b/docs/API_reference/zh/iotlib/net.md index df245945..9169e5ad 100644 --- a/docs/API_reference/zh/iotlib/net.md +++ b/docs/API_reference/zh/iotlib/net.md @@ -795,7 +795,7 @@ net.setBand(netRat, gsmBand, bandTuple) | 网络制式 | band值 | | --------------- | ------------------------------------------------------------ | | EGPRS(GSM) | EGSM900 - 0x1
DCS1800 - 0x2
GSM850 - 0x4
PCS1900 - 0x8 | -| LTE/eMTC/NB-IoT | BAND1 - 0x1
BAND2 - 0x2
BAND3 - 0x4
BAND4 - 0x8
BAND5 - 0x10
BAND8 - 0x80
BAND12 - 0x800
BAND13 - 0x1000
BAND18 - 0x20000
BAND19 - 0x40000
BAND20 - 0x80000
BAND25 - 0x1000000
BAND26 - 0x2000000
BAND27 - 0x4000000
BAND28 - 0x8000000
BAND31 - 0x40000000
BAND66 - 0x20000000000000000
BAND71 - 0x400000000000000000
BAND72 - 0x800000000000000000
BAND73 - 0x1000000000000000000
BAND85 - 0x1000000000000000000000
| +| LTE/eMTC/NB-IoT | BAND1 - 0x1
BAND2 - 0x2
BAND3 - 0x4
BAND4 - 0x8
BAND5 - 0x10
BAND7 - 0x40
BAND8 - 0x80
BAND12 - 0x800
BAND13 - 0x1000
BAND18 - 0x20000
BAND19 - 0x40000
BAND20 - 0x80000
BAND25 - 0x1000000
BAND26 - 0x2000000
BAND27 - 0x4000000
BAND28 - 0x8000000
BAND31 - 0x40000000
BAND66 - 0x20000000000000000
BAND71 - 0x400000000000000000
BAND72 - 0x800000000000000000
BAND73 - 0x1000000000000000000
BAND85 - 0x1000000000000000000000
| * BG95M3模组`band`支持表 -- Gitee