Quectel BC66 AT Commands Manual V1.0

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 93

DownloadQuectel BC66 AT Commands Manual V1.0
Open PDF In BrowserView PDF
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

Revision: 
OK

Maximum Response Time

300ms

Parameter
 Identifier of device type
 Revision of software release

Example
ATI
Quectel_Ltd
Quectel_BC66
Revision: BC66NBR01A01
OK

BC66_AT_Commands_Manual

12 / 93

NB-IoT Module Series
BC66 AT Commands Manual

3.2. ATE

Set Command Echo Mode

The execution command determines whether or not the UE echoes characters received from external
MCU during command state.

ATE Set Command Echo Mode
Execution Command
ATE

Response
OK

Maximum Response Time

300ms

Parameter


0
1

Echo mode OFF
Echo mode ON

Example
ATE0
OK
ATI
Quectel_Ltd
Quectel_BC66
Revision: BC66NBR01A01
OK
ATE1
OK
ATI
ATI
Quectel _Ltd
Quectel_BC66
Revision: BC66NBR01A01
OK

3.3. AT&W

Store Current Parameters to User Defined Profile

The command stores the current parameter settings to a user defined profile in non-volatile memory.

BC66_AT_Commands_Manual

13 / 93

NB-IoT Module Series
BC66 AT Commands Manual

AT&W

Store Current Parameters to User Defined Profile

Execution Command
AT&W[]

Response
OK

Maximum Response Time

300ms

Parameter


0

Profile number to store current parameters

3.4. AT+IPR Set TE-TA Fixed Local Rate
Please refer to Chapter 6 for possible  values.

AT+IPR Set TE-TA Fixed Local Rate
Test Command
AT+IPR=?

Response
+IPR: (list of preferred auto baud s),(list of supported
fixed-only s)
OK

Read Command
AT+IPR?

Response
+IPR: 
OK

Write Command
AT+IPR=

Response
OK
If there is any error, response:
ERROR
or
+CME ERROR: 

Maximum Response Time

BC66_AT_Commands_Manual

300ms

14 / 93

NB-IoT Module Series
BC66 AT Commands Manual

Parameter


Baud rate per second
0 (Auto baud)
110
300
1200
2400
4800
9600
19200
38400
57600
115200
230400
460800
921600

NOTES
1. The setting will apply to all channels routed through one connection level for UART.
2. The command is not applicable for USB interface.

Example
AT+IPR=115200
OK
AT&W

//Set the fixed baud rate to 115200bps.
//Store the current setting, that is, set the UART port communication
rate into 115200bps after resetting module.

OK
AT+IPR?
+IPR: 115200
OK
AT+IPR=?
+IPR: (4800,9600,115200),(0,110,300,1200,2400,4800,9600,19200,38400,57600,115200,230400,4608
00,921600)
OK

BC66_AT_Commands_Manual

15 / 93

NB-IoT Module Series
BC66 AT Commands Manual

3.5. AT+CGMI

Request Manufacturer Identification

The execution command returns manufacturer information.

AT+CGMI Request Manufacturer Identification
Test Command
AT+CGMI=?

Response
OK

Execution Command
AT+CGMI

Response
Quectel_Ltd

Revision: MTK_2625
OK

Maximum Response Time

300ms

Parameter


Identifier of device type

Example
AT+CGMI
Quectel_Ltd
Quectel_BC66
Revision: MTK_2625
OK

3.6. AT+CGMM

Request Model Identification

The execution command returns the model information of the product.

AT+CGMM

Request Model Identification

Test Command
AT+CGMM=?

Response
OK

Execution Command
AT+CGMM

Response


BC66_AT_Commands_Manual

16 / 93

NB-IoT Module Series
BC66 AT Commands Manual

OK
Maximum Response Time

300ms

Parameter
 Identifier of device type

Example
AT+CGMM
Quectel_BC66
OK

3.7. AT+CGMR

Request Manufacturer Revision

The execution command returns the manufacturer revision. The text is human-readable and is not
intended for microcontroller parsing. By default it will return the firmware revision.
The execution command returns one line of information text .

AT+CGMR Request Manufacturer Revision
Test Command
AT+CGMR=?

Response
OK

Execution Command
AT+CGMR

Response
Revision: 
OK

Maximum Response Time

300ms

Parameter


Revision of software release

Example
AT+CGMR

BC66_AT_Commands_Manual

17 / 93

NB-IoT Module Series
BC66 AT Commands Manual

Revision: BC66NBR01A01
OK

3.8. AT+CSQ

Signal Quality Report

The execution command returns the received signal strength level  and the channel bit error rate
 from the MT.
The test command returns supported values as a compound value.
Please refer to Chapter 6 for possible  values.

AT+CSQ

Signal Quality Report

Test Command
AT+CSQ=?

Response
+CSQ: (list of supported s),(list of supported s)
OK

Execution Command
AT+CSQ

Response
+CSQ: ,
OK
If there is any error, response:
ERROR
or
+CME ERROR: 

Maximum Response Time

300ms

Parameter


Integer type. Received signal strength level
0
-113dBm or less
1
-111dBm
2…30
-109…-53dBm
31
-51dBm or greater
99
Not known or not detectable



Integer type. Channel bit error rate (in percent)
0…7
As RXQUAL values RXQUAL_0…RXQUAL_7 as defined in 3GPP TS 45.008
99
Not known or not detectable

BC66_AT_Commands_Manual

18 / 93

NB-IoT Module Series
BC66 AT Commands Manual

Example
AT+CSQ
+CSQ: 22,0
OK

3.9. AT+CESQ

Extended Signal Quality

The execution command returns received signal quality parameters.
The terminal will provide a current signal strength indicator of 0 to 99 where larger is generally better. This
information is based on a single measurement so can be expected to change greatly over short periods of
time and may never use all (or even the majority) of the entire possible range or codes.
The test command returns supported values as a compound value.
Please refer to Chapter 6 for possible  values.

AT+CESQ

Extended Signal Quality

Test Command
AT+CESQ=?

Response
+CESQ: (list of supported s),(list of supported
s),(list of supported s),(list of supported
s),(list of supported s),(list of supported
s)
OK

Execution Command
AT+CESQ

Response
+CESQ: ,,,,,
OK
If there is any error, response:
ERROR
or
+CME ERROR: 

Maximum Response Time

BC66_AT_Commands_Manual

300ms

19 / 93

NB-IoT Module Series
BC66 AT Commands Manual

Parameter












Integer type. Received signal strength level
0
 < -110dBm
1
-110dBm ≤  < -109dBm
2
-109dBm ≤  < -108dBm
…
61
-50dBm ≤  < -49dBm
62
-49dBm ≤  < -48dBm
63
-48dBm ≤ 
99
Not known or not detectable
Integer type. Channel bit error rate (in percent)
0…7
As RXQUAL values RXQUAL_0…RXQUAL_7 as defined in 45.008.
99
Not known or not detectable
Integer type, received signal code power (see 3GPP 25.133 and 3GPP 25.123)
0
-120 dBm or less
1
-120 dBm ≤  < -119 dBm
2
-119 dBm ≤  < -118 dBm
…
94
-27 dBm ≤  < -26 dBm
95
-26 dBm ≤  < -25 dBm
96
-25 dBm ≤ 
255
Not known or not detectable
Integer type, Ec/No (see 3GPP 25.133)
0
-24 dBm or less
1
-24dBm ≤  < -23.5 dBm
2
-23.5dBm ≤  < -23 dBm
…
47
-1dBm ≤  < -0.5 dBm
48
-0.5dBm ≤  < 0 dBm
49
0 dBm ≤ 
255
Not known or not detectable
Integer type. Reference signal received quality (see 3GPP 36.133)
0
-19.5dB or less
1
-19.5dB ≤  < -19dB
2
-19dB ≤  < -18.5dB
…
32
-4dB ≤  < -3.5dB
33
-3.5dB ≤  < -3dB
34
-3dB ≤ 
255
Not known or not detectable
Integer type. Reference signal received power (see 3GPP 36.133)
0
-140 dBm or less
1
-140dBm ≤  < -139 dBm

BC66_AT_Commands_Manual

20 / 93

NB-IoT Module Series
BC66 AT Commands Manual

2
…
95
96
97
255

-139dBm ≤  < -138 dBm
-46dBm ≤  < -45 dBm
-45dBm ≤  < -44 dBm
-44dBm ≤ 
Not known or not detectable

Example
AT+CESQ
+CESQ: 15,99,255,255,8,30
OK

NOTE
 and  are not applicable for BC66 so they should be set to the “not known or not detectable”
value: 255.

3.10. AT+CGSN

Request Product Serial Number

The execution command returns the IMEI (International Mobile station Equipment Identity) number and
related information. For a TA which does not support , only “OK” is returned.
Please refer to Chapter 6 for possible  values.

AT+CGSN Request Product Serial Number
Test Command
AT+CGSN=?

Response
When TE supports  and the command is executed
successfully:
+CGSN: (list of supported s)
OK

Write Command
AT+CGSN=

Response
When =0

OK
When =1
+CGSN: 

BC66_AT_Commands_Manual

21 / 93

NB-IoT Module Series
BC66 AT Commands Manual

OK
When =2
+CGSN: 
OK
When =3
+CGSN: 
OK
If there is any error, response:
ERROR
or
+CME ERROR: 
Execution Command
AT+CGSN

Response

OK
If there is any error, response:
ERROR
or
+CME ERROR: 

Maximum Response Time

300ms

Parameter








Integer type indicating the serial number type that has been requested
0
Returns the 128-bit UUID
1
Returns the IMEI number
2
Returns the IMEISV (International Mobile station Equipment Identity and Software
Version) number
3
Returns the SVN (Software Version Number)
The 128-bit UUID of the UE. The total number of characters, including line terminators. The
information text shall not exceed 2048 characters, and shall not contain the sequence 0
 or OK.
String type in decimal format indicating the IMEI number
String type in decimal format indicating the IMEISV
String type in decimal format indicating the current SVN which is a part of IMEISV

BC66_AT_Commands_Manual

22 / 93

NB-IoT Module Series
BC66 AT Commands Manual

Example
AT+CGSN=1
+CGSN: 490154203237511

//Request the IMEI number

OK

3.11. AT+CPIN

Enter PIN

Please refer to Chapter 6 for possible  values.

AT+CPIN Enter PIN
Test Command
AT+CPIN=?

Response
OK

Read Command
AT+CPIN?

Response
TA returns an alphanumeric string indicating whether or not
some password is required.
+CPIN: 
OK

Write Command
AT+CPIN=[,][,]

Response
TA stores a password, such as USIM PIN, USIM PUK,
PH-SIM PIN, etc., which is necessary before it can be
operated. If the PIN is to be entered twice, the TA shall
automatically repeat the PIN. If no PIN request is pending, no
action is taken and an error message, +CME ERROR, is
returned to TE.
If the PIN required is USIM PUK or USIM PUK2, the second
pin is required. This second pin, , is used to
replace the old pin in the USIM.
When a new password is set, a third optional parameter may
also be specified. This extra parameter is compared to the
new password to check they are equivalent as an additional
security feature.
OK
If there is any error, response:
ERROR
or
+CME ERROR: 

BC66_AT_Commands_Manual

23 / 93

NB-IoT Module Series
BC66 AT Commands Manual

Maximum Response Time

5s

Parameter


READY
SIM PIN
SIM PUK
PH_SIM PIN
PH_NET PIN
PH_NETSUB PIN
PH_SP PIN
PH_CORP PIN
SIM PIN2

SIM PUK2




No further entry needed
MT is waiting for USIM PIN
MT is waiting for USIM PUK
MT is waiting for phone-to-USIM card password (antitheft)
Network personalization password is required.
Network subset is required.
Service provider personalization password is required.
Corporate personalization password is required.
MT is waiting for USIM PIN 2 to be given. Possible only if the
preceding command was acknowledged with “+CME
ERROR:17”
MT is waiting for USIM PUK 2 to be given. Possible only if the
preceding command was acknowledged with error “+CME
ERROR: 18”

String type. Password
String type. If the PIN required is USIM PUK or USIM PUK2, it is the new password.

Example
AT+CPIN?
+CPIN: READY
OK

3.12. AT+CEREG

EPS Network Registration Status

The write command controls the presentation of an unsolicited result code (URC) “+CEREG: ”
when =1 and there is a change in the MT's EPS network registration status in E-UTRAN, or
unsolicited result code “+CEREG: [,[],[],[]]” when =2 and there is a change of
the network cell in E-UTRAN. The parameters ,  and  are provided only if available. The
value =3 further extends the unsolicited result code with [,,], when
available, when the value of  changes.
If the UE requests PSM for reducing its power consumption, the wirte command controls the pres
entation of an unsolicited result code: “+CEREG: [,[],[],[][,[],[][,[],[]]]]”.

BC66_AT_Commands_Manual

24 / 93

NB-IoT Module Series
BC66 AT Commands Manual

When =4, the unsolicited result code will provide the UE with additional information for the active time
value and the extended periodic TAU value if there is a change of the network cell in E-UTRAN. The value
=5 further enhances the unsolicited result code with  and  when the
value of  changes. The parameters , , , , ,
 and  are provided only if available.
The read command returns the status of result code presentation and an integer  which shows
whether the network has currently indicated the registration of the MT. Location information elements
,  and , if available, are returned only when =2 and MT is registered on the network.
The parameters [,,], if available, are returned when =3.
The test command returns supported parameter values.
Please refer to Chapter 6 for possible  values.

AT+CEREG

EPS Network Registration Status

Test Command
AT+CEREG=?

Response
+CEREG: (list of supported s)
OK

Read Command
AT+CEREG?

Response
When =0, 1, 2 or 3 and the command is executed
successfully:
+CEREG: ,[,[],[],[[,,]]]
When =4 or 5 and the command is executed successfully:
+CEREG: ,[,[],[],[][,[],[][,[],[]]]]
OK
If there is any error, response:
ERROR
or
+CME ERROR: 

Write Command
AT+CEREG=

Response
OK
If there is any error, response:
ERROR
or
+CME ERROR: 

BC66_AT_Commands_Manual

25 / 93

NB-IoT Module Series
BC66 AT Commands Manual

Maximum Response Time

300ms

Parameter








Integer type
0 Disable network registration unsolicited result code
1 Enable network registration unsolicited result code: “+CEREG: ”
2 Enable network registration and location information unsolicited result code:
“+CEREG: [,[],[],[]]”
3 Enable network registration, location information and EMM cause value information
unsolicited result code:
“+CEREG: [,[],[],[][,,]]”
4 For a UE that requests PSM, enable network registration and location information
unsolicited result code:
“+CEREG: [,[],[],[][,,[,[],[]]]]”
5 For a UE that requests PSM, enable network registration, location information and
EMM cause value information unsolicited result code:
+CEREG: [,[],[],[][,[],[][,[],[]]]]
Integer type. The EPS registration status.
0 Not registered, MT is not currently searching an operator to register to
1 Registered, home network
2 Not registered, but MT is currently trying to attach or searching an operator to register
to
3 Registration denied
4 Unknown (e.g. out of E-UTRAN coverage)
5 Registered, roaming
String type. Two bytes tracking area code in hexadecimal format (e.g. “00C3” equals 195 in
decimal).
String type. Four bytes E-UTRAN cell ID in hexadecimal format.
Integer type. Access technology of the registered network.
7

E-UTRAN

9

E-UTRAN (NB-S1 mode)






Integer type. The type of .
0 Indicates that  contains an EMM cause value (see 3GPP TS
24.008[8] Annex G).
1 Indicates that  contains a manufacturer-specific cause value
Integer type. Contains the cause of the failed registration. The value is of type as
defined by .
String type. One byte in an 8-bit format. Indicates the active time value (T3324)
allocated to the UE in E-UTRAN. The active time value is coded as one byte (octet 3)
of the GPRS Timer 2 information element coded as bit format (e.g. “00100100” equals
4 minutes). For the coding and the value range, please refer to the GPRS Timer 2 IE

BC66_AT_Commands_Manual

26 / 93

NB-IoT Module Series
BC66 AT Commands Manual

in 3GPP TS 24.008 Table 10.5.163/3Gpp TS 24.008, 3GPP TS 23.682 and 3GPP TS
23.401.
Bits 5 to 1 represent the binary coded timer value.
Bits 6 to 8 defines the timer value unit for the GPRS timer as follows:
Bits
876
0 0 0 value is incremented in multiples of 2 seconds
0 0 1 value is incremented in multiples of 1 minute
0 1 0 value is incremented in multiples of decihours
1 1 1 value indicates that the timer is deactivated.
 String type. One byte in an 8-bit format. Indicates the extended periodic TAU value
(T3412) allocated to the UE in E-UTRAN. The extended periodic TAU value is coded
as one byte (octet 3) of the GPRS Timer 3 information element coded as bit format
(e.g. “01000111” equals 70 hours). For the coding and the value range, please refer to
the GPRS Timers 3 IE in 3GPP TS 24.008 Table 10.5.163a/3GPP TS 24.008, 3GPP
TS 23.682 and 3GPP TS 23.401.
Bits 5 to 1 represent the binary coded timer value
Bits 6 to 8 define the timer value unit as follows:
Bits
876
0 0 0 value is incremented in multiples of 10 minutes
0 0 1 value is incremented in multiples of 1 hour
0 1 0 value is incremented in multiples of 10 hours
0 1 1 value is incremented in multiples of 2 seconds
1 0 0 value is incremented in multiples of 30 seconds
1 0 1 value is incremented in multiples of 1 minute
1 1 0 value is incremented in multiples of 320 hours
1 1 1 value indicates that the timer is deactivated

Example
AT+CEREG=1
OK
AT+CEREG?
+CEREG: 1,1

//Enable network registration URC.

OK
AT+CEREG=?
+CEREG: (0-5)
OK

BC66_AT_Commands_Manual

27 / 93

NB-IoT Module Series
BC66 AT Commands Manual

3.13. AT+CSCON

Signalling Connection Status

The command gives details of the TA’s perceived radio connection status (i.e. to the base station). It
returns an indication of the current state. Please note that this state is only updated when radio events,
such as sending and receiving, take place. This means that the current state may be out of date. The
terminal may think it is "Connected" yet cannot currently use a base station due to a change in the link
quality.
The write command controls the presentation of an unsolicited result code. If =1, “+CSCON: ”
is sent from the MT when the connection mode of the MT is changed.
When the MT is in E-UTRAN, the mode of the MT refers to idle when no PS signaling connection and to
connected mode when a PS signalling connection between MT and network is setup.
The  value indicates the state of the MT when the MT is in E-UTRAN.
The read command returns the status of result code presentation and an integer  which shows
whether the MT is currently in idle mode or connected mode.
The test command returns supported values as a compound value.
Please refer to Chapter 6 for possible  values.

AT+CSCON Signalling Connection Status
Test Command
AT+CSCON=?

Response
+CSCON: (list of supported s)
OK

Read Command
AT+CSCON?

Response
+CSCON: ,[,]
OK
If there is any error, response:
ERROR
Or
+CME ERROR: 

Write command
AT+CSCON=

Response
OK
If there is any error, response:
ERROR
or
+CME ERROR: 

BC66_AT_Commands_Manual

28 / 93

NB-IoT Module Series
BC66 AT Commands Manual

Maximum Response Time

300ms

Parameter




Integer type. Enable/disable unsolicited result code.
0
Disable unsolicited result code
1
Enable unsolicited result code: “+CSCON:”
Integer type. The signalling connection status.
0
Idle
1
Connected

Example
AT+CSCON=0
OK
AT+CSCON?
+CSCON: 0,1
OK
AT+CSCON=?
+CSCON: (0,1)
OK
AT+CSCON=1
OK
AT+CSCON?
+CSCON: 1,1
OK

3.14. AT+COPS

Operator Selection

The write command forces an attempt to select and register the EPS network operator using the USIM
card installed in the currently selected card slot.  is used to select whether the selection is done
automatically by the MT or is forced by this command to operator  (it shall be given in format
) to a certain access technology, indicated in . If the selected operator is not available, no
other operator shall be selected (except =4). If the selected access technology is not available,
then the same operator shall be selected in other access technology. The selected operator name format
shall also apply to further read commands (AT+COPS?). =2 forces an attempt to deregister from
the network. The selected mode affects all further network registration (e.g. after =2, MT shall be
unregistered until =0 or 1 is selected). This command should be abortable when

BC66_AT_Commands_Manual

29 / 93

NB-IoT Module Series
BC66 AT Commands Manual

registration/deregistration attempt is made.
The read command returns the current mode, the currently selected operator and the current access
technology. If no operator is selected, ,  and  are omitted.
The test command returns a set of five parameters, each representing an operator present in the network.
A set consists of an integer indicating the availability of the operator , long and short alphanumeric
format of the operator’s name, numeric format representation of the operator and access technology. Any
of the formats may be unavailable and should then be an empty field. The list of operators shall be in the
order of: home network, networks referenced in USIM or active application in the UICC (USIM) in the
following order: HPLMN selector, user controlled PLMN selector, operator controlled PLMN selector and
PLMN selector (in the USIM), and other networks.
The  access technology selected parameters should only be used in terminals capable to register
to more than one access technology. Selection of  does not limit the capability to cell reselections,
even though an attempt is made to select an access technology, the phone may still re-select a cell in
another access technology.
Please refer to Chapter 6 for possible  values.

AT+COPS

Operator Selection

Test Command
AT+COPS=?

Response
+COPS: [list of supported (,numeric [,])s][,,(list of supported s),(list of supported s)]
OK
If there is any error, response:
ERROR
Or
+CME ERROR: 

Read Command
AT+COPS?

Response
+COPS: [,,][,]
OK
If there is any error, response:
ERROR
Or
+CME ERROR: 

Write Command
AT+COPS=[,[,[,]]

BC66_AT_Commands_Manual

Response
OK

30 / 93

NB-IoT Module Series
BC66 AT Commands Manual

If there is any error, response:
ERROR
Or
+CME ERROR: 
Maximum Response Time

630s

Parameter









Integer type
0
Automatic mode ( field is ignored)
1
Manual operator selection ( field shall be present)
2
Manual deregister from network
3
Set only  (for read command AT+COPS?), not shown in Read
command response
4
Manual/automatic selected. If manual selection fails, automatic mode (=0)
is entered
Integer type
2
Numeric 
String type.  indicates if the format is numeric; numeric format is the NB-IoT
network location area identification number which consists of a three BCD digit ITU-T
country code coded, plus a two or three BCD digit network code, which is administration
specific.  field could not be present when =0.
Integer type
0
Unknown
1
Operator Available
2
Operator Current
3
Operator Forbidden
Integer type. Access technology selected
7
E-UTRAN
9
E-UTRAN (NB-S1 mode)

NOTE
The test command can only be executed in idle state, otherwise an error will be returned.

Example
AT+COPS=0
OK
AT+COPS?
+COPS: 0,2,"46000",9

BC66_AT_Commands_Manual

31 / 93

NB-IoT Module Series
BC66 AT Commands Manual

OK

3.15. AT+CGATT

PS Attach or Detach

The write command is used to attach the MT to, or detach the MT from, the packet domain service. After
the command has completed, the MT remains in V.250 command state. If the MT is already in the
requested state, the command is ignored and the “OK” response is returned. If the requested state cannot
be achieved, an “ERROR” or “+CME ERROR” response is returned. Please refer to Chapter 6 for
possible  values.
Any active PDP contexts will be automatically deactivated when the attachment state changes to
detached.
The read command returns the current packet domain service state.
The test command is used for requesting information on the supported packet domain service states.

AT+CGATT

PS Attach or Detach

Test Command
AT+CGATT=?

Response
+CGATT: (list of supported s)
OK

Read Command
AT+CGATT?

Response
+CGATT: 
OK

Write Command
AT+CGATT=

Response
OK
If there is any error, response:
ERROR
or
+CME ERROR: 

Maximum Response Time

75s, determined by network.

Parameter


Integer type. Indicates the state of PDP context activation.
0 Detached
1 Attached

BC66_AT_Commands_Manual

32 / 93

NB-IoT Module Series
BC66 AT Commands Manual

When =1, AT+COPS=0 is automatically selected.

NOTES
1.
2.

If the initial PDP context is supported, the context with =1 is automatically defined at startup.
If AT+CGATT is in progress, further execution of this command before the finishing of attach or
detach procedure will return an error.

Example
AT+CGATT?
+CGATT: 0
OK
AT+CGATT=1
OK
AT+CGATT=?
+CGATT: (0,1)
OK

3.16. AT+CGDCONT

Define a PDP Context

The write command specifies PDP context parameters for a PDP context identified by the (local) context
identification parameter, . It also allows the TE to specify whether security protected transmission of
ESM information is requested, because the PCO can include information that requires ciphering. There
can be other reasons for the UE to use security protected transmission of ESM information, e.g. if the UE
needs to transfer an APN. The number of PDP contexts that may be in a defined state at the same time is
given by the range returned by the test command. Please refer to Chapter 6 for possible  values.
For EPS the PDN connection and its associated EPS default bearer is identified herewith. For EPS the
 shall be omitted.
A special form of the write command, AT+CGDCONT= causes the values for context number 
to become undefined.
The read command returns the current settings for each defined context.
The test command returns values supported as a compound value. If the UE supports several PDP types,

BC66_AT_Commands_Manual

33 / 93

NB-IoT Module Series
BC66 AT Commands Manual

, the parameter value ranges for each  are returned on a separate line.
By default, the context with =1 (context number 1) is defined upon startup and does not need to be
created with the AT+CGDCONT command. The initial PDP context has particular manufacturer specific
default settings disassociated with any other default settings of AT+CGDCONT. When in E-UTRAN, the
initial PDP context is automatically activated by the MT following a successful registration to the network
depending on the setting of AT+CIPCA command. If all active contexts are deactivated, the initial PDP
context can be (re)established.

AT+CGDCONT Define a PDP Context
Test Command
AT+CGDCONT=?

Response
+CGDCONT: (list of supported s),( list of supported
s),,,(list of supported s),(list of sup
ported s),(list of supported s),
(list of supported s),(list of supported s),(list of supported s),(list of supported s),(list of support
ed s),(list of supported s),(list of supported s),(list of supp
orted s)
+CGDCONT: (list of supported of s),(list of supporte
d s),,,(list of supported s),(list of s
upported s),(list of supported 
s),(list of supported s),(list of supported

s),(list of supported s),(list of supported s),(list of suppor ted s,(list of supported s),(list of supported s),(list of supp orted s)[...] OK Read Command AT+CGDCONT? Response [+CGDCONT: ,,,,,[,[,[,< P-CSCF_discovery>[,[,[,[,[,[,]]]]]]]]]] +CGDCONT: ,,,,,[,[,[,

[,[,[,[,[,[,]]]]]]]]]] BC66_AT_Commands_Manual 34 / 93 NB-IoT Module Series BC66 AT Commands Manual [...] OK Write Command AT+CGDCONT=[,[,< APN>[,[,[,[,[,[,[,[,[,[,[,< Local_Addr_Ind>[,]]]]]]]]]]]]]] Response OK If there is any error, response: ERROR +CME ERROR: Maximum Response Time 300ms Parameter Integer type. A numeric parameter that specifies a particular PDP context definition. The parameter is local to the UE-TE interface and is used in other PDP context-related commands. The range is 1-15. String type. A string parameter which specifies the type of packet data protocol. IP Internet Protocol (IETF STD 5 [103]) IPv6 Internet Protocol, version 6 IPv4v6 Virtual introduced to handle dual IP stack UE capability PPP Point to Point Protocol (IETF STD 51 [104]) Only IP, IPv6 and IPv4v6 values are supported for EPS services. NONIP None IP String type. A logical name that is used to select the GGSN or the external packet data network. If the value is null or omitted, then the subscription value will be requested. String type. A string parameter that identifies the UE in the address space applicable to the PDP. If the value is null or omitted, then a value may be provided by the TE during the PDP startup procedure or, failing that, a dynamic address will be requested. The read form of the command will continue to return the null string even if an address has been allocated during the PDP startup procedure. The allocated address may be read using the AT+CGPADDR command. Integer type. Controls PDP data compression 0 Off 1 On 1 V.42bis 2 V.44bis Integer type. Controls PDP header compression 0 Off (default if value is omitted) 1 On BC66_AT_Commands_Manual 35 / 93 NB-IoT Module Series BC66 AT Commands Manual 2 3 4 RFC 1144 (applicable for SNDCP only) RFC 2507 RFC 3095[ROHC] (applicable for PDCP only) Integer type. Controls how the MT/TA requests to get the IPv4 address information 0 IPv4 address allocation through NAS signalling 1 IPv4 address allocated through DHCP Integer type. Indicates the type of PDP context activation request for the PDP context. Please refer to 3GPP TS 24.301 (subclause 6.5.1.2) and 3GPP TS 24.008 (subclause 10.5.6.17). If the initial PDP context is supported it is not allowed to assign =0 for emergency bearer services. According to 3GPP TS 24.008 (subclause 4.2.4.2.2 and subclause 4.2.5.1.4) and 3GPP TS 24.301 (subclause 5.2.2.3.3 and subclause 5.2.3.2.2), a separate PDP context must be established for emergency bearer services. If the PDP context for emergency bearer services is the only activated context, only emergency calls are allowed, refer to 3GPP TS 23.401 subclause 4.3.12.9. 0 PDP context is for new PDP context establishment or for handover from a non-3GPP access network (how the MT decides whether the PDP context is for new PDP context establishment or for handover is implementation specific). 1 PDP context is for emergency bearer services 2 PDP context is for new PDP context establishment 3 PDP context is for handover from a non-3GPP access network Integer type. Influences how the MT/TA requests to get the P-CSCF address, refer to 3GPP TS 24.229 [89] annex B and annex L. 0 Preference of P-CSCF address discovery not influenced by AT+CGDCONT 1 Preference of P-CSCF address discovery through NAS signalling 2 Preference of P-CSCF address discovery through DHCP Integer type. Indicates to the network whether the PDP context is for IM CN subsystem related signalling only or not. 0 UE indicates that the PDP context is not for IM CN subsystem-related signalling only 1 UE indicates that the PDP context is for IM CN subsystem-related signalling only Integer type. Indicates the NAS signalling priority requested for this PDP context 0 Indicates that this PDP context is to be activated with the value for the low priority indicator configured in the MT. 1 Indicates that this PDP context is to be activated with the value for the low priority indicator set to "MS is not configured for NAS signalling low priority". The MT utilizes the provided NSLPI information as specified in 3GPP TS 24.301 [83] and 3GPP TS 24.008. Integer type. Specifies whether security protected transmission of BC66_AT_Commands_Manual 36 / 93 NB-IoT Module Series BC66 AT Commands Manual PCO is requested or not (applicable for EPS only). 0 Security protected transmission of PCO is not requested 1 Security protected transmission of PCO is requested Integer type. Influences how the MT/TA requests to get the IPv4 MTU size, refer to 3GPP TS 24.008 subclause 10.5.6.3. 0 Preference of IPv4 MTU size discovery not influenced by AT+CGDCONT 1 Preference of IPv4 MTU size discovery through NAS signaling Integer type; influences how the MT/TA requests to get the Non-IP MTU size, refer to 3GPP TS 24.008 subclause 10.5.6.3. 0 Preference of Non-IP MTU size discovery not influenced by AT+CGDCONT 2 Preference of Non-IP MTU size discovery through NAS signaling NOTES 1. 2. 3. Only 3 PDP contexts can be activated. For EPS, field is omitted. Parameters , , , , , and are not supported in modem protocol. Example AT+CGDCONT=? +CGDCONT: (1-15),"IP",,,(0-2),(0-4),(0),,,,,,(0,1),,(0,1) +CGDCONT: (1-15),"IPV6",,,(0-2),(0-4),(0),,,,,,(0,1),,(0,1) +CGDCONT: (1-15),"IPV4V6",,,(0-2),(0-4),(0),,,,,,(0,1),,(0,1) +CGDCONT: (1-15),"Non-IP",,,(0-2),(0-4),(0),,,,,,(0,1),,(0,1) OK AT+CGDCONT=1,"IP","CMNET" OK AT+CGDCONT? +CGDCONT: 1,"IP","CMNET","",0,0,0,,,,,,0,,0 OK 3.17. AT+CGACT PDP Context Activation/Deactivation The write command is used to activate or deactivate the specified PDP context (s). After the command has completed, the MT remains in V.250 command state. If any PDP context is already in the requested BC66_AT_Commands_Manual 37 / 93 NB-IoT Module Series BC66 AT Commands Manual state, the state for that context remains unchanged. If the requested state for any specified context cannot be achieved, an “ERROR” or “+CME ERROR” response is returned. Extended error responses are enabled by the AT+CMEE command. If the UE is not PS attached when the activation form of the command is executed, the UE first performs a PS attach and then attempts to activate the specified contexts. If the attach fails then the MT responds with an error or, if extended error responses are enabled, with the appropriate failure-to-attach error message. Note that in the 3GPP TS 27.007 specification there is the following statement: For EPS, if an attempt is made to disconnect the last PDN connection, then the UE responds with “ERROR” or, if extended error responses are enabled, a “+CME ERROR”. For EPS, the activation request for an EPS bearer resource will be answered by the network by either an EPS dedicated bearer activation or EPS bearer modification request. The request must be accepted by the UE before the PDP context can be set into established state. If no s are specified, the activation form of the command activates all defined non-emergency contexts, and the deactivation form of the command deactivates all active contexts. The read command returns the current activation states for all the defined PDP contexts. The test command is used for requesting information on the supported PDP context activation states. Please refer to Chapter 6 for possible values. AT+CGACT PDP Context Activation/Deactivation Test Command AT+CGACT=? Response +CGACT: (list of supported s) OK Read Command AT+CGACT? Response +CGACT: , +CGACT: , […] OK Write Command AT+CGACT=[,[,[,...] ]] BC66_AT_Commands_Manual Response If context is activated successfully: OK 38 / 93 NB-IoT Module Series BC66 AT Commands Manual If context is deactivated successfully: NO CARRIER If there is any error, response: ERROR or +CME ERROR: Maximum Response Time 150s, determined by network. Parameter Integer type. The state of PDP context activation. 0 Deactivated 1 Activated Integer type. A numeric parameter which specifies a particular PDP context definition (see AT+CGDCONT command). NOTE If the initial PDP context is supported, the context with =1 is automatically defined at startup. Example AT+CGACT=0,1 OK AT+CGACT? +CGACT: 1,0 OK AT+CGACT=? +CGACT: (0,1) OK 3.18. AT+CGPADDR Show PDP Addresses The command returns the IP address of the device. The execution command returns a list of PDP addresses for the specified context identifiers. If no is BC66_AT_Commands_Manual 39 / 93 NB-IoT Module Series BC66 AT Commands Manual specified, the addresses for all defined contexts are returned. The test command returns a list of defined s. These are s that have been activated and may or may not have an IP address associated with them. AT+CGPADDR Show PDP Addresses Test Command AT+CGPADDR=? Response +CGPADDR: (list of defined s) OK Read Command AT+CGPADDR? Response +CGPADDR: [,[,]] [+CGPADDR: [,[,]]] [...] OK IPv4: The string is given as dot-separated numeric (0-255) parameter of the form: a1.a2.a3.a4 IPv6: The string is given as colon-separated hexadecimal parameter. Write Command AT+CGPADDR[=[,[,...]]] Response [+CGPADDR: [,[,]]] [+CGPADDR: [,[,]]] [...] OK IPv4: The string is given as dot-separated numeric (0-255) parameter of the form: a1.a2.a3.a4 IPv6: The string is given as colon-separated hexadecimal parameter. Maximum Response Time BC66_AT_Commands_Manual 300ms 40 / 93 NB-IoT Module Series BC66 AT Commands Manual Parameter Integer type. A numeric parameter which specifies a particular PDP context definition (see AT+CGDCONT command). If no is specified, the addresses for all defined contexts are returned. and String type. Identify the MT in the address space applicable to the PDP. The address may be static or dynamic. For a static address, it will be the one set by the AT+CGDCONT command when the context was defined. For a dynamic address it will be the one assigned during the last PDP context activation that used the context definition referred to by . is omitted if none is available. Both and are included when both IPv4 and IPv6 addresses are assigned, with containing the IPv4 address and containing the IPv6 address. The string is given as dot-separated numeric (0-255) parameter of the form: a1.a2.a3.a4 for IPv4 and a1.a2.a3.a4.a5.a6.a7.a8.a9.a10.a11.a12.a13.a14.a15.a16 for IPv6. When AT+CGPIAF is supported, its settings can influence the format of the IPv6 address in parameter or returned with the write form of AT+CGPADDR. NOTES 1. 2. In dual-stack terminals (=IPv4v6), the IPv6 address will be provided in . For terminals with a single IPv6 stack (=IPv6) or due to backwards compatibility, the IPv6 address can be provided in parameter . Example AT+CGPADDR=1 +CGPADDR: 1,101.43.5.1 OK AT+CGPADDR=? +CGPADDR: (1) OK BC66_AT_Commands_Manual 41 / 93 NB-IoT Module Series BC66 AT Commands Manual 3.19. AT+CIMI Request International Mobile Subscriber Identity The command returns International Mobile Subscriber Identity (string without double quotes). The execution command causes the TA to return , which is intended to permit the TE to identify the individual USIM card or active application in the UICC (USIM) which is attached to MT. Please refer to Chapter 6 for possible values. AT+CIMI Request International Mobile Subscriber Identity Test Command AT+CIMI=? Response OK Execution Command AT+CIMI Response OK If there is any error, response: ERROR or +CME ERROR: Maximum Response Time 300ms Parameter International Mobile Subscriber Identity (string without double quotes) Example AT+CIMI 460001357924680 OK 3.20. AT+CFUN Set UE Functionality The write command selects the level of functionality in the MT. Level "full functionality" is where the highest level of power is drawn. "Minimum functionality" is where minimum power is drawn. BC66_AT_Commands_Manual 42 / 93 NB-IoT Module Series BC66 AT Commands Manual The read command returns the current setting of . The test command returns values supported by the MT as compound values. Please refer to Chapter 6 for possible values. AT+CFUN Set UE Functionality Test Command AT+CFUN=? Response +CFUN: (list of supported s),(list of supported s) OK Read Command AT+CFUN? Response +CFUN: OK Write Command AT+CFUN=[,] Response OK If there is any error, response: ERROR or +CME ERROR: Maximum Response Time 15s, determined by network. Parameter Integer type. UE functionality level 0 Minimum functionality 1 Full functionality 4 Disable the UE from both transmitting and receiving RF signals Integer type. UE resetting 0 Do not reset the UE before setting it to power level. 1 Only set to power level after UE has been reset, and for all subsequent resets. 2 Do not reset UE before setting it to power level and save value in NVRAM for all subsequent resets. Example AT+CFUN=? +CFUN: (0,1,4,7),(0-2) OK BC66_AT_Commands_Manual 43 / 93 NB-IoT Module Series BC66 AT Commands Manual AT+CFUN=1 OK AT+CFUN? +CFUN: 1 OK 3.21. AT+CMEE Report Mobile Termination Error The write command disables or enables the use of final result code “+CME ERROR: ” as an indication of an error relating to the functionality of the MT. When enabled, MT related errors cause “+CME ERROR: ” final result code instead of the regular “ERROR” final result code. “ERROR” is returned normally when error is related to syntax, invalid parameters or TA functionality. The read command returns the current setting of . The test command returns values supported as a compound value. Please refer to Chapter 6 for possible values. AT+CMEE Report Mobile Termination Error Test Command AT+CMEE=? Response +CMEE: (list of supported s) OK Read Command AT+CMEE? Response +CMEE: OK Write Command AT+CMEE= Response TA disables or enables the use of result code “+CME ERROR: ” as an indication of an error relating to the functionality of the ME. OK Maximum Response Time 300ms Parameter Integer type BC66_AT_Commands_Manual 44 / 93 NB-IoT Module Series BC66 AT Commands Manual 0 1 2 Disable result code Enable result code and use numeric values Enable result code and use verbose values Example AT+CMEE? +CMEE: 0 OK AT+CMEE=? +CMEE: (0-2) OK 3.22. AT+CCLK Return Current Date and Time The clock will be set automatically once the UE has connected to the network. The read command returns the current setting of the clock. AT+CCLK Return Current Date and Time Test Command AT+CCLK=? Response OK Read Command AT+CCLK? Response +CCLK:


Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.6
Linearized                      : No
Encryption                      : Standard V4.4 (128-bit)
User Access                     : Print, Copy, Extract, Print high-res
Author                          : songsp
Create Date                     : 2018:08:28 15:26:20+08:00
Modify Date                     : 2018:08:28 15:32:59+08:00
Language                        : zh-CN
XMP Toolkit                     : Adobe XMP Core 4.2.1-c041 52.342996, 2008/05/07-20:48:00
Format                          : application/pdf
Creator                         : songsp
Creator Tool                    : Microsoft® Word 2010
Metadata Date                   : 2018:08:28 15:32:59+08:00
Producer                        : Microsoft® Word 2010
Document ID                     : uuid:485325a1-7dc6-4111-a211-9fb5935f38a7
Instance ID                     : uuid:0da5c057-b4d6-481f-84cc-a1de0dbc6dc4
Page Mode                       : UseOutlines
Page Count                      : 93
EXIF Metadata provided by
EXIF.tools

Navigation menu