Quectel BC95 AT Commands Manual V2.0

Quectel_BC95_AT_Commands_Manual_V2.0

Quectel_BC95_AT_Commands_Manual_V2.0

Quectel_BC95_AT_Commands_Manual_V2.0

Quectel_BC95_AT_Commands_Manual_V2.0

User Manual: Pdf

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

DownloadQuectel BC95 AT Commands Manual V2.0
Open PDF In BrowserView PDF
BC95
AT Commands Manual
NB-IoT Module Series
Rev. BC95_AT_Commands_Manual_V2.0
Date: 2018-05-14
Status: Released

www.quectel.com

NB-IoT Module Series
BC95 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://quectel.com/support/sales.htm

For technical support, or to report documentation errors, please visit:
http://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.

BC95_AT_Commands_Manual

1 / 130

NB-IoT Module Series
BC95 AT Commands Manual

About the Document
History
Revision

Date

Author

Description

1.0

2016-11-16

Walker HAN/
Donald TANG

Initial

Walker HAN

1. Added AT+NCONFIG command
2. Updated description of Neul Hi2110 implementation
for AT+COPS/CGATT/CGDCONT/NMGS/NRB/
NCDP/NTSETID

1.1

2016-12-14

1.
1.2

2017-01-04

Walker HAN

2.
3.

1.3

2017-01-13

Donald TANG

Updated examples in Chapter 8
1.

1.4

2017-03-22

Hayden WANG/
Donald TANG

2.
3.

1.5

1.6

1.7

2017-04-24

2017-07-03

2017-08-09

Updated description of Neul Hi2110 implementation
for AT+CEREG/COPS/CGAT/NCDP/NSOST/NPING
Updated description of parameters for AT+COPS/
NCDP/NUESTATS/NEARFCN
Updated example in Chapter 8.2

Updated
description
of
parameters
for
AT+NUESTATS/NEARFCN
Updated description of Neul Hi2110 implementation
for AT+NBAND/NLOGLEVEL
Updated examples in Chapter 8

Hayden WANG

1. Added AT+CCLK/NSOSTF commands
2. Updated description of parameters for AT+NQMGS/
NEARFCN/NPING/NLOGLEVEL
3. Updated error values in Chapter 7

Miles MA/
Serena SHEN

1. Added AT+NATSPEED command
2. Updated description of BC95 implementation for
AT+NSOCR/NBAND
3. Updated error values in Chapter 7
4. Updated examples in Chapter 8

Hayden WANG

1. Added following new AT commands:
AT+CGACT/CPSMS/CEDRXS/CEER/CEDRXRDP/
CTZR/NMSTATUS/NCCID/NFWUPD
2. Added ETSI commands (127.005) in Chapter 4
3. Updated description of parameters for AT+CGSN/

BC95_AT_Commands_Manual

2 / 130

NB-IoT Module Series
BC95 AT Commands Manual

CEREG/CGDCONT/NUESTATS/NEARFCN/
NCONFIG
4. Added unsolicited information of MCU update state in
Table 1
5. Updated error values in Chapter 7
Added reset reasons in Chapter 8

1.8

1.9

2.0

2017-09-18

2017-12-14

2018-05-14

Lebron LIU

1. Added following new AT commands: ATI/ATE/
AT+NPOWERCLASS/AT+NPSMR/AT+NPTWEDRXS
2. Updated description of parameters for following AT
commands: AT+NMSTATUS/AT+NUESTATS/
AT+NEARFCN/AT+NATSPEED
3. Deleted AT commands AT+NRDCTRL and
AT+NCHIPINFO

Gary TANG/
Hayden WANG

1. Added
following
new
AT
commands:
AT+CIPCA/AT+CGAPNRC/AT+QSECSWT/
AT+QSETPSK/AT+QLWULDATAEX/
AT+QLWULDATASTATUS
2. Updated description of +NSONMI commands.
3. Deleted AT+NTSETID command
4. Added description of AT commands for Huawei’s IoT
platform
5. Added
example
of
sending/receiving/reading
messages via Huawei’s IoT platform
6. Updated description of parameters for AT+CEREG/
AT+CPSMS/AT+CEDRXS/AT+CEDRXRDP/
AT+NPTWEDRXS

Gary TANG

1. Added following new AT commands:
AT+CGAUTH/AT+NPIN/AT+NCSEARFCN
2. Updated description of parameters for AT+NPSMR/
AT+QSECSWT/AT+QSETPSK/AT+QLWULDATAEX
3. Added maximum response time for all AT commands
4. Added example for AT+NPING
5. Updated description of error responses

BC95_AT_Commands_Manual

3 / 130

NB-IoT Module Series
BC95 AT Commands Manual

Contents
About the Document ................................................................................................................................... 2
Contents ....................................................................................................................................................... 4
Table Index ................................................................................................................................................... 7
1

Introduction .......................................................................................................................................... 8
1.1.
Definitions .................................................................................................................................. 9
1.2.
AT Command Syntax ................................................................................................................. 9
1.3.
AT Command Responses ........................................................................................................ 10
1.4.
3GPP Compliance ................................................................................................................... 10

2

Implementation Status ...................................................................................................................... 11

3

3GPP Commands (27.007) ................................................................................................................ 15
3.1.
ATI Display Product Identification Information ...................................................................... 15
3.2.
ATE Set Command Echo Mode ............................................................................................ 16
3.3.
AT+CGMI Request Manufacturer Identification .................................................................... 17
3.4.
AT+CGMM Request Manufacturer Model ............................................................................ 17
3.5.
AT+CGMR Request Manufacturer Revision ......................................................................... 18
3.6.
AT+CGSN Request Product Serial Number ......................................................................... 20
3.7.
AT+CEREG EPS Network Registration Status ..................................................................... 21
3.8.
AT+CSCON Signalling Connection Status ........................................................................... 25
3.9.
AT+CLAC List Available Commands .................................................................................... 27
3.10. AT+CSQ Get Signal Strength Indicator ................................................................................ 28
3.11. AT+CGPADDR Show PDP Addresses ................................................................................. 30
3.12. AT+COPS PLMN Selection .................................................................................................. 31
3.13. AT+CGATT PS Attach or Detach .......................................................................................... 35
3.14. AT+CGACT Activate or Deactivate a PDP Context .............................................................. 36
3.15. AT+CIMI Request International Mobile Subscriber Identity.................................................. 38
3.16. AT+CGDCONT Define a PDP Context ................................................................................. 39
3.17. AT+CFUN Set Phone Functionality ...................................................................................... 43
3.18. AT+CMEE Report Mobile Termination Error ......................................................................... 45
3.19. AT+CCLK Return Current Date & Time ................................................................................ 46
3.20. AT+CPSMS Power Saving Mode Setting ............................................................................. 47
3.21. AT+CEDRXS eDRX Setting .................................................................................................. 50
3.22. AT+CEER Extended Error Report ........................................................................................ 53
3.23. AT+CEDRXRDP eDRX Read Dynamic Parameters ............................................................ 54
3.24. AT+CTZR Time Zone Reporting ........................................................................................... 56
3.25. AT+CIPCA Initial PDP Context Activation ............................................................................. 58
3.26. AT+CGAPNRC APN Rate Control ........................................................................................ 60
3.27. AT+CGAUTH Define PDP Context Authentication Parameters ........................................... 62

4

ETSI Commands (27.005) .................................................................................................................. 64
4.1.
AT+CSMS Select Messaging Service .................................................................................. 64

BC95_AT_Commands_Manual

4 / 130

NB-IoT Module Series
BC95 AT Commands Manual

4.2.
4.3.
4.4.
4.5.
4.6.
4.7.

AT+CNMA New Message Acknowledgement to ME/TA ....................................................... 66
AT+CSCA Service Centre Address ....................................................................................... 67
AT+CMGS Send SMS Messages ......................................................................................... 68
AT+CMGC Send SMS Command......................................................................................... 70
AT+CSODCP* Send Originating Data via Control Plane ..................................................... 71
AT+CRTDCP* Report Terminating Data via Control Plane .................................................. 73

5

General Commands ........................................................................................................................... 75
5.1.
AT+NRB Reboot the Module ................................................................................................ 75
5.2.
AT+NUESTATS Query UE Statistics ..................................................................................... 75
5.3.
AT+NEARFCN Specify Search Frequencies ........................................................................ 80
5.4.
AT+NSOCR Create a Socket................................................................................................ 81
5.5.
AT+NSOST SendTo Command (UDP Only) ......................................................................... 82
5.6.
AT+NSOSTF SendTo Command with Flags (UDP Only) ..................................................... 83
5.7.
AT+NSORF Receive Command (UDP Only)........................................................................ 84
5.8.
AT+NSOCL Close a Socket .................................................................................................. 86
5.9.
+NSONMI Indicator of Arrived Socket Messages (Response Only) .................................... 87
5.10. AT+NPING Test IP Network Connectivity to a Remote Host ................................................ 87
5.11. AT+NBAND Set Supported Bands........................................................................................ 88
5.12. AT+NLOGLEVEL Set Debug Logging Level ........................................................................ 90
5.13. AT+NCONFIG Configure UE Behaviour ............................................................................... 91
5.14. AT+NATSPEED Configure UART Port Baud Rate ............................................................... 92
5.15. AT+NCCID Card Identification .............................................................................................. 94
5.16. AT+NFWUPD Firmware Update via UART .......................................................................... 95
5.17. AT+NPOWERCLASS Set the Mapping for Band and Power Class ..................................... 96
5.18. AT+NPSMR Power Saving Mode Status Report .................................................................. 97
5.19. AT+NPTWEDRXS Paging Time Window Value and eDRX Setting ..................................... 98
5.20. AT+NPIN PIN Operation ..................................................................................................... 101
5.21. AT+NCSEARFCN Clear Stored EARFCN .......................................................................... 103

6

Huawei's IoT Platform Commands ................................................................................................. 105
6.1.
Description of Huawei's IoT Platform Commands ................................................................. 105
6.1.1.
AT+NCDP Configure and Query CDP Server Settings ............................................ 105
6.1.2.
AT+QSECSWT Set Data Encryption Mode .............................................................. 106
6.1.3.
AT+QSETPSK Set PSK ID and PSK ........................................................................ 108
6.1.4.
AT+NMGS Send Messages ...................................................................................... 109
6.1.5.
AT+NMGR Get Messages ........................................................................................ 110
6.1.6.
AT+NNMI New Message Indications ........................................................................ 110
6.1.7.
AT+NSMI Sent Message Indications ........................................................................ 112
6.1.8.
AT+NQMGR Query Received Messages ................................................................. 113
6.1.9.
AT+NQMGS Query Sent Messages ......................................................................... 113
6.1.10. AT+NMSTATUS Message Registration Status ......................................................... 114
6.1.11. AT+QLWULDATAEX Send CON/NON Messages .................................................... 115
6.1.12. AT+QLWULDATASTATUS Query CON Messages Sending Status ......................... 116

7

Error Values ...................................................................................................................................... 118

BC95_AT_Commands_Manual

5 / 130

NB-IoT Module Series
BC95 AT Commands Manual

8

Reset Reasons ................................................................................................................................. 121

9

Examples .......................................................................................................................................... 122
9.1.
Attach Network ...................................................................................................................... 122
9.2.
Send/Receive/Read UDP Messages .................................................................................... 126
9.3.
Send/Receive/Read Messages via Huawei's IoT Platform ................................................... 127

10 Appendix A Reference..................................................................................................................... 129

BC95_AT_Commands_Manual

6 / 130

NB-IoT Module Series
BC95 AT Commands Manual

Table Index
TABLE 1: UNSOLICITED INFORMATION OF UE UPDATE STATE INDICATION ............................................. 8
TABLE 2: AT COMMAND SYNTAX ..................................................................................................................... 9
TABLE 3: TYPES OF AT COMMANDS AND IMPLEMENTATION STATUS ...................................................... 11
TABLE 4: GENERAL ERRORS (27.007).......................................................................................................... 118
TABLE 5: GENERAL ERRORS (127.005) ....................................................................................................... 118
TABLE 6: SPECIFIC ERROR CODES ............................................................................................................ 120
TABLE 7: POSSIBLE REBOOT MESSAGES DISPLAYED ............................................................................ 121
TABLE 8: TERMS AND ABBREVIATIONS ...................................................................................................... 129

BC95_AT_Commands_Manual

7 / 130

NB-IoT Module Series
BC95 AT Commands Manual

1

Introduction

This document gives details of the AT Command Set supported by Quectel NB-IoT BC95 module.
The following string will be output after booting the module:
NeulOK
After this string has been received, the AT command processor is ready to accept AT commands.
If BC95 module is rebooted or restarted for any reason that is not a normal power-on sequence, a
message that indicates the reason for the reboot would be output before the
NeulOK string. Please refer to Chapter 8 for more details.
In case that an external MCU intervenes in the process of firmware update via DFOTA, unsolicited
information will inform the external MCU the current update state.

Table 1: Unsolicited Information of UE Update State Indication
Unsolicited Information

Description

FIRMWARE DOWNLOADING

Indicates that UE is downloading update
package.

FIRMWARE DOWNLOAD FAILED

Indicates that the download failed.

FIRMWARE DOWNLOADED

Indicates that the download finished.

FIRMWARE UPDATING

Indicates that the UE is updating.

FIRMWARE UPDATE SUCCESS

Indicates that the update successful, but
update state has not been reported to
firmware package server yet.

FIRMWARE UPDATE FAILED

Indicates that the update failed.

FIRMWARE UPDATE OVER

Indicates that the update is successful, and
update state has been reported to firmware
package server.
Update is done after this information.

BC95_AT_Commands_Manual

8 / 130

NB-IoT Module Series
BC95 AT Commands Manual

NOTE
During updating procedure, the module should not be operated until "FIRMWARE UPDATE OVER" is
reported. For instance, executing AT+NRB to power off the module are not permitted; otherwise, an error
will occur.

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
Table 2: AT Command Syntax
Test Command

AT+=?

Check possible sub-parameter values

Read
Command

AT+?

Check current sub-parameter values

Set Command

AT+=p1[,p2[,p3[.....]]]

Set command

Execution
Command

AT+

Execution command

Multiple commands can be placed on a single line using a semi-colon (“;”) between commands. Only the
first command should have AT prefix. Commands can be in upper or lower case.
When entering AT commands spaces are ignored except in the following cases:
⚫
⚫
⚫
⚫

Within quoted strings, where they are preserved;
Within an unquoted string or numeric parameter;
Within an IP address;
Within the AT command name up to and including a ‘=’, ‘?’ or ‘=?’.

They can be used to make the input more human-readable. On input, at least a carriage return is required.
A newline character is ignored so it is permissible to use carriage return/line feed pairs on the input. For
B600, the AT command processor uses carriage return/line feed pairs (\r\n, 0x0D0A) to end lines on its
output.

BC95_AT_Commands_Manual

9 / 130

NB-IoT Module Series
BC95 AT Commands Manual

If no command is entered after the AT token, "OK" will be returned. If an invalid command is entered,
“ERROR” or “+CME ERROR:” will be returned.
Optional parameters, unless explicitly stated, need to be provided up to the last parameter being entered.

1.3. AT Command Responses
When the AT command processor has finished processing a line, it will output "OK" or "ERROR" or
“+CME ERROR:” indicating that it is ready to accept a new command. Solicited informational
responses are sent before the final "OK" or "ERROR" or “+CME ERROR:”.
Responses will be of the format:
+CMD1:
OK
Or

OK

1.4. 3GPP Compliance
3GPP commands are complied with the 3GPP TS 27.007 v14.3.0 (2017-03).

BC95_AT_Commands_Manual

10 / 130

NB-IoT Module Series
BC95 AT Commands Manual

2

Implementation Status

Table 3: Types of AT Commands and Implementation Status
Description

Implementation Status1)

ATI

Display Product Identification Information

B657SP2 or later

ATE

Set Command Echo Mode

B657SP2 or later

AT+CGMI

Request Manufacturer Identification

B350 or later

AT+CGMM

Request Manufacturer Model

B350 or later

AT +CGMR

Request Manufacturer Revision

B350 or later

AT+CGSN

Request Product Serial Number

B350 or later

AT+CEREG

EPS Network Registration Status

B350 or later

AT+CSCON

Signalling Connection Status

B350 or later

AT+CLAC

List Available Commands

B350 or later

AT+CSQ

Get Signal Strength Indicator

B350 or later

AT+CGPADDR

Show PDP Addresses

B350 or later

AT+COPS

PLMN Selection

B350 or later

AT+CGATT

PS Attach or Detach

B350 or later

AT+CGACT

Activate or Deactivate PDP Context

B657SP1 or later

AT+CIMI

Request International Mobile Subscriber
Identity

B350 or later

AT+CGDCONT

Define a PDP Context

B350 or later

AT+CFUN

Set Phone Functionality

B350 or later

AT Command
3GPP Commands (27.007)

BC95_AT_Commands_Manual

11 / 130

NB-IoT Module Series
BC95 AT Commands Manual

AT+CMEE

Report Mobile Termination Error

B600 or later

AT+CCLK

Return Current Date & Time

B656 or later

AT+CPSMS

Power Saving Mode Setting

B657SP1 or later

AT+CEDRXS

eDRX Setting

B657SP1 or later

AT+CEER

Extended Error Report

B657SP1 or later

AT+CEDRXRDP

eDRX Read Dynamic Parameters

B657SP1 or later

AT+CTZR

Time Zone Reporting

B657SP1 or later

AT+CIPCA

Initial PDP Context Activation

B657SP3 or later

AT+CGAPNRC

APN Rate Control

B657SP3 or later

AT+CGAUTH

Define PDP Context Authentication
Parameters

B657SP5 or later

AT+CSMS

Select Messaging Service

B657SP1 or later

AT+CNMA

New Message Acknowledgement to ME/TA

B657SP1 or later

AT+CSCA

Service Centre Address

B657SP1 or later

AT+CMGS

Send SMS Messages

B657SP1 or later

AT+CMGC

Send SMS Command

B657SP1 or later

AT+CSODCP*

Send Originating Data via the Control Plane

B657SP1 or later

AT+CRTDCP*

Report Terminating Data via the Control Plane

B657SP1 or later

AT+NRB

Reboot the Terminal

B350 or later

AT+NUESTATS

Query UE Statistics

B350 or later

AT+NEARFCN

Specify Search Frequencies

B350 or later

AT+NSOCR

Create a Socket

B350 or later

AT+NSOST

SendTo Command (UDP Only)

B350 or later

AT+NSOSTF

SendTo Command with Flags (UDP Only)

B656 or later

ETSI Commands (27.005)

General Commands

BC95_AT_Commands_Manual

12 / 130

NB-IoT Module Series
BC95 AT Commands Manual

AT+NSORF

Receive Command (UDP only)

B350 or later

AT+NSOCL

Close a Socket

B350 or later

+NSONMI

Indicator of Arrived
(Response Only)

AT+NPING

Test IP Network Connectivity to a Remote
Host

B350 or later

AT+NBAND

Set Supported Bands

B600 or later

AT+NLOGLEVEL

Set Debug Logging Level

B600 or later

AT+NCONFIG

Configure UE Behaviour

B650 or later

AT+NATSPEED

Configure UART Port Baud Rate

B656 or later

AT+NCCID

Card Identification

B657SP1 or later

AT+NFWUPD

Firmware Update via UART

B657SP1 or later

AT+NPOWERCLASS

Set the Mapping for Band and Power Class

B657SP2 or later

AT+NPSMR

Power Saving Mode Status Report

B657SP2 or later

AT+NPTWEDRXS

Paging Time Window Value and eDRX
Setting

B657SP2 or later

AT+NPIN

PIN Operation

B657SP5 or later

AT+NCSEARFCN

Clear Stored EARFCN

B657SP5 or later

Socket

Message

B350 or later

Huawei’s IoT Platform Commands
AT+NCDP

Configure and Query CDP Server Settings

B350 or later

AT+QSECSWT

Set Data Encryption Mode

B657SP3 or later

AT+QSETPSK

Set PSK ID and PSK

B657SP3 or later

AT+NMGS

Send Messages

B350 or later

AT+NMGR

Get Messages

B350 or later

AT+NNMI

New Message Indications

B350 or later

AT+NSMI

Sent message Indications

B350 or later

AT+NQMGR

Query Received Messages

B350 or later

AT+NQMGS

Query Sent Messages

B350 or later

BC95_AT_Commands_Manual

13 / 130

NB-IoT Module Series
BC95 AT Commands Manual

AT+NMSTATUS

Message Registration Status

B657SP1 or later

AT+QLWULDATAEX

Send CON/NON Messages

B657SP3 or later

AT+QLWULDATASTATUS

Query CON Messages Sending Status

B657SP3 or later

NOTES
1. "*" means the commands listed in this chapter are under development.
2. 1) "B657SPx" (in which "x" indicates 1, 2, 3 or 5) refers to the protocol core version of the module
which can be queried by AT+CGMR command.

BC95_AT_Commands_Manual

14 / 130

NB-IoT Module Series
BC95 AT Commands Manual

3

3GPP Commands (27.007)

3.1. ATI

Display Product Identification Information

The execution command returns product identification information. Please refer to Chapter 7 for possible
 values

ATI Display Product Identification Information
Execution Command
ATI

Response
Quectel

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

Maximum Response Time

300ms

Parameter



Identifier of models
Revision of software release

Example
ATI
Quectel
BC95-B5
Revision:BC95B5HBR01A02W16
OK

BC95_AT_Commands_Manual

15 / 130

NB-IoT Module Series
BC95 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. Please refer to Chapter 7 for possible  values.

ATE

Set Command Echo Mode

Execution Command
ATE[]

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

Maximum Response Time

300ms

Parameter


0
1

Echo mode OFF
Echo mode ON

Example
ATE0
OK
ATI
Quectel
BC95-B5
Revision:BC95B5HBR01A02W16
OK
ATE1
OK
ATI
ATI
Quectel
BC95-B5
Revision:BC95B5HBR01A02W16
OK

BC95_AT_Commands_Manual

16 / 130

NB-IoT Module Series
BC95 AT Commands Manual

3.3. AT+CGMI

Request Manufacturer Identification

The execution command returns manufacturer information. By default, it will return “Quectel” on the
standard platform. Please refer to Chapter 7 for possible  values.

AT+CGMI Request Manufacturer Identification
Execution Command
AT+CGMI

Response

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

Test Command
AT+CGMI=?

Response
OK

Maximum Response Time

300ms

Parameter


Manufacturer information. The total number of characters, including line
terminators. In the information text shall not exceed 2048 characters, and shall not
contain the sequence 0 or OK.

Example
AT+CGMI
Quectel
OK

3.4. AT+CGMM

Request Manufacturer Model

The execution command returns manufacturer model information. Please refer to Chapter 7 for possible
 values.

BC95_AT_Commands_Manual

17 / 130

NB-IoT Module Series
BC95 AT Commands Manual

AT+CGMM

Request Manufacturer Model

Execution Command
AT+CGMM

Response

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

Test Command
AT+CGMM=?

Response
OK

Maximum Response Time

300ms

Parameter


Manufacturer model information. The total number of characters, including line
terminators. In the information text shall not exceed 2048 characters, and shall not
contain the sequence 0 or OK.

Example
AT+CGMM
BC95HB-02-STD_850
OK

3.5. 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 - release and build.
The execution command returns one or more lines of information text . Please refer to Chapter
7 for possible  values.

AT+CGMR Request Manufacturer Revision
Execution Command
AT+CGMR

BC95_AT_Commands_Manual

Response


18 / 130

NB-IoT Module Series
BC95 AT Commands Manual

OK
If there is any error, response:
ERROR
Or
+CME ERROR:
Test Command
AT+CGMR=?

Response
OK

Maximum Response Time

300ms

Parameter


Manufacturer revision. The total number of characters, including line
terminators. In the information text shall not exceed 2048 characters, and shall
not contain the sequence 0 or OK

NOTE
 will change format over time. It should be treated as an opaque identifier.

Example
AT+CGMR
SECURITY,V100R100C10B657SP2
PROTOCOL,V100R100C10B657SP2
APPLICATION,V100R100C10B657SP2
SEC_UPDATER,V100R100C10B657SP2
APP_UPDATER,V100R100C10B657SP2
RADIO,BC95HB-02-STD_850
OK
AT+CGMR=?
OK

BC95_AT_Commands_Manual

19 / 130

NB-IoT Module Series
BC95 AT Commands Manual

3.6. AT+CGSN

Request Product Serial Number

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

AT+CGSN Request Product Serial Number
Execution Command
AT+CGSN[=]

Response
When =0(or omitted) and command is executed
successfully:

When =1 and command is executed successfully:
+CGSN:
When =2 and command is executed successfully:
+CGSN:
When =3 and command is executed successfully:
+CGSN:
OK
If there is any error, response:
ERROR
Or
+CME ERROR:

Test Command
AT+CGSN=?

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

Maximum Response Time

300ms

Parameter


Integer type; indicates the serial number type that has been requested
0
Returns 
1
Returns the IMEI number
2
Returns the IMEISV (International Mobile station Equipment Identity and Software
Version) number

BC95_AT_Commands_Manual

20 / 130

NB-IoT Module Series
BC95 AT Commands Manual







3
Returns the SVN (Software Version Number)
The 128-bit UUID of the UE. The total number of characters, including line terminators. In
the information text shall not exceed 2048 characters, and shall not contain the sequence 0
 or OK.
String type in decimal format; indicates the IMEI number
String type in decimal format; indicates the IMEISV
String type in decimal format; indicates the current SVN which is a part of IMEISV

Example
AT+CGSN=1
+CGSN:490154203237511

//Request the IMEI number

OK

NOTE
AT+CGSN is not supported and will return illegal HEX string. This will change in a future release.

3.7. AT+CEREG

EPS Network Registration Status

The set command controls the presentation of an unsolicited result code (URC) “+CEREG:” when
=1 and there is a change in the UE'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. Please refer to Chapter 7 for possible  values.
If the UE requests PSM for reducing its power consumption, the set command controls the presentation of
an unsolicited result code: “+CEREG:[,[],[],[][,[],[][,
[],[]]]]”.
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 UE. Location information elements
,  and , if available, are returned only when =2 and MT is registered on the network.

BC95_AT_Commands_Manual

21 / 130

NB-IoT Module Series
BC95 AT Commands Manual

The parameters [,,], if available, are returned when =3.
The test command returns supported parameter values.

AT+CEREG

EPS Network Registration Status

Set Command
AT+CEREG=[]

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

Read Command
AT+CEREG?

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

Test Command
AT+CEREG=?

Response
+CEREG:(list of supported s)
OK

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

BC95_AT_Commands_Manual

22 / 130

NB-IoT Module Series
BC95 AT Commands Manual

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; indicates 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
6 Registered for “SMS only”, home network (not applicable)
7 Registered for “SMS only”, roaming (not applicable)
8 Attached for emergency bearer services only
9 Registered for “CSFB not preferred”, home network (not applicable)
10 Registered for “CSFB not preferred”, roaming (not applicable)

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; indicates the access technology of the serving cell
0 GSM (not applicable)
1 GSM Compact (not applicable)
2 UTRAN (not applicable)
3 GSM w/EGPRS (not applicable)
4 UTRAN w/HSDPA (not applicable)
5 UTRAN w/HSUPA (not applicable)
6 UTRAN w/HSDPA and HSUPA (not applicable)
7 E-UTRAN
8 EC-GSM-IoT (A/Gb mode) (see NOTES 5) (not applicable)
9 E-UTRAN (NB-S1 mode) (see NOTES 6)

Integer type; indicates the type of 
0 Indicates that  contains an EMM cause value
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. Requested Active Time value (T3324) to be
allocated to the UE. (e.g. "00100100" equals 4 minutes).
Bits 5 to 1 represent the binary coded timer value.

BC95_AT_Commands_Manual

23 / 130

NB-IoT Module Series
BC95 AT Commands Manual

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. Requested extended periodic TAU value
(T3412) to be allocated to the UE in E-UTRAN. (e.g. "01000111" equals 70 hours).
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

NOTES
1.

2.
3.
4.
5.
6.

If the EPS MT in GERAN/UTRAN/E-UTRAN also supports circuit mode services and/or GPRS
services, the AT+CREG command and AT+CGREG command can be used to query the registration
status and location information for those services.
3GPP TS 24.008 and 3GPP TS 24.301 specify the condition when the MS is considered as attached
for emergency bearer services.
3GPP TS 44.060 specifies the system information messages which give the information about
whether the serving cell supports EGPRS.
3GPP TS 25.331 specifies the system information blocks which give the information about whether
the serving cell supports HSDPA or HSUPA.
3GPP TS 44.018 [156] specifies the EC-SCH INFORMATION message which, if present, indicates
that the serving cell supports EC-GSM-IoT.
3GPP TS 36.331 [86] specifies the system information blocks which give the information about
whether the serving cell supports NB-IoT, which corresponds to E-UTRAN (NB-S1 mode).

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

//Enable network registration URC.

BC95_AT_Commands_Manual

24 / 130

NB-IoT Module Series
BC95 AT Commands Manual

OK
AT+CEREG=?
+CEREG:(0,1,2,3,4,5)
OK

3.8. AT+CSCON

Signalling Connection Status

The command gives details of the UE’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 set command controls the presentation of an unsolicited result code. If =1, “+CSCON:” is
sent from the UE when the connection mode of the UE is changed. If =2 and there is a state within the
current
mode,
“+CSCON:[,]”
is
sent
from
the
UE.
If
=3,
“+CSCON:[,[,]]” is sent from the UE. If setting fails, an MT error, “+CME
ERROR:” is returned. Please refer to Chapter 7 for possible  values.
When the UE is in UTRAN or E-UTRAN, the mode of the UE refers to idle when no PS signalling
connection and to connected mode when a PS signalling connection between UE and network is setup.
When the UE is in GERAN, the mode refers to idle when the UE is in either the idle state or the standby
state and to connected mode when the UE is in ready state.
The  value indicates the state of the UE when the UE is in GERAN, UTRAN connected mode or
E-UTRAN.
The read command returns the status of result code presentation and an integer  which shows
whether the UE is currently in idle mode or connected mode. State information  is returned only
when =2. Radio access type information  is returned only when =3.
The test command returns supported values as a compound value.

AT+CSCON Signalling Connection Status
Set Command
AT+CSCON=

Response
OK
If there is any error, response:
ERROR
Or

BC95_AT_Commands_Manual

25 / 130

NB-IoT Module Series
BC95 AT Commands Manual

+CME ERROR:
Read Command
AT+CSCON?

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

Test Command
AT+CSCON=?

Response
+CSCON:(list of supported s)
OK

Maximum Response Time

300ms

Parameter








Integer type; enable/disable unsolicited result code.
0
Disable unsolicited result code
1
Enable unsolicited result code: “+CSCON:”
2
Enable unsolicited result code: “+CSCON:[,]”
3
Enable unsolicited result code: “+CSCON:[,[,]]”
Integer type; indicates the signalling connection status
0
Idle
1
Connected
2-255

Integer type; indicates the CS or PS state while in GERAN and the RRC state information if
the MT is in connected mode while in UTRAN and E-UTRAN
0
UTRAN URA_PCH state
1
UTRAN Cell_PCH state
2
UTRAN Cell_FACH state
3
UTRAN Cell_DCH state
4
GERAN CS connected state
5
GERAN PS connected state
6
GERAN CS and PS connected state
7
E-UTRAN connected state
Integer type; indicates the current radio access type
0
Indicates usage of radio access type of GERAN
1
Indicates usage of radio access type of UTRAN TDD
2
Indicates usage of radio access type of UTRAN FDD
3
Indicates usage of radio access type of E-UTRAN TDD

BC95_AT_Commands_Manual

26 / 130

NB-IoT Module Series
BC95 AT Commands Manual

4

Indicates usage of radio access type of E-UTRAN FDD

NOTES
1. Only =0 and =1 are supported.
2. Unsolicited notifications are not currently supported. This functionality will be added in a future
release.

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.9. AT+CLAC

List Available Commands

The command lists the available AT commands. The execution command causes the UE to return one or
more lines of AT commands. Please refer to Chapter 7 for possible  values. Please note that this
command only returns the AT commands that are available for the user.

AT+CLAC

List Available Commands

Execution Command
AT+CLAC

Response

[...]
OK

BC95_AT_Commands_Manual

27 / 130

NB-IoT Module Series
BC95 AT Commands Manual

If there is any error, response:
ERROR
Or
+CME ERROR:
Test Command
AT+CLAC=?

Response
OK

Maximum Response Time

300ms

Parameter


Defines the AT command including the prefix AT. Text shall not contain the
sequence 0 or OK

Example
AT+CLAC
AT+COPS
AT+CGATT
...
AT+NQMGR
AT+NQMGS
…
OK

3.10. AT+CSQ

Get Signal Strength Indicator

The UE will provide a current signal strength indicator of 0 to 255 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 execution command returns received signal strength indication  and channel bit error rate
 from the MT. Please refer to Chapter 7 for possible  values.
The test command returns values supported as compound values.

BC95_AT_Commands_Manual

28 / 130

NB-IoT Module Series
BC95 AT Commands Manual

AT+CSQ

Get Signal Strength Indicator

Execution Command
AT+CSQ

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

Test Command
AT+CSQ=?

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

Maximum Response Time

300ms

Parameter




Integer type; received signal strength. Unit: dBm.
0
-113dBm or less
1
-111dBm
2...30 -109dBm... -53dBm
31
-51dBm or greater
99
Not known or not detectable
Integer type; channel bit error rate (in percent)
0...7
As RXQUAL values (please refer to 3GPP specifications)
99
Not known or not detectable

NOTE
 is currently not supported, and will always be 99.

Example
AT+CSQ
+CSQ:31,99
OK

BC95_AT_Commands_Manual

29 / 130

NB-IoT Module Series
BC95 AT Commands Manual

3.11. 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
specified, the addresses for all defined contexts are returned. Please refer to Chapter 7 for possible 
values.
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

Execution Command
AT+CGPADDR[=[,[,...]]]

Response
[+CGPADDR:[,[,]]]
[...]]
OK
If there is any error, response:
ERROR
Or
+CME ERROR:
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.

Test Command
AT+CGPADDR=?

Response
+CGPADDR:(list of defined s)
OK

Maximum Response Time

300ms

Parameter


Integer type; specifies a particular PDP context definition (see the AT+CGDCONT and
AT+CGDSCONT commands).
 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 and

BC95_AT_Commands_Manual

30 / 130

NB-IoT Module Series
BC95 AT Commands Manual

AT+CGDSCONT commands 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 . Both  and  are
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 execute form of
AT+CGPADDR.

NOTES
1.

2.
3.
4.

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 .
Only IPv4 is supported.
 values between 0 & 10 are supported.
With AUTOCONNECT enabled, =0 will not be listed until an IP address is acquired.

Example
AT+CGPADDR=0
+CGPADDR:0,101.43.5.1
OK
AT+CGPADDR=?
+CGPADDR:(0)
OK

3.12. AT+COPS

PLMN Selection

The set command forces an attempt to select and register the GSM/UMTS/EPS network operator using
the USIM card installed in the currently selected card slot.  is used to select whether the selection

BC95_AT_Commands_Manual

31 / 130

NB-IoT Module Series
BC95 AT Commands Manual

is done automatically by the UE 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, UE shall be unregistered until =0 or 1 is selected). This command should be
abortable when registration/deregistration attempt is made. Please refer to Chapter 7 for possible 
values.
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
order: home network, networks referenced in USIM or active application in the UICC (GSM or USIM) in
the following order: HPLMN selector, user controlled PLMN selector, operator controlled PLMN selector
and PLMN selector (in the USIM or GSM application), and other networks.
It is recommended (although optional) that after the operator list UE returns lists of supported s
and s. These lists shall be delimited from the operator list by two commas.
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.

AT+COPS

PLMN Selection

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

Response
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

BC95_AT_Commands_Manual

32 / 130

NB-IoT Module Series
BC95 AT Commands Manual

Or
+CME ERROR:
Test Command
AT+COPS=?

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

Maximum Response Time

300ms

Parameter










0
1
2
3

Automatic ( field is ignored)
Manual ( field shall be present, and  is optional)
Deregister from network
Set only  (for read command AT+COPS?), do not attempt to
register/deregister ( and  fields are ignored); this value is not
applicable in read command response
4
Manual/automatic ( field shall be present); if manual selection fails,
automatic mode (=0) is entered
0
Long format alphanumeric 
1
Short format alphanumeric 
2
Numeric 
String type;  indicates if the format is alphanumeric or numeric; long alphanumeric
format can be up to 16 characters long and short format up to 8 characters; numeric format
is the GSM 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.
0
Unknown
1
Available
2
Current
3
Forbidden
Integer type; access technology selected
0
GSM
1
GSM compact
2
UTRAN
3
GSM w/EGPRS

BC95_AT_Commands_Manual

33 / 130

NB-IoT Module Series
BC95 AT Commands Manual

4
5
6
7
8
9

UTRAN w/HSDPA
UTRAN w/HSUPA
UTRAN w/HSDPA and HSUPA
E-UTRAN
EC-GSM-IoT (A/Gb mode) (see NOTES 3)
E-UTRAN (NB-S1 mode) (see NOTES 4)

NOTES
1.

3GPP TS 44.060 specifies the system information messages which give the information about
whether the serving cell supports EGPRS.
2. 3GPP TS 25.331 specifies the system information blocks which give the information about whether
the serving cell supports HSDPA or HSUPA.
3. 3GPP TS 44.018 [156] specifies the EC-SCH INFORMATION message which, if present, indicates
that the serving cell supports EC-GSM-IoT.
4. 3GPP TS 36.331 [86] specifies the system information blocks which give the information about
whether the serving cell supports NB-IoT, which corresponds to E-UTRAN (NB-S1 mode).
5. , if provided, must be set to 7.
6. Only =2 is supported.
7. Only =0, =1 and =2 are supported.
8. When =1, the PLMN setting will not be retained after the UE is rebooted.
9. =1 is only for development use and =0 should be used in production when
AUTOCONNECT is enabled.
10. The test command currently returns the configured values rather than performs a PLMN search.
11.  will not be returned for AT+COPS?.
12.  field could not be present when =0.

Example
AT+COPS=0
OK
AT+COPS?
+COPS:0,2,"46000"
OK
AT+COPS=?
+COPS:(2,,,"46000"),,(0-2),(2)
OK

BC95_AT_Commands_Manual

34 / 130

NB-IoT Module Series
BC95 AT Commands Manual

3.13. AT+CGATT

PS Attach or Detach

The execution command is used to attach the UE to, or detach the UE from, the packet domain service.
After the command has completed, the UE remains in V.250 command state. If the UE 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” or “+CME ERROR:” response is returned. Please
refer to Chapter 7 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

Execution/Set Command
AT+CGATT=

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

Read Command
AT+CGATT?

Response
+CGATT:
OK

Test Command
AT+CGATT=?

Response
+CGATT:(list of supported s)
OK

Maximum Response Time

1s, determined by network.

Parameter


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

BC95_AT_Commands_Manual

35 / 130

NB-IoT Module Series
BC95 AT Commands Manual

NOTES
1.
2.
3.
4.

If the initial PDP context is supported, the context with =0 is automatically defined at startup.
This command has the characteristics of both the V.250 action and parameter commands. Hence it
has the read form in addition to the execution/set and test forms.
When =1, AT+COPS=0 is automatically selected.
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.14. AT+CGACT

Activate or Deactivate a PDP Context

The execution command is used to activate or deactivate the specified PDP context(s). After the
command has completed, the UE remains in V.250 command state. If any PDP context is already in the
requested state, the state for that context remains unchanged. If the requested state for any specified
context cannot be achieved, an “ERROR” or “+CME ERROR” “+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 UE responds with error or, if
extended error responses are enabled, with the appropriate failure-to-attach error message. Please refer
to Subclause 9.2 for possible  values.
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.

BC95_AT_Commands_Manual

36 / 130

NB-IoT Module Series
BC95 AT Commands Manual

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.

AT+CGACT

Activate or Deactivate a PDP Context

Execution/Set Command
AT+CGACT=[,[,[,...]
]]

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

Read Command
AT+CGACT?

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

Test Command
AT+CGACT=?

Response
+CGACT:(list of supported s)
OK

Maximum Response Time

1s, determined by network.

Parameter




Integer type; indicates the activation state of PDP context.
0 Deactivated
1 Activated
Integer type; specifies a particular PDP context definition (see the AT+CGDCONT). Only
one  can be activated or deactivated at a time.

NOTES
1. If the initial PDP context is supported, the context with =0 is automatically defined at startup.
2. This command has the characteristics of both the V.250 action and parameter commands. Hence it

BC95_AT_Commands_Manual

37 / 130

NB-IoT Module Series
BC95 AT Commands Manual

has the read form in addition to the execution/set and test forms.
3. This command could not be executed during PLMN searching, attaching or detaching process.

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

3.15. AT+CIMI

Request International Mobile Subscriber Identity

The command returns International Mobile Subscriber Identity (string without double quotes).
Execution command causes the UE to return , which is intended to permit the TE to identify the
individual USIM card or active application in the UICC (GSM or USIM) which is attached to MT.
Please refer to Chapter 7 for possible  values.

AT+CIMI

Request International Mobile Subscriber Identity

Execution Command
AT+CIMI

Response

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

Test Command
AT+CIMI=?

Response
OK

Maximum Response Time

300ms

BC95_AT_Commands_Manual

38 / 130

NB-IoT Module Series
BC95 AT Commands Manual

Parameter


International Mobile Subscriber Identity (string without double quotes)

NOTE
IMSI may not be displayed for a few seconds after power-on.

Example
AT+CIMI
460001357924680
OK

3.16. AT+CGDCONT

Define a PDP Context

The set command specifies PDP context parameter values for a PDP context identified by , and 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 7 for possible  values.
For EPS, the PDN connection and its associated EPS default bearer is identified herewith.
A special form of the set command, AT+CGDCONT= causes the values for context number  to
become undefined.
If the initial PDP context is supported, the context with =0 is automatically defined at startup, please
refer to 3GPP TS 27.007 V13.5.0, subclause 10.1.0. As for all other contexts, the parameters for =0
can be modified with AT+CGDCONT. If the initial PDP context is supported, AT+CGDCONT=0 resets
context number 0 to its particular default settings.
The read command returns the current settings for each defined context.
The test command returns values supported as compound values. If the MT supports several PDP types,
the parameter value ranges for each  are returned on a separate line.

BC95_AT_Commands_Manual

39 / 130

NB-IoT Module Series
BC95 AT Commands Manual

AT+CGDCONT Define a PDP Context
Execution/Set Command
AT+CGDCONT=[,[,<
APN>[,[,[,[,[,[,[,[,[,[,]]]]]
]]]]]]]

Response
OK

Read Command
AT+CGDCONT?

Response
[+CGDCONT:,,,,,[,[,[,

[,[,[,[,]]]]]]]] [...]] If there is any error, response: ERROR Or +CME ERROR: OK Test Command AT+CGDCONT=? Response +CGDCONT:(range of supported s),,,,(list of supported s),(list of supported s),(list of supported s),(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 Maximum Response Time 300ms Parameter Integer type; specifies a particular PDP context definition. The parameter is local to the TE-MT interface and is used in other PDP context-related commands. The range of permitted values (minimum value=1 or if the initial PDP context is supported, minimum value=0) is returned by the test form of the command. The s for network-initiated PDP contexts will have values outside the ranges indicated for the in the test form of the AT+CGDCONT and AT+CGDSCONT commands. String type; specifies the type of packet data protocol. X.25 ITU-T/CCITT X.25 layer 3 (Obsolete) IP Internet Protocol (IETF STD 5 [103]) BC95_AT_Commands_Manual 40 / 130 NB-IoT Module Series BC95 AT Commands Manual IPv6 IPv4v6 OSPIH PPP Internet Protocol, version 6 Virtual introduced to handle dual IP stack UE capability Internet Hosted Octect Stream Protocol (Obsolete) 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. The APN is a string of up to 82 characters. String type; identifies the MT in the address space applicable to the PDP. This parameter can be left blank. When AT+CGPIAF is supported, its settings can influence the format of this parameter returned with the read form of AT+CGDCONT. The value of this parameter is ignored with the set command. The parameter is included in the set command for backwards compatibility reasons only. Integer type; controls PDP data compression 0 Off 1 On (manufacturer preferred compression) 2 V.42bis 3 V.44bis Integer type; controls PDP header compression 0 Off 1 On (manufacturer preferred compression) 2 RFC 1144 [105] (applicable for SNDCP only) 3 RFC 2507 [107] 4 RFC 3095 [108] (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 BC95_AT_Commands_Manual 41 / 130 NB-IoT Module Series BC95 AT Commands Manual 3 Integer refer 0 PDP context is for handover from a non-3GPP access network type; influences how the MT/UE requests to get the P-CSCF address, to 3GPP TS 24.229 [89] annex B and annex L. 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 if security protected transmission of 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/UE 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 signalling NOTES 1. 2. 3. 4. 5. 6. 7. Only =“IP” is supported. =“IPv6” will be supported in a future release. Support AT+CGDCONT=,, only. values of 0-10 are supported. =0 is read only and is only defined when AUTOCONNECT is enabled. Only and values of 0 are supported. value of 7 cannot be set when BIP is enabled. For more details about AT+CGDSCONT command, please refer to 3GPP TS 27.007 subclause 10.1.2. BC95_AT_Commands_Manual 42 / 130 NB-IoT Module Series BC95 AT Commands Manual Example AT+CGDCONT=? +CGDCONT:(0-10),("IP","NONIP"),,,(0),(0),,,,,(0,1) OK AT+CGDCONT=1,"IP","HUAWEI.COM" OK AT+CGDCONT? +CGDCONT:1,"IP","HUAWEI.COM",,0,0,,,,,0 OK 3.17. AT+CFUN Set Phone Functionality The set command selects the level of functionality in the UE. Level "full functionality" is where the highest level of power is drawn. "Minimum functionality" is where minimum power is drawn. Level of functionality between these may also be specified by manufacturers. When supported by manufacturers, UE resetting with parameter may be utilized. Please refer to Chapter 7 for possible values. The read command returns the current setting of . The test command returns values supported by the UE as compound values. AT+CFUN Set Phone Functionality Set Command AT+CFUN=[,] Response OK If there is any error, response: ERROR Or +CME ERROR: Read Command AT+CFUN? Response +CFUN: OK Test Command AT+CFUN=? Response +CFUN:(list of supported s), (list of supported s) OK Maximum Response Time BC95_AT_Commands_Manual 6s 43 / 130 NB-IoT Module Series BC95 AT Commands Manual Parameter 0 1 Minimum functionality Full functionality. Enable MT to transmit and receive RF circuits for all supported radio access technologies. For MTs supporting AT+CSRA, this equals the RATs indicated by the response of AT+CSRA=?. Currently AT+CSRA setting is ignored. It is not required that the transmitting and receiving RF circuits are in a disabled state when this setting takes effect. 2 Disable MT to transmit RF circuits only 3 Disable MT to receive RF circuits only 4 Disable MT to transmit and receive RF circuits 5...127 Reserved for manufacturers as intermediate states between full and minimum functionality 128 Full functionality with radio access support according to the setting of AT+CSRA. Enables MT to transmit and receive RF circuits if it not already enabled. This setting is applicable for MTs supporting AT+CSRA. 129 Prepare for shutdown. This setting has its prime use when some of the MT’s resources (e.g. file system) are located on a tightly integrated TE (host). The MT will execute pending actions resulting in "permanent" changes, e.g. execute pending file system operations. The MT will also make an orderly network detachment. After this action and AT+CFUN has returned “OK”, the MT can be shut down with =0, or by other means. After setting =129, only =0 is valid. All other values will make AT+CFUN return “ERROR”. Integer type; MT resetting 0 Do not reset the MT before setting it to power level. This shall always be defaulted when is not given. 1 Reset the MT before setting it to power level NOTES 1. 2. 3. Only =0 and =1 are supported. is not supported and will be ignored. The module will enter deep sleep mode when the system is quiescent, but only if it has been enabled by the network. Example AT+CFUN=? +CFUN:(0,1),(0,1) OK AT+CFUN=1 BC95_AT_Commands_Manual 44 / 130 NB-IoT Module Series BC95 AT Commands Manual OK AT+CFUN? +CFUN:1 OK 3.18. AT+CMEE Report Mobile Termination Error The set 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 7 for possible values. AT+CMEE Report Mobile Termination Error Set Command AT+CMEE= Response OK Read Command AT+CMEE? Response +CMEE: OK Test Command AT+CMEE=? Response +CMEE:(list of supported s) OK Maximum Response Time 300ms Parameter Integer type 0 Disable “+CME ERROR:” result code and use “ERROR” instead 1 Enable “+CME ERROR:” result code and use numeric values (Please refer to Chapter 7 for possible values) 2 Enable “+CME ERROR:” result code and use verbose values BC95_AT_Commands_Manual 45 / 130 NB-IoT Module Series BC95 AT Commands Manual NOTE Only =0 & =1 are supported. 3.19. AT+CCLK Return Current Date & 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. Please refer to Chapter 7 for possible values. AT+CCLK Return Current Date & Time Read Command AT+CCLK? Response +CCLK:


Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.7
Linearized                      : No
Encryption                      : Standard V4.4 (128-bit)
User Access                     : Print, Copy, Extract, Print high-res
Author                          : songsp
Create Date                     : 2018:05:14 15:19:33+08:00
Modify Date                     : 2018:05:14 15:22:58+08:00
Language                        : zh-CN
XMP Toolkit                     : Adobe XMP Core 4.2.1-c041 52.342996, 2008/05/07-20:48:00
Producer                        : Microsoft® Word 2016
Format                          : application/pdf
Creator                         : songsp
Creator Tool                    : Microsoft® Word 2016
Metadata Date                   : 2018:05:14 15:22:58+08:00
Document ID                     : uuid:01A3A7A0-766E-43FC-9C9B-116603C86A22
Instance ID                     : uuid:2d6c4558-7faa-4e8a-8389-d7c6e03711eb
Page Mode                       : UseOutlines
Page Count                      : 131
EXIF Metadata provided by EXIF.tools

Navigation menu