Cavli Wireless C31QM Installation manual

Cavli Wireless. All rights reserved.
CAVLI C31QM
LTE-M/NB-IoT Module
AT Command Manual
Version: 1.2
Cavalier Wireless Inc. DBA Cavli Wireless
177 Park Avenue, San Jose, California, USA 95113
Website: www.cavliwireless.com
Contact: +1-650-334-3414
All rights reserved. 2018

Cavli Wireless. All rights reserved.
Contents
Chapter 1. Introduction..................................................................................................................................................... 5
1.1 Scope of the Document................................................................................................................................... 5
1.2 AT Command Syntax......................................................................................................................................... 5
1.3 Supported Character Sets............................................................................................................................... 6
1.5 AT Command Interface .................................................................................................................................... 6
1.6 Unsolicited Result Code................................................................................................................................... 7
Chapter 2. General Commands...................................................................................................................................... 8
2.1 ATI Display Product Identification Information..................................................................................... 8
2.2 AT+GMI Request Manufacturer Identification ...................................................................................... 9
2.3 AT+GMM Request TA Model Identification .........................................................................................11
2.4 AT+GMR Request TA Revision Identification of Software Release..............................................12
2.5 AT+CGMI Request Manufacturer Identification .................................................................................13
2.6 AT+CGMM Request Model Identification.............................................................................................14
2.7 AT+CGMR Request Revision Identification...........................................................................................15
2.8 AT+GSN Request International Mobile Equipment Identity (IMEI) ............................................15
2.9 AT+CGSN Request Product Serial Number Identification..............................................................16
2.10 ATE Set Command Echo Mode...............................................................................................................17
2.11 A/ Repeat Previous Command Line ......................................................................................................18
2.12 AT+CFUN Set Phone Functionality .........................................................................................................19
2.13. AT+CPAS Mobile Equipment Activity Status......................................................................................21

Cavli Wireless. All rights reserved.
2.14 AT+CCLK Clock................................................................................................................................................22
2.15 AT+CMEE Error Message Format...........................................................................................................23
2.16 AT+CSCS Select TE Character Set ..........................................................................................................24
Chapter 3. Serial Interface Control Commands.....................................................................................................27
3.1 AT+IFC Set TE-TA Local Data Flow Contro............................................................................................27
3.2 AT+ICF Set Control Character Framing..................................................................................................28
3.3 AT+IPR Set Local Baud Rate Temporarily..............................................................................................30
Chapter 4. (U)SIM Related Commands.....................................................................................................................32
4.1. AT+CIMI Request International Mobile Subscriber Identity (IMSI).............................................32
4.2 AT+CLCK Facility Lock....................................................................................................................................33
4.3 AT+CPIN Enter PIN.........................................................................................................................................36
4.4 AT+CPWD Change Password.....................................................................................................................37
4.5 AT+CRSM Restricted SIM Access...............................................................................................................39
4.6. AT+ICCID Show ICCID ..................................................................................................................................41
Chapter 5. Network Service Commands..................................................................................................................43
5.1 AT+CREG Network Registration .................................................................................................................43
5.2 AT+COPS Operator Selection......................................................................................................................44
5.3 AT+CSQ Signal Quality Report..................................................................................................................46
5.4 AT+CPOL Preferred Operator List ............................................................................................................48
5.5 AT+CPSMS Power Saving Mode Setting ...............................................................................................49
5.6 AT+CEDRXS e-I-DRX Setting......................................................................................................................53
5.7 AT+CEDRXRDP Read Dynamic Parameters............................................................................................55

Cavli Wireless. All rights reserved.
5.8 AT^SYSINFO Query System Information................................................................................................60
5.9 AT^MODECONFIG Select Prefer Mode..................................................................................................61
5.10 AT+CPING Ping destination address .....................................................................................................63
Chapter 6.Packet Domain Commands......................................................................................................................66
6.1 AT+CGATT Attachment or Detachment of PS .....................................................................................66
6.2 AT+CGDCONT Define PDP Context.........................................................................................................67
6.3 AT+CGACT PDP Context Activate or Deactivate..................................................................................69
6.4 AT+CGPADDR Show PDP Address.............................................................................................................70
6.5 AT+CGREG GPRS Network Registration Status...................................................................................71
6.6 AT+CGSMS Select Service for MO SMS Messages ...........................................................................73
6.7 AT+CEREG EPS Network Registration Status.......................................................................................74
Chapter 7. TCP/IP Related Commands......................................................................................................................77
7.1 AT+IPNETOPEN Open socket network ....................................................................................................77
7.2 AT+IPOPEN Establish socket connection in multi-socket mode .................................................78
7.4 AT+IPSEND Send data through TCP or UDP connection ...............................................................82
7.5 AT+IPCLOSE Close TCP or UDP socket...................................................................................................84
7.6 AT+IPNETCLOSE Close socket network..................................................................................................87
Chapter 8. GPS Related Commands...........................................................................................................................89
8.1 AT+CGPS Start/Stop GPS session.............................................................................................................89
8.2 AT+CGPSCOLD Set GPS cold start...........................................................................................................90
8.3 AT+CGPSWARM Set GPS warm start......................................................................................................90
8.4 AT+CGPSNMEA Configure NMEA sentence type..............................................................................91

Cavli Wireless. All rights reserved.
8.5 AT+CGPSPORT Configure ouput port for NMEA sentence ...........................................................92
8.6 AT+CGPSHOR Configure GPS accruracy threshold...........................................................................93
Chapter 1. Introduction
1.1 Scope of the Document
This document presents the AT Commands Set for Cavli cellular engine C31-QM
1.2 AT Command Syntax
The “AT” or “at” prefix must be set at the beginning of each command line. To terminate a
command line enter <CR>. Commands are usually followed by a response that includes
“<CR><LF><response><CR><LF>”. Throughout this document, only the responses are
presented, “<CR><LF>” are omitted intentionally.
The AT Commands Set implemented by C31-QM is a combination of 3GPP TS 27.007, 3GPP
TS 27.005 and ITU-T recommendation V.25ter as well as the AT Commands developed by
YUGE.
All these AT commands 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<x><n>”, or “AT&<x><n>”, where “<x>” is the
command, and “<n>” is/are the argument(s) for that command. An example of this is
“ATE<n>”, which tells the DCE whether received characters should be echoed back to the
DTE according to the value of “<n>”. “<n>” is optional and a default will be used if it is
missing.
•S Parameter syntax
These AT commands have the format of “ATS<n>=<m>”, where “<n>” is the index of the S
register to set, and “<m>” is the value to assign to it.
•Extended syntax

Cavli Wireless. All rights reserved.
These commands can be operated in several modes, as following table:
Table 1: Types of AT Commands and Responses
Command
Effect
AT+<x>=?
This command returns the list of parameters and value
ranges set by the corresponding Write Command or
internal processes.
AT+<x>?
This command returns the currently set value of the
parameter or parameters.
AT+<x>=<…>
This command sets the user-definable parameter values.
AT+<x>
This command reads non-variable parameters affected
by internal processes in the UE.
1.3 Supported Character Sets
C31-QM AT command interface defaults to the GSM character set. C31-QM module
supports the following
character sets:
•GSM format
•UCS2
•IRA
The character set can be configured and interrogated by using the AT+CSCS command
(3GPP TS 27.007) and it is defined in 3GPP TS 27.005. The character set affects transmission
and reception of SMS and SMS Cell Broadcast Messages, as well as the entry and display of
phone book entries text field.
1.4 AT Command Interface

Cavli Wireless. All rights reserved.
C31-QM AT command interface includes two USB ports (USB MODEM port and USB AT port)
and one main UART port. The main UART port and two USB ports support AT command
communication and data transfer.
1.5 Unsolicited Result Code
As an Unsolicited Result Code and a report message, URC is not issued as part of the
response related to an executed AT command. URC is issued by C31-QM without being
requested by the TE and it is issued automatically when a certain event occurs. Typical events
leading to URCs are incoming calls (RING), received short messages, high/low voltage alarm,
high/low temperature alarm, etc.

Cavli Wireless. All rights reserved.
Chapter 2. General Commands
2.1 ATI Display Product Identification Information
Description
The command requests the product information, which consists of manufacturer
identification, model identification, revision identification, International Mobile station
Equipment Identity (IMEI) and overall capabilities of the product.
Syntax
Command
Response
ATI
Manufacturer: <manufacturer>
Model: <model>
Revision: <revision>
SVN:<Firmware version>
IMEI: <imei>
+GCAP: list of <name>s
OK
Defined values
Parameter
values
Explain
<manufacturer>
The identification of manufacturer.
<model>
The identification of model.
<revision>
The revision identification of firmware.

Cavli Wireless. All rights reserved.
<n>
<sn>
Serial number identification, which consists
of a single line containing IMEI (International
Mobile station Equipment Identity) number.
<name>
+CGSM
GSM function is supported
+FCLASS
FAX function is supported
+DS
Data compression is supported
+ES
Synchronous data mode is supported.
Examples
ATI
Manufacturer: Cavli Wireless
Model: C31-QM
Revision: C31-QM-V1 [Sep 06 2018 08:00:00]
SVN: 02
IMEI: 352745100001522
+GCAP: +CGSM
OK
2.2 AT+GMI Request Manufacturer Identification
Description

Cavli Wireless. All rights reserved.
The command returns a manufacturer identification text. See also AT+CGMI.
Syntax
Command
Response
AT+GMI
<manufacturer>
OK
AT+GMI=?
OK
AT+GMI=<manufacturer>
OK
Defined values
Parameter
values
Explain
<manufacturer>
The identification of manufacturer.
Examples
AT+GMI
Cavli Wireless
OK
AT+GMI=?
OK

Cavli Wireless. All rights reserved.
2.3 AT+GMM Request TA Model Identification
Description
The command returns a product model identification text. It is identical with AT+CGMM.
Syntax
Command
Response
AT+GMM
<name>
OK
AT+GMM=?
OK
AT+GMM=<name>
OK
Defined values
Parameter
values
Explain
<name>
The identification of model.
Examples
AT+GMM
C31-QM
OK

Cavli Wireless. All rights reserved.
AT+GMM=?
OK
2.4 AT+GMR Request TA Revision Identification of Software Release
Description
The command delivers a product firmware version identification text. It is identical with
AT+CGMR.
Syntax
Command
Response
AT+GMR
<software version>
OK
AT+GMR=?
OK
AT+GMR=<software version>
OK
Defined values
Parameter
values
Explain
<software version>
The revision identification of firmware.
Examples
AT+GMR
C31-QM-V1 [Sep 06 2017 08:00:00]
OK

Cavli Wireless. All rights reserved.
2.5 AT+CGMI Request Manufacturer Identification
Description
Execution command returns a manufacturer identification text.
Syntax
Command
Response
AT+CGMI
<manufacturer>
OK
AT+CGMI=?
OK
AT+CGMI=<manufacturer>
OK
Defined values
Parameter
values
Explain
<manufacturer>
The identification of manufacturer.
Examples
AT+CGMI
Cavli Wireless
OK
AT+CGMI=?
OK

Cavli Wireless. All rights reserved.
2.6 AT+CGMM Request Model Identification
Description
Execution command returns a product model identification text.
Syntax
Command
Response
AT+CGMM
<name>
OK
AT+CGMM=?
OK
AT+CGMM=<name>
OK
Defined values
Parameter
values
Explain
<name>
The identification of model.
Examples
AT+CGMM
C31-QM
OK
AT+CGMM=?
OK

Cavli Wireless. All rights reserved.
2.7 AT+CGMR Request Revision Identification
Description
Execution command delivers a product firmware version identification.
Syntax
Command
Response
AT+CGMR
<software version>
OK
AT+CGMR=?
OK
AT+CGMR=<software version>
OK
Defined values
Parameter
values
Explain
<software version>
The revision identification of firmware.
Examples
AT+CGMR
C31-QM-V1 [Sep 06 2017 08:00:00]
OK
2.8 AT+GSN Request International Mobile Equipment Identity (IMEI)

Cavli Wireless. All rights reserved.
Description
The command returns the International Mobile Equipment Identity (IMEI). It is identical with
AT+CGSN.
Syntax
Command
Response
AT+GSN
<IMEI>
OK
AT+GSN=?
OK
Defined values
Parameter
values
Explain
<IMEI>
Serial number identification
Examples
AT+GSN
352745100001522
OK
2.9 AT+CGSN Request Product Serial Number Identification
Description

Cavli Wireless. All rights reserved.
Execution command returns International Mobile Equipment Identity (IMEI).
Syntax
Command
Response
AT+CGSN
<IMEI>
OK
AT+CGSN=?
OK
Defined values
Parameter
values
Explain
<IMEI>
Serial number identification
Examples
AT+CGSN
352745100001522
OK
2.10 ATE Set Command Echo Mode
Description
The command controls if the module echoes characters received from TE during AT
command state. Attention: dial-up network or the automatic processing software will
automatically send the ATE0 to close the echoes.
Syntax
Command
Response
ATE[<value>]
OK

Cavli Wireless. All rights reserved.
or
ERROR
Defined values
Parameter
values
Explain
<value>
0
Echo mode off
1
Echo mode on
The default value of <value> is 0
Examples
ATE
OK
2.11 A/ Repeat Previous Command Line
Description
The command repeats previous AT command line, and “/” acts as the line terminating
character.
Syntax
Command
Response
A/
Return value of the last instruction
Examples
AT+CGMR
C31-QM-V1 [Sep 06 2017 08:00:00]
NOTE

Cavli Wireless. All rights reserved.
OK
A/
C31-QM-V1 [Sep 06 2017 08:00:00]
OK
2.12 AT+CFUN Set Phone Functionality
Description
The command controls the functionality level. It can also be used to reset the UE.
Syntax
Command
Response
AT+CFUN=[<fun>[,<rst>]]
OK
AT+CFUN?
+CFUN:<fun>
OK
AT+CFUN=?
+CFUN:(<fun>list),(<rst>list)
OK
Defined values
Parameter
values
Explain
<fun>
0
Minimum functionality

Cavli Wireless. All rights reserved.
1
Full functionality, online mode
4
Disable phone both transmit and receive RF circuits
5
Factory Test Mode
6
Reset
7
Offline Mode
<rst>
0
Do not reset the ME before setting it to <fun> power level
1
Reset the ME before setting it to <fun> power level. This
value only takes effect when <fun> equals 1.
Examples
AT+CFUN?
+CFUN: 1
OK
AT+CFUN=?
+CFUN: (0-1,4-7),(0-1)
OK
AT+CFUN=1,1
OK
Table of contents
Other Cavli Wireless Control Unit manuals
Popular Control Unit manuals by other brands

ABB
ABB TA571-SIM installation instructions

Airxcel
Airxcel MAXXFAN Plus 4000K Installation & operation guide

Kramer
Kramer WP-20 quick start guide

Siemens
Siemens SIRIUS 3RK3211 Original operating instructions

Westinghouse
Westinghouse 7880040 Installation and operating instructions

Metso
Metso Neles RotaryGlobe ZX Series Installation maintenance and operating instructions