Quectel BC66 AT Commands Manual V1.0
User Manual:
Open the PDF directly: View PDF
.
Page Count: 93
BC66
AT Commands Manual
NB-IoT Module Series
Rev. BC66_AT_Commands_Manual_V1.0
Date: 2018-08-28
Status: Released
www.quectel.com
NB-IoT Module Series
BC66 AT Commands Manual
Our aim is to provide customers with timely and comprehensive service. For any
assistance, please contact our company headquarters:
Quectel Wireless Solutions Co., Ltd.
7th Floor, Hongye Building, No.1801 Hongmei Road, Xuhui District, Shanghai 200233, China
Tel: +86 21 5108 6236
Email: info@quectel.com
Or our local office. For more information, please visit:
http://www.quectel.com/support/sales.htm
For technical support, or to report documentation errors, please visit:
http://www.quectel.com/support/technical.htm
Or email to: support@quectel.com
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.
COPYRIGHT
THE INFORMATION CONTAINED HERE IS PROPRIETARY TECHNICAL INFORMATION OF
QUECTEL WIRELESS SOLUTIONS CO., LTD. TRANSMITTING, REPRODUCTION, DISSEMINATION
AND EDITING OF THIS DOCUMENT AS WELL AS UTILIZATION OF THE CONTENT ARE
FORBIDDEN WITHOUT PERMISSION. 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. 2018. All rights reserved.
BC66_AT_Commands_Manual
1 / 93
NB-IoT Module Series
BC66 AT Commands Manual
About the Document
History
Revision
1.0
Date
Author
Description
2018-08-28
Randy LI/
Lebron LIU/
Souly YAN
Initial
BC66_AT_Commands_Manual
2 / 93
NB-IoT Module Series
BC66 AT Commands Manual
Contents
About the Document ................................................................................................................................... 2
Contents ....................................................................................................................................................... 4
Table Index ................................................................................................................................................... 6
1
Introduction .......................................................................................................................................... 7
1.1.
Definitions .................................................................................................................................. 7
1.2.
AT Command Syntax ................................................................................................................. 7
1.3.
3GPP Compliance ..................................................................................................................... 8
2
Implementation Status ........................................................................................................................ 9
3
3GPP Commands (27.007) ................................................................................................................ 12
3.1.
ATI Display Product Identification Information ...................................................................... 12
3.2.
ATE Set Command Echo Mode ............................................................................................ 13
3.3.
AT&W Store Current Parameters to User Defined Profile .................................................... 13
3.4.
AT+IPR Set TE-TA Fixed Local Rate .................................................................................... 14
3.5.
AT+CGMI Request Manufacturer Identification .................................................................... 16
3.6.
AT+CGMM Request Model Identification ............................................................................. 16
3.7.
AT+CGMR Request Manufacturer Revision ......................................................................... 17
3.8.
AT+CSQ Signal Quality Report............................................................................................. 18
3.9.
AT+CESQ Extended Signal Quality ...................................................................................... 19
3.10. AT+CGSN Request Product Serial Number ......................................................................... 21
3.11. AT+CPIN Enter PIN .............................................................................................................. 23
3.12. AT+CEREG EPS Network Registration Status ..................................................................... 24
3.13. AT+CSCON Signalling Connection Status ........................................................................... 28
3.14. AT+COPS Operator Selection .............................................................................................. 29
3.15. AT+CGATT PS Attach or Detach .......................................................................................... 32
3.16. AT+CGDCONT Define a PDP Context ................................................................................. 33
3.17. AT+CGACT PDP Context Activation/Deactivation................................................................ 37
3.18. AT+CGPADDR Show PDP Addresses ................................................................................. 39
3.19. AT+CIMI Request International Mobile Subscriber Identity.................................................. 42
3.20. AT+CFUN Set UE Functionality ............................................................................................ 42
3.21. AT+CMEE Report Mobile Termination Error ......................................................................... 44
3.22. AT+CCLK Return Current Date and Time ............................................................................ 45
3.23. AT+CBC Query Power Supply Voltage ................................................................................. 46
3.24. AT+CPSMS Power Saving Mode Setting ............................................................................. 47
3.25. AT+CEDRXS eDRX Setting .................................................................................................. 49
3.26. AT+CEDRXRDP eDRX Read Dynamic Parameters ............................................................ 52
3.27. AT+CTZR Time Zone Reporting ........................................................................................... 54
3.28. AT+CIPCA Initial PDP Context Activation ............................................................................. 55
3.29. AT+CCIOTOPT CloT Optimization Configuration ................................................................. 57
3.30. AT+CGAPNRC APN Rate Control ........................................................................................ 59
3.31. AT+CEER Extended Error Report ........................................................................................ 60
BC66_AT_Commands_Manual
4 / 93
NB-IoT Module Series
BC66 AT Commands Manual
4
General Commands ........................................................................................................................... 62
4.1.
AT+QGACT Activate/Deactivate a PDN Context ................................................................. 62
4.2.
AT+QBAND Get and Set Mobile Operation Band ................................................................ 64
4.3.
AT+QRST Automatically Reset............................................................................................. 66
4.4.
AT+QSPCHSC Set Scrambling Algorithm ............................................................................ 66
4.5.
AT+QLOCKF Lock NB-IoT Frequency.................................................................................. 67
4.6.
AT+QCSEARFCN Clear NB-IoT Stored EARFCN List......................................................... 68
4.7.
AT+QCGDEFCONT Set Default PSD Connection Settings ................................................. 69
4.8.
AT+QNBIOTRAI NB-IoT Release Assistance Indication ...................................................... 70
4.9.
AT+QNBIOTEVENT Enable/Disable NB-IoT Related Event Report .................................... 71
4.10. AT+QATWAKEUP Enable/Disable Deep Sleep Wakeup Indication..................................... 72
4.11. AT+QENG Engineering Mode............................................................................................... 73
4.12. AT+QCCID USIM Card Identification .................................................................................... 76
4.13. AT+QPOWD Power off the Module ...................................................................................... 77
4.14. AT+QSCLK Configure Sleep Mode ...................................................................................... 78
5
Examples ............................................................................................................................................ 79
5.1.
Network Attachment................................................................................................................. 79
5.1.1.
Manual Query of Network Attachment State ................................................................. 79
5.1.2.
Automatic Network Attachment State Report via URC.................................................. 81
5.1.3.
Automatic Network Attachment with Specified PLMN/EARFCN/PCI/Band .................. 83
6
Summary of Codes .................................................................................................................. 89
7
Appendix A Reference....................................................................................................................... 92
BC66_AT_Commands_Manual
5 / 93
NB-IoT Module Series
BC66 AT Commands Manual
Table Index
TABLE 1: TYPES OF AT COMMANDS AND RESPONSES ............................................................................... 8
TABLE 2: TYPES OF AT COMMANDS AND IMPLEMENTATION STATUS ....................................................... 9
TABLE 3: GENERAL CODES (27.007) ................................................................................................ 89
TABLE 4: SPECIFIC CODES ............................................................................................................... 90
TABLE 5: TERMS AND ABBREVIATIONS ........................................................................................................ 92
BC66_AT_Commands_Manual
6 / 93
NB-IoT Module Series
BC66 AT Commands Manual
1
Introduction
This document gives details of the AT Command Set supported by Quectel NB-IoT BC66 module.
By default, the module is in auto-baud mode. When powering on the module, the MCU has to send AT
command consecutively to synchronize baud rate with the module until OK is returned. After successful
synchronization, the MCU can send AT+IPR= command to configure the baud rate for
communication afterwards. If the baud rate is not specified, re-synchronization should be executed in the
next restart.
1.1. Definitions
: Carriage return character
: Line feed character
<..>: Parameter name. Angle brackets do not appear on command line
[..]: Optional parameter. Square brackets do not appear on the command line
1.2. AT Command Syntax
The “AT” or “at” prefix must be set at the beginning of each command line. Entering will terminate a
command
line.
Commands
are
usually
followed
by
a
response
that
includes
“”. Throughout this document, only the responses are presented,
“” are omitted intentionally.
AT commands implemented by BC66 can be split into three categories syntactically: “basic”, “S
parameter”, and “extended”. They are listed as follows:
Basic syntax
These AT commands have the format of “AT”, or “AT&”, where “” is the command, and
“” is/are the argument(s) for that command. An example of this is “ATE”, which tells the DCE
whether received characters should be echoed back to the DTE according to the value of “”. “” is
optional and a default will be used if it is missing.
S parameter syntax
BC66_AT_Commands_Manual
7 / 93
NB-IoT Module Series
BC66 AT Commands Manual
These AT commands have the format of “ATS=”, where “” is the index of the S register to set,
and “” is the value to assign to it. “” is optional; if it is missing, then a default value is assigned.
Extended syntax
These commands can be operated in several modes, as following table:
Table 1: Types of AT Commands and Responses
Test Command
AT+=?
This command returns the list of parameters and value ranges
set by the corresponding Write Command or internal processes.
Read Command
AT+?
This command returns the currently set value of the parameter
or parameters.
Write Command
AT+=<…>
This command sets the user-definable parameter values.
Execution
Command
AT+
This command reads non-variable parameters affected by
internal processes in the module.
NOTE
Each time a single AT command is supported. Only when execution of the previous AT command is
finished, the next AT command will be executed.
1.3. 3GPP Compliance
3GPP commands are complied with the 3GPP TS 27.007, 3GPP TS 27.005 and ITU V.250 specifications.
BC66_AT_Commands_Manual
8 / 93
NB-IoT Module Series
BC66 AT Commands Manual
2
Implementation Status
Table 2: Types of AT Commands and Implementation Status
AT Command
Description
Implementation Status
ATI
Display Product Identification Information
NBR01A01 or later
ATE
Set Command Echo Mode
NBR01A01 or later
AT&W
Store Current Parameters to User Defined
Profile
NBR01A01 or later
AT+IPR
Set TE-TA Fixed Local Rate
NBR01A01 or later
AT+CGMI
Request Manufacturer Identification
NBR01A01 or later
AT+CGMM
Request Model Identification
NBR01A01 or later
AT+CGMR
Request Manufacturer Revision
NBR01A01 or later
AT+CSQ
Signal Quality Report
NBR01A01 or later
AT+CESQ
Extended Signal Quality
NBR01A01 or later
AT+CGSN
Request Product Serial Number
NBR01A01 or later
AT+CPIN
Enter PIN
NBR01A01 or later
AT+CEREG
EPS Network Registration Status
NBR01A01 or later
AT+CSCON
Signalling Connection Status
NBR01A01 or later
AT+COPS
Operator Selection
NBR01A01 or later
AT+CGATT
PS Attach or Detach
NBR01A01 or later
AT+CGDCONT
Define a PDP Context
NBR01A01 or later
AT+CGACT
PDP Context Activation or Deactivation
NBR01A01 or later
3GPP Commands (27.007)
BC66_AT_Commands_Manual
9 / 93
NB-IoT Module Series
BC66 AT Commands Manual
AT+CGPADDR
Show PDP Addresses
NBR01A01 or later
AT+CIMI
Request International Mobile Subscriber
Identity
NBR01A01 or later
AT+CFUN
Set UE Functionality
NBR01A01 or later
AT+CMEE
Report Mobile Termination Error
NBR01A01 or later
AT+CCLK
Return Current Date and Time
NBR01A01 or later
AT+CBC
Query Power Supply Voltage
NBR01A02 or later
AT+CPSMS
Power Saving Mode Setting
NBR01A01 or later
AT+CEDRXS
eDRX Setting
NBR01A01 or later
AT+CEDRXRDP
eDRX Read Dynamic Parameters
NBR01A01 or later
AT+CTZR
Time Zone Reporting
NBR01A01 or later
AT+CIPCA
Initial PDP Context Activation
NBR01A01 or later
AT+CCIOTOPT
CloT Optimization Configuration
NBR01A01 or later
AT+CGAPNRC
APN Rate Control
NBR01A01 or later
AT+CEER
Extended Error Report
NBR01A01 or later
AT+QGACT
Activate/Deactivate a PDN Context
NBR01A01 or later
AT+QBAND
Get and Set Mobile Operation Band
NBR01A01 or later
AT+QRST
Automatically Rest
NBR01A01 or later
AT+QSPCHSC
Set Scrambling Algorithm
NBR01A01 or later
AT+QLOCKF
Lock NB-IoT Frequency
NBR01A01 or later
AT+QCSEARFCN
Clear NB-IoT Stored EARFCN List
NBR01A01 or later
AT+QCGDEFCONT
Set Default PSD Connection Settings
NBR01A01 or later
AT+QNBIOTRAI
NB-IoT Release Assistance Indication
NBR01A01 or later
AT+QNBIOTEVENT
Enable/Disable NB-IoT Related Event Report
NBR01A01 or later
AT+QATWAKEUP
Enable/Disable Deep Sleep Wakeup
Indication
NBR01A01 or later
General Commands
BC66_AT_Commands_Manual
10 / 93
NB-IoT Module Series
BC66 AT Commands Manual
AT+QENG
Engineering Mode
NBR01A01 or later
AT+QCCID
USIM Card Identification
NBR01A01 or later
AT+QPOWD
Power off the Module
NBR01A02 or later
AT+QSCLK
Configure Sleep Mode
NBR01A02 or later
BC66_AT_Commands_Manual
11 / 93
NB-IoT Module Series
BC66 AT Commands Manual
3
3GPP Commands (27.007)
3.1. ATI
Display Product Identification Information
The execution command returns product identification information.
ATI Display Product Identification Information
Execution Command
ATI
Response
Quectel_Ltd