Professional Documents
Culture Documents
Version: 1.0
Date: 2020-10-22
Status: Released
www.quectel.com
NB-IoT Module Series
BC92 Software Notes and FAQs
Our aim is to provide customers with timely and comprehensive service. For any assistance,
please contact our company headquarters:
General Notes
Quectel offers the information as a service to its customers. The information provided is based upon
customers’ requirements. Quectel makes every effort to ensure the quality of the information it makes
available. Quectel does not make any warranty as to the information contained herein, and does not
accept any liability for any injury, loss or damage of any kind incurred by use of or reliance upon the
information. All information supplied herein is subject to change without prior notice.
Disclaimer
While Quectel has made efforts to ensure that the functions and features under development are free
from errors, it is possible that these functions and features could contain errors, inaccuracies and
omissions. Unless otherwise provided by valid agreement, Quectel makes no warranties of any kind,
implied or express, with respect to the use of features and functions under development. To the maximum
extent permitted by law, Quectel excludes all liability for any loss or damage suffered in connection with
the use of the functions and features under development, regardless of whether such loss or damage
may have been foreseeable.
Duty of Confidentiality
The Receiving Party shall keep confidential all documentation and information provided by Quectel,
except when the specific permission has been granted by Quectel. The Receiving Party shall not access
or use Quectel’s documentation and information for any purpose except as expressly provided herein.
Furthermore, the Receiving Party shall not disclose any of the Quectel's documentation and information
to any third party without the prior written consent by Quectel. For any noncompliance to the above
requirements, unauthorized use, or other illegal or malicious use of the documentation and information,
Quectel will reserve the right to take legal action.
BC92_Software_Notes_and_FAQs 1 / 17
NB-IoT Module Series
BC92 Software Notes and FAQs
Copyright
The information contained here is proprietary technical information of Quectel wireless solutions co., ltd.
Transmitting, reproducing, disseminating and editing this document as well as using the content without
permission are forbidden. Offenders will be held liable for payment of damages. All rights are reserved in
the event of a patent grant or registration of a utility model or design.
Copyright © Quectel Wireless Solutions Co., Ltd. 2020. All rights reserved.
BC92_Software_Notes_and_FAQs 2 / 17
NB-IoT Module Series
BC92 Software Notes and FAQs
Revision History
Louis GU/
- 2020-08-27 Creation of the document
Allan LIANG
Louis GU/
1.0 2020-10-22 First official release
Allan LIANG
BC92_Software_Notes_and_FAQs 3 / 17
NB-IoT Module Series
BC92 Software Notes and FAQs
Contents
1 Introduction ......................................................................................................................................... 6
2 Notes .................................................................................................................................................... 7
2.1. Baud Rate Characteristics ......................................................................................................... 7
2.2. Syntax of AT Commands, Responses and URCs ..................................................................... 7
2.3. Deep Sleep and Wake-up .......................................................................................................... 8
2.3.1. Enter Deep Sleep Mode .................................................................................................. 8
2.3.2. Disable Deep Sleep Mode .............................................................................................. 9
2.3.3. Wake Up from Deep Sleep Mode ................................................................................... 9
2.4. IMEI and SN ............................................................................................................................... 9
2.5. AT+CFUN Command ............................................................................................................... 10
2.6. AT+CGDCONT and AT+QCGDEFCONT Commands ............................................................. 10
2.6.1. NB-IoT Network ............................................................................................................. 10
2.6.2. GSM Network ................................................................................................................ 10
2.7. Query IP Address ..................................................................................................................... 10
2.8. Network Attachment .................................................................................................................. 11
2.9. Recovery from Exception .......................................................................................................... 11
3 FAQs ................................................................................................................................................... 12
5 Appendix B References.................................................................................................................... 16
BC92_Software_Notes_and_FAQs 4 / 17
NB-IoT Module Series
BC92 Software Notes and FAQs
Table Index
BC92_Software_Notes_and_FAQs 5 / 17
NB-IoT Module Series
BC92 Software Notes and FAQs
1 Introduction
This document describes the software notes for matters needing attention and frequently asked questions
(FAQs) for Quectel BC92 module.
NOTE
BC92_Software_Notes_and_FAQs 6 / 17
NB-IoT Module Series
BC92 Software Notes and FAQs
2 Notes
The baud rate setting of the main UART port of the BC92 module cannot exceed 57600 bps, and the
default baud rate is 9600 bps. The baud rate of the debug port is fixed at 921600 bps and cannot be
configured.
The baud rate of main UART can be set with AT+IPR, as exemplified below.
OK
AT+IPR=? //Query supported baud rates
+IPR: (2400,4800,9600,14400,19200,28800,33600,38400,57600)
OK
BC92_Software_Notes_and_FAQs 7 / 17
NB-IoT Module Series
BC92 Software Notes and FAQs
OK //Result Code
When the module is in deep sleep mode, the related peripherals are turned off to minimize the power
consumption of the module. The serial port no longer responds to AT commands, and the CPU stops
running. At this time, the module is almost in the shutdown state, and only the RTC keeps working.
The module contains modem and AP. The modem is responsible for the communication with the core
network. The AP is responsible for the operation of the operating system and application layer programs.
Normally, the module enters deep sleep mode when the modem is in PSM and the AP is in idle state.
Thus, in case that deep sleep is enabled with the command AT+QSCLK=1, two main factors determines
whether the module will enter deep sleep mode:
The module will check if the current configuration allows the module to enter deep sleep mode when the
AP is in idle state. When the AP is in idle state with deep sleep mode enabled by AT+QSCLK=1, each of
the following three conditions will make the module enter deep sleep mode:
⚫ The PSM of the modem has been enabled by AT+CPSMS=1, and the modem is in PSM mode. For
the details of the modem’s PSM mode, see Chapter 4.3.
⚫ When the PSM of the modem is disabled by AT+CPSMS=0 but eDRX is enabled by AT+CEDRXS=1
with the eDRX period being greater than 327.68 s, the module will also enter deep sleep mode after
PTW. For the details of the modem’s eDRX mode, please refer to Chapter 4.2.3.
⚫ If the module cannot detect the USIM card after turned on, it will also enter deep sleep mode.
NOTE
AT+CPSMS can be used to set the time of the active-time (T3324) requested by the module to the core
network (whether the requested value takes effect depends on the network). The modem will enter PSM
mode only after the T3324 timeout. Therefore, the longer the T3324 time is set, the longer the module will
wait before entering deep sleep mode.
BC92_Software_Notes_and_FAQs 8 / 17
NB-IoT Module Series
BC92 Software Notes and FAQs
When there is no need for deep sleep mode, or deep sleep mode needs to be prohibited temporarily for
particular tasks, each of the following related AT commands can be used to disable the deep sleep mode:
⚫ Disable the deep sleep by AT+QSCLK=0. It is applicable to scenarios where there is no strict
demand for timeliness, such as that where deep sleep mode needs to be disabled temporarily only
before the module processes tasks, for the purpose of ensuring continuous AT command
transmission through the main UART. In this situation, the modem will still switch among Connected,
Idle, and PSM modes according to the protocol (see Chapter 4). After the task is completed or when
deep sleep is needed, enable deep sleep mode by AT+QSCLK=1.
⚫ Disabling the deep sleep by AT+QSCLK=0, then, disable PSM and eDRX of the modem by
AT+CPSMS=0 and AT+CEDRXS=0 respectively. It is applicable to scenarios where there is no
specific demand for low power consumption but a high demand for timeliness. In this case, the
modem will only switch between Connected and Idle modes.
When the module is in deep sleep mode, each of the following three conditions will wake up the module:
SN and IMEI number have already been written into BC92 module and cannot be modified. Execute
AT+CGSN=0 and AT+CGSN=1 to query SN and IMEI number respectively.
BC92_Software_Notes_and_FAQs 9 / 17
NB-IoT Module Series
BC92 Software Notes and FAQs
AT+CFUN enables/disables the RF function. Before powering on the module, please confirm that the
USIM card has been inserted and identified successfully. After executing AT+CFUN=1, the RF function is
enabled and the module will start network registration. After executing AT+CFUN=0, the module will be
detached from the network and the RF function will be disabled.
Both AT+CGDCONT and AT+QCGDEFCONT can be used to configure PDP related parameters, such as
the IP type (IP/IPV6) and APN.
After BC92 module attaches the network, automatically, the default PDP (<cid>=1) is activated and IP
address is obtained. The related parameters of default PDP can only be configured by
AT+QCGDEFCONT, and the settings will be saved to NVRAM and take effect after rebooting.
AT+CGDCONT is used to configure the PDP other than the default PDP, and to query all PDP
configurations and IP addresses.
Only AT+CGDCONT can be used to configure PDP related parameters of the module, and the default
PDP is not activated automatically when the module powers on. After the module is attached to a GSM
network, please configure a PDP by AT+CGDCONT and activate it by AT+CGACT manually.
Both AT+CGDCONT and AT+CGPADDR can be used to query the IP address of the module.
AT+CGDCONT queries the PDP related configurations, including IP address, IP type and APN
corresponding to <cid>. If <cid> corresponded PDP is not activated, the IP address will be shown as all
0.
AT+CGPADDR can only be used to query the IP address. The write command AT+CGPADDR[=<cid>[,
<cid>[,...]]] can be used to query the IP addresses of the specified <cid>s while the read command
AT+CGPADDR? can be used to query the IP addresses of all activated PDP.
BC92_Software_Notes_and_FAQs 10 / 17
NB-IoT Module Series
BC92 Software Notes and FAQs
It is recommended to use AT+CGPADDR only to acquire the IP address, and use AT+CGDCONT to
configure and query the PDP configuration.
For the full-band module BC92 (Band 3, Band 5, Band 8, Band 20, and Band 28), the module gives
priority to the band corresponding to the USIM operator when searching for the network for the first time.
Then, after the module successfully identifies a valid cell and attaches the network, it will save the used
EARFCN as a prior EARFCN. Next time when the module tries to attach network, the prior EARFCN will
be used at first. The network attachment lasts about 10-15 seconds (ECL = 0), the actual time depends on
the current network environment.
+CFUN: 1
+CPIN: READY
AT+CEREG=1 //Set to automatically report network registration status (when network status
changes, a URC will be reported).
OK
When an exception occurs, the module can be recovered by software reboot or hardware reboot as
follows:
1. Software Reboot: Software reboot is realized by inputting AT+QRST=1 through UART. However, if
there is no response on UART, this method will not work.
2. Hardware Reboot: Hardware reboot is realized by pulling down the RESET pin for at least 100 ms.
This method is taken if the software reboot fails.
NOTE
It is suggested to reserve power-off logic in your circuit design. In case that both hardware and software
reboot cannot take effect, power off the module and, then, power it on again to restart.
BC92_Software_Notes_and_FAQs 11 / 17
NB-IoT Module Series
BC92 Software Notes and FAQs
3 FAQs
1. Q: How to check the values of T3324 and T3412 by AT command?
A: If the PSM is enabled and the network has already sent the values of T3324 and T3412, after
setting the AT+CEREG=4 or AT+CEREG=5, the values of T3324 and extended T3412 can be
read by command AT+CEREG?. Currently, the values of T3412 could not be queried by AT
command.
A: Whether the module enters deep sleep mode depends on the current operating status of the
module and software configuration (for details about AT commands for software configuration,
see Chapter 2.3.1). Generally, after the last data packet is sent, if there is no data interaction
within 20 s, the core network issues a disconnection indication. Then, the modem enters Idle
mode and, later, enters PSM when the T3324 times out. At this time, if there is no task being
processed on the AP side (the AP is in idle state), the module enters the deep sleep mode.
3. Q: Is there any difference between the network attachment process after powering on the module
and that after waking up the modem in PSM?
A: Yes.
- For the network attachment after powering on the module, the system needs to search for
the optimal available cell first. After the cell is found, the module sends an attachment
registration authentication request to the core network. After the attachment succeeds, the
data can be sent.
- For the network attachment after waking up the modem in PSM, since the core network has
been successfully registered before the modem enters PSM, the data can be sent as long as
the appropriate cell is found.
A: BC92 supports both 1.8 V and 3.0 V, and will automatically recognize the USIM card voltage.
A: The NETLIGHT feature is supported but disabled by default. And if needed, it can be enabled by
executing AT+QLEDMODE=1. This command takes effect after rebooting.
BC92_Software_Notes_and_FAQs 12 / 17
NB-IoT Module Series
BC92 Software Notes and FAQs
No data interaction
Power On
RRC release
Periodic-TAU
Search cell and then RRC connect and send
RRC connected Active-Time Deep-Sleep AT+QISEND data
DRX cycle
4.1. Connected
After the module searches for cells and RRC connection is established, the modem is under Connected
mode and the module can receive and send data. After a period (which is set by the base station and
cannot be configured for the module) with no data interaction, the core network will send a connection
release indication and, then, the modem will enter Idle mode.
BC92_Software_Notes_and_FAQs 13 / 17
NB-IoT Module Series
BC92 Software Notes and FAQs
4.2.1. Idle
Receiving/sending data in Idle mode will cause the modem to return to Connected mode. After a period
(T3324) with no data transmission in Idle mode, the module will enter PSM.
AT+CEDRXS is used to enable/disable eDRX in Idle mode to determine whether to use DRX or eDRX.
Disabling eDRX refers to using DRX by default.
4.2.2. DRX
To save power, the module listens to the paging channel once per DRX cycle to check if there are arriving
downlink services. As illustrated in Figure 1, the modem is under DRX paging state within T3324 after
entering Idle mode. Since the DRX cycle is generally short, it is considered that during this time, if the IoT
platform has downlink data, the time delay of the module’s data receiving is rather short.
NOTES
4.2.3. eDRX
eDRX is a kind of technology introduced by 3GPP Rel-13. Paging cycle of eDRX is longer than that of
DRX, which allows the terminal to save more power but causes longer time delay of downlink data. The
module can only listen to the paging channel within the PTW on the basis of DRX cycle, to receive the
downlink services, while the module cannot listen to the paging channel and receive downlink services
after the PTW timeout.
NOTES
BC92_Software_Notes_and_FAQs 14 / 17
NB-IoT Module Series
BC92 Software Notes and FAQs
4.3. PSM
PSM is one of modem’s operating modes. Under this mode, the terminal turns off the signal transceiver
and stops listening to the paging from network side. Therefore, the module cannot receive the downlink
data even if it is still registered on network. In PSM, the modem will enter Connected mode if there is
uplink data to be transmitted, or when TAU periodically (T3412 times out). T3412 is configured by the core
network.
PSM allows the modem to disable the signal transmission and functions of the access layer after staying
in Idle mode for a while, so that the power consumption on antenna, radio frequency, signaling processing
will be reduced. During PSM, the module will not receive any network paging and will close all network
activities including cell message searching, cell reselection, etc. From the network side, the module no
longer receives downlink data.
PSM is a technology introduced by 3GPP Rel-12. It allows the modem to disable the signal transmission
and functions of the access layer after staying in Idle mode for a period (T3324), so that the power
consumption on antenna, radio frequency, signaling processing will be reduced. During PSM, the module
will not receive any network paging and will close all network activities including cell message searching,
cell reselection, etc. From the network side, the module no longer receives downlink data and is
unreachable at this time.
NOTE
You can use AT+CPSMS to enable/disable PSM and configure the duration of TAU (T3412) and
active-time (T3324), but it is the network that determines whether to accept the configuration.
BC92_Software_Notes_and_FAQs 15 / 17
NB-IoT Module Series
BC92 Software Notes and FAQs
5 Appendix B References
Abbreviation Description
AP Application Process
AS Access Layer
IP Internet Protocol
BC92_Software_Notes_and_FAQs 16 / 17
NB-IoT Module Series
BC92 Software Notes and FAQs
RF Radio Frequency
SN Serial Number
BC92_Software_Notes_and_FAQs 17 / 17