diff --git a/docs/API_reference/en/iotlib/dataCall.md b/docs/API_reference/en/iotlib/dataCall.md index 5da229558928eae4fddbd365c808978192f35f52..60004215752bfecb0dc4e55f1f7c8ff0e02509b7 100644 --- a/docs/API_reference/en/iotlib/dataCall.md +++ b/docs/API_reference/en/iotlib/dataCall.md @@ -91,7 +91,7 @@ Configures the relevant information of the PDP context, and saves the configurat > > The BC32 series `apn `, `username`, and `password` range from 0 to 36 bytes. > -> The BG95 series `apn ` range from 0 to 63 bytes. +> The BG95 series `apn ` range from 0 to 63 bytes, and when the `authType` is 0, it is not allowed for the `username` and `password` to be empty strings. > > Modules that support this method: EC600N/EC800N/EG912N/EG915N/EC600M/EC800M/EG810M/EG800P/EC200A/UC200A/EC200U/EC600U/EG912U/EG915U/EC600G/EC800G/EC600E/EC800E/BG95/BC32 series module. @@ -423,7 +423,7 @@ In the returned tuple, the first list contains IPv4 channel establishment inform >The return value `(1, 0, [0, 0, '0.0.0.0', '0.0.0.0', '0.0.0.0'])` indicates that the establishment has not been performed or has failed. > ->The BC32 series supports only the first line activation and does not support multiple dialing. +>The BC32 series supports only the first line activation and does not support multiple dialing, as well as the retrieval of DNS server addresses for IPv6 dial-ups. > >Modules that support this method: EC600N/EC800N/EG912N/EG915N/EC600M/EC800M/EG810M/EG800P/EC200A/UC200A/EC200U/EC600U/EG912U/EG915U/EC600G/EC800G/EC600E/EC800E/BG95/BC32 series module. > diff --git a/docs/API_reference/en/iotlib/net.md b/docs/API_reference/en/iotlib/net.md index 63460c4385899d772ea0f4b1696024253344524d..25cb353f9ab1f46b03b97a8a098d35087e3c0d61 100644 --- a/docs/API_reference/en/iotlib/net.md +++ b/docs/API_reference/en/iotlib/net.md @@ -826,21 +826,6 @@ This method sets the required band, that is, lock the band specified by the user | EGPRS(GSM) | EGSM900 - 0x1
DCS1800 - 0x2
GSM850 - 0x4
PCS1900 - 0x8 | | 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 - -| Network Mode | Supported Band | -| ------------ | ------------------------------------------------------------ | -| eMTC | B1/B2/B3/B4/B5/B8/B12/B13/B18/B19/B20/B25/B26/B27/B28/B66/B85 | -| NB-IoT | B1/B2/B3/B4/B5/B8/B12/B13/B18/B19/B20/B25/B28/B66/B71/B85 | -| EGPRS | GSM850/EGSM900/DCS1800/PCS1900 | - -* Supported `band` of EG912N-ENAA Series Module - -| Network Mode | Supported Band | -| ------------ | ------------------------------ | -| LTE | B1/B3/B5/B7/B8/B20/B28/B31/B72 | -| EGPRS | EGSM900/DCS1800 | - **Parameter:** * `netRat` - Integer type. Network mode. It indicates the kind of network mode whose band is to be set. @@ -873,9 +858,9 @@ This method sets the required band, that is, lock the band specified by the user ->* Currently, BG95 series module/EG912N-ENAA module supports this method. +>* Currently, BG95/EG912N/EG915N/EC600N/EC800N module supports this method. >* BG95 series module does not support the `band` of LTE network. ->* EG912N-ENAA module only supports the band of GSM network and LTE network. +>* EG912N/EG915N/EC600N/EC800N module only supports the band of GSM network and LTE network. @@ -1019,9 +1004,9 @@ Band value in hexadecimal. ->* Currently, BG95 series module/EG912N-ENAA module supports this method. +>* Currently, BG95/EG912N/EG915N/EC600N/EC800N module supports this method. >* BG95 series module does not support the `band` of LTE network. ->* EG912N-ENAA module only supports the band of GSM network and LTE network. +>* EG912N/EG915N/EC600N/EC800N module only supports the band of GSM network and LTE network. @@ -1051,7 +1036,7 @@ This method restores the initial set value of the band. ->Note: EG912N-ENAA series module supports this method. +>Note: EG912N/EG915N/EC600N/EC800N series module supports this method. diff --git a/docs/API_reference/en/iotlib/sim.md b/docs/API_reference/en/iotlib/sim.md index 25621c6cd7bae156398bba3fbc0ffc7a2d48020b..72ceeefb6ad8f5a0477073cc57013bc0c0693b73 100644 --- a/docs/API_reference/en/iotlib/sim.md +++ b/docs/API_reference/en/iotlib/sim.md @@ -547,7 +547,7 @@ Gets the SIM card slot ID of the current SIM card. ->EC800GCN_LD support this method. +>EC800GCN_LD/EG912UGL_AC support this method. @@ -585,7 +585,7 @@ This method is used to switch SIM cards between SIM cards. ->now not support this method. +>EC800GCN_LD/EG912UGL_AC support this method. diff --git a/docs/API_reference/en/iotlib/voiceCall.md b/docs/API_reference/en/iotlib/voiceCall.md index aaf6736c768b4b626e51cf737260fa2b49858764..d867ea5d02afa0876b8ed337df50caa4367a5fab 100644 --- a/docs/API_reference/en/iotlib/voiceCall.md +++ b/docs/API_reference/en/iotlib/voiceCall.md @@ -201,20 +201,24 @@ When the value of `args[0]` is 10-16, the detailed description of `args[1]`-`arg ```python >>> import voiceCall def voice_callback(args): - if args[0] == 10: - print('voicecall incoming call, PhoneNO: ', args[6]) - elif args[0] == 11: - print('voicecall connected, PhoneNO: ', args[6]) - elif args[0] == 12: - print('voicecall disconnect') - elif args[0] == 13: - print('voicecall is waiting, PhoneNO: ', args[6]) - elif args[0] == 14: - print('voicecall dialing, PhoneNO: ', args[6]) - elif args[0] == 15: - print('voicecall alerting, PhoneNO: ', args[6]) - elif args[0] == 16: - print('voicecall holding, PhoneNO: ', args[6]) + if not isinstance(args, tuple): + print('voicecall is GSM call, args:', args) + elif args[0] == 10: + print('voicecall incoming call, PhoneNO: ', args[6]) + elif args[0] == 11: + print('voicecall connected, PhoneNO: ', args[6]) + elif args[0] == 12: + print('voicecall disconnect') + elif args[0] == 13: + print('voicecall is waiting, PhoneNO: ', args[6]) + elif args[0] == 14: + print('voicecall dialing, PhoneNO: ', args[6]) + elif args[0] == 15: + print('voicecall alerting, PhoneNO: ', args[6]) + elif args[0] == 16: + print('voicecall holding, PhoneNO: ', args[6]) + else: + print('voicecall is GSM call, args:', args) >>> voiceCall.setCallback(voice_callback) 0 diff --git a/docs/API_reference/zh/iotlib/dataCall.md b/docs/API_reference/zh/iotlib/dataCall.md index 54208e6f3acdc34358b3aa6374e69777b79c1733..65ac73dba7f97e4d834e3237de868652e1c3f26d 100644 --- a/docs/API_reference/zh/iotlib/dataCall.md +++ b/docs/API_reference/zh/iotlib/dataCall.md @@ -91,7 +91,7 @@ dataCall.setPDPContext(profileID, ipType, apn, username, password, authType) > > BC32系列`apn`,`username` ,`password` 的长度范围为0~36字节。 > -> BG95系列`apn` 的长度范围为0~63字节。 +> BG95系列`apn` 的长度范围为0~63字节,且当authType为非0时,不允许 username, password为空字符串。 > > 支持该方法的模组:
EC600N/EC800N/EG912N/EG915N/EC600M/EC800M/EG810M/EG800P/EC200A/UC200A/EC200U/EC600U/EG912U/EG915U/EC600G/EC800G/EC600E/EC800E/BG95/BC32系列。 @@ -424,7 +424,7 @@ dataCall.getInfo(profileID, ipType) >返回值 `(1, 0, [0, 0, '0.0.0.0', '0.0.0.0', '0.0.0.0'])` 表示当前没有拨号或者拨号没有成功。 > ->BC32系列仅支持第一路,不支持多路拨号。 +>BC32系列仅支持第一路,不支持多路拨号,且不支持获取IPv6拨号的DNS服务器地址。 > >支持该方法的模组:EC600N/EC800N/EG912N/EG915N/EC600M/EC800M/EG810M/EG800P/EC200A/UC200A/EC200U/EC600U/EG912U/EG915U/EC600G/EC800G/EC600E/EC800E/BG95/BC32系列。 > diff --git a/docs/API_reference/zh/iotlib/net.md b/docs/API_reference/zh/iotlib/net.md index 2061d2b28944572b36a4898115836192f1448a02..fdd27ec57b8b61a909d610a4509fc3124a88ef36 100644 --- a/docs/API_reference/zh/iotlib/net.md +++ b/docs/API_reference/zh/iotlib/net.md @@ -797,36 +797,6 @@ net.setBand(netRat, gsmBand, bandTuple) | EGPRS(GSM) | EGSM900 - 0x1
DCS1800 - 0x2
GSM850 - 0x4
PCS1900 - 0x8 | | 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`支持表 - -| 网络制式 | 支持的BAND | -| -------- | ------------------------------------------------------------ | -| Cat M | B1/B2/B3/B4/B5/B8/B12/B13/B18/B19/B20/B25/B26/B27/B28/B66/B85 | -| NB-IoT | B1/B2/B3/B4/B5/B8/B12/B13/B18/B19/B20/B25/B28/B66/B71/B85 | -| EGPRS | GSM850/EGSM900/DCS1800/PCS1900 | - -* BG95M1模组`band`支持表 - -| 网络制式 | 支持的BAND | -| -------- | ------------------------------------------------------------ | -| Cat M | B1/B2/B3/B4/B5/B8/B12/B13/B18/B19/B20/B25/B26/B27/B28/B66/B85 | -| EGPRS | GSM850/EGSM900/DCS1800/PCS1900 | - -* BG95M8模组`band`支持表 - -| 网络制式 | 支持的BAND | -| -------- | ------------------------------------------------------------ | -| Cat M | B1/B2/B3/B4/B5/B8/B12/B13/B18/B19/B20/B25/B26/B27/B28/B31/B66/B72/B73/B85 | -| NB-IoT | B1/B2/B3/B4/B5/B8/B12/B13/B18/B19/B20/B25/B28/B31/B66/B72/B73/B85 | -| EGPRS | GSM850/EGSM900/DCS1800/PCS1900 | - -* EG912NENAA模组`band`支持表 - -| 网络制式 | 支持的BAND | -| -------- | ------------------------------------ | -| LTE | B1/B3/B5/B7/B8/B20/B28/B31/B72 | -| EGPRS | EGSM900/DCS1800 | - **参数描述:** * `netRat` - 网络模式,整型值,表示制定要设置的是哪种网络模式下的`band` @@ -856,9 +826,9 @@ net.setBand(netRat, gsmBand, bandTuple) ->* 当前可支持模组型号:BG95系列/EG912NENAA +>* 当前可支持模组型号:BG95/EG912N/EG915N/EC600N/EC800N系列 >* BG95不支持设置上述模式1(LTE)下的`band` ->* EG912NENAA仅支持上述模式0(GSM)和模式1(LTE) +>* EG912N/EG915N/EC600N/EC800N系列仅支持上述模式0(GSM)和模式1(LTE) @@ -1002,9 +972,9 @@ net.getBand(netRat) ->* 当前可支持模组型号:BG95系列/EG912NENAA +>* 当前可支持模组型号:BG95/EG912N/EG915N/EC600N/EC800N系列 >* BG95不支持设置上述模式1(LTE)下的`band` ->* EG912NENAA仅支持上述模式0(GSM)和模式1(LTE) +>* EG912N/EG915N/EC600N/EC800N系列仅支持上述模式0(GSM)和模式1(LTE) @@ -1032,7 +1002,7 @@ net.bandRst() ->当前可支持模组型号:EG912NENAA +>当前可支持模组型号:EG912N/EG915N/EC600N/EC800N系列 diff --git a/docs/API_reference/zh/iotlib/sim.md b/docs/API_reference/zh/iotlib/sim.md index 08705ceb15208b009861ecf858467a0a98eaa4d2..404c3773097431b44fb6cbbb383310d60c6540ba 100644 --- a/docs/API_reference/zh/iotlib/sim.md +++ b/docs/API_reference/zh/iotlib/sim.md @@ -461,7 +461,7 @@ SIM卡热插拔开关:用于设置SIM卡热插拔相关配置。 > > BG95M1/BG95M2/BG95M3/BG95M6/BG95M8系列模组支持SIM卡热插拔功能,配置需要重启才能生效,相关配置掉电保存。 > -> EG800P系列:EG800PCN_LA支持SIM卡热插拔功能,配置立即生效,但是掉电不保存。 +> EG800PCN_LA/EG800KCN_GC系列模组支持SIM卡热插拔功能,配置立即生效,但是掉电不保存。 > > 以下型号不支持此接口: > @@ -509,7 +509,7 @@ sim.getSimDet() > >BG95M1/BG95M2/BG95M3/BG95M6/BG95M8系列模组支持SIM卡热插拔功能,配置需要重启才能生效,相关配置掉电保存。 > ->EG800P系列:EG800PCN_LA支持SIM卡热插拔功能,配置立即生效,但是掉电不保存。 +>EG800PCN_LA/EG800KCN_GC系列模组支持SIM卡热插拔功能,配置立即生效,但是掉电不保存。 > >以下型号不支持此接口: > @@ -549,7 +549,7 @@ sim.getCurSimid() >支持该方法的型号: > ->EC800MCN_LE/EC800MCN_LA/EC600MCN_LF/EC600MCN_LA/EC600MCN_LE/EC600ECN_LC/EC600MCN_CC/EC800MCN_LF/EC800GCN_LD +>EC800MCN_LE/EC800MCN_LA/EC800MCN_LF/EC600MCN_LF/EC600MCN_LA/EC600MCN_LE/EC600ECN_LC/EC600MCN_CC/EC800MCN_LF/EC800GCN_LD/EG912UGL_AC @@ -583,7 +583,7 @@ sim.switchCard(simId) >支持该方法的模组: > ->EC800MCN_LE/EC800MCN_LA/EC800MCN_LF/EC600MCN_LF/EC600MCN_LA/EC600MCN_LE/EC600MCN_CC/EG810MCN_GA/EC600ECN_LC/EC800GCN_LD。 +>EC800MCN_LE/EC800MCN_LA/EC800MCN_LF/EC600MCN_LF/EC600MCN_LA/EC600MCN_LE/EC600MCN_CC/EG810MCN_GA/EC600ECN_LC/EC800GCN_LD/EG912UGL_AC。 > >注意当目标卡是当前卡时,[`sim.switchCard`](https://python.quectel.com/doc/API_reference/zh/iotlib/sim.html#%3Ccode%3Esim.switchCard%3C/code%3E)直接返回-1,不触发此接口设置的回调函数。 > @@ -642,7 +642,7 @@ def usrFun(args): > > BG95M1/BG95M2/BG95M3/BG95M6/BG95M8系列模组支持SIM卡热插拔功能,配置需要重启才能生效,相关配置掉电保存。 > -> EG800P系列:EG800PCN_LA支持SIM卡热插拔功能,配置立即生效,但是掉电不保存。 +> EG800PCN_LA/EG800KCN_GC系列模组支持SIM卡热插拔功能,配置立即生效,但是掉电不保存。 > > 以下型号不支持此接口: > diff --git a/docs/API_reference/zh/iotlib/voiceCall.md b/docs/API_reference/zh/iotlib/voiceCall.md index f7fccfd458a5b1bffe92c6ed5ef31d05afaffd6a..31111224cf545a86cea4332d4e7d91811d2ca70c 100644 --- a/docs/API_reference/zh/iotlib/voiceCall.md +++ b/docs/API_reference/zh/iotlib/voiceCall.md @@ -194,20 +194,24 @@ def voicecallFun(args): ```python >>> import voiceCall def voice_callback(args): - if args[0] == 10: - print('voicecall incoming call, PhoneNO: ', args[6]) - elif args[0] == 11: - print('voicecall connected, PhoneNO: ', args[6]) - elif args[0] == 12: - print('voicecall disconnect') - elif args[0] == 13: - print('voicecall is waiting, PhoneNO: ', args[6]) - elif args[0] == 14: - print('voicecall dialing, PhoneNO: ', args[6]) - elif args[0] == 15: - print('voicecall alerting, PhoneNO: ', args[6]) - elif args[0] == 16: - print('voicecall holding, PhoneNO: ', args[6]) + if not isinstance(args, tuple): + print('voicecall is GSM call, args:', args) + elif args[0] == 10: + print('voicecall incoming call, PhoneNO: ', args[6]) + elif args[0] == 11: + print('voicecall connected, PhoneNO: ', args[6]) + elif args[0] == 12: + print('voicecall disconnect') + elif args[0] == 13: + print('voicecall is waiting, PhoneNO: ', args[6]) + elif args[0] == 14: + print('voicecall dialing, PhoneNO: ', args[6]) + elif args[0] == 15: + print('voicecall alerting, PhoneNO: ', args[6]) + elif args[0] == 16: + print('voicecall holding, PhoneNO: ', args[6]) + else: + print('voicecall is GSM call, args:', args) >>> voiceCall.setCallback(voice_callback) 0