FI
SIM800 Series_AT Command
AL
Manual_V1.10
TI
EN
D
FI
N
O
C
M
O
C
M
SI
Smart Machine Smart Decision
Version: 1.10
Date: 2016-10-20
Status: Release
E
Document Control ID: SIM800 Series_AT Command Manual_V1.10
L
FI
General Notes
AL
SIMCom offers this information as a service to its customers, to support application and
engineering efforts that use the products designed by SIMCom. The information provided is based
upon requirements specifically provided to SIMCom by the customers. SIMCom has not
TI
undertaken any independent search for additional relevant information, including any information
that may be in the customer’s possession. Furthermore, system validation of this product designed
EN
by SIMCom within a larger electronic system remains the responsibility of the customer or the
customer’s system integrator. All specifications supplied herein are subject to change.
D
Copyright
This document contains proprietary technical information which is the property of Shanghai
FI
SIMCom Wireless Solutions Ltd, copying of this document and giving it to others and the using or
N
communication of the contents thereof, are forbidden without express authority. Offenders are
liable to the payment of damages. All rights reserved in the event of grant of a patent or the
O
registration of a utility model or design. All specification supplied herein are subject to change
without notice at any time.
C
Contents
1 Introduction ............................................................................................23
1.1 Scope of the document ....................................................................................... 23
1.2 Related documents ............................................................................................. 23
E
1.3 Conventions and abbreviations........................................................................... 23
L
1.4 AT Command syntax .......................................................................................... 23
FI
1.4.1 Basic syntax ................................................................................................................... 24
1.4.2 S Parameter syntax ......................................................................................................... 24
1.4.3 Extended Syntax............................................................................................................. 24
AL
1.4.4 Combining AT commands on the same Command line................................................. 24
1.4.5 Entering successive AT commands on separate lines ..................................................... 25
1.5 Supported character sets ..................................................................................... 25
TI
1.6 Flow control ....................................................................................................... 25
EN
1.6.1 Software flow control (XON/XOFF flow control)......................................................... 25
1.6.2 Hardware flow control (RTS/CTS flow control) ............................................................ 26
1.7 Definitions .......................................................................................................... 26
D
1.7.1 Parameter Saving Mode ................................................................................................. 26
1.7.2 Max Response Time ....................................................................................................... 26
FI
E
2.2.25 ATV TA Response Format ....................................................................................... 43
L
2.2.26 ATX Set CONNECT Result Code Format and Monitor Call Progress ..................... 44
FI
2.2.27 ATZ Reset Default Configuration ............................................................................. 45
2.2.28 AT&C Set DCD Function Mode ............................................................................... 45
2.2.29 AT&D Set DTR Function Mode................................................................................ 46
AL
2.2.30 AT&F Factory Defined Configuration ...................................................................... 46
2.2.31 AT&V Display Current Configuration ...................................................................... 47
TI
2.2.32 AT&W Store Active Profile ...................................................................................... 47
2.2.33 AT+GCAP Request Complete TA Capabilities List .................................................. 49
EN
2.2.34 AT+GMI Request Manufacturer Identification ......................................................... 49
2.2.35 AT+GMM Request TA Model Identification ............................................................ 50
2.2.36 AT+GMR Request TA Revision Identification of Software Release......................... 50
D
2.2.37 AT+GOI Request Global Object Identification ......................................................... 51
2.2.38 AT+GSN Request TA Serial Number Identification (IMEI) ..................................... 51
FI
3.2.2 AT+CAMM Accumulated Call Meter Maximum (ACM max) Set or Query ............. 58
O
E
3.2.23 AT+CPAS Phone Activity Status ............................................................................... 81
L
3.2.24 AT+CPBF Find Phonebook Entries........................................................................... 82
FI
3.2.25 AT+CPBR Read Current Phonebook Entries ............................................................ 83
3.2.26 AT+CPBS Select Phonebook Memory Storage......................................................... 84
3.2.27 AT+CPBW Write Phonebook Entry .......................................................................... 85
AL
3.2.28 AT+CPIN Enter PIN.................................................................................................. 86
3.2.29 AT+CPWD Change Password ................................................................................... 87
TI
3.2.30 AT+CR Service Reporting Control ........................................................................... 88
3.2.31 AT+CRC Set Cellular Result Codes for Incoming Call Indication ........................... 89
EN
3.2.32 AT+CREG Network Registration .............................................................................. 90
3.2.33 AT+CRLP Select Radio Link Protocol Parameters ................................................... 91
3.2.34 AT+CRSM Restricted SIM Access ........................................................................... 92
D
3.2.35 AT+CSQ Signal Quality Report ................................................................................ 93
3.2.36 AT+VTD Tone Duration............................................................................................ 94
FI
E
4.2.9 AT+CPMS Preferred SMS Message Storage ............................................................ 125
L
4.2.10 AT+CRES Restore SMS Settings ............................................................................ 126
FI
4.2.11 AT+CSAS Save SMS Settings ................................................................................ 127
4.2.12 AT+CSCA SMS Service Center Address ................................................................ 128
4.2.13 AT+CSCB Select Cell Broadcast SMS Messages ................................................... 129
AL
4.2.14 AT+CSDH Show SMS Text Mode Parameters ....................................................... 130
4.2.15 AT+CSMP Set SMS Text Mode Parameters ........................................................... 131
TI
4.2.16 AT+CSMS Select Message Service......................................................................... 132
6.2.1 AT+SIDET Change the Side Tone Gain Level ....................................................... 144
6.2.2 AT+CPOWD Power off ............................................................................................ 145
M
E
6.2.19 AT+CHFA Swap the Audio Channels ..................................................................... 158
L
6.2.20 AT+CSCLK Configure Slow Clock ........................................................................ 159
FI
6.2.21 AT+CENG Switch on or off Engineering Mode ..................................................... 160
6.2.22 AT+SCLASS0 Store Class 0 SMS to SIM When Received Class 0 SMS .............. 162
6.2.23 AT+CCID Show ICCID .......................................................................................... 163
AL
6.2.25 AT+CMGDA Delete All SMS ................................................................................ 163
6.2.26 AT+STTONE Play SIM Toolkit Tone .................................................................... 164
TI
6.2.27 AT+SIMTONE Generate Specifically Tone ........................................................... 165
6.2.28 AT+CCPD Enable or Disable Alpha String ............................................................ 166
EN
6.2.29 AT+CGID Get SIM Card Group Identifier ............................................................. 167
6.2.30 AT+MORING Show State of Mobile Originated Call............................................ 167
6.2.31 AT+CMGHEX Enable or Disable Sending Non-ASCII Character SMS ............... 168
D
6.2.32 AT+CCODE Configure SMS Code Mode .............................................................. 169
6.2.33 AT+CIURC Enable or Disable Initial URC Presentation ....................................... 169
FI
6.2.44 AT+SVR Configure Voice Coding Type for Voice Calls ......................................... 177
6.2.45 AT+GSMBUSY Reject Incoming Call.................................................................... 178
C
6.2.48 AT+SLEDS Set the Timer Period of Net Light ....................................................... 180
SI
6.2.49 AT+CBUZZERRING Use the Buzzer Sound as the Incoming Call Ring............... 181
6.2.50 AT+CEXTERNTONE Close or Open the Microphone........................................... 182
6.2.51 AT+CNETLIGHT Close the Net Light or Open It to Shining ................................ 182
6.2.52 AT+CWHITELIST Set the White List .................................................................... 183
6.2.53 AT+CSDT Switch on or off Detecting SIM Card ................................................... 184
6.2.54 AT+CSMINS SIM Inserted Status Reporting ......................................................... 185
6.2.55 AT+CSGS Netlight Indication of GPRS Status ..................................................... 186
E
6.2.64 AT+SKPD Keypad Detecting Function................................................................... 194
L
6.2.65 AT+SIMTONEX Custom Tones ............................................................................... 194
FI
6.2.66 AT+CROAMING Roaming State .............................................................................. 195
6.2.67 AT+CNETSCAN Perform a Net Survey to Show All the Cells’ Information ........... 196
6.2.68 AT+CMNRP Dual Serial Port Feature.................................................................... 197
AL
6.2.69 AT+CEGPRS Switch on or off EDGE ................................................................... 198
6.2.70 AT+CGPIO Control the GPIO by PIN Index .......................................................... 198
TI
6.2.71 AT+CMEDPLAY Play Audio File .......................................................................... 199
6.2.72 AT+CMEDIAVOL Control the Volume when Playing Audio File .......................... 200
EN
6.2.73 AT+SNDLEVEL Set the Sound Level of Special AT Command ............................ 201
6.2.74 AT+ECHARGE Charge Control............................................................................. 201
6.2.75 AT+SIMTIMER Modify the Poll Interval Time Requested by SIM Card ............. 202
D
6.2.76 AT+SPE Speech Enhancement Control .................................................................. 203
6.2.77 AT+CCONCINDEX Report Concatenated SMS Index .......................................... 203
FI
6.2.80 AT+CELLIST Perform a Net Survey to Show All the Cells’ Information ............. 205
O
E
8.2.7 AT+CIPSHUT Deactivate GPRS PDP Context ........................................................ 227
L
8.2.8 AT+CLPORT Set Local Port ..................................................................................... 228
FI
8.2.9 AT+CSTT Start Task and Set APN, USER NAME, PASSWORD........................... 229
8.2.10 AT+CIICR Bring Up Wireless Connection with GPRS or CSD ............................. 230
8.2.11 AT+CIFSR Get Local IP Address ............................................................................ 230
AL
8.2.12 AT+CIPSTATUS Query Current Connection Status ............................................... 231
8.2.13 AT+CDNSCFG Configure Domain Name Server................................................... 233
TI
8.2.14 AT+CDNSGIP Query the IP Address of Given Domain Name .............................. 233
8.2.15 AT+CIPHEAD Add an IP Head at the Beginning of a Package Received .............. 234
EN
8.2.16 AT+CIPATS Set Auto Sending Timer ..................................................................... 235
8.2.17 AT+CIPSPRT Set Prompt of ‘>’ When Module Sends Data ................................... 235
8.2.18 AT+CIPSERVER Configure Module as Server ...................................................... 236
D
8.2.19 AT+CIPCSGP Set CSD or GPRS for Connection Mode ........................................ 237
8.2.20 AT+CIPSRIP Show Remote IP Address and Port When Received Data ................ 238
FI
8.2.21 AT+CIPDPDP Set Whether to Check State of GPRS Network Timing .................. 239
8.2.22 AT+CIPMODE Select TCPIP Application Mode.................................................... 240
N
8.2.24 AT+CIPSHOWTP Display Transfer Protocol in IP Head When Received Data ..... 241
8.2.25 AT+CIPUDPMODE UDP Extended Mode ............................................................. 242
C
E
11.2.4 AT+HTTPDATA Input HTTP Data ......................................................................... 259
L
11.2.5 AT+HTTPACTION HTTP Method Action ............................................................. 259
FI
11.2.6 AT+HTTPREAD Read the HTTP Server Response ................................................ 261
11.2.7 AT+HTTPSCONT Save HTTP Application Context .............................................. 262
11.2.8 AT+HTTPSTATUS Read HTTP Status ................................................................... 263
AL
11.2.9 AT+HTTPHEAD Read the HTTP Header Information of Server Response........... 264
TI
12.1 Overview ........................................................................................................ 265
EN
12.2 Detailed Descriptions of Commands .............................................................. 266
12.2.1 AT+FTPPORT Set FTP Control Port ...................................................................... 266
12.2.2 AT+FTPMODE Set Active or Passive FTP Mode .................................................. 266
D
12.2.3 AT+FTPTYPE Set the Type of Data to Be Transferred........................................... 267
12.2.4 AT+FTPPUTOPT Set FTP Put Type ....................................................................... 268
FI
12.2.27 AT+FTPFILEPUT Load File in RAM from File System then Upolad with
FTPPUT ................................................................................................................................ 286
12.2.28 AT+FTPQUIT Quit Current FTP Session ............................................................. 287
E
14 AT Commands for Email Application ...............................................290
L
FI
14.1 Overview ........................................................................................................ 290
14.2 Detailed Descriptions of Commands .............................................................. 291
14.2.1 AT+EMAILCID Set Email Bearer Profile Identifier .............................................. 291
AL
14.2.2 AT+EMAILTO Set Timeout Value of SMTP/POP3 Server Response .................. 291
14.2.3 AT+SMTPSRV Set SMTP Server Address and Port .............................................. 292
TI
14.2.4 AT+SMTPAUTH Set User Name and Password for SMTP Authentication .......... 293
14.2.5 AT+SMTPFROM Set Sender Address and Name .................................................. 294
EN
14.2.6 AT+SMTPRCPT Set the Email Recipient(TO/CC/BCC) Address and Name ........ 294
14.2.7 AT+SMTPSUB Set the Email Subject.................................................................... 295
14.2.8 AT+SMTPBODY Set the Email Body ................................................................... 296
D
14.2.9 AT+SMTPFILE Set the Email Attachment............................................................. 297
14.2.10 AT+SMTPSEND Send the Email ......................................................................... 298
FI
14.2.21 AT+POP3RSET Unmark the Emails that Be Marked as Deleted ......................... 308
14.2.22 AT+POP3OUT Log Out POP3 Server.................................................................. 309
C
15.2.7 AT+CMMSDELFILE Delete the File of the Edited MMS by File Index............... 317
15.2.8 AT+CMMSSEND Start MMS Sending .................................................................. 318
15.2.9 AT+CMMSRECP Add Recipients.......................................................................... 318
15.2.10 AT+CMMSCC Add Copy Recipients................................................................... 319
15.2.11 AT+CMMSBCC Add Secret Recipients............................................................... 320
15.2.12 AT+CMMSDELRECP Delete Recipients ............................................................ 320
15.2.13 AT+CMMSDELCC Delete Copy Recipients ....................................................... 321
15.2.14 AT+CMMSDELBCC Delete Secret Recipients ................................................... 321
E
15.2.15 AT+CMMSRECV Receive MMS ........................................................................ 322
L
15.2.16 AT+CMMSVIEW Get the MMS into Buffer and Show the Information ............. 323
FI
15.2.17 AT+CMMSREAD Read the Given File of the MMS in the Buffer ...................... 324
15.2.18 AT+CMMSRDPUSH Read the Information of the MMS PUSH Message .......... 325
15.2.19 AT+CMMSUA Set User Agent ............................................................................ 326
AL
15.2.20 AT+CMMSPROFILE Set User Agent Profile ...................................................... 327
15.2.21 AT+CMMSTIMEOUT Set MMS Timeout........................................................... 327
TI
15.2.22 AT+CMMSSTATUS Get MMS Status ................................................................ 328
15.2.23 AT+CMMSINIT Initialize MMS Function........................................................... 329
EN
15.2.24 AT+CMMSTERM Exit MMS Function ............................................................... 329
15.2.25 AT+CMMSSCONT Save MMS Context ............................................................. 330
18.2.3 AT+CTTSRING Enable/Disable TTS Play During Incoming Call Ring ................ 341
SI
E
20.9 TCPIP Commands .......................................................................................... 365
L
20.10 IP Commands ............................................................................................... 365
FI
20.11 PING Commands .......................................................................................... 365
20.12 HTTP and FTP Commands .......................................................................... 367
20.13 GSM Location Commands ........................................................................... 367
AL
20.14 EMAIL Commands ...................................................................................... 367
20.15 MMS Commands ......................................................................................... 368
20.16 DDET Commands ........................................................................................ 369
TI
20.17 RECORD Commands................................................................................... 370
EN
20.18 TTS Commands ............................................................................................ 372
Version History
Version Date Chapter What is new
V1.00 New version
V1.01 2013-07-23 All Modify GSM 07.05 to 3GPP TS
27.005,modify GSM 07.07 to 3GPP TS
E
27.007
L
1.1 Scope of the document Add SIM800
FI
2.2.8 ATH Delete ATH parameter [n]
2.2.12 +++ Change "0.5 second" to "1 second"
AL
2.2.13 ATO Change "NO CARRIER" to "ERROR"
2.2.26 ATX Change default value from 0 to 4
2.2.32 AT&W Add AT+CFGRI,AT+CSGS
TI
2.2.41.1 Auto-bauding Disable DTR auto-bauding
3.2.14 AT+CHLD
3.2.18 AT+CLIP
EN Delete parameter of CHLD
Change URC parameter
3.2.51 AT+CRSL Delete reference Note
D
3.2.7 AT+CEER Change description of 34 (emergency
FI
to 10-500000
M
information
9.2.1 AT+SAPBR Modify parameter
12.2.23 AT+FTPLIST Change "Execution Command" to
"Write Command"
14.2.8 AT+SMTPBODY Change "Execution Command" to
"Write Command"
14.2.10 AT+SMTPSEND Modify parameter
E
14.2.11 AT+SMTPFT Change "Execution Command" to
L
"Write Command"
FI
15.2.15 AT+CMMSRECV Change reference note
15.2.21 Change "milliseconds" to "seconds"
AT+CMMSTIMEOUT
AL
15.2.25 Modify parameter of Execution
AT+CMMSSCONT Command
TI
17.2.1 AT+CREC Add note
18.2.2 AT+CTTSPARAM Modify parameter;add note
20.8 GPRS Commands
20.17 RECORD
EN
Modify the CGQREQ example
Add example
D
Commands
3.2.17 AT+CLCK Add Max Response Time
FI
E
2.2.20 ATS6 Add parameter saving mode
L
2.2.21 ATS7 Add parameter saving mode
FI
2.2.22 ATS8 Add parameter saving mode
2.2.26 ATX Add parameter saving mode
AL
3.2.4 AT+CBST Add parameter saving mode
3.2.16 AT+CLCC Add parameter saving mode
3.2.12 AT+CSCS Add parameter saving mode
TI
3.2.51 AT+CRSL Add parameter saving mode
3.2.52 AT+CLVL
6.2.33 AT+CIURC
EN
Add parameter saving mode
Add parameter saving mode
6.2.53 AT_CSDT Add parameter saving mode
D
6.2.54 AT+CSMINS Add parameter saving mode
FI
E
6.2.59 AT+CPCMCFG Add AT command
L
6.2.60 AT+CPCMSYNC Add AT command
FI
6.2.61 AT+CANT Add AT command
6.2.62 AT+CAGCSET Add AT command
AL
Modify parameter description and add
7.2.9 AT+CGEREP
URC example
TI
8.2.7 AT+CIPSHUT Add Max Response Time
8.2.10 AT+CIICR Add Max Response Time
8.2.21 AT+CIPDPDP
8.2.26 AT+CIPRXGET
EN Modify parameter’s scope
Modify parameter options
Add parameter and URC description in
D
16.2.1 AT+DDET
write command,add note
FI
E
played in call.
L
6.2.56 AT+CMICBIAS Add note description
FI
6.2.58 AT+SJDR Modify format error
6.2.63 AT+SD2PCM Add AT command
AL
6.2.64 AT+SKPD Add AT command
6.2.65 AT+SIMTONEX Add AT command
6.2.66 AT+CROAMING Add AT command
TI
6.2.67 AT+CNETSCAN Add AT command
8.2.23 AT+CIPCCFG
12.2.24 AT+FTPGETTOFS
ENModify wait time’s interval
Add AT command
Modify description about <key>
16.2.1 AT+DDET
D
parameter, add <ssdet> parameter
FI
AT+FMI
Delete
C
AT+FMM
AT+FMR
M
E
6.2.19 AT+CHFA Modify note
6.2.40 AT+SGPIO Modify note
L
Extend the scope of parameter <freq> to
FI
6.2.41 AT+SPWM
"0-100000"
6.2.58 AT+SJDR Modify note
AL
6.2.59 AT+CPCMCFG Modify note
6.2.60 AT+CPCMSYNC Modify note
TI
6.2.62 AT+CANT Modify note
6.2.63 AT+SD2PCM Modify note
6.2.64 AT+SKPD EN
Modify note
Modify AT+CROAMING command’s
6.2.66 AT+CROAMING
format
D
Modify AT+CNETSCAN command’s
6.2.67 AT+CNETSCAN
FI
Add AT command
AT+FTPPUTFRMFS
M
Add URC of
19.3 URC AT+CGREG,AT+CALA,AT+CIURC,AT
+CNMI
20.2 SIM commands Modify response of AT+CPBS=?
21 Modify ATC difference
Add PCM channel in SIM800 and
21.4 AT+CHFA
SIM800-WB64
E
V1.05 2014-07-31 All Change SIM800-WB64 to SIM800M64
L
Add format description of part
6.2.21 AT+CENG
FI
parameters
Extend the scope of parameter <GPIO>
6.2.40 AT+SGPIO
to "1-7"
AL
6.2.69 AT+CEGPRS Add AT command
12.2.24 AT+FTPGETTOFS Modify description of <loc>
TI
14.2.14 AT+POP3IN Add description of <code> value 69
14.2.22 AT+POP3OUT Add description of <code> value 69
21.2 AT+CMIC
EN Modify
21.5 AT+SGPIO Modify difference
D
21.9 AT+CADC Add difference
FI
E
1.09 2015-08-03 1.1 Scope of the document Add SIM800A, SIM800F, SIM800C-DS
L
Extend the scope of parameter <mode>
6.2.21 AT+CENG
FI
to "0-4" and modify note
6.2.65 AT+SIMTONEX Modify note
AL
6.2.70 AT+CGPIO Modify response value of test command
6.2.71 AT+CMEDPLAY Modify note
6.2.77
TI
Add AT command
AT+CCONCINDEX
6.2.78 AT+SDMODE Add AT command
6.2.79 AT+SRSPT
EN Add AT command
11.2.9 AT+HTTPHEAD Add AT command
D
15.2.6 AT+CMMSDOWN Modify <type> parameter
FI
<mode>=3
20.2 SIM commands Add examples of "AT+CENG"
O
E
6.2.81 AT+CBATCHK Add AT command
7.2.1 AT+CGATT Modify max response time
L
8.2.6 AT+CIPCLOSE Modify note
FI
8.2.9 AT+CSTT Modify note of parameters
8.2.11 AT+CIFSR Modify note
AL
8.2.13 AT+CDNSCFG Add default value
8.2.21 AT+CIPDPDP Add default value
TI
8.2.23 AT+CIPCCFG Add default value
8.2.28 AT+CIPRDTIMER Add default value
11.2.5 AT+HTTPACTION
EN
Extend the scope
<Method> to "0-3"
of parameter
D
12.2.26 AT+FTPEXTGET Modify note
14.2.4 AT+SMTPAUTH Modify response of test command
FI
18.2.1 AT+CTTS
to "0-3"
C
1 Introduction
This document presents the AT Command Set for SIMCom SIM800 Series, including SIM800V,
SIM840V, SIM800W, SIM840W, SIM800W16, SIM840W16, SIM800L, SIM800H, SIM800,
SIM800M64, SIM800G, SIM808, SIM800C, SIM800A, SIM800F, SIM800C-DS and SIM868.
E
1.2 Related documents
L
FI
You can visit the SIMCom Website using the following link:
http://www.simcomm2m.com
AL
1.3 Conventions and abbreviations
TI
In this document, the GSM engines are referred to as following term:
ME (Mobile Equipment);
MS (Mobile Station);
TA (Terminal Adapter);
EN
D
DCE (Data Communication Equipment) or facsimile DCE (FAX modem, FAX board);
FI
In application, controlling device controls the GSM engine by sending AT Command via its
serial interface. The controlling device at the other end of the serial line is referred to as
N
following term:
O
TE (Terminal Equipment);
DTE (Data Terminal Equipment) or plainly "the application" which is running on an embedded
C
system;
The "AT" or "at" or “aT” or “At”prefix must be set at the beginning of each Command line. To
O
Throughout this document, only the responses are presented, <CR><LF> are omitted
intentionally.
SI
and Unsolicited Result Code "RDY" is received from serial port. If auto-bauding is enabled, the Unsolicited
Result Codes "RDY" and so on are not indicated when you start up the ME, and the "AT" prefix, or "at"
prefix must be set at the beginning of each command line.
All these AT commands can be split into three categories syntactically: "basic", "S parameter",
and "extended". These are as follows:
E
These AT commands have the format of "AT<x><n>", or "AT&<x><n>", where "<x>"is the
L
Command, and "<n>"is/are the argument(s) for that Command. An example of this is "ATE<n>",
FI
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 missing.
AL
1.4.2 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. "<m>" is optional; if it is missing, then a
TI
default value is assigned.
Test Command AT+<x>=? The mobile equipment returns the list of parameters
N
Read Command AT+<x>? This command returns the currently set value of the
C
parameter or parameters.
Write Command AT+<x>=<…> This command sets the user-definable parameter
values.
M
engine.
C
You can enter several AT commands on the same line. In this case, you do not need to type the
"AT" or "at" prefix before every command. Instead, you only need type "AT" or "at" the
SI
beginning of the command line. Please note to use a semicolon as the command delimiter after
an extended command; in basic syntax or S parameter syntax, the semicolon need not enter, for
example: ATE1Q0S0=1S3=13V1X4;+IFC=0,0;+IPR=115200;&W.
The Command line buffer can accept a maximum of 556 characters (counted from the first
command without "AT" or "at" prefix). If the characters entered exceeded this number then none
of the Command will executed and TA will return "ERROR".
E
The SIM800 Series AT Command interface defaults to the IRA character set. The SIM800 Series
L
supports the following character sets:
GSM format
FI
UCS2
HEX
AL
IRA
PCCP
PCDN
TI
8859-1
The character set can be set and interrogated using the "AT+CSCS" Command (3GPP TS
EN
27.007). The character set is defined in GSM specification 3GPP TS 27.005.
The character set affects transmission and reception of SMS and SMS Cell Broadcast messages,
D
the entry and display of phone book entries text field and SIM Application Toolkit alpha strings.
FI
Flow control is very important for correct communication between the GSM engine and DTE.
O
For in the case such as a data or fax call, the sending device is transferring data faster than the
receiving side is ready to accept. When the receiving buffer reaches its capacity, the receiving
C
device should be capable to cause the sending device to pause until it catches up.
There are basically two approaches to achieve data flow control: software flow control and
M
hardware flow control. SIM800 Series support both two kinds of flow control.
In Multiplex mode, it is recommended to use the hardware flow control.
O
Software flow control sends different characters to stop (XOFF, decimal 19) and resume (XON,
M
decimal 17) data flow. It is quite useful in some applications that only use three wires on the
serial interface.
SI
The default flow control approach of SIM800 Series is hardware flow control (RTS/CTS flow
control), to enable software flow control in the DTE interface and within GSM engine, type the
following AT Command:
AT+IFC=1, 1
This setting is stored volatile, for use after restart, AT+IFC=1, 1 should be stored to the user
NOTE:
The AT commands listed in the table of AT&W chapter should be stored to user profile with
AT&W for use after restart. Most other AT commands in V.25, 3GPP TS 27.005, 3GPP TS
27.007, GPRS will store parameters automatically and can be used after module restart.
Ensure that any communications software package (e.g. Hyper terminal) uses software flow
E
control.
L
FI
NOTE:
Software Flow control should not be used for data calls where binary data will be transmitted or
received (e.g. TCP/IP) as the DTE interface may interpret binary data as flow control characters.
AL
1.6.2 Hardware flow control (RTS/CTS flow control)
Hardware flow control achieves the data flow control by controlling the RTS/CTS line. When the
TI
data transfer should be suspended, the CTS line is set inactive until the transfer from the
receiving buffer has completed. When the receiving buffer is ok to receive more data, CTS goes
active once again. EN
To achieve hardware flow control, ensure that the RTS/CTS lines are present on your application
D
platform.
FI
N
1.7 Definitions
O
NO_SAVE: The parameter of the current AT command will be lost if module is rebooted or
current AT command doesn't have parameter.
AUTO_SAVE: The parameter of the current AT command will be kept in NVRAM
M
E
Command Description
L
A/ Re-issues the last command given
FI
ATA Answer an incoming call
ATD Mobile originated call to dial a number
AL
ATD><N> Originate call to phone number in current memory
ATD><STR> Originate call to phone number in memory which corresponds to field
<str>
TI
ATDL Redial last telephone number used
ATE Set command echo mode
ATH
ATI
Disconnect existing connection
EN
Display product identification information
D
ATL Set monitor speaker loudness
ATM Set monitor speaker mode
FI
+++ Switch from data mode or ppp online mode to command mode
N
ATS8 Set number of seconds to wait for comma dial modifier encountered in
dial string of D command
M
ATS10 Set disconnect delay after indicating the absence of data carrier
SI
E
AT+GOI Request global object identification
L
AT+GSN Request TA serial number identification (IMEI)
FI
AT+ICF Set TE-TA control character framing
AT+IFC Set TE-TA local data flow control
AL
AT+IPR Set TE-TA fixed local rate
AT+HVOIC Disconnect voice call only
TI
2.2 Detailed Description of AT Commands According to V.25TER
A/
N
Reference Note
V.25ter
O
ATA Note1: Any additional commands on the same Command line are ignored.
Note2: This command may be aborted generally by receiving a character
O
OK
Response if no connection
NO CARRIER
E
Max Response 20s(voice call)
Time Timeout set with ATS7 (data call)
L
Reference Note
FI
V.25ter See also ATX
AL
2.2.3 ATD Mobile Originated Call to Dial A Number
ATD Mobile Originated Call to Dial A Number
Execution Response
TI
Command This command can be used to set up outgoing voice, data or fax calls. It also
ATD<n>[<mgsm
][;]
EN
serves to control supplementary services.
Note: This command may be aborted generally by receiving an ATH
Command or a character during execution. The aborting is not possible
D
during some states of connection establishment such as handshaking.
FI
NO DIALTONE
C
NO CARRIER
C
E
,(comma), T, P, !, W, @
L
Emergency call:
FI
<n> Standardized emergency number 112 (no SIM needed)
<mgsm> String of GSM modifiers:
I Actives CLIR (Disables presentation of own number to
AL
called party)
i Deactivates CLIR (Enable presentation of own number
TI
to called party)
G Activates Closed User Group invocation for this call
only
g
EN
Deactivates Closed User Group invocation for this call
only
D
<;> Only required to set up voice call , return to Command state
Parameter Saving NO_SAVE
FI
Mode
N
Reference Note
C
V.25ter Parameter "I" and "i" only if no *# code is within the dial string
<n> is default for last number that can be dialed by ATDL
*# codes sent with ATD are treated as voice calls. Therefore, the Command
must be terminated with a semicolon ";"
M
See ATX Command for setting result code and call monitoring parameters.
O
For voice call two different responses mode can be determined. TA returns
"OK" immediately either after dialing was completed or after the call is
M
The current states of all calls can be easily checked at any time by using the
AT+CLCC Command.
E
Command This command can be used to dial a phone number from current phonebook
ATD><n>[<clir> memory.
L
][<cug>][;] Note: This command may be aborted generally by receiving an ATH
FI
command or a character during execution. The aborting is not possible
during some states of connection establishment such as handshaking.
AL
If error is related to ME functionality
+CME ERROR: <err>
TI
If no dial tone and (parameter setting ATX2 or ATX4)
NO DIALTONE EN
If busy and (parameter setting ATX3 or ATX4)
D
BUSY
FI
NO CARRIER
O
OK
M
OK
Parameters
<n> Integer type memory location should be in the range of locations
available in the memory used
<mgsm> String of GSM modifiers:
<clir>
E
G Control the CUG supplementary service information
for this call
L
CUG Not supported
FI
g Control the CUG supplementary service information
for this call
CUG Not supported
AL
<;> Only required to set up voice call , return to command state
Parameter Saving NO_SAVE
TI
Mode
Max Response -
Time
Reference Note
EN
V.25ter Parameter "I" and "i" only if no *# code is within the dial string
D
*# codes sent with ATD are treated as voice calls. Therefore, the command
FI
Field <str>
C
ATD><str>[<clir number.
>][<cug>][;] All available memories are searched for the entry <str>.
O
BUSY
E
If connection successful and non-voice call.
L
CONNECT<text> TA switches to data mode.
FI
Note: <text> output only if ATX<value> parameter setting with the
<value> >0
AL
When TA returns to command mode after call release
OK
TI
If successfully connected and voice call
OK
Parameters
EN
<str> String type (string should be included in quotation marks) value
D
("x"), which should equal to an alphanumeric field in at least one phone
book entry in the searched memories. <str> formatted as current TE
FI
called party)
i Deactivates CLIR (Enable presentation of own number to
C
called party)
G Activates Closed User Group invocation for this call only
g Deactivates Closed User Group invocation for this call only
M
Mode
C
Max Response -
Time
M
Reference Note
V.25ter Parameter "I" and "i" only if no "*#" code is within the dial string
SI
*# codes sent with ATD are treated as voice calls. Therefore, the Command
must be terminated with a semicolon ";"
See ATX Command for setting result code and call monitoring parameters.
Execution Response
Command This command redials the last voice and data call number used.
ATDL Note: This command may be aborted generally by receiving an ATH
Command or a character during execution. The aborting is not possible
during some states of connection establishment such as handshaking.
E
+CME ERROR: <err>
L
If no dial tone and (parameter setting ATX2 or ATX4)
FI
NO DIALTONE
AL
BUSY
TI
If a connection cannot be established
NO CARRIER
EN
If the remote station does not answer
NO ANSWER
D
If connection successful and non-voice call.
FI
<value> >0
O
OK
OK
O
Max Response -
M
Time
Reference Note
SI
V.25ter See ATX Command for setting result code and call monitoring parameters.
Return the numbers and symbols which ATD supports if there is no last
dialing context.
Execution Response
Command This setting determines whether or not the TA echoes characters received
ATE<value> from TE during Command state.
OK
Parameters
<value> 0 Echo mode off
1 Echo mode on
E
Parameter Saving AT&W_SAVE
L
Mode
FI
Max Response -
Time
AL
Reference Note
V.25ter
TI
2.2.8 ATH Disconnect Existing Connection
ATH Disconnect Existing Connection
Execution
Command
Response
EN
Disconnect existing call by local TE from Command line and terminate call
D
ATH OK
Note: OK is issued after circuit 109(DCD) is turned off, if it was previously
FI
on.
N
Mode
Max Response 20s
C
Time
Reference Note
V.25ter
M
Execution Response
Command TA issues product information text
M
ATI
Example:
SI
SIM800 R11.08
OK
Parameter Saving NO_SAVE
Mode
Max Response -
Time
Reference Note
V.25ter
E
Command OK
L
ATL<value> Parameters
FI
<value> 0..9 Volume
Parameter Saving NO_SAVE
Mode
AL
Max Response -
Time
TI
Reference Note
V.25ter No effect in GSM
Command OK
ATM<value> Parameters
N
Mode
C
Max Response -
Time
Reference Note
M
2.2.12 +++ Switch from Data Mode or PPP Online Mode to Command Mode
+++ Switch from Data Mode or PPP Online Mode to Command Mode
C
Execution Response
M
Command The +++ character sequence causes the TA to cancel the data flow over the
+++ AT interface and switch to Command mode. This allows you to enter AT
SI
E
Reference Note
L
V.25ter To return from Command mode back to data mode: Enter ATO.
FI
2.2.13 ATO Switch from Command Mode to Data Mode
ATO Switch from Command Mode to Data Mode
AL
Execution Response
Command TA resumes the connection and switches back from command mode to data
ATO[n] mode.
TI
CONNECT
EN
If connection is not successfully resumed
ERROR
D
else
TA returns to data mode from command mode CONNECT <text>
FI
Max Response -
Time
Reference Note
M
V.25ter
O
Command OK
ATP
SI
E
this setting.
If <n>=0:
L
OK
FI
If <n>=1:
(none)
AL
Parameters
<n> 0 TA transmits result code
1 Result codes are suppressed and not transmitted
TI
Parameter Saving AT&W_SAVE
Mode
Max
Time
Response -
EN
D
Reference Note
V.25ter
FI
2.2.16 ATS0 Set Number of Rings before Automatically Answering the Call
N
OK
Parameters
M
ATS0=<n> This parameter setting determines the number of rings before auto-answer.
C
OK
M
ERROR
Parameters
SI
Time
Reference Note
V.25ter If <n> is set too high, the calling party may hang up before the call can be
answered automatically.
If using cmux port, ATH and AT+CHUP can hang up the call
(automatically answering) only in the CMUX channel 0.
If using dual-physical serial port, ATH and AT+CHUP can hang up the call
E
(automatically answering) only in UART1.
L
2.2.17 ATS3 Set Command Line Termination Character
FI
ATS3 Set Command Line Termination Character
Read Command Response
AL
ATS3? <n>
OK
TI
Parameters
See Write Command
Write Command
ATS3=<n>
Response
EN
This parameter setting determines the character recognized by TA to
D
terminate an incoming command line. The TA also returns this character in
output.
FI
OK
N
ERROR
O
Parameters
<n> 13 Command line termination character
C
Time
Reference Note
O
ATS4? <n>
OK
Parameters
See Write Command
Write Command Response
ATS4=<n> This parameter setting determines the character generated by the TA for
result code and information text.
OK
ERROR
Parameters
<n> 10 Response formatting character
E
Parameter Saving AT&W_SAVE
L
Mode
FI
Max Response -
Time
AL
Reference Note
V.25ter Default 10 = LF. It only supports default value.
TI
2.2.19 ATS5 Set Command Line Editing Character
ATS5 Set Command Line Editing Character
Read Command
ATS5?
Response
<n>
EN
D
OK
FI
Parameters
See Write Command
N
character.
OK
M
ERROR
Parameters
O
Mode
Max Response -
SI
Time
Reference Note
V.25ter Default 8 = Backspace.
OK
Write Command Response
ATS6=<n> OK
E
ERROR
Parameters
L
<n> 0-2-999 Time
FI
Parameter Saving AT&W_SAVE
Mode
AL
Max Response -
Time
Reference Note
TI
V.25ter No effect in GSM
2.2.21 ATS7
ATS7
EN
Set Number of Seconds to Wait for Connection Completion
Set Number of Seconds to Wait for Connection Completion
D
Read Command Response
ATS7? <n>
FI
OK
N
Parameters
O
ATS7=<n> This parameter setting determines the amount of time to wait for the
connection completion in case of answering or originating a call.
OK
M
ERROR
O
Parameters
C
Mode
Max Response -
SI
Time
Reference Note
V.25ter If called party has specified a high value for ATS0=<n>, call setup may fail.
The correlation between ATS7 and ATS0 is important
Example: Call may fail if ATS7=30 and ATS0=20.
ATS7 is only applicable to data call.
2.2.22 ATS8 Set Number of Seconds to Wait for Comma Dial Modifier Encountered in
Dial String of D Command
ATS8 Set Number of Seconds to Wait for Comma Dial Modifier Encountered in Dial
String of D Command
Read Command Response
ATS8? <n>
E
OK
Parameters
L
See Write Command
FI
Write Command Response
ATS8=<n> OK
AL
ERROR
Parameters
TI
<n> 0-2-255 The value of this register determines how long the
modem should pause when it sees a comma in the dialing string.
Parameter Saving AT&W_SAVE
Mode
EN
D
Max Response -
Time
FI
Reference Note
V.25ter No effect in GSM
N
O
2.2.23 ATS10 Set Disconnect Delay after Indicating the Absence of Data Carrier
ATS10 Set Disconnect Delay after Indicating the Absence of Data Carrier
C
OK
Parameters
O
remain connected in absence of data carrier. If the data carrier is once more
detected before disconnecting, the TA remains connected.
SI
OK
ERROR
Parameters
<n> 1-15-254 Number of tenths seconds of delay
Parameter Saving AT&W_SAVE
Mode
Max Response -
Time
Reference Note
V.25ter
E
ATT Select Tone Dialing
L
Execution Response
FI
Command OK
ATT
AL
Parameter Saving AUTO_SAVE
Mode
Max Response -
TI
Time
Reference
V.25ter
Note EN
D
2.2.25 ATV TA Response Format
FI
Command This parameter setting determines the contents of the header and trailer
ATV<value> transmitted with result codes and information responses.
O
When <value>=0
C
0
When <value>=1
OK
Parameters
M
The result codes, their numeric equivalents and brief descriptions of the use
of each are listed in the following table.
SI
E
NO CARRIER 3 The connection has been terminated or the attempt to
L
establish a connection failed
FI
ERROR 4 Command not recognized, Command line maximum length
exceeded, parameter value invalid, or other problem with
processing the Command line
AL
NO DIALTONE 6 No dial tone detected
BUSY 7 Engaged (busy) signal detected
TI
NO ANSWER 8 "@" (Wait for Quiet Answer) dial modifier was used, but
remote ringing followed by five seconds of silence was not
PROCEEDING 9
EN
detected before expiration of the connection timer (S7)
An AT command is being processed
CONNECT Manufacturer- Same as CONNECT, but includes manufacturer-specific
D
<text> specific text that may specify DTE speed, line speed, error control,
FI
2.2.26 ATX Set CONNECT Result Code Format and Monitor Call Progress
ATX Set CONNECT Result Code Format and Monitor Call Progress
O
Execution Response
C
Command This parameter setting determines whether or not the TA detected the
ATX<value> presence of dial tone and busy signal and whether or not TA transmits
particular result codes.
OK
M
O
ERROR
Parameters
C
<value> 0 CONNECT result code only returned, dial tone and busy
M
E
2.2.27 ATZ Reset Default Configuration
ATZ Reset Default Configuration
L
FI
Execution Response
Command TA sets all current parameters to the user defined profile.
ATZ[<value>] OK
AL
ERROR
Parameters
TI
<value> 0 Restore profile 0
Parameter Saving NO_SAVE
Mode
EN
Max Response -
D
Time
Reference Note
FI
V.25ter
N
NOTE:
Parameters related to uart operation, like csclk, ipr, icf, ifc and cmnrp, will not be reset to default configuration.
C
Execution Response
Command This parameter determines how the state of circuit 109 (DCD) relates to the
O
OK
M
ERROR
Parameters
SI
Reference Note
V.25ter
E
AT&D[<value>] is changed from the ON to the OFF condition during data mode.
OK
L
FI
ERROR
Parameters
AL
<value> 0 TA ignores status on DTR.
1 ON->OFF on DTR: Change to Command mode with
remaining the connected call.
TI
2 ON->OFF on DTR: Disconnect call, change to Command
mode. During state DTR = OFF is auto-answer off.
Parameter Saving AT&W_SAVE
Mode
EN
D
Max Response -
Time
FI
Reference Note
V.25ter
N
O
Execution Response
Command TA sets all current parameters to the manufacturer defined profile.
AT&F[<value>] OK
M
Parameters
<value> 0 Set all TA parameters to manufacturer defaults.
O
Mode
Max Response -
M
Time
SI
Reference Note
V.25ter
E
ERROR
Parameters
L
<n> 0 Responses in numeric format
FI
Parameter Saving NO_SAVE
Mode
AL
Max Response -
Time
TI
Reference Note
V.25ter
AT&W[<n>] OK
N
ERROR
O
Parameters
<n> 0 Store the current configuration in profile 0
C
Time
O
Reference Note
V.25ter The user defined profile is stored in non volatile memory.
C
ATS0 <num> Y
ATS3 <char> Y
ATS4 <char> Y
ATS5 <char> Y
ATS6 <short> Y
ATS7 <time> Y
ATS8 <time> Y
ATS10 <time> Y
AT+CBST <speed>,<name>,<ce> Y
AT+CRLP <iws>,<mws>,<T1>,<N2> Y
ATV <format> Y
ATE <echo> Y
ATQ <result> Y
E
ATX <result> Y
L
AT&C <behavior> Y
FI
AT&D <behavior> Y
AT+CLTS <timestamp> Y
AL
AT+CREG <n> Y
AT+CGREG <n> Y
TI
AT+CMEE <n> Y
AT+CSCLK <n> Y
AT+CIURC
AT+CFGRI
<mode>
<mode>
EN Y
Y
AT+CANT <mode>,<UrcEnable>,<timer> Y
D
AT+STKPCIS <switch> Y
FI
AT+CMGF <mode> Y
AT+CNMI <mode>,<mt>,<bm>,<ds>,<bfr> Y
N
AT+CSCS <chest> Y
O
AT+VTD <n> Y
AT+CALS <n> Y
C
AT+CHF <ind> Y
AT+CAAS <mode> Y
AT+CBUZZERRING <mode> Y
M
AT+DDET <n> Y
O
AT+MORING <mode> Y
AT+SVR <voice_rate_coding> Y
C
AT+CCPD <mode> Y
M
AT+CSGS <mode> Y
AT+CNETLIGHT <mode> Y
SI
AT+SLEDS <mode>,<timer_on>,<timer_off> Y
AT+CSDT <mode> Y
AT+CSMINS <n> Y
AT+EXUNSOL <exunsol> Y
AT+IPR <n> Y
E
AT+FSHEX <n> Y
L
FI
2.2.33 AT+GCAP Request Complete TA Capabilities List
AT+GCAP Request Complete TA Capabilities List
AL
Execution Response
Command TA reports a list of additional capabilities.
AT+GCAP +GCAP: list of supported <name>s
TI
OK
Parameters
<name>
EN
+CGSM GSM function is supported
Parameter Saving NO_SAVE
D
Mode
FI
Max Response -
Time
N
Reference Note
O
V.25ter
C
AT+GMI=? OK
Parameters
O
C
Execution TA reports one or more lines of information text which permit the user to
Command identify the manufacturer.
M
AT+GMI SIMCOM_Ltd
SI
OK
Reference Note
V.25ter
L E
Execution TA reports one or more lines of information text which permit the user to
Command identify the specific model of device.
FI
AT+GMM <model>
AL
OK
Parameters
<model> Product model identification text
TI
Parameter Saving NO_SAVE
Mode
Max Response -
EN
Time
D
Reference Note
FI
V.25ter
N
AT+GMR=? OK
Execution TA reports one or more lines of information text which permit the user to
M
OK
C
Parameters
M
Mode
Max Response -
Time
Reference Note
V.25ter
Execution Response
Command TA reports one or more lines of information text which permit the user to
E
AT+GOI identify the device, based on the ISO system for registering unique object
L
identifiers.
<Object Id>
FI
OK
AL
Parameters
<Object Id> Identifier of device type
see X.208, 209 for the format of <Object Id>
TI
Parameter Saving NO_SAVE
Mode
Max Response -
EN
Time
D
Reference Note
V.25ter
FI
Execution Response
Command TA reports the IMEI (international mobile equipment identifier) number in
M
AT+GSN information text which permit the user to identify the individual ME device.
<sn>
O
OK
C
Parameters
M
OK
Parameters
E
See Write Command
L
Read Command Response
AT+ICF? +ICF: <format>,<parity>
FI
OK
AL
Parameters
See Write Command
TI
Write Command Response
AT+ICF=<forma This parameter setting determines the serial interface character framing
t>[,<parity>]
EN
format and parity received by TA from TE.
OK
D
Parameters
<format> 1 8 data 0 parity 2 stop
FI
<parity> 0 odd
1 even
3 space (0)
M
Max Response -
Time
C
Reference Note
M
The <parity> field is ignored if the <format> field specifies no parity and
string "+ICF: <format>,255" will be response to "AT+ICF? " Command.
OK
Parameters
See Write Command
Read Command Response
E
AT+IFC? +IFC: <dce_by_dte>,<dte_by_dce>
L
OK
FI
Parameters
See Write Command
AL
Write Command Response
AT+IFC=<dce_b This parameter setting determines the data flow control on the serial
y_dte>[,<dte_by interface for data mode.
TI
_dce>] OK
Parameters
<dce_by_dte>
data from TA
EN
Specifies the method will be used by TE at receive of
0 No flow control
D
1 Software flow control
FI
from TE
0 No flow control
O
Max Response -
O
Time
Reference Note
C
V.25ter
M
OK
Parameters
See Write Command
Read Command Response
AT+IPR? +IPR: <rate>
OK
Parameters
E
See Write Command
L
Write Command Response
AT+IPR=<rate> This parameter setting determines the data rate of the TA on the serial
FI
interface. The rate of Command takes effect following the issuance of any
result code associated with the current Command line.
AL
OK
Parameters
<rate> Baud rate per second
TI
0 (Auto-bauding)
1200
2400
4800
EN
9600
D
19200
FI
38400
57600
N
115200
230400
O
460800
C
Reference Note
O
2.2.41.1 Auto-bauding
M
Synchronization between DTE and DCE ensure that DTE and DCE are correctly synchronized and
the baud rate used by the DTE is detected by the DCE (= ME).To allow the baud rate to be
SI
synchronized, simply issue an "AT" string. This is necessary when you start up the module while
auto-bauding is enabled. It is recommended to wait 3 to 5 seconds before sending the first AT
character. Otherwise undefined characters might be returned.
If you want to use auto-bauding and auto-answer at the same time, you can easily enable the
DTE-DCE synchronization, when you activate auto-bauding first and then configure the
auto-answer mode.
E
auto-bauding is enabled.
L
FI
It is not recommended to switch to auto-bauding from a baud rate that cannot be detected by the
auto-bauding mechanism (e.g. 300 baud). Responses to +IPR=0 and any commands on the same
line might be corrupted.
AL
Auto-bauding and baud rate after restart
TI
The most recently detected baud rate can not be stored when module is powered down.
OK
N
Mode
Max Response 20s
C
Time
Reference Note
V.25ter
M
O
C
M
SI
Command Description
AT+CACM Accumulated call meter(ACM) reset or query
E
AT+CAMM Accumulated call meter maximum(ACM max) set or query
L
AT+CAOC Advice of charge
FI
AT+CBST Select bearer service type
AT+CCFC Call forwarding number and conditions control
AL
AT+CCWA Call waiting control
AT+CEER Extended error report
TI
AT+CGMI Request manufacturer identification
AT+CGMM Request model identification
AT+CGMR
AT+CGSN
EN
Request TA revision identification of software release
Request product serial number identification (identical with +GSN)
AT+CSCS Select TE character set
D
AT+CSTA Select type of address
FI
E
AT+COPN Read operator names
L
AT+CFUN Set phone functionality
FI
AT+CCLK Clock
AT+CSIM Generic SIM access
AL
AT+CALM Alert sound mode
AT+CALS Alert sound select
TI
AT+CRSL Ringer sound level
AT+CLVL Loud speaker volume level
AT+CMUT
AT+CPUC
Mute control EN
Price per unit and currency table
AT+CCWE Call meter maximum event
D
AT+CBC Battery charge
FI
+CACM: <acm>
M
OK
SI
E
Parameters
<passwd> String type (string should be included in quotation marks):
L
SIM PIN2
FI
Parameter Saving NO_SAVE
Mode
AL
Max Response -
Time
Reference Note
TI
3GPP TS 27.007
[13]
EN
3.2.2 AT+CAMM Accumulated Call Meter Maximum (ACM max) Set or Query
D
AT+CAMM Accumulated Call Meter Maximum(ACM max) Set or Query
Test Command Response
FI
AT+CAMM=? OK
N
+CAMM: <acmmax>
C
OK
If error is related to ME functionality:
+CME ERROR: <err>
M
Parameters
O
AT+CAMM=<ac TA sets the Advice of Charge related accumulated call meter maximum
M
mmax>[,<passwd value in SIM file EF (ACM max). ACM max contains the maximum
>] number of home units allowed to be consumed by the subscriber.
SI
OK
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<acmmax> String type (string should be included in quotation
marks); three bytes of the max. ACM value in hex-decimal format (e.g.
E
Max Response -
Time
L
Reference Note
FI
3GPP TS 27.007
[13]
AL
3.2.3 AT+CAOC Advice of Charge
AT+CAOC Advice of Charge
TI
Test Command Response
AT+CAOC=?
OK
EN
+CAOC: (list of supported <mode>s)
D
Parameters
See Write Command
FI
OK
Parameters
C
OK
C
OK
If <mode>=2, TA activates the unsolicited reporting of CCM value
SI
OK
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<mode> 0 Query CCM value
E
Command +CAOC: <ccm>
AT+CAOC
L
OK
FI
Parameter Saving NO_SAVE
Mode
AL
Max Response -
Time
Reference Note
TI
3GPP TS 27.007
[13]
OK
Parameters
C
OK
O
Parameters
See Write Command
C
AT+CBST=<spee TA selects the bearer service <name> with data rate <speed>, and the
d>[,<name>[,<ce connection element <ce> to be used when data calls are originated.
SI
>]] OK
ERROR
Parameters
<speed> 0 Auto-bauding (automatic selection of the speed; this
setting is possible in case of 3.1kHz modern and non-transparent service)
4 2400 bps (V.22bis)
E
71 9600 bps (V.110 or X.31 flag stuffing)
75 14400 bps (V.110 or X.31 flag stuffing)
L
<name> 0 Data circuit asynchronous (UDI or 3.1 kHz modem)
FI
4 Data circuit asynchronous (RDI)
<ce> 0 Transparent
1 Non-transparent
AL
2 Both, transparent prefered
3 Both, non-transparent prefered
TI
Parameter Saving AT&W_SAVE
Mode
Max
Time
Response - EN
Reference Note
D
3GPP TS 27.007 GSM 02.02[1]: lists the allowed combinations of the sub parameters.
FI
[14]
N
OK
M
Parameters
See Write Command
O
number>[,<type Only ,<reads> and <mode> should be entered with mode (0-2,4)
>[,<class>[,<sub If <mode>≠2 and Command successful
SI
addr>[,<satype>[ OK
,time]]]]]] If <mode>=2 and Command successful (only in connection with <reason>
0-3)
For registered call forwarding numbers:
when <mode>=2 and command successful:
+CCFC:
<status>,<class1>[,<number>,<type>[,<subaddr>,<satype>[,<time>]]]
[<CR><LF>+CCFC:
<status>,<class2>[,<number>,<type>[,<subaddr>,<satype>[,<time>]]][
…]
OK
If no call forwarding numbers are registered (and therefore all classes are
inactive):
+CCFC: <status>, <class>
E
OK
L
where <status>=0 and <class>=7
FI
If error is related to ME functionality:
+CME ERROR: <err>
AL
Parameters
<reason> 0 Unconditional
TI
1 Mobile busy
2 No reply
3 Not reachable EN
4 All call forwarding
5 All conditional call forwarding
D
<mode> 0 Disable
1 Enable
FI
2 Query status
3 Registration
N
4 Erasure
O
7 All classes
<time> 1..30 When "no reply" is enabled or queried, this gives the time
SI
E
Test Command Response
L
AT+CCWA=? +CCWA: (list of supported <n>s)
FI
OK
Parameters
AL
See Write Command
Read Command Response
AT+CCWA? +CCWA: <n>
TI
OK
Parameters
See Write Command
EN
D
Write Command Response
AT+CCWA=<n>[, TA controls the Call Waiting supplementary service. Activation,
FI
OK
O
<status>,<class1>[<CR><LF>+CCWA:<status>,<class2>[...]]
OK
M
ERROR
If error is related to ME functionality:
O
Note: <status>=0 should be returned only if service is not active for any
M
1 Enable
2 Query status
<class> Is a sum of integers each representing a class of information
1 Voice (telephony)
2 Data (refers to all bearer services; with <mode>=2 this
may refer only to some bearer service if TA does not support values 16,
32, 64 and 128
E
4 Fax (facsimile services)
7 Default(1+2+4)
L
<status> 0 Not active
FI
1 Active
Unsolicited result code
RING
AL
+CCWA: <number>,<type>,<class>[,<alpha>]
TI
Parameters
<number> String type (string should be included in quotation marks)
<type>
EN
phone number of calling address in format specified by <type>
Type of address octet in integer format;
129 Unknown type
D
161 National number type
145 International number type
FI
Mode
Max Response 15s
Time
M
Reference Note
3GPP TS 27.007
O
C
OK
Parameters
See Write Command
Read Command Response
AT+CEER? +CEER: <n>
OK
Parameters
See Write Command
Write Command Response
AT+CEER=<n> OK
Parameter
E
<n> 0 The reason for last call release as text code
L
1 The reason for last call release as number code
Execution Response
FI
Command TA returns an extended report of the reason for the last call release.
AT+CEER +CEER: <report>
AL
OK
Parameters
TI
<report> If AT+CEER=0, return <s>
<s> a string that represents the Cause
If AT+CEER=1, return
Cause:<c>
EN
<c> number representing the Cause
D
Parameters
FI
<c>(number) <s>(string)
0 (No cause)
N
6 (channel unacceptable)
8 (operator determined barring)
16 (normal call clearing)
M
17 (user busy)
O
21 (call rejected)
M
22 (number changed)
SI
E
44 (requested circuit/channel not available)
47 (resource unavailable, unspecified)
L
49 (quality of service unavailable)
FI
50 (Requested facility not subscribed)
AL
55 (Incoming calls barred within the CUG)
57 (bearer capability not authorized)
58 (bearer capability not presently available)
TI
63 (service or option not available, unspecified)
68
65
EN
(ACM equal to or greater than ACMmax)
(bearer service not implemented)
D
69 (Requested facility not implemented)
70 (only restricted digital information bearer capability is
FI
available)
79 (service or option not implemented,unspecified)
N
88 (incompatible destination)
91 (invalid transit network selection)
95 (semantically incorrect message)
M
Mode
Max Response -
Time
Reference Note
3GPP TS 27.007
[13]
E
3.2.8 AT+CGMI Request Manufacturer Identification
AT+CGMI Request Manufacturer Identification
L
FI
Test Command Response
AT+CGMI=? OK
Execution Response
AL
Command TA returns manufacturer identification text.
AT+CGMI <manufacturer>
TI
OK
Parameters
<manufacturer>
EN
The ID of manufacturer
Parameter Saving NO_SAVE
D
Mode
Max Response -
FI
Time
N
Reference Note
3GPP TS 27.007
O
[13]
C
AT+CGMM=? OK
O
Execution Response
Command TA returns product model identification text.
C
AT+CGMM <model>
M
OK
SI
Parameters
<model> Product model identification text
Parameter Saving NO_SAVE
Mode
Max Response -
Time
Reference Note
3GPP TS 27.007
[13]
E
AT+CGMR=? OK
L
Execution Response
Command TA returns product software version identification text.
FI
AT+CGMR Revision: <revision>
AL
OK
Parameters
<revision> Product software version identification text
TI
Parameter Saving NO_SAVE
Mode
Max
Time
Response -
EN
D
Reference Note
3GPP TS 27.007
FI
[13]
N
3.2.11 AT+CGSN Request Product Serial Number Identification (Identical with +GSN)
O
AT+CGSN=? OK
Execution Response
Command see +GSN
M
AT+CGSN <sn>
O
OK
C
Parameters
<sn> International mobile equipment identity (IMEI)
M
Mode
Max Response -
Time
Reference Note
3GPP TS 27.007
[13]
OK
Parameters
E
<chset> "GSM" GSM 7 bit default alphabet (3GPP TS 23.038);
"UCS2" 16-bit universal multiple-octet coded character set
L
(ISO/IEC10646); UCS2 character strings are converted to
FI
hexadecimal numbers from 0000 to FFFF; e.g.
"004100620063" equals three 16-bit characters with decimal
AL
values 65, 98 and 99
"IRA" International reference alphabet (ITU-T T.50)
"HEX" Character strings consist only of hexadecimal
TI
bers from 00 to FF;
"PCCP" PC character set Code
EN
"PCDN" PC Danish/Norwegian character set
"8859-1" ISO 8859 Latin 1 character set
D
Read Command Response
AT+CSCS? +CSCS: <chset>
FI
OK
N
Parameters
O
AT+CSCS=<chse Sets which character set <chset> are used by the TE. The TA can then
t> convert character strings correctly between the TE and ME character sets.
OK
M
Parameters
C
Mode
SI
Max Response -
Time
Reference Note
3GPP TS 27.007
[13]
OK
Parameters
E
See Write Command
L
Read Command Response
AT+CSTA? +CSTA: <type>
FI
OK
AL
Parameter
<type> Current address type setting.
TI
Write Command Response
AT+CSTA=<type OK
>
EN
If <type> is not in the parameter range:
ERROR
D
Parameters
<type> Type of address octet in integer format;
FI
Mode
Max Response -
Time
M
Reference Note
3GPP TS 27.007 The ATD Command overrides this setting when a number is dialed.
O
[13]
C
OK
Parameters
See Write Command
Write Command Response
AT+CHLD=<n> TA controls the supplementary services Call Hold, Multiparty and Explicit
Call Transfer. Calls can be put on hold, recovered, released, added to
conversation, and transferred.
Note These supplementary services are only applicable to tele service 11
(Speech: Telephony).
OK
E
If error is related to ME functionality:
+CME ERROR: <err>
L
Parameters
FI
<n> 0 Releases all held calls or sets User Determined User Busy
(UDUB) for a waiting call
1 Releases all active calls (if any exist) and accepts the other
AL
(held or waiting) call.
1x Releases a specific call x
TI
2 Place all active calls on hold (if any) and accept the other
(held or waiting) call.
EN
2x Places all active calls on hold except call X with which
communication shall be supported.
3 Adds a held call to the conversation.
D
4 Connects the two calls and disconnects the subscriber from
both calls(ECT)
FI
Mode
Max Response 20s
O
Time
C
Reference Note
Execution Response
M
<IMSI>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<IMSI> International Mobile Subscriber Identity (string without
double quotes)
Parameter Saving NO_SAVE
Mode
Max Response 20s
Time
Reference Note
3GPP TS 27.007
E
[13]
L
3.2.16 AT+CLCC List Current Calls of ME
FI
AT+CLCC List Current Calls of ME
Test Command Response
AL
AT+CLCC=? +CLCC: (0,1)
OK
TI
Parameters
Read Command
See Write Command
Response
EN
AT+CLCC? +CLCC: <n>
D
OK
FI
Parameters
See Write Command
N
AT+CLCC=<n> OK
C
Parameters
<n> 0 Don’t report a list of current calls of ME automatically
when the current call status changes.
1 Report a list of current calls of ME automatically when the
M
Execution Response
Command TA returns a list of current calls of ME.
C
[+CLCC: <id1>,<dir>,<stat>,<mode>,<mpty>[,<number>,<type
SI
>,<alphaID>]
[<CR><LF>+CLCC: <id2>,<dir>,<stat>,<mode>,<mpty>
[,<number>,<type>,<alphaID>][...]]]
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<idx> 1..7 Call identification number
This number can be used in +CHLD command operations
<dir> 0 Mobile originated (MO) call
1 Mobile terminated (MT) call
<stat> State of the call:
0 Active
1 Held
E
2 Dialing (MO call)
L
3 Alerting (MO call)
FI
4 Incoming (MT call)
5 Waiting (MT call)
6 Disconnect
AL
<mode> Bearer/tele service:
0 Voice
1 Data
TI
2 Fax
<mpty> 0 Call is not one of multiparty (conference) call parties
EN
1 Call is one of multiparty (conference) call parties
<number> String type (string should be included in quotation marks)
phone number in format specified by <type>.
D
<type> Type of address
FI
Mode
C
Max Response -
Time
Reference Note
M
3GPP TS 27.007
[13][14]
O
OK
Parameters
See Write Command
Write Command Response
AT+CLCK=<fac> This Command is used to lock, unlock or interrogate a ME or a network
E
If <mode>=2 and Command is successful
+CLCK: <status>[,<class1>[<CR><LF>+CLCK:
L
<status>,<class2>[…]]
FI
OK
If error is related to ME functionality:
AL
+CME ERROR: <err>
Parameters
TI
<fac>
"AO" BAOC (Barr All Outgoing Calls)
"OX"
EN
"OI" BOIC (Barr Outgoing International Calls)
BOIC-exHC (Barr Outgoing International Calls
except to Home Country)
D
"AI" BAIC (Barr All Incoming Calls)
"IR" BIC-Roam (Barr Incoming Calls when Roaming
FI
USIM) fixed dialling memory feature (if PIN2 authentication has not been
O
<mode> 0 unlock
M
1 lock
2 query status
SI
<passwd> String type (Shall be the same as password specified for the
facility from the MT user interface or with command Change Password
+CPWD)
<class> 1 Voice (telephony)
2 Data refers to all bearer services; with <mode>=2 this
may refer only to some bearer service if TA does not support values 16,
32, 64 and 128)
E
Time
L
Reference Note
3GPP TS 27.007 CME errors if SIM not inserted or PIN is not entered.
FI
[14] Part of the projects supported by this AT command, please refer to
chapter 21 for details.
AL
3.2.18 AT+CLIP Calling Line Identification Presentation
AT+CLIP Calling Line Identification Presentation
TI
Test Command Response
AT+CLIP=? +CLIP: (list of supported <n>s)
OK
EN
D
Parameters
See Write Command
FI
OK
If error is related to ME functionality:
C
Parameters
E
<number> String type (string should be included in quotation marks)
phone number of calling address in format specified by <type>.
L
<type> Type of address octet in integer format;
FI
129 Unknown type
161 National number type
145 International number type
AL
177 Network specific number
<subaddr> String type (subaddress of format specified by <satype>)
TI
<satype> Integer type (type of subaddress)
<alphaId> String type (string should be included in quotation marks)
EN
alphanumeric representation of <number> corresponding to the entry
found in phone book.
<CLI validity>
D
0 CLI valid
1 CLI has been withheld by the originator.
FI
Mode
Max Response 15s
C
Time
Reference Note
M
OK
SI
Parameters
See Write Command
Read Command Response
AT+CLIR? +CLIR: <n>, <m>
OK
E
The Command overrides the CLIR subscription (default is restricted or
allowed) when temporary mode is provisioned as a default adjustment for
L
all following outgoing calls. This adjustment can be revoked by using the
FI
opposite Command.
OK
AL
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
TI
<n> (parameter sets the adjustment for outgoing calls):
0 Presentation indicator is used according to the subscription of
the CLIR service.
1 CLIR invocation
EN
2 CLIR suppression
D
<m> (parameter shows the subscriber CLIR service status in the
FI
network):
0 CLIR not provisioned
N
Reference Note
C
M
OK
Parameters
See Write Command
OK
Parameters
See Write Command
Write Command Response
E
AT+CMEE=[<n> TA disables or enables the use of result code +CME ERROR: <err> as
] an indication of an error relating to the functionality of the ME.
L
OK
FI
If error is related to ME functionality:
+CME ERROR:<err>
AL
Parameters
<n> 0 Disable +CME ERROR: <err> result code and use
ERROR instead.
TI
1 Enable +CME ERROR: <err> result code and use numeric
<err>
2
verbose <err> values
EN
Enable +CME ERROR: <err> result code and use
Max Response -
Time
N
Reference Note
O
3GPP TS 27.007
[13]
C
OK
C
Parameters
M
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
E
OK
If error is related to ME functionality:
L
+CME ERROR: <err>
FI
Parameters
<n> (parameter sets/shows the result code presentation status in the
AL
TA):
0 Disable +COLP notification
1 Enable +COLP notification
TI
<m> (parameter shows the subscriber COLP service status in the
network):
EN
0 COLP not provisioned
1 COLP provisioned
2 Unknown (e.g. no network, etc.)
D
Intermediate result code
FI
Reference Note
E
the network. Any of the formats may be unavailable and should then be an
empty field. The list of operators shall be in order: home network,
L
networks referenced in SIM, and other networks.
FI
+COPS: (list of supported<stat>,long alphanumeric<oper>,short
AL
alphanumeric<oper>,numeric <oper>)s[,,(list of supported <mode>s),
(list of supported <format>s)]
TI
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
EN
See Write Command
D
Read Command Response
FI
AT+COPS? TA returns the current mode and the currently selected operator. If no
operator is selected, <format> and <oper> are omitted.
N
OK
C
AT+COPS=<mo TA forces an attempt to select and register the GSM network operator. If
de>,[<format>[,< the selected operator is not available, no other operator shall be selected
C
oper>]] (except <mode>=4). The selected operator name format shall apply to
further read commands (AT+COPS?).
M
SI
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<stat> 0 Unknown
1 Operator available
2 Operator current
3 Operator forbidden
<oper> Refer to [27.007]
operator in format as per <format>
<mode> 0 Automatic mode; <oper> field is ignored
1 Manual (<oper> field shall be present, and <AcT>
optionally)
2 manual deregister from network
E
3 set only <format> (for read Command +COPS?) - not
shown in Read Command response
L
4 Manual/automatic (<oper> field shall be present); if
FI
manual selection fails, automatic mode (<mode>=0) is
entered
<format> 0 Long format alphanumeric <oper>
AL
1 Short format alphanumeric <oper>
2 Numeric <oper>; GSM Location Area Identification
TI
number
Parameter Saving AUTO_SAVE
Mode
Max Response Test command: 45 seconds
EN
Time Write command: 120 seconds
D
Reference Note
FI
3GPP TS 27.007
[14]
N
OK
M
Parameters
O
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<pas> 0 Ready (MT allows commands from TA/TE)
2 Unknown (MT is not guaranteed to respond to
tructions)
E
Time
L
Reference Note
3GPP TS 27.007
FI
[13]
AL
3.2.24 AT+CPBF Find Phonebook Entries
AT+CPBF Find Phonebook Entries
Test Command Response
TI
AT+CPBF=? +CPBF: maximum length of field <nlength>,maximum length of field
<tlength>
OK
EN
D
If error is related to ME functionality:
+CME ERROR: <err>
FI
Parameters
See Write Command
N
AT+CPBF=[<find TA returns phone book entries(from the current phone book memory
text>] storage selected with +CPBS) which contains alphanumeric string
C
<findtext>.
[+CPBF:<index1>,<number>,<type>,<text>]
M
[[…]<CR><LF>+CBPF:<index2>,<number>,<type>,<text>]
O
OK
Parameters
C
E
<tlength> Integer type value indicating the maximum length of field
<text>
L
Parameter Saving NO_SAVE
FI
Mode
Max Response 30 seconds (complete reading of a 250 records full phonebook)
AL
Time 3 seconds(string present in a 250 records full phonebook)
1 second(string not present)
We use the China Mobile sim cards for testing, which produced by Axalto
TI
at 2010 for Shanghai. Use other sim cards may have different results.
Reference Note
3GPP TS 27.007
[13]
EN
D
3.2.25 AT+CPBR Read Current Phonebook Entries
FI
OK
M
Parameters
<index> Location number
O
+CPBR:<index1>,<number>,<type>,<text>
[[…]<CR><LF>+CPBR: <index2>, <number>, <type>, <text>]
OK
Parameters
E
Mode
Max Response 3 seconds (single reading)
L
Time 30 seconds (complete reading of a 250 records full phonebook.
FI
We use the China Mobile sim cards for testing, which produced by Axalto
at 2010 for Shanghai. Use other sim cards may have different results.
AL
Reference Note
3GPP TS 27.007
[13]
TI
3.2.26 AT+CPBS Select Phonebook Memory Storage
AT+CPBS Select Phonebook Memory Storage
Test Command Response
EN
D
AT+CPBS=? +CPBS: (list of supported <storage>s)
FI
OK
Parameters
N
OK
Parameters
M
AT+CPBS=<stora TA selects current phone book memory storage, which is used by other
ge> phone book commands.
C
OK
M
Parameters
<storage>
SI
E
selected
<used> Integer type value indicating the total number of used
L
locations in selected memory
FI
<total> Integer type value indicating the total number of locations
in selected memory
Parameter Saving NO_SAVE
AL
Mode
Max Response 3 seconds
TI
Time
Reference Note
3GPP TS 27.007
[13]
EN
D
3.2.27 AT+CPBW Write Phonebook Entry
FI
AT+CPBW=? TA returns location range supported by the current storage, the maximum
length of <number> field, supported number formats of the storage, and
O
OK
O
Parameters
See Write Command
C
AT+CPBW=<inde TA writes phone book entry in location number <index> in the current
x>[,<number>,[<t phone book memory storage selected with +CPBS. Entry fields written are
SI
ype>,[<text>]]] phone number <number> (in the format <type>) and text <text>
associated with the number. If those fields are omitted, phone book entry is
deleted. If <index> is left out, but <number> is given, entry is written to
the first free location in the phone book.
OK
Parameters
<nlength> Max length of phone number
E
for phone number in current TE character set specified by +CSCS.
Note: The following characters in <text> must be entered via the
L
escape sequence:
FI
GSM char. Seq. Seq.(hex) Note
\ \5C 5C 35 43 (backslash)
" \22 5C 32 32 (string delimiter)
AL
BSP \08 5C 30 38 (backspace)
NULL \00 5C 30 30 (GSM null)
TI
‘0’ (GSM null) may cause problems for application layer software
when reading string lengths.
Parameter
Mode
Saving NO_SAVE EN
Max Response 3 seconds
D
Time
FI
Reference Note
3GPP TS 27.007
N
[13]
O
required or not.
+CPIN: <code>
C
OK
M
Parameters
SI
<code>
READY MT is not pending for any password
SIM PIN MT is waiting SIM PIN to be given
SIM PUK MT is waiting for SIM PUK to be given
PH_SIM PIN ME is waiting for phone to SIM card (antitheft)
PH_SIM PUK ME is waiting for SIM PUK (antitheft)
SIM PIN2 PIN2, e.g. for editing the FDN book possible only
E
If the PIN required is SIM PUK or SIM PUK2, the second pin is required.
This second pin, <new pin>, is used to replace the old pin in the SIM.
L
OK
FI
If error is related to ME functionality:
+CME ERROR: <err>
AL
Parameters
<pin> String type; password
<new pin> String type; If the PIN required is SIM PUK or SIMPUK2:
TI
new password
Parameter Saving NO_SAVE
Mode
Max Response 5s
EN
Time
D
Reference Note
FI
3GPP TS 27.007
[13]
N
OK
Parameters
C
E
"SC" SIM (lock SIM/UICC card) (SIM/UICC asks password
in MT power-up and when this lock command issued) Correspond to PIN1
L
code.
FI
<oldpwd> String type (string should be included in quotation marks):
password specified for the facility from the user interface or with
command. If an old password has not yet been set, <oldpwd> is not to
AL
enter.
<newpwd> String type (string should be included in quotation marks):
TI
new password
Parameter Saving NO_SAVE
Mode
Max Response 15s
EN
Time
D
Reference Note
FI
3GPP TS 27.007
[13]
N
OK
M
Parameters
O
OK
SI
Parameters
See Write Command
Write Command Response
AT+CR=[<mode TA controls whether or not intermediate result code +CR: <serv> is
>] returned from the TA to the TE at a call set up.
OK
Parameters
<mode> 0 Disable
1 Enable
Intermediate result code
If enabled, an intermediate result code is transmitted at the point during
connect negotiation at which the TA has determined which speed and
quality of service will be used, before any error control or data
E
compression reports are transmitted, and before any final result code (e.g.
CONNECT) is transmitted.
L
+CR:<serv>
FI
Parameters
<serv> ASYNC Asynchronous transparent
AL
SYNC Synchronous transparent
REL ASYNC Asynchronous non-transparent
REL SYNC Synchronous non-transparent
TI
GPRS For GPRS
Parameter Saving NO_SAVE
Mode
Max Response -
EN
Time
D
Reference Note
FI
3GPP TS 27.007
[13]
N
3.2.31 AT+CRC Set Cellular Result Codes for Incoming Call Indication
O
OK
Parameters
O
OK
SI
Parameters
See Write Command
Write Command Response
AT+CRC=[<mod TA controls whether or not the extended format of incoming call
e>] indication is used.
OK
Parameters
<mode> 0 Disable extended format
1 Enable extended format
Omitted Use previous value
Unsolicited Result Code
When enabled, an incoming call is indicated to the TE with unsolicited
result code +CRING: <type> instead of the normal RING.
E
Parameters
<type> ASYNC Asynchronous transparent
L
SYNC Synchronous transparent
FI
REL ASYNC Asynchronous non-transparent
REL SYNC Synchronous non-transparent
AL
FAX Facsimile
VOICE Voice
Parameter Saving NO_SAVE
TI
Mode
Max Response -
Time
Reference Note
EN
3GPP TS 27.007
D
[13]
FI
OK
Parameters
M
AT+CREG? TA returns the status of result code presentation and an integer <stat>
which shows whether the network has currently indicated the registration
C
of the ME. Location information elements <lac> and <ci> are returned
M
OK
If error is related to ME functionality:
+CME ERROR: <err>
Write Command Response
AT+CREG=[<n> TA controls the presentation of an unsolicited result code +CREG: <stat>
E
location information +CREG: <stat>[,<lac>,<ci>]
<stat> 0 Not registered, MT is not currently searching a new
L
operator to register to
FI
1 Registered, home network
2 Not registered, but MT is currently searching a new
operator to register to
AL
3 Registration denied
4 Unknown
TI
5 Registered, roaming
<lac> String type (string should be included in quotation marks);
<ci>
EN
two byte location area code in hexadecimal format
String type (string should be included in quotation marks);
two byte cell ID in hexadecimal format
D
Unsolicited Result Code
If <n>=1 and there is a change in the MT network registration status
FI
+CREG: <stat>
N
+CREG: <stat>[,<lac>,<ci>]
Parameters
C
Max Response -
Time
O
Reference Note
C
3GPP TS 27.007
[13]
M
SI
OK
Parameters
See Write Command
Read Command Response
AT+CRLP? TA returns current settings for RLP version. RLP versions 0 and 1 share
the same parameter set.
E
+CRLP: <iws>,<mws>,<T1>,<N2>,<T4>
L
FI
OK
Parameters
AL
See Write Command
Write Command Response
AT+CRLP=<iws TA sets radio link protocol (RLP) parameters used when non-transparent
TI
>[,<mws>[,<T1>[ data calls are setup.
,<N2>[,<T4>]]]] OK
Parameters EN
<iws> 0-61 Interworking window size (IWF to MS)
<mws> 0-61 Mobile window size(MS to IWF)
D
<T1> 44-255 Acknowledgment timer T1 in 10 ms units
FI
Mode
Max Response -
C
Time
Reference Simcom redefine param`s value range
3GPP TS 27.007
M
[13]
O
AT+CRSM=? OK
Write Command Response
SI
Parameters
<Command>
176 READ BINARY
178 READ RECORD
192 GET RESPONSE
214 UPDATE BINARY
220 UPDATE RECORD
E
242 STATUS
All other values are reserved; refer GSM 11.11.
L
<fileId> Integer type; this is the identifier for an elementary data file on
FI
SIM. Mandatory for every Command except STATUS
<P1>,<P2>,<P3> Integer type, range 0 – 255
Parameters to be passed on by the ME to the SIM; refer GSM
AL
11.11.
<data> Information which shall be written to the SIM (hex-decimal
TI
character format)
<sw1>, <sw2> Integer type, range 0 - 255
EN
Status information from the SIM about the execution of the
actual Command. These parameters are delivered to the TE in
both cases, on successful or failed execution of the Command;
D
refer GSM 11.11.
<response> Response of a successful completion of the Command
FI
Mode
O
Max Response -
Time
C
Reference Note
3GPP TS 27.007
GSM 11.11
M
OK
SI
Execution Response
Command +CSQ: <rssi>,<ber>
AT+CSQ
OK
If error is related to ME functionality:
+CME ERROR: <err>
E
2...30 -110... -54 dBm
31 -52 dBm or greater
L
99 not known or not detectable
FI
<ber> (in percent):
0...7 As RXQUAL values in the table in GSM 05.08 [20]
subclause 7.2.4
AL
99 Not known or not detectable
Parameter Saving NO_SAVE
TI
Mode
Max Response -
Time
Reference Note
EN
3GPP TS 27.007
D
[13]
FI
OK
Parameters
M
OK
M
Parameters
See Write Command
SI
E
[13]
L
3.2.37 AT+VTS DTMF and Tone Generation
FI
AT+VTS DTMF and Tone Generation
Test Command Response
AL
AT+VTS=? +VTS: (list of supported <dtmf>s),(list of supported <duration>s)
OK
TI
Parameters
Write Command
Generate tone
See Write Command
Response
EN
This command allows the transmission of DTMF tones and arbitrary
D
Duration is set by tones in voice mode. These tones may be used (for example) when
+VTD announcing the start of a recording period.
FI
Parameters
M
3GPP TS 27.007
[13]
E
OK
L
Parameters
FI
See Write Command
Read Command Response:
AL
AT+CMUX? +CMUX:[<mode>[,<subset>[,<port_speed>[,<N1>[,<T1>[,<N2>[,<T2
>[,<T3>[,<k>]]]]]]]]]
TI
OK
ERROR
Parameters
<mode>
EN
Multiplexer transparency mechanism
D
0 Basic option
<subset> The way in which the multiplexer control channel is set up
FI
1 9600 bits/t
2 19200 bits/t
O
3 38400 bits/t
C
4 57600 bits/t
5 115200 bit/s
6 230400 bits/t
7 460800 bits/t
M
0-100 Default:3
<T2> Max Response Timer for the multiplexer control channel in
units of ten milliseconds
2-255 Default:30
<T3> Wake up Max Response Timers in seconds
1-255 Default:10
E
<mode> Multiplexer transparency mechanism
0 Basic option
L
Parameter Saving NO_SAVE
FI
Mode
Max Response -
AL
Time
Reference Note
3GPP TS 27.007 The multiplexing transmission rate is according to the current serial baud
TI
[13] rate. It is recommended to enable multiplexing protocol under 115200
bit/s baud rate
Execution Response
Command +CNUM: [<alpha1>],<number1>,<type1>[,<speed>,<service>]
O
AT+CNUM [<CR><LF>+CNUM:[<alpha2>],<number2>,<type2>[,<speed>,<serv
ice>]
C
[...]]
M
OK
SI
E
1 Synchronous modem
2 PAD Access (asynchronous)
L
3 Packet Access (synchronous)
FI
4 Voice
5 Fax
Parameter Saving NO_SAVE
AL
Mode
Max Response -
TI
Time
Reference Note
3GPP TS 27.007
[13]
EN
D
3.2.40 AT+CPOL Preferred Operator List
FI
OK
C
Parameters
See Write Command
Read Command Response
M
OK
C
E
<oper> String type(string should be included in quotation marks)
Parameter Saving AUTO_SAVE
L
Mode
FI
Max Response -
Time
AL
Reference Note
3GPP TS 27.007
[13]
TI
3.2.41 AT+COPN Read Operator Names
AT+COPN Read Operator Names
Test Command Response
EN
D
AT+COPN=? OK
Execution Response
FI
[…]]
O
OK
C
Mode
Max Response -
SI
Time
Reference Note
3GPP TS 27.007
[13]
OK
If error is related to ME functionality:
E
+CME ERROR: <err>
L
Parameters
FI
See Write Command
Read Command Response
AT+CFUN? +CFUN: <fun>
AL
OK
TI
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
EN
Write Command Response
D
AT+CFUN=<fun OK
>[,<rst>] If error is related to ME functionality:
FI
Parameters
<fun> 0 Minimum functionality
O
Time
Reference Note
C
functionality.
AT+CFUN=1,1 can be used to reset module purposely at minimum/full
functionality mode.
Response string "OK" will be returned after module resets if baud rate is
set to fixed baud rate.
E
OK
L
If error is related to ME functionality:
FI
+CME ERROR: <err>
Parameters
See Write Command
AL
Write Command Response
AT+CCLK=<tim OK
TI
e> If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<time>
EN
String type(string should be included in quotation marks)
value; format is "yy/MM/dd,hh:mm:ss±zz", where characters indicate
D
year (two last digits),month, day, hour, minutes, seconds and time zone
(indicates the difference, expressed in quarters of an hour, between the
FI
local time and GMT; range -47...+48). E.g. 6th of May 2010, 00:01:52
N
Mode
C
Max Response -
Time
Reference Note
3GPP TS 27.007 Only time zone is auto saved.
M
[13]
O
E
SIM.
<response> String type(string should be included in quotation
L
marks): hex format: GSM 11.11 response from SIM to <Command>.
FI
Parameter Saving NO_SAVE
Mode
AL
Max Response -
Time
Reference Note
TI
3GPP TS 27.007
[13]
OK
O
Parameters
See Write Command
Read Command Response
M
OK
C
Parameters
SI
E
[13] mode during an incoming call, the module maintains silent this time. But
L
next time the normal mode works.
FI
3.2.46 AT+CALS Alert Sound Select
AT+CALS Alert Sound Select
AL
Test Command Response
AT+CALS=? +CALS: (list of supported <n>s),(list of supported <switch>s)
TI
OK
EN
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
D
See Write Command
Read Command Response
FI
OK
O
AT+CALS=<n>[, OK
O
Parameters
<n> 0-19 Alert sound type. Default value is 1.
M
OK
If error is related to ME functionality:
E
+CME ERROR: <err>
Parameter
L
See Write Command
FI
Read Command Response
AT+CRSL? +CRSL: <level>
AL
OK
If error is related to ME functionality:
TI
+CME ERROR: <err>
Parameters
See Write Command
EN
Write Command Response
D
AT+CRSL=<leve OK
l> If error is related to ME functionality:
FI
Parameters
<level> integer type value (0-100) with manufacturer specific range
O
Max Response -
Time
Reference Note
M
3GPP TS 27.007
O
[13]
C
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
E
See Write Command
L
Write Command Response
AT+CLVL=<leve OK
FI
l> If error is related to ME functionality:
+CME ERROR: <err>
AL
Parameters
<level> 0-100 Integer type value with manufacturer specific range
TI
(smallest value represents the lowest sound level).
Parameter Saving AUTO_SAVE
Mode
Max Response -
EN
Time
D
Reference Note
3GPP TS 27.007
FI
[13]
N
OK
M
Parameters
O
OK
SI
E
Max Response -
L
Time
FI
Reference Note
3GPP TS 27.007 Only during a call this command can be set successfully.
[13]
AL
3.2.50 AT+CPUC Price Per Unit and Currency Table
AT+CPUC Price Per Unit and Currency Table
TI
Test Command Response
AT+CPUC=?
Read Command
OK
Response
EN
AT+CPUC? +CPUC: <currency>,<ppu>
D
FI
OK
If error is related to ME functionality:
N
Parameters
See Write Command
C
passwd>] Parameters
<currency> String type (string should be included in quotation marks);
O
SIM PIN2
Parameter Saving NO_SAVE
Mode
Max Response 5s
Time
Reference Note
3GPP TS 27.007
[13]
L E
OK
If error is related to ME functionality:
FI
+CME ERROR: <err>
Parameters
AL
See Write Command
Read Command Response
TI
AT+CCWE? +CCWE: <mode>
OK
EN
If error is related to ME functionality:
+CME ERROR: <err>
D
Parameters
See Write Command
FI
AT+CCWE=<m OK
ode> If error is related to ME functionality:
O
Parameters
<mode> 0 Disable call meter warning event
1 Enable call meter warning event
Unsolicited result codes supported:
M
when 5 seconds call time remains. It is also issued when starting a call if
less than 5 s call time remains.
M
Mode
Max Response -
Time
Reference Note
3GPP TS 27.007 3GPP TS 27.007 specifies 30 seconds, so SIMCom deviates from the
[13] specification.
OK
Parameters
E
See Execution Command
L
Execution Response
Command +CBC: <bcs>, <bcl>,<voltage>
FI
AT+CBC
OK
AL
If error is related to ME functionality:
+CME ERROR: <err>
TI
Parameters
<bcs> Charge status
1 ME is charging
EN
0 ME is not charging
vent
<voltage> Battery voltage(mV)
N
Mode
Max Response -
C
Time
Reference Note
3GPP TS 27.007
M
[13]
O
OK
Parameters
See Write Command
Read Command Response
AT+CUSD? +CUSD: <n>
OK
Parameters
See Write Command
Write Command Response
AT+CUSD=<n>[, OK
<str>[,<dcs>]] If error is related to ME functionality:
+CME ERROR: <err>
E
Parameters
L
<n> A numeric parameter which indicates control of the unstructured
supplementary service data
FI
0 disable the result code presentation in the TE
1 enable the result code presentation in the TE
AL
2 cancel session (not applicable to read Command response)
<str> String type (string should be included in quotation marks)
USSD-string
TI
<dcs> Cell Broadcast Data Coding Scheme in integer format
(default 0)
Parameter Saving
Mode
NO_SAVE EN
Max Response -
D
Time
FI
Reference Note
GSM 03.38 [25] When ussd is not suport or return error,TE will print +CUSD:4.
N
OK
Parameters
O
OK
SI
Parameters
See Write Command
Write Command Response
AT+CSSN=<n>[, OK
<m>] If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<n> A numeric parameter which indicates whether to show the
+CSSI:<code1>[,<index>] result code presentation status after a mobile
originated call setup
0 disable
1 enable
<m> A numeric parameter which indicates whether to show the
E
+CSSU: <code2> result code presentation status during a mobile
terminated call setup or during a call, or when a forward check
L
supplementary service notification is received.
FI
0 disable
1 enable
<code1> 0 Unconditional call forwarding is active
AL
1 Some of the conditional call forwarding are active
2 Call has been forwarded
TI
3 Call is waiting
4 This is a CUG call (also <index> present)
EN
5 Outgoing calls are barred
6 Incoming calls are barred
7 CLIR suppression rejected
D
<index> Closed user group index
<code2> 0 This is a forwarded call
FI
whenever)
7 Call is being connected (alerting) with the remote party
O
Command Description
E
AT+CMGD Delete SMS message
L
AT+CMGF Select SMS message format
FI
AT+CMGL List SMS messages from preferred store
AT+CMGR Read SMS message
AL
AT+CMGS Send SMS message
AT+CMGW Write SMS message to memory
AT+CMSS Send SMS message from storage
TI
AT+CNMI New SMS message indications
AT+CPMS
AT+CRES
Preferred SMS message storage
Restore SMS settings
EN
AT+CSAS Save SMS settings
D
AT+CSCA SMS service center address
FI
OK
Parameters
SI
E
leaving unread messages and stored mobile originated
messages (whether sent or not) untouched
L
2 Delete all read messages from preferred message storage
FI
and sent mobile originated messages, leaving unread
messages and unsent mobile originated messages
untouched
AL
3 Delete all read messages from preferred message storage,
sent and unsent mobile originated messages leaving
TI
unread messages untouched
4 Delete all messages from preferred message storage
Mode
D
Max Response 5s(delete 1 message)
FI
Reference Note
3GPP TS 27.005
O
C
OK
Parameter
C
OK
Parameter
See Write Command
Write Command Response
AT+CMGF=[<m TA sets parameter to denote which input and output format of messages to
ode>] use.
OK
Parameter
<mode> 0 PDU mode
1 Text mode
Parameter Saving AT&W_SAVE
Mode
E
Max Response -
L
Time
Reference Note
FI
3GPP TS 27.005
AL
4.2.3 AT+CMGL List SMS Messages from Preferred Store
AT+CMGL List SMS Messages from Preferred Store
TI
Test Command Response
AT+CMGL=? +CMGL: (list of supported <stat>s)
OK
EN
Parameter
D
See Write Command
Write Command Parameters
FI
2) If PDU mode:
<stat> 0 Received unread messages
O
4 All messages
<mode> 0 Normal
SI
for SMS-STATUS-REPORTs:
E
+CMGL: <index>,<stat>,<fo>,<mr>[,<ra>][,<tora>],<scts>,<dt>,<st>
[<CR><LF>+CMGL: <index>,<stat>,<fo>,<mr>
L
[,<ra>][,<tora>],<scts>,<dt>,<st>[...]]
FI
for SMS-COMMANDs:
+CMGL: <index>,<stat>,<fo>,<ct>[<CR><LF>
AL
+CMGL: <index>,<stat>,<fo>,<ct>[...]]
TI
for CBM storage:
+CMGL:<index>,<stat>,<sn>,<mid>,<page>,<pages>
<CR><LF><data>
EN
<CR><LF>+CMGL: <index>,<stat>,<sn>,<mid>,<page>,<pages>
<CR><LF><data>[...]]
D
OK
FI
<CR><LF><pdu><CR><LF>
O
+CMGL: <index>,<stat>[,alpha],<length>
<CR><LF><pdu>[...]]
C
OK
specific; used character set should be the one selected with Command Select
TE Character Set +CSCS (see definition of this Command in 3GPP TS
SI
27.007)
<da> GSM 03.40 TP-Destination-Address Address-Value field in
string format; BCD numbers (or GSM default alphabet characters) are
converted to characters of the currently selected TE character set (refer
Command +CSCS in 3GPP TS 27.007); type of address given by <toda>
<data> In the case of SMS: GSM 03.40 TP-User-Data in text mode
responses; format:
E
- if TE character set is "HEX": ME/TA converts each 7-bit
character of GSM alphabet into two IRA character long
L
hexadecimal number (e.g. character P (GSM 23) is presented as
FI
17 (IRA 49 and 55))
- if <dcs> indicates that 8-bit or UCS2 data coding scheme is
used, or <fo> indicates that GSM 03.40
AL
TP-User-Data-Header-Indication is set: ME/TA converts each
8-bit octet into two IRA character long hexadecimal number
TI
(e.g. octet with integer value 42 is presented to TE as two
characters 2A (IRA 50 and 65)) In the case of CBS: GSM 03.41
EN
CBM Content of Message in text mode responses; format:
- if <dcs> indicates that GSM 03.38 default alphabet is used:
- if TE character set other than "HEX" (refer Command +CSCS
D
in 3GPP TS 27.007): ME/TA converts GSM alphabet into
current TE character set according to rules of Annex A
FI
hexadecimal number
O
PDU mode (+CMGF=0), the length of the actual TP data unit in octets (i.e.
the RP layer SMSC address octets are not counted in the length)
O
string format; BCD numbers (or GSM default alphabet characters) are
converted to characters of the currently selected TE character set (refer
SI
E
Command the same as AT+CMGL="REC UNREAD", received unread messages
AT+CMGL
L
2) If PDU mode:
FI
the same as AT+CMGL=0, received unread messages
AL
Parameters
See Write Command
TI
Parameter Saving NO_SAVE
Mode
Max
Time
Response 20s(list 50 messages)
20s(list 150 messages)
EN
Reference Note
D
3GPP TS 27.005
FI
<mode> 0 Normal
1 Not change status of the specified SMS record
O
Response
TA returns SMS message with location value <index> from message
C
for SMS-DELIVER:
+CMGR: <stat>,<oa>[,<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>
,<sca>,<tosca>,<length>]<CR><LF><data>
for SMS-SUBMIT:
+CMGR: <stat>,<da>[,<alpha>][,<toda>,<fo>,<pid>,<dcs>[,<vp>]
,<sca>,<tosca>,<length>]<CR><LF><data>
for SMS-STATUS-REPORTs:
+CMGR: <stat>,<fo>,<mr>[,<ra>][,<tora>],<scts>,<dt>,<st>
for SMS-COMMANDs:
+CMGR: <stat>,<fo>,<ct>[,<pid>[,<mn>][,<da>][,<toda>]
,<length><CR><LF><cdata>]
E
for CBM storage:
+CMGR: <stat>,<sn>,<mid>,<dcs>,<page>,<pages><CR><LF><data>
L
2) If PDU mode (+CMGF=0) and Command successful:
FI
+CMGR: <stat>[,<alpha>],<length><CR><LF><pdu>
OK
AL
3) If error is related to ME functionality:
+CMS ERROR: <err>
TI
Parameters
<alpha> String type (string should be included in quotation marks)
EN
alphanumeric representation of <da> or <oa> corresponding to the entry
found in MT phonebook; implementation of this feature is manufacturer
specific
D
<da> GSM 03.40 TP-Destination-Address Address-Value field in
string format; BCD numbers (or GSM default alphabet characters) are
FI
responses; format:
- if <dcs> indicates that GSM 03.38 default alphabet is used and
C
of Annex A
- if TE character set is "HEX": ME/TA converts each 7-bit
C
E
- if <dcs> indicates that 8-bit or UCS2 data coding scheme is
used: ME/TA converts each 8-bit octet into two IRA character
L
long hexadecimal number
FI
<dcs> Depending on the Command or result code: GSM 03.38 SMS
Data Coding Scheme (default 0), or Cell Broadcast Data Coding Scheme in
integer format
AL
<fo> Depending on the Command or result code: first octet of
GSM 03.40 SMS-DELIVER, SMS-SUBMIT (default 17),
TI
SMS-STATUS-REPORT, or SMS-COMMAND (default 2) in integer
format
<length>
EN
integer type value indicating in the text mode (+CMGF=1)
the length of the message body <data> (or <cdata>) in characters; or
in PDU mode (+CMGF=0), the length of the actual TP data unit in octets
D
(i.e. the RP layer SMSC address octets are not counted in the length)
<mid> GSM 03.41 CBM Message Identifier in integer format
FI
(default 0)
<sca> GSM 04.11 RP SC address Address-Value field in string
C
format; BCD numbers (or GSM default alphabet characters) are converted
M
E
<vp> Depending on SMS-SUBMIT <fo> setting: GSM 03.40
TP-Validity-Period either in integer format (default 167) or in time-string
L
format (refer <dt>)
FI
Parameter Saving NO_SAVE
Mode
AL
Max Response 5s
Time
Reference Note
TI
3GPP TS 27.005
+CMGS=<da>[, (or GSM default alphabet characters) are converted to characters of the
<toda>] currently selected TE character set (specified by +CSCS in 3GPP TS
C
<CR>text is
27.007); type of address given by <toda>
entered <toda> GSM 04.11 TP-Destination-Address Type-of-Address octet
<ctrl-Z/ESC> in integer format (when first character of <da> is + (IRA 43) default is 145,
M
text mode (+CMGF=1) the length of the message body <data> (or
2) If PDU mode <cdata>) in characters; or in PDU mode (+CMGF=0), the length of the
C
(+CMGF=0): actual TP data unit in octets (i.e. the RP layer SMSC address octets are not
+CMGS=<length counted in the length)
M
> Response
SI
OK
2) If PDU mode(+CMGF=0) and sending successful:
+CMGS: <mr>
OK
3)If error is related to ME functionality:
E
+CMS ERROR: <err>
Parameter
L
<mr> GSM 03.40 TP-Message-Reference in integer format
FI
Parameter Saving NO_SAVE
Mode
AL
Max Response 60s
Time
Reference Note
TI
3GPP TS 27.005 In text mode, the maximum length of an SMS depends on the used
coding scheme: It is 1024 characters if the 7 bit GSM coding scheme is
used. EN
Reject incoming call when sending messages.
D
4.2.6 AT+CMGW Write SMS Message to Memory
FI
AT+CMGW=? OK
O
a>][,<stat>]
<CR> text is If writing is successful:
O
<ESC> quits OK
M
E
integer format (when first character of <da> is + (IRA 43) default is 145,
otherwise default is 129)
L
129 Unknown type(IDSN format number)
FI
161 National number type(IDSN format)
145 International number type(ISDN format)
177 Network specific number(ISDN format)
AL
<length> Integer type value (not exceed 160 bytes) indicating in the
text mode (+CMGF=1) the length of the message body <data> (or
TI
<cdata>) in characters;
or in PDU mode (+CMGF=0), the length of the actual TP
EN
data unit in octets (i.e. the RP layer SMSC address octets are
not counted in the length)
<stat> in the text mode (+CMGF=1):
D
"STO UNSENT" Stored unsent messages
"STO SENT" Stored sent messages
FI
unsent', but parameter <stat> allows also other status values to be given.
If writing is successful:
+CMGW: <index>
OK
If error is related to ME functionality:
L E
4.2.7 AT+CMSS Send SMS Message from Storage
AT+CMSS Send SMS Message from Storage
FI
Test Command Response
AT+CMSS=? OK
AL
Write Command Response
AT+CMSS=<ind TA sends message with location value <index> from message storage
TI
ex>[,<da>,<toda <mem2> to the network (SMS-SUBMIT). If new recipient address <da> is
>] given, it shall be used instead of the one stored with the message. Reference
EN
value <mr> is returned to the TE on successful message delivery. Values
can be used to identify message upon unsolicited delivery status report
result code.
D
1) If text mode(+CMGF=1) and sending successful:
+CMSS: <mr>
FI
OK
N
+CMSS: <mr>
C
OK
3)If error is related to ME functionality:
+CMS ERROR: <err>
M
Parameters
<index> Integer type; value in the range of location numbers supported
O
E
Test Command Response
L
AT+CNMI=? +CNMI: (list of supported <mode>s),(list of supported <mt>s),(list of
supported <bm>s),(list of supported <ds>s),(list of supported <bfr>s)
FI
OK
AL
Parameters
See Write Command
Read Command Response
TI
AT+CNMI? +CNMI: <mode>,<mt>,<bm>,<ds>,<bfr>
OK
Parameters
EN
D
See Write Command
Write Command Response
FI
AT+CNMI=<mo TA selects the procedure for how the receiving of new messages from the
de>[,<mt>[,<bm network is indicated to the TE when TE is active, e.g. DTR signal is ON. If
N
>[,<ds>[,<bfr>]]] TE is inactive (e.g. DTR signal is OFF), message receiving should be done
O
OK
ERROR
Parameters
M
oldest indications may be discarded and replaced with the new received
indications.
C
unsolicited result codes when TA-TE link is reserved (e.g. in on-line data
mode). Otherwise forward them directly to the TE.
SI
scheme (refer GSM 03.38 [2]), preferred memory storage (+CPMS) setting
and this value):
0 No SMS-DELIVER indications are routed to the TE.
1 If SMS-DELIVER is stored into ME/TA, indication of
the memory location is routed to the TE using unsolicited result code:
+CMTI: <mem>,<index>
2 SMS-DELIVERs (except class 2) are routed directly to
E
the TE using unsolicited result code:
+CMT: [<alpha>],<length><CR><LF><pdu> (PDU mode enabled) or
L
+CMT: <oa>,[<alpha>],<scts>
FI
[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>,<length>]<CR><LF><data>
(text mode enabled; about parameters in italics, refer Command Show Text
Mode Parameters +CSDH). Class 2 messages result in indication as defined
AL
in <mt>=1.
3 Class 3 SMS-DELIVERs are routed directly to TE
TI
using unsolicited result codes defined in <mt>=2. Messages of other classes
result in indication as defined in <mt>=1.
<bm>
EN
(the rules for storing received CBMs depend on its data
coding scheme (refer GSM 03.38 [2]), the setting of Select CBM Types
(+CSCB) and this value):
D
0 No CBM indications are routed to the TE.
2 New CBMs are routed directly to the TE using
FI
mode enabled).
<ds> 0 No SMS-STATUS-REPORTs are routed to the TE.
C
mode enabled)
<bfr> 0 TA buffer of unsolicited result codes defined within this
O
<length>]<CR><LF><data>
E
3. Indicates that new SMS status report has been received
L
If <ds>=1 (PDU mode enabled):
FI
+CDS: <length><CR><LF><pdu>
If <ds>=1 (text mode enabled):
+CDS: <fo>, <mr>[, <ra>][, <tora>], <scts>, <dt>, <st>
AL
Parameter Saving AT&W_SAVE
Mode
TI
Max Response -
Time
Reference
3GPP TS 27.005
Note EN
D
4.2.9 AT+CPMS Preferred SMS Message Storage
FI
OK
Parameters
See Write Command
M
<mem3>,<used3>,<total3>
C
OK
M
ERROR
Parameters
SI
OK
ERROR
Parameters
<mem1> Messages to be read and deleted from this memory storage
"SM" SIM message storage
"ME" Phone message storage
"SM_P" SM message storage preferred
"ME_P" ME message storage preferred
E
"MT" SM or ME message storage ( SM preferred)
<mem2> Messages will be written and sent to this memory storage
L
"SM" SIM message storage
FI
"ME" Phone message storage
"SM_P" SM message storage preferred
"ME_P" ME message storage preferred
AL
"MT" SM or ME message storage ( SM preferred)
<mem3> Received messages will be placed in this memory storage if
TI
routing to PC is not set ("+CNMI")
"SM" SIM message storage
EN
"ME" Phone message storage
"SM_P" SM message storage preferred
"ME_P" ME message storage preferred
D
"MT" SM or ME message storage ( SM preferred)
<usedx> Integer type; Number of messages currently in <memx>
FI
Max Response -
Time
C
Reference Note
3GPP TS 27.005
M
OK
SI
Parameter
See Write Command
Write Command Response
AT+CRES=<pro Execution command restores message service settings from non-volatile
file> memory to active memory. A TA can contain several profiles of settings.
Settings specified in commands Service Centre Address +CSCA and Set
Message Parameters +CSMP are restored. Certain settings may not be
supported by the storage (e.g. (U)SIM SMS parameters) and therefore can
not be restored.
OK
ERROR
Parameter
<profile> 0 Restore SM service settings from profile 0
1 Restore SM service settings from profile 1
E
2 Restore SM service settings from profile 2
3 Restore SM service settings from profile 3
L
Execution Response
FI
Command Same as AT+CRES=0.
AT+CRES OK
AL
If error is related to ME functionality:
+CMS ERROR <err>
Parameter Saving NO_SAVE
TI
Mode
Max Response 5s
Time
Reference Note
EN
3GPP TS 27.005
D
FI
OK
Parameter
See Write Command
M
supported by the storage (e.g. (U)SIM SMS parameters) and therefore can
M
not be saved.
OK
SI
ERROR
Parameter
<profile> 0 Save SM service setting in profile 0
1 Save SM service setting in profile 1
2 Save SM service setting in profile 2
3 Save SM service setting in profile 3
Execution Response
Command Same as AT+CSAS=0
AT+CSAS OK
E
Mode
Max Response 5s
L
Time
FI
Reference Note
3GPP TS 27.005
AL
4.2.12 AT+CSCA SMS Service Center Address
AT+CSCA SMS Service Center Address
TI
Test Command Response
AT+CSCA=?
Read Command
AT+CSCA?
OK
Response
+CSCA: <sca>,<tosca>[,<scaAlpha>]
EN
D
OK
FI
Parameters
See Write Command
N
AT+CSCA=<sca TA updates the SMSC address, through which mobile originated SMS are
>[,<tosca>] transmitted. In text mode, setting is used by send and writes commands. In
C
PDU mode, setting is used by the same commands, but only when the
length of the SMSC address coded into <pdu> parameter equals zero.
M
Parameters
M
L E
4.2.13 AT+CSCB Select Cell Broadcast SMS Messages
AT+CSCB Select Cell Broadcast SMS Messages
FI
Test Command Response
AT+CSCB=? +CSCB: (list of supported <mode>s)
AL
OK
TI
Parameter
See Write Command
Read Command
AT+CSCB?
Response
+CSCB: <mode>,<mids>,<dcss>
EN
D
OK
Parameters
FI
de>[,<mids>[,<d
css>]] Note: The Command writes the parameters in NON-VOLATILE memory.
C
OK
If error is related to ME functionality:
+CMS ERROR: <err>
M
Parameters
<mode> 0 Message types specified in <mids> and <dcss> are
O
accepted
C
E
<dcss>.
L
AT+CSCB=1 means all <dcss> are accepted but this command has no effect
on the list of the <mids> accepted. "0-255" means all <dcss> are accepted.
FI
AT+CSCB=0, <mids> will add the <mids> values in the <mids> current
list handled by module.
AL
AT+CSCB=0, <dcss> will add the <dcss> values in the <dcss> current list
handled by module.
If AT+CSCB=0, <mids> is received while the list of <mids> is full, OK is
TI
returned and new value is not added.
OK
N
Parameter
O
OK
M
Parameter
See Write Command
O
OK
Parameter
SI
Mode
Max Response -
Time
Reference Note
3GPP TS 27.005
E
AT+CSMP Set SMS Text Mode Parameters
L
Test Command Response
FI
AT+CSMP=? +CSMP: (list of supported <fo>s),(list of supported <vp>s),(list of
supported <pid>s),(list of supported <dcs>s)
AL
OK
Parameters
See Write Command
TI
Read Command Response
AT+CSMP? +CSMP: <fo>,<vp>,<pid>,<dcs>
OK
EN
D
Parameters
See Write Command
FI
dcs>]] possible to set the validity period starting from when the SM is received by
the SMSC (<vp> is in range 0... 255) or define the absolute time of the
C
memory.
OK
O
Parameters
<fo> Depending on the command or result code: first octet of GSM
C
Mode
Max Response -
Time
Reference Note
3GPP TS 27.005
E
AT+CSMS Select Message Service
L
Test Command Response
FI
AT+CSMS=? +CSMS: (list of supported <service>s)
OK
AL
Parameter
See Write Command
TI
Read Command Response
AT+CSMS? +CSMS: <service>,<mt>,<mo>,<bm>
OK
EN
Parameters
D
See Write Command
Write Command Response
FI
OK
O
Parameters
<service> 0 GSM 03.40 and 03.41 (the syntax of SMS AT commands
is compatible with 3GPP TS 27.005 Phase 2 version 4.7.0; Phase 2+
M
features which do not require new Command syntax may be supported (e.g.
correct routing of messages with new Phase 2+ data coding schemes))
O
1 Type supported
Parameter Saving NO_SAVE
Mode
Max Response -
Time
Reference Note
3GPP TS 27.005
L E
FI
AL
TI
EN
D
FI
N
O
C
M
O
C
M
SI
5.1 Overview
Command Description
E
AT+STKTRS This command is used to send STK terminal response
L
AT+STKENVS This command is used to send STK envelope command
FI
AT+STKCALL Trigger STK call
AT+STKSMS Trigger STK SMS
AL
AT+STKSS Trigger STK SS
AT+STKUSSD Trigger STK USSD
AT+STKDTMF Trigger STK DTMF
TI
+STKPCI This unsolicited result code is used to indicate proactive command
Indication.
AT+STKMENU
AT+STKPCIS
Show STK main menu
Switch STK URC string
EN
D
5.2 Detailed Descriptions of Commands
FI
N
OK
M
Parameter
See Write Command
O
AT+STKTRS=<re OK
sult>[,<text>] ERROR
Parameter
<result> HEX string type --specified in GSM11.14[12.12]
- '00' = Command performed successfully;
- '10' = Proactive SIM session terminated by the user;
- '11' = Backward move in the proactive SIM session requested by
the user;
…
E
- '2000' = ME currently unable to process command, No specific
cause can be given;
L
- '2001' = ME currently unable to process command, Screen is
FI
busy;
…
<text> Hex String type
AL
If response to GET INPUT or GET INKEY --specified in
GSM11.14[12.15]
TI
-text string, the first 2 char is Data coding scheme
If response to SELECT ITEM --specified in GSM11.134[12.10]
Mode
D
Max Response -
Time
FI
Reference Note
N
OK
O
Parameter
See Write Command
C
AT+STKENVS? OK
Parameter
SI
>] Parameter
<command> HEX string type --specified in GSM11.14[13.1]
- 'D3' = Menu Selection;
- 'D6' =Event download;
<data> Hex string type
If command is ‘D3’ --specified in GSM11.14[8.2]
-Item identifier of main menu
E
If command is ‘D6’ --specified in GSM11.14[11]
-event list
L
- '04' = User activity
FI
- '05' = Idle screen available
- '07' = Language selection
Parameter Saving NO_SAVE
AL
Mode
Max Response -
TI
Time
Reference Note
EN
For more detail used, can refer "AT+STKENV" command
Parameter
O
AT+STKCALL=< OK
command> ERROR
Parameter
M
E
5.2.4 AT+STKSMS STK SMS delivery
AT+STKSMS STK SMS delivery
L
Test Command Response
FI
AT+STKSMS=? OK
Parameter
AL
See Write Command
Write Command Response
AT+STKSMS=<co OK
TI
mmand> ERROR
Parameter
<command> stk sms command
0
EN
Trigger modem to send STK SMS
4 Trigger modem to send STK SMS but icon cannot be
D
displayed
FI
Reference Note
Above are the possible terminal response value needed to be responded by
C
AT+STKSS=? OK
Parameter
M
AT+STKSS=<com OK
mand> ERROR
Parameter
<command> STK SS command
0 Trigger modem to send STK SS
4 Trigger modem to send STK SS but icon cannot be displayed
E
response value.
L
5.2.6 AT+STKUSSD STK USSD setup
FI
AT+STKUSSD STK USSD setup
Test Command Response
AL
AT+STKUSSD=? OK
Parameters
See Write Command
TI
Write Command Response
AT+STKUSSD=<c OK
ommand> ERROR
EN
Parameters
D
<command> STK SS command
0 Trigger modem to send STK USSD
FI
Mode
Max Response Time -
C
Reference Note
Above are the possible terminal response value needed to be responded by
application. It’s modem’s responsibility to response for other terminal
M
response value.
O
AT+STKDTMF=? OK
SI
Parameters
See Write Command
Write Command Response
AT+STKDTMF=< OK
command> ERROR
Parameters
<command> STK DTMF command
E
Reference Note
Above are the possible terminal response value needed to be responded by
L
application.It’s modem’s responsibility to response for other terminal
FI
response value.
AL
5.2.8 +STKPCI STK Proactive Command Indication
+STKPCI STK Proactive Command Indication
+STKPCI: <pci_type>[,<proactive_command>,…]
TI
Parameter
<pci_type>
EN
0 The SAT command is handled by TE.
1 The SAT command is handled by ME.
D
2 No other command (end of session)
<proactive command>
FI
E
See Read Command
L
Read Command Response
FI
AT+STKMENU [+STKMENU: <index>,<id>,<text>]
? [+STKMENU: <index>,<id>,<text>]
[+STKMENU: <index>,<id>,<text>]
AL
[…]
OK
TI
Parameters
Max Response -
Time
N
Reference Note
O
OK
C
Parameters
See Write Command
M
OK
Parameters
Write Command Response
AT+STKPCIS=< OK
switch> ERROR
Parameters
<switch> The switch of STK URC
0 The STK URC is off
1 The STK URC is ON
Parameter Saving AT&W_SAVE
Mode
Max Response -
E
Time
L
Reference Note
FI
AL
TI
EN
D
FI
N
O
C
M
O
C
M
SI
6.1 Overview
Command Description
AT+SIDET Change the side tone gain level
E
AT+CPOWD Power off
L
AT+SPIC Times remained to input SIM PIN/PUK
FI
AT+CMIC Change the microphone gain level
AT+CALA Set alarm time
AL
AT+CALD Delete alarm
AT+CADC Read ADC
TI
AT+CSNS Single numbering scheme
AT+CDSCB Reset cell broadcast
AT+CMOD
AT+CFGRI
EN
Configure alternating mode calls
Indicate RI when using URC
AT+CLTS Get local timestamp
D
AT+CLDTMF Local DTMF tone generation
FI
AT+CCVM Get and set the voice mail number on the SIM
O
E
AT+ECHO Echo cancellation control
L
AT+CAAS Control auto audio switch
FI
AT+SVR Configure voice coding type for voice calls
AT+GSMBUSY Reject incoming call
AL
AT+CEMNL Set the list of emergency number
AT*CELLLOCK Set the list of ARFCN which needs to be locked
TI
AT+SLEDS Set the timer period of net light
AT+CBUZZERRING Use the buzzer sound as the incoming call ring
AT+CEXTERNTONE
AT+CNETLIGHT
EN
Close or open the microphone
Close the net light or open it to shining
AT+CWHITELIST Set the white list
D
AT+CSDT Switch on or off detecting SIM card
FI
E
AT+CELLIST Perform a net survey to show sll the cells’ information
L
AT+CLIST Query AT
FI
AT+CBATCHK Set VBAT checking feature ON/OFF
AL
6.2 Detailed Descriptions of Commands
TI
6.2.1 AT+SIDET Change the Side Tone Gain Level
AT+SIDET Change the Side Tone Gain Level
Test Command
AT+SIDET=?
Response EN
+SIDET: (list of supported <channel>s),(list of supported <gainlevel>s)
D
OK
FI
Parameters
See Write Command
N
OK
C
Parameters
See Write Command
Write Command Response
M
AT+SIDET=<ch OK
O
annel>,<gainleve ERROR
l> Parameters
C
E
AT+CPOWD=<n [NORMAL POWER DOWN]
>
L
Parameter
<n> 0 Power off urgently (Will not send out NORMAL POWER
FI
DOWN)
1 Normal power off (Will send out NORMAL POWER
AL
DOWN)
Parameter Saving NO_SAVE
Mode
TI
Max Response -
Time
Reference Note
EN
D
6.2.3 AT+SPIC Times Remained to Input SIM PIN/PUK
FI
Execution Response
Command Times remained to input SIM PIN
O
OK
Parameters
<pin1> Times remained to input chv1
M
Max Response -
Time
SI
Reference Note
OK
Parameters
See Write Command
Read Command Response
AT+CMIC? +CMIC: (<channel0>,<gainlevel0>),…,(<channeln>,<gainleveln>)
E
OK
L
Parameters
FI
See Write Command
Write Command Response
AL
AT+CMIC=<cha OK
nnel>,<gainlevel ERROR
> Parameters
TI
<channel> 0 Main audio channel
1 Aux audio channel
EN
2 Main audio channel hand free mode
3 Aux audio channel hand free mode
D
<gainlevel> Int: 0 – 15
FI
0 0dB
1 +1.5dB
N
2 +3.0 dB
3 +4.5 dB
O
4 +6.0 dB
C
5 +7.5 dB
6 +9.0 dB
7 +10.5 dB
8 +12.0 dB
M
9 +13.5 dB
10 +15.0 dB
O
11 +16.5 dB
C
12 +18.0 dB
13 +19.5 dB
M
14 +21.0 dB
15 +22.5 dB
SI
E
AT+CALA=? +CALA: ("yy/mm/dd,hh:mm:ss","hh:mm:ss"),(1-5),(0-7)
L
OK
FI
If error is related to ME functionality:
+CME ERROR: <err>
AL
Parameters
See Write Command
Read Command Response
TI
AT+CALA? [+CALA: <time>,<n1>[,<recurr>]
[<CR><LF> +CALA: <time>,<n2>[,<recurr>] …]]
OK
EN
If error is related to ME functionality:
D
+CME ERROR: <err>
FI
Parameters
See Write Command
N
AT+CALA=<ti OK
me>[,<n>[,<rec If error is related to ME functionality:
C
ALARM RING
+CALV: <n>
O
Parameters
<time> A string parameter(string should be included in quotation marks)
C
all weekdays.
"0" – Set a recurrent alarm for all days in the week.
Parameter AUTO_SAVE
Saving Mode
Max Response -
Time
Reference Note
E
If user sets recurr function, the string of <time> should not enter "yy/MM/dd",
L
for example: set Monday to Friday alarm at the time of 16PM of alarm 2.
AT+CALA="16:00:00",2,1,2,3,4,5
FI
6.2.6 AT+CALD Delete Alarm
AL
AT+CALD Delete Alarm
Test Command Response
AT+CALD=? +CALD: (list of supported <n>s)
TI
OK
Parameters
See Write Command
EN
D
Write Command Response
AT+CALD=<n> OK
FI
Parameters
O
<n> Integer type value indicating the index of the alarm; default vaule is
manufacturer specific (range from 1 to 5 now).
C
Time
Reference Note
O
C
OK
Parameters
<status> 1 Success
0 Fail
OK
Parameters
See Test Command
E
Parameter Saving NO_SAVE
L
Mode
Max Response 2s
FI
Time
Reference Note
AL
6.2.8 AT+CSNS Single Numbering Scheme
TI
AT+CSNS Single Numbering Scheme
Test Command
AT+CSNS=?
Response
EN
+CSNS: (list of supported <mode>s)
D
OK
Parameters
FI
OK
C
Parameters
See Write Command
Write Command Response
M
AT+CSNS=<mo OK
de> ERROR
O
Parameters
C
<mode>
0 Voice
M
2 Fax
SI
4 Data
Parameter Saving AT&W_SAVE
Mode
Max Response -
Time
Reference Note
E
Mode
L
Max Response -
FI
Time
Reference Note
Please also refer to AT+CSCB.
AL
6.2.10 AT+CMOD Configure Alternating Mode Calls
TI
AT+CMOD Configure Alternating Mode Calls
Test Command Response
AT+CMOD=? +CMOD: (0) EN
OK
D
Parameters
See Write Command
FI
OK
C
Parameters
See Write Command
Write Command Response
AT+CMOD=[<m OK
M
ode>] ERROR
O
Parameters
<mode> 0 Only single mode is supported
C
Mode
Max Response -
SI
Time
Reference Note
OK
Parameters
See Write Command
Read Command Response
E
AT+CFGRI? +CFGRI: <status>
L
OK
FI
Parameters
See Write Command
AL
Write Command Response
AT+CFGRI=<st OK
atus> ERROR
TI
Parameters
<status> 0 Off
1
2
EN
On(TCPIP, FTP and URC control RI pin)
On(only TCPIP control RI pin)
D
Parameter Saving AT&W_SAVE
Mode
FI
Max Response -
Time
N
Reference Note
O
OK
Read Command Response
SI
OK
Write Command Response
AT+CLTS=<mo OK
de> ERROR
Parameters
<mode>
0 Disable
1 Enable
Unsolicited Result Code
When "get local timestamp" function is enabled, the following URC may
E
be reported if network sends the message to the MS to provide the MS
with subscriber specific information.
L
1. Refresh network name by network:
FI
*PSNWID: "<mcc>", "<mnc>", "<full network name>", <full
network name CI>, "<short network name>",<short network name
AL
CI>
TI
This is UTC time, the time queried by AT+CCLK command is local
time.
EN
*PSUTTZ: <year>, <month>, <day>, <hour>, <min>, <sec>, "<time
zone>", <dst>
D
3. Refresh network time zone by network:
+CTZV: "<time zone>"
FI
N
Parameters
C
<full network name CI> Integer type; indicates whether to add CI.
0 The MS will not add the initial letters of the Country's
O
E
indicates the value that used to adjust the network time zone
0 No adjustment for Daylight Saving Time
L
1 +1 hour adjustment for Daylight Saving
FI
2 +2 hours adjustment for Daylight Saving Time
others Reserved
Parameter Saving AT&W_SAVE
AL
Mode
Max Response -
TI
Time
Reference Note
EN
Support for this Command will be network dependent.
Set AT+CLTS=1, it means user can receive network time updating
and use AT+CCLK to show current time.
D
*PSUTTZ may report twice.
FI
OK
Write Command Response
M
AT+CLDTMF=< OK
n>,<DTMF ERROR
O
string>[<timeBas Parameters
e>] <n> A numeric parameter (1-100) which indicates the duration of all
C
DTMF tones.
M
separated by commas.
<DTMF> A single ASCII chars in the set 0-9, #,*, A-D. In addition,
E and F is supported too. E represents single frequency 1400HZ sound, F
represents single frequency 2300HZ sound.
<timeBase> timeBase to generate DTMF sound.the DTMF on time is
<n>*<timeBase>, DTMF off time is timeBase,the default value is 100ms.
Execution Response
Command OK
AT+CLDTMF Abort any DTMF tone currently being generated and any DTMF tone
sequence.
Parameter Saving NO_SAVE
Mode
Max Response -
Time
E
Reference Note
L
Local DTMF tone can be played in call, play mode is controlled by
AT+DTAM.
FI
6.2.14 AT+CDRIND CS Voice/Data Call Termination Indication
AL
AT+CDRIND CS Voice/Data Call Termination Indication
Test Command Response
AT+CDRIND=? +CDRIND: (list of supported <n>s)
TI
OK
Parameter
See Write Command
EN
D
Read Command Response
AT+CDRIND? +CDRIND: <n>
FI
OK
N
Parameter
O
AT+CDRIND=< OK
n> ERROR
Parameter
M
0 Disable
C
1 Enable
Unsolicited result code
M
+CDRIND: <type>
Parameter
<type> Connection type
0 CSV connection
1 CSD connection
2 PPP connection
E
6.2.15 AT+CSPN Get Service Provider Name from SIM
AT+CSPN Get Service Provider Name from SIM
L
FI
Read Command Response
AT+CSPN? +CSPN: <spn>,<display mode>
AL
OK
If error is related to ME functionality:
+CME ERROR: <err>
TI
Parameters
<spn>
EN
String type(string should be included in quotation
marks); service provider name on SIM
<display mode> 0 Not display PLMN. Already registered on PLMN
D
1 Display PLMN
Parameter Saving NO_SAVE
FI
Mode
Max Response -
N
Time
O
Reference Note
CME errors occur if SIM is not inserted.
C
6.2.16 AT+CCVM Get and Set the Voice Mail Number on the SIM
AT+CCVM Get and Set the Voice Mail Number on the SIM
M
OK
M
Parameters
See Write Command
SI
OK
Parameters
See Write Command
Write Command Response
AT+CCVM=<vm OK
number>[,<alpha ERROR
string>] If error is related to ME functionality:
E
+CME ERROR: <err>
L
Parameters
<vm number> String type,The voice mail number to write to the SIM
FI
<alpha string> String type,The alpha-string to write to the SIM
Parameter Saving AUTO_SAVE
AL
Mode
Max Response -
Time
TI
Reference Note
OK
O
Parameter
See Write Command
C
OK
Parameter
O
Parameter
<op_band> A string parameter which indicate the operation band.
And the following strings should be included in quotation
marks.
EGSM_MODE
PGSM_MODE
DCS_MODE
GSM850_MODE
PCS_MODE
EGSM_DCS_MODE
GSM850_PCS_MODE
EGSM_PCS_MODE
ALL_BAND
E
Parameter Saving AUTO_SAVE
Mode
L
Max Response -
FI
Time
Reference Note
AL
Radio settings are stored in non-volatile memory.
The value of parameter <op_band> is different among SIM800 series
project, please refer to chapter 21 for details.
TI
6.2.18 AT+CHF Configure Hands Free Operation
AT+CHF Configure Hands Free Operation
Test Command Response
EN
D
AT+CHF=? +CHF: (list of supported <ind>s),(list of supported <state>s)
FI
OK
Parameters
N
OK
Parameters
M
AT+CHF=<ind> OK
[,<state>] ERROR
C
+CHF: <state>
Parameters
<ind> 0 Unsolicited result code disabled
1 Unsolicited result code enabled
(non-volatile)
<state> 0 Main audio channel
E
Time
L
Reference Note
This command is related to the actual module, <state> don’t support power
FI
off save.
AL
6.2.19 AT+CHFA Swap the Audio Channels
AT+CHFA Swap the Audio Channels
Test Command Response
TI
AT+CHFA=? +CHFA: (0=NORMAL_AUDIO, 1=AUX_AUDIO,
EN
2=HANDFREE_AUDIO, 3=AUX_HANDFREE_AUDIO,
4=PCM_AUDIO)
D
OK
Read Command Response
FI
OK
O
Parameter
See Write Command
C
E
AT+CSCLK Configure Slow Clock
Test Command Response
L
AT+CSCLK=? +CSCLK: (list of supported <n>s)
FI
OK
AL
Parameter
See Write Command
Read Command Response
TI
AT+CSCLK? +CSCLK: <n>
OK
Parameter
EN
D
See Write Command
Write Command Response
FI
AT+CSCLK=<n OK
> ERROR
N
Parameter
O
<n> 0 Disable slow clock, module will not enter sleep mode.
1 Enable slow clock, it is controlled by DTR. When DTR is
C
high, module can enter sleep mode. When DTR changes to low
level, module can quit sleep mode.
2 Enable slow clock automatically. When there is no interrupt
M
mode.
Parameter Saving AT&W_SAVE
C
Mode
M
Max Response -
Time
SI
Reference Note
There are two caveats when you want to quit sleep mode in mode 2:
1, You should input some characters (at least one) to awake module
2, An interval time of 100ms more is necessary between waking characters
and following AT commands,otherwise the waking characters will not be
discarded completely,and messy codes will be produced which may leads to
E
+CENG: (list of supported <mode>s),(list of supported <Ncell>s)
L
OK
FI
Parameters
See Write Command
AL
Read Command Response
AT+CENG? Engineering Mode is designed to allow a field engineer to view and test the
network information received by a handset, when the handset is either in
TI
idle mode or dedicated mode (that is: with a call active). In each mode, the
engineer is able to view network interaction for the "serving cell" (the cell
EN
the handset is currently registered with) or for the neighboring cells.
+CENG: <mode>,<Ncell>
O
[+CENG:
C
<cell>,"<bcch>,<rxl>,<rxq>,<mcc>,<mnc>,<bsic>,<cellid>,<rla>,
<txp>,<lac>,<TA>[<dbm>,<c1>,<c2>,<tch>,<ts>,<maio>,<hsn>,<rxq_s
ub>,<rxq_full>,<ch_mod>]"<CR><LF>+CENG:
<cell>,"<bcch>,<rxl>,<bsic>[,<cellid>,]<mcc>,<mnc>,<lac>"…]
M
OK
O
C
if <mode>=3
+CENG: <mode>,<Ncell>
M
[+CENG:
SI
<cell>,<mcc>,<mnc>,<lac>,<cellid>,<bsic>,<rxl><CR><LF>+CENG:
<cell>,<mcc>,<mnc>,<lac>,<cellid>,<bsic>,<rxl>…]
OK
if <mode>=4
+CENG: <mode>,<Ncell>
[+CENG:
<cell>,"<bcch>,<rxl>,<rxq>,<mcc>,<mnc>,<bsic>,<cellid>,<rla>,
<txp>,<lac>,<TA>,<dbm>,<c1>,<c2>,<tch>,<ts>,<maio>,<hsn>,<rxq_s
ub>,<rxq_full>,<ch_mod>"<CR><LF>+CENG:
<cell>,"<bcch>,<rxl>,<bsic>,<cellid>,<mcc>,<mnc>,<lac>,<c1>,<c2>"
E
…]
L
OK
FI
Parameters
See Write Command
AL
Write Command Response
AT+CENG=<mo Switch on or off engineering mode. It will report +CENG: (network
de>[,<Ncell>] information) automatically if <mode>=2.
TI
OK
ERROR
Parameters
<mode> 0
EN
Switch off engineering mode
1 Switch on engineering mode
D
2 Switch on engineering mode, and activate the
FI
information
4 Switch on engineering mode, with extern information
O
<c1> C1 value
<c2> C2 value
<tch> ARFCN of the TCH carrier, in decimal format
<ts> Timeslot number
<maio> MAIO value
<hsn> HSN value
<rxq_sub> Receiving quality (sub), range is 0 - 7
E
<rxq_full> Receiving quality (full), range is 0 – 7
<ch_mod> Speech channel type, in string format
L
Parameter Saving NO_SAVE
FI
Mode
Max Response -
AL
Time
Reference Note
Engineering mode can been switch on and taken effect after excuting
TI
"AT+CFUN=1".
Engineering mode only query one SIM card information.
EN
<lac> and <cellid> are in hex, <ch_mod> is string, and others are in
DEC.
If network supports frequency hopping, then <tch> is invalid, value is
D
0.
FI
6.2.22 AT+SCLASS0 Store Class 0 SMS to SIM When Received Class 0 SMS
AT+SCLASS0 Store Class 0 SMS to SIM When Module Received Class 0 SMS
O
OK
SI
Parameters
See Write Command
Read Command Response
AT+SCLASS0? +SCLASS0: <mode>
OK
Parameters
E
Class 0 SMS
1 Enable to store Class 0 SMS to SIM when module receives
L
Class 0 SMS
FI
Parameter Saving NO_SAVE
Mode
AL
Max Response -
Time
Reference Note
TI
6.2.23 AT+CCID
AT+CCID Show ICCID
Show ICCID EN
D
Test Command Response
AT+CCID=? OK
FI
Execution Response
Command Ccid data [ex. 898600810906F8048812]
N
AT+CCID
O
OK
C
Time
Reference Note
O
C
OK
+CMS ERROR: <err>
Parameter
See Write Command
E
"DEL READ" Delete all read messages
"DEL UNREAD" Delete all unread messages
L
"DEL SENT" Delete all sent SMS
FI
"DEL UNSENT" Delete all unsent SMS
"DEL INBOX" Delete all received SMS
"DEL ALL" Delete all SMS
AL
2) If PDU mode:
1 Delete all read messages
TI
2 Delete all unread messages
3 Delete all sent SMS
4 Delete all unsent SMS EN
5 Delete all received SMS
6 Delete all SMS
D
Parameter Saving NO_SAVE
Mode
FI
Reference Note
C
OK
If error is related to ME functionality:
SI
E
<tone> Numeric type
1 Dial Tone
L
2 Called Subscriber Busy
FI
3 Congestion
4 Radio Path Acknowledge
AL
5 Radio Path Not Available / Call Dropped
6 Error / Special information
7 Call Waiting Tone
TI
8 Ringing Tone
16 General Beep
EN
17 Positive Acknowledgement Tone
18 Negative Acknowledgement or Error Tone
19 Indian Dial Tone
D
20 American Dial Tone
<duration> Numeric type, in milliseconds.
FI
Mode
C
Max Response -
Time
Reference Note
M
OK
Parameters
See Write Command
Write Command Response
AT+SIMTONE= OK
<mode>,<freque If error is related to ME functionality:
ncy>,<periodOn +CME ERROR: <err>
E
<periodOn> The period of generating tone, must be multiple of 100
<periodOff> The period of stopping tone, must be multiple of 100
L
<duration> Duration of tones in milliseconds
FI
Parameter Saving NO_SAVE
Mode
AL
Max Response -
Time
Reference Note
TI
6.2.28 AT+CCPD Enable or Disable Alpha String
AT+CCPD Enable or Disable Alpha String
EN
D
Test Command Response
AT+CCPD=? +CCPD: (0,1)
FI
OK
N
Parameter
O
OK
M
Parameter
See Write Command
O
AT+CCPD=<mo OK
de> If error is related to ME functionality:
M
<mode>
0 Disable to present alpha string
1 Enable to present alpha string
Parameter Saving AT&W_SAVE
Mode
Max Response -
Time
Reference Note
E
Command +GID: <gid1>,<gid2>
L
AT+CGID
OK
FI
If error is related to ME functionality:
+CME ERROR: <err>
AL
Parameters
<gid1> Integer type of SIM card group identifier 1
<gid2> Integer type of SIM card group identifier 2
TI
Parameter Saving NO_SAVE
Mode
Max
Time
Response -
EN
D
Reference Note
If the SIM supports GID files, the GID values will be retuned. Otherwise
FI
0xff is retuned.
N
OK
M
Parameter
See Write Command
O
OK
SI
Parameter
See Write Command
Write Command Response
AT+MORING=< OK
mode> If error is related to ME functionality:
+CME ERROR: <err>
Parameter
E
MO RING
The call is alerted.
L
FI
MO CONNECTED
The call is established.
AL
Parameter Saving AT&W_SAVE
Mode
Max Response -
TI
Time
Reference Note
EN
6.2.31 AT+CMGHEX Enable or Disable Sending Non-ASCII Character SMS
D
AT+CMGHEX Enable or Disable Sending Non-ASCII Character SMS
FI
?
O
OK
Parameter
C
OK
O
Parameter
See Write Command
C
AT+CMGHEX= OK
<mode> If error is related to ME functionality:
SI
Mode
Max Response -
Time
Reference Note
Only be available in TEXT mode and AT+CSCS="GSM".
E
AT+CCODE Configure SMS Code Mode
L
Test Command Response
FI
AT+CCODE=? +CCODE: (0,1)
OK
AL
Parameter
See Write Command
TI
Read Command Response
AT+CCODE? +CCODE:<mode>
OK
EN
Parameter
D
See Write Command
Write Command Response
FI
AT+CCODE=< OK
mode> If error is related to ME functionality:
N
Parameter
<mode> 0 Code mode compatible with NOKIA
C
Max Response -
Time
O
Reference Note
C
M
OK
Parameters
See Write Command
OK
Parameters
See Write Command
Write Command Response
E
AT+CIURC=<m OK
ode> If error is related to ME functionality:
L
+CME ERROR: <err>
FI
Parameters
<mode> 0 Disable URC presentation.
AL
1 Enable URC presentation
Parameter Saving AT&W_SAVE
Mode
TI
Max Response -
Time
Reference Note
EN
When module is powered on and initialization procedure is over.
D
URC "Call Ready" will be presented if <mode> is 1.
FI
AT+CPSPWD=< OK
oldpwd>,<newp If error is related to ME functionality:
C
Max Response -
Time
SI
Reference Note
Default value of <oldpwd> is "12345678".
If module is locked to a specific SIM card through AT+CLCK and
password lost or SIM state is PH-SIM PUK, user can use the super
password to unlock it.
It is not supported temporarily.
E
See Write Command
L
Write Command Response
AT+EXUNSOL= OK
FI
<exunsol>,<mod If error is related to ME functionality:
e> +CME ERROR: <err>
AL
Parameters
<exunsol> String type(string should be included in quotation marks).
TI
values are currently reserved by the present document
"SQ" Signal Quality Report
EN
Displays signal strength and channel bit error rate (similar to
AT+CSQ) in form +CSQN: <rssi>,<ber>when values change.
<mode>
D
0 Disable
1 Enable
FI
2 Query
Parameter Saving AT&W_SAVE
N
Mode
O
Max Response -
Time
C
Reference Note
M
OK
SI
Parameter
See Write Command
Parameter
See Write Command
Write Command Response
AT+CGMSCLA OK
SS=<class> If error is related to ME functionality:
+CME ERROR: <err>
Parameter
E
<class> GPRS multi-slot class
L
Parameter Saving AUTO_SAVE
Mode
FI
Max Response -
Time
AL
Reference Note
TI
6.2.37 AT+CDEVICE View Current Flash Device Type
AT+CDEVICE
Read Command
View Current Flash Device Type
Response
EN
AT+CDEVICE? Device Name: Current flash device type
D
OK
FI
Mode
O
Max Response -
Time
C
Reference Note
V.25ter
M
OK
Parameter
SI
which shows whether the module is currently ready for phone call.
+CCALR: <mode>
OK
Parameter
See Test Command
Parameter Saving NO_SAVE
E
Mode
L
Max Response -
Time
FI
Reference Note
AL
6.2.39 AT+GSV Display Product Identification Information
AT+GSV Display Product Identification Information
TI
Execution Response
Command
AT+GSV
EN
TA returns product information text
Example:
D
SIMCOM_Ltd
SIMCOM_SIM800H
FI
Revision: 1308B01SIM800H32
N
OK
O
Max Response -
Time
Reference Note
M
O
OK
Parameters
See Write Command
Write Command Response
AT+SGPIO=<ope OK
ration>,<GPIO>, ERROR
<function>,<level Parameters
> <operation>
0 Set the GPIO function including the GPIO output.
1 Read the GPIO level. Please note that only when the gpio is
set as input, user can use parameter 1 to read the GPIO level, otherwise the
module will return "ERROR".
<GPIO> The GPIO you want to be set. (It has relations with the hardware,
E
please refer to the hardware manual)
<function> Only when <operation> is set to 0, this option takes effect.
L
0 Set the GPIO to input.
FI
1 Set the GPIO to output
<level> 0 Set the GPIO low level
1 Set the GPIO high level
AL
Parameter Saving NO_SAVE
Mode
TI
Max Response -
Time
Reference Note EN
Scope of parameter <GPIO> is different among SIM800 series project,
please refer to chapter 21 for details.
D
FI
supported <level>s)
C
OK
Parameters
M
AT+SPWM=<in OK
dex>,<freq>,<lev If error is related to ME functionality:
C
Parameters
<index> Integer type: the index number of PWM port, which value is
SI
E
However, the equation can not be simplified. PWM_THRES should be less
L
than the PWM_CNT.
If freq euals 0, the output of PWM is in low state.
FI
6.2.42 AT+ECHO Echo Cancellation Control
AL
AT+ECHO Echo Cancellation Control
Test Command Response
AT+ECHO=? +ECHO: (0,1),(0-65535),(0-65535),(0-65535),(0-65535),(0,1)
TI
OK
Parameters
See Write Command
EN
D
Read Command Response
AT+ECHO? +ECHO: (<mic0>,<nlp0>, <aec0>,<nr0>, <ns0>),(<micn>,<nlpn>,
FI
<aecn>,<nrn>, <nsn>)
N
OK
O
Parameters
See Write Command
C
E
is not displayed.
L
6.2.43 AT+CAAS Control Auto Audio Switch
FI
AT+CAAS Control Auto Audio Switch
Test Command Response
AL
AT+CAAS=? +CAAS: (0-2)
OK
TI
Parameter
Read Command
AT+CAAS?
See Write Command
Response
+CAAS: <mode>
EN
D
OK
FI
Parameter
See Write Command
N
AT+CAAS=<mo This parameter setting determines whether or not the audio channel will be
de> switched automatically to the corresponding channel in case of headset
C
attaching or detaching.
OK
M
Parameter
<mode>
C
Time
Reference Note
For this command, please refer to actual model.
The headset detection is still worked when <mode> is set to 0.
E
Test Command Response
L
AT+SVR=? +SVR: (list of supported <voice_rate_coding>s)
FI
OK
Parameter
AL
See Write Command
Read Command Response
AT+SVR? +SVR: <voice_rate_coding>
TI
OK
Parameter
See Write Command
EN
D
Write Command Response
AT+SVR=<voice OK
FI
Parameter
O
0 FR
1 EFR/FR
2 HR/FR
M
3 FR/HR
4 HR/EFR
O
5 EFR/HR
6 AMR-FR/EFR,AMR-HR
C
7 AMR-FR/EFR,AMR-HR/HR
M
8 AMR-HR/HR/AMR-FR/EFR
9 AMR-HR/AMR-FR/EFR
SI
10 AMR-HR/AMR-FR/FR
11 AMR-HR/HR/AMR-FR
12 AMR-FR/AMR-HR
13 AMR-FR/FR/AMR-HR
14 AMR-FR/FR/AMR-HR/HR
15 AMR-FR/EFR/FR/AMR-HR/HR
16 AMR-HR/AMR-FR/EFR/FR/HR
17 AMR-FR/AMR-HR/EFR/FR/HR
Parameter Saving AT&W_SAVE
Mode
Max Response -
Time
Reference Note
The parameter of AT+SVR is stored in non-volatile memory.
L E
6.2.45 AT+GSMBUSY Reject Incoming Call
AT+GSMBUSY Reject Incoming Call
FI
Test Command Response
AT+GSMBUSY= +GSMBUSY: (0,1,2)
AL
?
OK
TI
Parameter
See Write Command
Read Command Response
AT+GSMBUSY? +GSMBUSY: <mode>
EN
D
OK
Parameter
FI
<mode> OK
If error is related to ME functionality:
C
Mode
Max Response -
M
Time
SI
Reference Note
The parameter is not saved if the module power down.
OK
Parameter
See Write Command
Read Command Response
E
AT+CEMNL? +CEMNL: <mode>[,<amount>,<emergency numbers>]
L
OK
FI
Parameter
See Write Command
AL
Write Command Response
AT+CEMNL=< OK
mode>[,<amount ERROR
TI
>,<emergency Parameter
numbers>] <mode> 0 Disable
1 Enable EN
<amount> Amount of emergency number to be set. Up to 11 emergency
numbers supported. Default value is 2.
D
<emergency numbers>
FI
Mode
Max Response -
C
Time
Reference Note
M
OK
Parameter
See Write Command
Read Command Response
AT*CELLLOC *CELLLOCK: <mode>[,<amount>,<locked arfcn list>[,<locked arfcn
K? list>…]]
OK
Parameter
See Write Command
Write Command Response
AT*CELLLOC OK
E
K=<mode>[,<am ERROR
ount>,<locked
L
Parameter
arfcn <mode>
FI
list>[,<locked 0 Disable
arfcn list>…]] 1 Enable
AL
<amout>
Amount of arfcn to be set. Up to 3 arfcn supported.
<locked arfcn list>
TI
Arfcn needs to be locked by user.
Scope: (0-124), (128-251), (512-885) or (975-1023).
Parameter Saving AUTO_SAVE
Mode
EN
Max Response -
D
Time
FI
Reference Note
N
OK
Parameters
O
OK
SI
Parameters
See Write Command
Write Command Response
AT+SLEDS=<m OK
ode>,<timer_on> ERROR
,<timer_off> Parameters
<mode>
1 Set the timer period of net light while SIM800 series does not
register to the network
2 Set the timer period net light while SIM800 series has already
registered to the network
3 Set the timer period net light while SIM800 series is in the state of
E
PPP communication
<timer_on>
L
Timer period of "LED ON" in decimal format which range is 0 or
FI
40-65535(ms)
<timer_off>
Timer period of “LED OFF” in decimal format which range is 0 or
AL
40-65535(ms)
Parameter Saving AT&W_SAVE
TI
Mode
Max Response -
Time
Reference Note
EN
The default value is :
D
<mode>,<timer_on>,<timer_off>
FI
1,64,800
2,64,3000
N
3,64,300
O
6.2.49 AT+CBUZZERRING Use the Buzzer Sound as the Incoming Call Ring
C
OK
O
Parameter
See Write Command
C
AT+CBUZZER OK
RING=<mode> ERROR
SI
Parameter
<mode>
0 Disable the function of using buzzer sound as the incoming call ring
1 Enable the function of using buzzer sound as the incoming call ring
Parameter Saving AT&W_SAVE
Mode
Max Response -
Time
Reference Note
This buzzer function is depending on the hardware.
E
Test Command Response
L
AT+CEXTERN +CEXTERNTONE: (0,1)
TONE=?
FI
OK
Parameters
AL
See Write Command
Read Command Response
AT+CEXTERN +CEXTERNTONE: <mode>
TI
TONE?
OK
Parameters
See Write Command
EN
D
Write Command Response
AT+CEXTERNT OK
FI
ONE=<mode> ERROR
Parameters
N
<mode>
O
Time
Reference Note
O
C
E
AT+CNETLIGH OK
T=<mode> ERROR
L
Parameters
FI
<mode>
0 Close the net light
AL
1 Open the net light to shining
Parameter Saving AT&W_SAVE
Mode
TI
Max Response -
Time
Reference Note
EN
D
6.2.52 AT+CWHITELIST Set the White List
FI
ST=?
OK
C
Parameter
See Write Command
Read Command Response
M
OK
Parameters
M
AT+CWHITELI OK
ST=<mode>[,<in ERROR
dex>,<phone Parameters
number>] <mode>
0 Disable
1 Enable only call white list
2 Enable only SMS white list
3 Enable call and SMS white list
<index>
E
The index of phone number, scope: 1-30
<phone number>
L
Phone number to be set
FI
Parameter Saving AUTO_SAVE
Mode
AL
Max Response -
Time
Reference Note
TI
Parameter mode value is 1, can save white list phone number ,Other
mode value can not save white list phone number.
EN
White list phone numbers are suitable to call and SMS function.
D
6.2.53 AT+CSDT Switch on or off Detecting SIM Card
FI
OK
C
Parameters
See Write Command
Read Command Response
M
OK
Parameters
C
de> ERROR
Parameters
<mode>
0 Switch off detecting SIM card
1 Switch on detecting SIM card
Parameter Saving AT&W_SAVE
Mode
Max Response -
Time
Reference Note
User should select 8-pin SIM card holder to implement SIM card
detection function.
After plug out simcard, User should wait 2 seconds before plug in SIM
E
card.
L
6.2.54 AT+CSMINS SIM Inserted Status Reporting
FI
AT+CSMINS SIM Inserted Status Reporting
Test Command Response
AL
AT+CSMINS=? +CSMINS: (list of supported <n>s)
OK
TI
Parameter
Read Command
AT+CSMINS?
See Write Command
Response
+CSMINS: <n>,<SIM inserted>
EN
D
OK
FI
Parameters
See Write Command
N
AT+CSMINS=< OK
n> ERROR
C
1 Enable
<SIM inserted> A numeric parameter which indicates whether SIM
SI
Time
Reference Note
E
AT+CSGS=? +CSGS: (0-2)
L
OK
FI
Parameters
See Write Command
AL
Read Command Response
AT+CSGS? +CSGS: <mode>
TI
OK
Parameters
See Write Command
EN
Write Command Response
D
AT+CSGS=<mo OK
de> ERROR
FI
Parameters
<mode>
N
0 Disable
O
1 Enable, the netlight will be forced to enter into 64ms on/300ms off
blinking state in GPRS data transmission service. Otherwise, the
C
Max Response -
C
Time
Reference Note
M
SI
Parameters
See Write Command
Read Command Response
AT+CMICBIAS +CMICBIAS: <mode>
?
OK
Parameters
E
See Write Command
L
Write Command Response
AT+CMICBIAS OK
FI
=<mode> ERROR
Parameters
AL
<mode>
0 Turn off the micbias
1 Turn on the micbias
TI
Parameter Saving NO_SAVE
Mode
Max
Time
Response -
EN
D
Reference Note
The settting take effect at the current channel only
FI
OK
Parameters
M
OK
M
Parameters
See Write Command
SI
Parameters
<mode> TTS and record play mode
0 Local
1 Remote
2 Local and remote
Parameter Saving NO_SAVE
Mode
E
Max Response -
Time
L
Reference Note
FI
This command takes effect only in call. TTS and record not in call only play
locally no matter what the mode is. Setting takes effect before TTS or
AL
record play.
TI
AT+SJDR Set Jamming Detection Funcition
Test Command
AT+SJDR=?
Response
+SJDR: (0,1)
EN
D
OK
Parameters
FI
or
+SJDR: <status>,<mode>,<var>,<display>,<result>
C
OK
Parameters
M
AT+SJDR=<status> OK
C
,<mode>[,<var>[,<d ERROR
isplay>]]
M
Parameters
<status>
0 Disable jamming detection
1 Enable jamming detection
E
<mode>
L
0 Should inquire status by reading command
FI
1 Only report jamming status via URC from serial port
2 Only report jamming status via the PIN
3 Report jamming status via URC as well as the PIN
AL
<var> The threshold to separate “+SJDR: JAMMING
DETECTED” from “+SJDR: INTERFERENCE
DETECTED” (while the signal strength variance is
TI
higher than <var>, there could be industrial
interferences , and “+SJDR: INTERFERENCE
EN
DETECTED” is reported).
1-255(default value:255)
<display>
D
0 Report jamming status via URC every 3000ms. (only
FI
Mode
Max Response Time -
Reference Note
M
+SJDR:1,<mode>,<var>,<display>,<result>
<result>=0, means no jamming.
C
E
=?
OK
L
Parameters
FI
See Write Command
Read Command Response
AL
AT+CPCMCFG +CPCMCFG: <format>
?
OK
TI
Parameters
Write Command
AT+CPCMCFG
See Write Command
Response
OK
EN
D
=<format> ERROR
Parameters
FI
<format> 0 MSB
1 LSB
N
Mode
Max Response -
C
Time
Reference Note
Part of the projects supported by this AT command, please refer to chapter
M
21 for details.
O
C=?
OK
Parameters
See Write Command
E
AT+CPCMSYN OK
C=<sync>,<lengt ERROR
L
h> Parameters
FI
<sync> 0 PCM short sync
1 PCM long sync
AL
<length> 1-8 PCM sync length(1-8)
Parameter Saving NO_SAVE
Mode
TI
Max Response -
Time
Reference Note
EN
The <length> is only supported 1 when PCM sync is short sync.
D
Part of the projects supported by this AT command, please refer to
chapter 21 for details.
FI
OK
M
OK
SI
E
<UrcEnable> 0 Disable reporting antenna state by URC
1 Enable reporting antenna state by URC
L
<timer> 0-3600 Reporting timer in units of seconds, range:
FI
0-3600. Set timer to 0 will close detect, the
recommend value is 10.
<status> 0 Connected normally
AL
1 Connected to GND
2 Connected to other power source
TI
3 Not connected
Parameter Saving AT&W_SAVE
Mode
Max Response -
EN
Time
D
Reference Note
FI
OK
Parameters
O
OK
SI
Parameters
See Write Command
Write Command Response
AT+CAGCSET= OK
<mode> ERROR
Parameters
<mode>
0 Close AGC function
1 Open the AGC function
Parameter Saving NO_SAVE
Mode
Max Response -
E
Time
L
Reference Note
FI
6.2.63 AT+SD2PCM SD and PCM Switch Function
AT+SD2PCM SD and PCM Switch Function
AL
Test Command Response
AT+SD2PCM=? +SD2PCM: (0,1)
TI
OK
Parameters
See Write Command
EN
Read Command Response
D
AT+SD2PCM? +SD2PCM: <mode>
FI
OK
Parameters
N
mode> ERROR
Parameters
<mode>
M
Mode
Max Response -
M
Time
SI
Reference Note:
If user set <mode> from 1 to 0, user should execute at&w command to
save this setting, and then reboot the module by AT command or
pwrkey.
Part of the projects supported by this AT command, please refer to
chapter 21 for details.
OK
Parameters
E
See Write Command
L
Read Command Response
AT+SKPD? +SKPD: <mode>
FI
OK
AL
Parameters
See Write Command
TI
Write Command Response
AT+SKPD=<mo OK
de> ERROR
EN
If key has pressed or released, The URC report is:
D
+SKPD: <value>,<event>
FI
Parameters
<mode>
N
Parameter Saving -
Mode
O
Max Response -
Time
C
Reference Note
M
OK
Parameters
See Write Command
Write Command Response
AT+SIMTONEX OK
=<mode>,<durat If error is related to ME functionality:
E
ion>,<freq1>,<fr +CME ERROR: <err>
eq2>,<periodOn
L
Unsolicited Result Code
>,<periodOff>,< The playing is stopped or completed.
FI
nextIndex>[,<fre +SIMTONEX: 0
q1>,<freq2>,<pe Parameters
AL
riodOn>,<period <mode> 0 Stop playing tone
Off>,<nextIndex 1 Start playing tone
>…] <duration> Duration of tones in milliseconds
TI
<freq1> The first frequency of tone to be generated
<freq2> The second frequency of tone to be generated
<periodOn>
<periodOff>
EN
The period of generating tone, must be multiple of 100
The period of stopping tone, must be multiple of 100
<nextIndex> The index of next tone to play
D
Parameter Saving NO_SAVE
FI
Mode
Max Response -
N
Time
O
Reference Note
A group of parameters <freq1>, <freq2>, <periodOn>, <periodOff>,
C
with "AT+SIMTONEX=1,10000,800,0,500,10,2,2000,0,500,100,
2600,0,500,10,1,1700,0,500,10,4,2200,0,600,100,0",the order is
O
10s.
M
E
Reference Note
L
FI
6.2.67 AT+CNETSCAN Perform a Net Survey to Show All the Cells’ Information
AT+CNETSCAN Perform a Net Survey to Show All the Cells’ Information
AL
Test Command Response
AT+CNETSCA +CNETSCAN: (list of supported <format>s)
N=?
TI
OK
Parameters
See Write Command
EN
Read Command Response
D
AT+CNETSCA +CNETSCAN: <format>
N?
FI
OK
Parameters
N
N=<format> Parameters
<format> 0 Hide lac and bsic information
1 Show lac and bsic information
M
Execution Response
Command If format’s value is 0:
O
AT+CNETSCA Operator:"<Network_Operator_name>",MCC:<MCC>,MNC:<MNC>
C
N ,Rxlev:<Rxlev>,Cellid:<CellID>,Arfcn:<Arfcn>[<CR><LF>Operator:
"<Network_Operator_name2>",MCC:<MCC2>,MNC:<MNC2>,Rxlev
M
:<Rxlev2>,Cellid:<CellID2>,Arfcn:<Arfcn2>[…]]
If format’s value is 1:
SI
Operator:"<Network_Operator_name>",MCC:<MCC>,MNC:<MNC>
,Rxlev:<Rxlev>,Cellid:<CellID>,Arfcn:<Arfcn>,Lac:<Lac>,Bsic:<Bsic
>[<CR><LF>Operator:"<Network_Operator_name2>",MCC:<MCC2
>,MNC:<MNC2>,Rxlev:<Rxlev2>,Cellid:<CellID2>,Arfcn:<Arfcn2>,L
ac:<Lac2>,Bsic:<Bsic2>[…]]
OK
Parameters
<Network_Operator_name> Long format alphanumeric of network
operator.
<MCC> Mobile country code.
<MNC> Mobile network code.
<Rxlev> Recieve level, in decimal format.
E
<CellID> Cell identifier, in hexadecimal format.
<Arfcn> Absolute radio frequency channel number, in decimal format.
L
<Lac> Location area code, in hexadecimal format.
FI
<Bsic> Base station identity code, in hexadecimal format.
Parameter Saving NO_SAVE
AL
Mode
Max Response 45s
Time
TI
Reference Note
OK
O
Parameters
See Write Command
C
OK
Parameters
O
mode> ERROR
Parameters
SI
Reference Note
Please refer to SIM800 Series_Serial Port_Application Note.
Part of the projects supported by this AT command, please refer to
chapter 21 for details.
E
Test Command Response
AT+CEGPRS=? +CEGPRS: (0,1) , (2,4,8,9,10,12)
L
FI
OK
Parameters
AL
See Write Command
TI
AT+CEGPRS? +CEGPRS: <switch>[,<class>]
OK
Parameters
EN
See Write Command
D
Write Command Response
FI
AT+CEGPRS=< OK
switch>[,<class>] If error is related to ME functionality:
N
<switch>
C
<class> is optional.
O
Max Response -
Time
M
Reference Note
SI
OK
Parameters
See Write Command
Write Command Response
AT+CGPIO=<ope OK
ration>,<pin>,<fu ERROR
nction>,<level> Parameters
E
<operation>
L
0 Set the GPIO function including the GPIO output .
1 Read the GPIO level. Please note that only when the gpio is
FI
set as input, user can use parameter 1 to read the GPIO level, otherwise the
module will return "ERROR".
AL
<pin> The PIN index you want to be set. (It has relations with the
hardware, please refer to the hardware manual)
<function> Only when <operation> is set to 0, this option takes effect.
TI
0 Set the GPIO to input.
1 Set the GPIO to output
<level> EN
0 Set the GPIO low level
1 Set the GPIO high level
D
Reference Note
FI
N
Parameters
See Write Command
O
Y?
M
OK
Parameters
SI
OK
E
0 Stop playing
1 Start playing
L
2 Pause playing
FI
3 Resume playing
<filepath> Audio file path and name
<channel> Audio play channel
AL
0 Main channel
1 Aux channel
TI
<volume> Audio play volume,0-100
<state> Audio playing state
0 Idle
1 Playing
EN
2 Paused
D
Unsolicited result code
FI
Max Response
C
Time
Reference Note
<mode> 2 and 3 are not supported when playing audio file during call.
The audio file can not be played duirng incoming call or outgoing call.
M
L=<level> ERROR
Parameters
<level> 0-100 Integer type value with manufacturer specific range
(smallest value represents the lowest sound level).
Reference Note
The command takes effect only when playing audio file.
E
6.2.73 AT+SNDLEVEL Set the Sound Level of Special AT Command
AT+SNDLEVEL Set the Sound Level of Special AT Command
L
FI
Test Command Response
AT+SNDLEVEL= +SNDLEVEL: (0-1),(0-100)
?
AL
OK
Parameters
See Write Command
TI
Read Command Response
EN
AT+SNDLEVEL? +SNDLEVEL: (0,<soundlevel0>),(1,<soundlevel1>)
OK
D
Parameters
See Write Command
FI
<mode>,<soundle ERROR
O
vel> Parameters
<mode> 0 adjust the sound level of STTONE and SIMTONE
C
OK
Parameters
See Write Command
Write Command Response
AT+ECHARGE= OK
E
<n> ERROR
L
Parameters
FI
<n>
0 Disable charge
1 Enable charge
AL
Parameter Saving AT&W_SAVE
Mode
TI
Reference Note
EN
6.2.75 AT+SIMTIMER Modify the Poll Interval Time Requested by SIM Card
AT+SIMTIMER Modify the Poll Interval Time Requested by SIM Card
D
Test Command Response
FI
OK
O
Parameters
See Write Command
C
OK
Parameters
O
AT+SIMTIMER OK
M
=<time> ERROR
Parameters
SI
E
OK
L
Parameters
See Write Command
FI
Read Command Response
AT+SPE? +SPE: <n>
AL
OK
Parameters
TI
See Write Command
Write Command
AT+SPE=<n>
Response
OK
ERROR
EN
D
Parameters
FI
<n>
0 Disable Speech Enhancement
N
AT+CCONCIND
O
EX=? OK
Execution Response
C
AT+CCONCIND OK
EX where N is the number of segments that form the whole concatenated SMS
SI
i,j,k are the SMS indexes of each SMS segment , N is 0 if no segments has
been received.
If no concatenated SMS is present on the SIM or ME, only OK result code
will been returned.
Parameter Saving NO_SAVE
Mode
Reference Note
E
OK
L
Parameters
FI
See Write Command
Read Command Response
AL
AT+SDMODE? +SDMODE: <mode>
OK
TI
Parameters
See Write Command
Write Command Response
AT+SDMODE=< OK
EN
D
mode> ERROR
Parameters
FI
<mode>
0 SD card function is invalid
N
Max Response -
Time
Reference Note:
M
command or pwrkey.
C
OK
Parameters
OK
Parameters
See Write Command
E
Write Command Response
L
AT+SRSPT=<n> OK
ERROR
FI
Parameters
<n>
AL
0 Enable SMS retransmission
1 Disable SMS retransmission
TI
Reference Note
6.2.80 AT+CELLIST
EN
Perform a Net Survey to Show All the Cells’ Information
AT+CELLIST Perform a Net Survey to Show All the Cells’ Information
D
Test Command Response
FI
OK
Parameters
O
OK
M
Parameters
O
AT+CELLIST= OK
M
<mode>[,<period Parameters
>] <mode> 0 Disable scan cell infomation
SI
Parameters
<MCC> Mobile country code.
<MNC> Mobile network code.
<Rxlev> Recieve level, in decimal format.
<CellID> Cell identifier, in hexadecimal format.
<Arfcn> Absolute radio frequency channel number, in decimal format.
<Lac> Location area code, in hexadecimal format.
E
<Bsic> Base station identity code, in hexadecimal format.
Parameter Saving NO_SAVE
L
Mode
FI
Reference Note
If the CELLIST function is enabled, the module will scan full
AL
frequency in accordance with the set of <period>, it will affect the
normal network registration, so it is recommended to enable the
function and the <period> value is greater than 30 after the network
TI
registration.
Enable the CELLIST function will increase the flow of the module.
EN
The function of CELLIST and CNETSCAN are the same.
CNETSCAN is synchronized to scan cell information, until the scan
complete AT instructions to return to the cell information. CELLIST is
D
an asynchronous operation, the internal module of the automatic
scanning, the implementation of the AT+CELLIST to return the scan
FI
After Enable the CELLIST function, the module need to wait for a
period of time to read the cell information, this time is generally about
O
30 seconds.
C
OK
C
Parameters
See Write Command
M
AT+CLIST=<mo +CLIST:
dule> 001: <name>
002: <name>
003: <name>
…
OK
Parameters
<module> My terminal`s module, eg:SAT,NT,CALL_EXT,
NETWORK_EXT,SIMCOM_ALL,PLATFORM.
<name> AT command`s name, eg:CFUN,CREG,CLIST,STKI.
Reference Note
Each row only shows four modules
E
6.2.82 AT+CBATCHK Set VBAT Checking Feature ON/OFF
L
AT+CBATCHK Set VBAT Checking Feature ON/OFF
FI
Test Command Response
AT+CBATCHK +CBATCHK: (0,1)
=?
AL
OK
Read Command Response
TI
AT+CBATCHK? +CBATCHK: <mode>
OK
Parameters
EN
See Write Command
D
Write Command Response
AT+CBATCHK OK
FI
=<mode> If failed:
+CME ERROR: <err>
N
Parameters
O
Parameter Saving
Mode
Max Response -
M
Time
O
Reference Note
The default value of parameter <mode> is different among SIM800 series
C
Command Description
AT+CGATT Attach or detach from GPRS service
E
AT+CGDCONT Define PDP context
L
AT+CGQMIN Quality of service profile (minimum acceptable)
FI
AT+CGQREQ Quality of service profile (requested)
AT+CGACT PDP context activate or deactivate
AL
AT+CGDATA Enter data state
AT+CGPADDR Show PDP address
TI
AT+CGCLASS GPRS mobile station class
AT+CGEREP Control unsolicited GPRS event reporting
AT+CGREG
AT+CGSMS
Network registration status EN
Select service for MO SMS messages
D
7.2 Detailed Descriptions of AT Commands for GPRS Support
FI
OK
Parameters
M
OK
M
Parameters
SI
0 Detached
1 Attached
Other values are reserved and will result in an ERROR response to the
Write Command.
Parameter Saving NO_SAVE
Mode
Max Response 75 seconds
E
Time
L
Reference Note
FI
7.2.2 AT+CGDCONT Define PDP Context
AL
AT+CGDCONT Define PDP Context
Test Command Response
AT+CGDCONT +CGDCONT: (range of supported <cid>s),<PDP_type>,,,(list of
TI
=? supported<d_comp>s),(list of supported<h_comp>s)
[<CR><LF>+CGDCONT:
EN
(range of supported <cid>s), <PDP_type>,,,(list ofsupported
<d_comp>s),(list of supported <h_comp>s)[...]]
D
OK
FI
Parameters
See Write Command
N
AT+CGDCONT +CGDCONT:
? <cid>,<PDP_type>,<APN>,<PDP_addr>,<data_comp>,<head_comp>
C
[<CR><LF>+CGDCONT:
<cid>,<PDP_type>,<APN>,<PDP_addr>,<data_comp>,<head_comp>
[…]]
M
OK
O
Parameters
See Write Command
C
AT+CGDCONT OK
=<cid>[,<PDP_ty ERROR
SI
pe>[,APN>[,<PD Parameters
P_addr>[,<d_co <cid> (PDP Context Identifier) a numeric parameter which
mp>[,<h_comp>] 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) is returned by the test form of the
command.
<PDP_type> (Packet Data Protocol type)
IP Internet Protocol (IETF STD 5)
<APN> (Access Point Name) A string parameter (string should be
included in quotation marks) which is 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
E
subscription value will be requested.The default value is
NULL.
L
<PDP_addr> A string parameter (IP address). Format:
FI
"<n>.<n>.<n>.<n>" where <n>=0..255
If the value is null or equals 0.0.0.0 a dynamic address will
be requested. The allocated address may be read using the
AL
+CGPADDR command
<d_comp> A numeric parameter that controls PDP data compression
TI
0 –PDP data compression off (default if value is omitted)
<h_comp> A numeric parameter that controls PDP data compression
Mode
D
Max Response -
Time
FI
Reference Note
N
O
OK
SI
Parameters
See Write Command
OK
E
Parameters
L
See Write Command
FI
Write Command Response
AT+CGQMIN=< OK
AL
cid>[,<precedenc If error is related to ME functionality:
e>[,<delay>[,<rel +CME ERROR: <err>
iability>[,<peak> Parameters
TI
[,<mean>]]]]] <cid>
1..3 A numeric parameter which specifies a particular
<precedence>
EN
PDP context definition (see +CGDCONT command)
<delay>
0 QOS delay class subscribed value
N
<mean>
0 QOS mean throughput class subscribed value
O
Mode
SI
Max Response -
Time
Reference Note
E
[…]]
L
OK
FI
Parameters
See Write Command
AL
Read Command Response
AT+CGQREQ? +CGQREQ: <cid>,<precedence>,<delay>,>reliability>,<peak>,<mean>
[<CR><LF>+CGQREQ:
TI
<cid>,<precedence>,<delay>,<reliability>,<peak>,<mean>
[…]]
OK
EN
Parameters
D
See Write Command
FI
ability>[,<peak>[
C
,<mean>]]]]] Parameters
<cid> A numeric parameter which specifies a particular PDP
context definition (see +CGDCONT Command)
The following parameter are defined in GSM 03.60
M
E
Max Response -
Time
L
Reference Note
FI
AL
7.2.5 AT+CGACT PDP Context Activate or Deactivate
AT+CGACT PDP Context Activate or Deactivate
Test Command Response
TI
AT+CGACT=? +CGACT: (list of supported <state>s)
OK
Parameters
EN
D
See Write Command
Read Command Response
FI
OK
O
Parameters
See Write Command
C
0 Deactivated
1 Activated
M
Time
Reference Note
This command is used to test PDPs with network simulators.
Successful activation of PDP on real network is not guaranteed.
Refer to AT+CGDATA clarification for more information.
E
AT+CGDATA Enter Data State
L
Test Command Response
AT+CGDATA=? +CGDATA: list of supported <L2P>s
FI
OK
AL
Parameter
See Write Command
Write Command Response
TI
AT+CGDATA=< CONNECT
L2P>[,<cid>] If error is related to ME functionality:
+CME ERROR: <err>
Parameters
EN
D
<L2P> A string parameter (string should be included in quotation
marks) that indicates the layer 2 protocol to be used between the
FI
TE and MT:
"PPP" Point to Point protocol for a PDP such as IP
N
Max Response -
Time
O
Reference Note
C
M
OK
ERROR
Parameters
<cid> A numeric parameter which specifies a particular PDP context
E
definition (see +CGDCONT Command)
L
<PDP_addr> String type, IP address
FI
Format: "<n>.<n>.<n>.<n>" where <n>=0..255
Parameter Saving NO_SAVE
Mode
AL
Max Response -
Time
TI
Reference Note
Write command returns address provided by the network if a connection has
been established. EN
7.2.8 AT+CGCLASS GPRS Mobile Station Class
D
AT+CGCLASS GPRS Mobile Station Class
FI
?
OK
O
C
Parameter
See Write Command
Read Command Response
AT+CGCLASS? +CGCLASS: <class>
M
O
OK
Parameter
C
<class> ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<class> A string parameter(string should be included in quotation
marks) which indicates the GPRS mobile class (in
descending order of functionality)
E
Mode
Max Response -
L
Time
FI
Reference Note
It only supports Class B, CG and CC.
AL
7.2.9 AT+CGEREP Control Unsolicited GPRS Event Reporting
AT+CGEREP Control Unsolicited GPRS Event Reporting
TI
Test Command Response
AT+CGEREP=? +CGEREP: (list of supported <mode>s)
OK
EN
Parameters
D
See Write Command
FI
OK
O
Parameters
C
mode> ERROR
O
Parameters
<mode>
C
Command)
<PDP_addr> Packet Data Protocol address (see +CGDCONT
Command)
<cid> Context Id (see +CGDCONT Command)
Parameter Saving NO_SAVE
Mode
Max Response -
E
Time
L
Reference Note
FI
7.2.10 AT+CGREG Network Registration Status
AL
AT+CGREG Network Registration Status
Test Command Response
TI
AT+CGREG=? +CGREG: (list of supported <n>s)
OK
Parameters
EN
See Write Command
D
Read Command Response
FI
OK
If error is related to ME functionality:
O
n>] ERROR
O
Parameters
<n> 0 Disable network registration unsolicited result code
C
<stat>
0 Not registered, MT is not currently searching an
operator to register to.The GPRS service is disabled, the UE is
allowed to attach for GPRS if requested by the user.
1 Registered, home network.
2 Not registered, but MT is currently trying to attach or
E
5 Registered, roaming
<lac> String type (string should be included in quotation marks); two
L
byte location area code in hexadecimal format (e.g. "00C3"
FI
equals 195 in decimal)
<ci> String type (string should be included in quotation marks); two
bytes cell ID in hexadecimal format
AL
Parameter Saving AT&W_SAVE
Mode
TI
Max Response -
Time
Reference Note EN
7.2.11 AT+CGSMS Select Service for MO SMS Messages
D
AT+CGSMS Select Service for MO SMS Messages
FI
OK
O
Parameters
C
OK
O
Parameters
See Write Command
C
AT+CGSMS=<se OK
rvice> If error is related to ME functionality:
SI
E
Time
L
Reference Note
FI
AL
TI
EN
D
FI
N
O
C
M
O
C
M
SI
8.1 Overview
Command Description
AT+CIPMUX Start up multi-IP connection
E
AT+CIPSTART Start up TCP or UDP connection
L
AT+CIPSEND Send data through TCP or UDP connection
FI
AT+CIPQSEND Select data transmitting mode
AT+CIPACK Query previous connection data transmitting state
AL
AT+CIPCLOSE Close TCP or UDP connection
AT+CIPSHUT Deactivate GPRS PDP context
TI
AT+CLPORT Set local port
AT+CSTT
AT+CIICR
EN
Start task and set APN, user name, password
Bring up wireless connection with GPRS or CSD
AT+CIFSR Get local IP address
D
AT+CIPSTATUS Query current connection status
FI
E
OK
L
Parameters
FI
See Write Command
Read Command Response
AT+CIPMUX? +CIPMUX: <n>
AL
OK
TI
Parameters
See Write Command
Write Command Response
AT+CIPMUX=< OK
EN
n> Parameters
D
<n> 0 Single IP connection
FI
1 Multi IP connection
Parameter Saving NO_SAVE
N
Mode
Max Response -
O
Time
C
Reference Note
Only in IP initial state, AT+CIPMUX=1 is effective;
Only when multi IP connection and GPRS application are both shut
M
AT+CIPSTART= 1) If AT+CIPMUX=0
? +CIPSTART: (list of supported <mode>),(<IP address>),(<port>)
SI
OK
2) If AT+CIPMUX=1
+CIPSTART: (list of supported <n>),(list of supported <mode>),(<IP
address>),(<port>)
+CIPSTART: (list of supported <n>),(list of supported <mode>),(<domain
name>),(<port>)
OK
Parameters
See Write Command
Write Command Response
1)If single IP 1)If single IP connection (+CIPMUX=0)
E
connection If format is right response
(+CIPMUX=0) OK
L
AT+CIPSTART= otherwise response
FI
<mode>,<IP If error is related to ME functionality:
address>,<port> +CME ERROR <err>
AL
Or Response when connection exists
ALREADY CONNECT
AT+CIPSTART= Response when connection is successful
TI
<mode>,<domai CONNECT OK
n name>,<port> Otherwise
2)If multi-IP
STATE: <state> EN
connection CONNECT FAIL
D
(+CIPMUX=1) 2)If multi-IP connection
AT+CIPSTART= (+CIPMUX=1)
FI
dress>,<port>
otherwise response
O
<n>,CONNECT OK
Otherwise
O
<n>,CONNECT FAIL
C
Parameters
<n> 0..5 A numeric parameter which indicates the connection
M
number
<mode> A string parameter which indicates the connection type
SI
0 IP INITIAL
1 IP START
2 IP CONFIG
3 IP GPRSACT
4 IP STATUS
5 TCP CONNECTING/UDP CONNECTING/
SERVER LISTENING
E
6 CONNECT OK
7 TCP CLOSING/UDP CLOSING
L
8 TCP CLOSED/UDP CLOSED
FI
9 PDP DEACT
In Multi-IP state:
0 IP INITIAL
AL
1 IP START
2 IP CONFIG
TI
3 IP GPRSACT
4 IP STATUS
EN
5 IP PROCESSING
9 PDP DEACT
Parameter Saving NO_SAVE
D
Mode
Max Response When mode is multi-IP state, the max response time75 seconds.
FI
Time When mode is single state, and the state is IP INITIAL, the max response
N
STATUS.
When module is in multi-IP state, before this command is executed, it
O
OK
2) For multi IP connection (+CIPMUX=1)
+CIPSEND: (0-5),<length>
OK
Parameters
See Write Command
Read Command Response
AT+CIPSEND? 1) For single IP connection (+CIPMUX=0)
+CIPSEND: <size>
E
OK
L
2) For multi IP connection (+CIPMUX=1)
FI
+CIPSEND: <n>,<size>
AL
OK
Parameters
<n> A numeric parameter which indicates the connection number
TI
<size> A numeric parameter which indicates the data length sent at a time
Write Command Response
1) If single IP
connection
EN
This Command is used to send changeable length data
If single IP is connected (+CIPMUX=0)
(+CIPMUX=0) If connection is not established or module is disconnected:
D
AT+CIPSEND=< If error is related to ME functionality:
FI
If sending is successful:
When +CIPQSEND=0
M
<n>,SEND OK
When +CIPQSEND=1
SI
DATA ACCEPT:<n>,<length>
If sending fails:
<n>,SEND FAIL
Parameters
<n> A numeric parameter which indicates the connection number
Execution Response
Command This Command is used to send changeable length data.
AT+CIPSEND If single IP connection is established (+CIPMUX=0)
response">", then If connection is not established or module is disconnected:
E
type data for send, If error is related to ME functionality:
tap CTRL+Z to +CME ERROR <err>
L
send, tap ESC to If sending is successful:
FI
cancel the When +CIPQSEND=0
operation SEND OK
When +CIPQSEND=1
AL
DATA ACCEPT:<length>
If sending fails:
TI
SEND FAIL
Note EN
This Command can only be used in single IP connection mode
(+CIPMUX=0) and to send data on the TCP or UDP connection that has
D
been established already. Ctrl-Z is used as a termination symbol. ESC is
used to cancel sending data. There are at most <size> bytes which can be
FI
sent at a time.
N
Max Response When +CIPQSEND=0 and the remote server no response, after 645
Time seconds, “CLOSE” will be reported.
C
Reference Note
The data length which can be sent depends on network status.
Set the time that send data automatically with the Command of
M
AT+CIPATS.
Only send data at the status of established connection.
O
C
?
OK
Parameter
See Write Command
Write Command Response
AT+CIPQSEND OK
=<n> Parameters
E
<n> 0 Normal mode – when the server receives TCP data, it will
L
responsd SEND OK.
1 Quick send mode – when the data is sent to module, it will
FI
responsd DATA ACCEPT:<n>,<length>, while not responding SEND OK.
Parameter Saving NO_SAVE
AL
Mode
Max Response -
Time
TI
Reference Note
EN
8.2.5 AT+CIPACK Query Previous Connection Data Transmitting State
D
AT+CIPACK Query Previous Connection Data Transmitting State
Test Command Response
FI
AT+CIPACK=? OK
N
connection
(+CIPMUX=1) OK
C
AT+CIPACK=< Parameters
n> <n> A numeric parameter which indicates the connection number
<txlen> The data amount which has been sent
M
Execution Response
C
connection OK
(+CIPMUX=0)
SI
Parameters
AT+CIPACK See Write Command
Parameter Saving NO_SAVE
Mode
Max Response -
Time
Reference Note
E
Write Command Response:
L
1) If single IP 1) For single IP connection (+CIPMUX=0)
connection CLOSE OK
FI
(+CIPMUX=0) 2) For multi IP connection (+CIPMUX=1)
<id>, CLOSE OK
AL
AT+CIPCLOSE Parameters
=<n> <n> 0 Slow close
2) If multi IP 1 Quick close
TI
connection <id> A numeric parameter which indicates the connection number
(+CIPMUX=1)
AT+CIPCLOSE
=<id>,[<n>]
EN
Execution Response
D
Command If close is successfully:
FI
AT+CIPCLOSE CLOSE OK
If close fails:
N
ERROR
Parameter Saving NO_SAVE
O
Mode
C
Max Response -
Time
Reference Note
M
should be:
TCP CONNECTING, UDP CONNECTING, SERVER LISTENING or
C
AT+CIPSHUT=? OK
Execution Response
Command If close is successful:
AT+CIPSHUT SHUT OK
If close fails:
ERROR
Parameter Saving NO_SAVE
E
Mode
L
Max Response 65 seconds
Time
FI
Reference Note
If this command is executed in multi-connection mode, all of the IP
AL
connection will be shut.
User can close gprs pdp context by AT+CIPSHUT. After it is closed,
the status is IP INITIAL.
TI
If "+PDP: DEACT" urc is reported which means the gprs is released by
the network, then user still needs to execute "AT+CIPSHUT"
EN
command to make PDP context come back to original state.
+CLPORT: ("TCP","UDP"),(0-65535)
O
OK
C
OK
Parameters
O
OK
2) For multi IP connection (+CIPMUX=1)
+CLPORT: 0,<TCP port>,<UDP port>
+CLPORT: 1,<TCP port>,<UDP port>
+CLPORT: 2,<TCP port>,<UDP port>
+CLPORT: 3,<TCP port>,<UDP port>
+CLPORT: 4,<TCP port>,<UDP port>
OK
Parameters
See Write Command
Write Command Response
1) For single IP OK
E
connection ERROR
(+CIPMUX=0)
L
Parameters
AT+CLPORT=< <n> 0..5 A numeric parameter which indicates the connection
FI
mode>,<port> number this used in multi IP connection
2) For multi IP <mode> A string parameter which indicates the connection type
AL
connection "TCP" TCP local port
(+CIPMUX=1) "UDP" UDP local port
AT+CLPORT=< <port> 0-65535 A numeric parameter which indicates the local port.
TI
n>,<mode>,<por Default value is 0, a port can be dynamically allocated a port.
t>
Parameter Saving NO_SAVE
Mode
EN
Max Response -
D
Time
FI
Reference Note
This command will be effective when module is set as a Client.
N
8.2.9 AT+CSTT Start Task and Set APN, USER NAME, PASSWORD
O
OK
Parameters
O
OK
SI
Parameters
See Write Command
Write Command Response
AT+CSTT=<apn OK
>,<user ERROR
name>,<passwor Parameters
d> <apn> A string parameter which indicates the GPRS access point
name. The max length is 50 bytes.Defautl value is "CMNET".
<user name> A string parameter which indicates the GPRS user name.
The max length is 50 bytes.
<password> A string parameter which indicates the GPRS password.
The max length is 50 bytes.
Parameter Saving NO_SAVE
E
Mode
Max Response -
L
Time
FI
Execution Response
Command OK
AL
AT+CSTT ERROR
Reference Note
The write command and execution command of this command is valid only
TI
at the state of IP INITIAL. After this command is executed, the state will be
changed to IP START.
8.2.10 AT+CIICR
EN
Bring Up Wireless Connection with GPRS or CSD
AT+CIICR Bring Up Wireless Connection with GPRS or CSD
D
Test Command Response
FI
AT+CIICR=? OK
Execution Response
N
Command OK
O
AT+CIICR ERROR
Parameter Saving NO_SAVE
C
Mode
Max Response 85 seconds
Time
M
Reference Note
AT+CIICR only activates moving scene at the status of IP START,
O
IP CONFIG.
After module accepts the activated operation, if it is activated
M
E
Max Response -
L
Time
Reference Note
FI
Only after PDP context is activated, local IP address can be obtained by
AT+CIFSR, otherwise it will respond ERROR. To see the status use
AL
AT+CIPSTATUS command. Status should be:
IP GPRSACT, TCP CONNECTING, UDP CONNECTING, SERVER
LISTENING, IP STATUS, CONNECT OK, TCP CLOSING, UDP
TI
CLOSING, TCP CLOSED, UDP CLOSED in single-connection mode (see
<state> parameter);
EN
IP STATUS, IP PROCESSING in multi-connection mode (see <state>
parameter).
D
8.2.12 AT+CIPSTATUS Query Current Connection Status
FI
AT+CIPSTATUS OK
O
=?
Write Command Response
C
AT+CIPSTATU OK
S=<n> Parameters
O
AT+CIPSTATUS OK
SI
STATE: <state>
2) If in multi-connection mode (+CIPMUX=1)
OK
STATE: <state>
If the module is set as server
S: 0, <bearer>, <port>, <server state>
E
CLOSING
<client state> INITIAL
L
CONNECTING
FI
CONNECTED
REMOTE CLOSING
CLOSING
AL
CLOSED
<state> A string parameter which indicates the progress of
TI
connecting
0 IP INITIAL
1
2
EN
IP START
IP CONFIG
3 IP GPRSACT
D
4 IP STATUS
5 TCP CONNECTING/UDP CONNECTING
FI
/SERVER LISTENING
6 CONNECT OK
N
In Multi-IP state:
0 IP INITIAL
1 IP START
M
2 IP CONFIG
3 IP GPRSACT
O
4 IP STATUS
5 IP PROCESSING
C
9 PDP DEACT
M
Max Response -
Time
Reference Note
E
See Write Command
L
Read Command Response
AT+CDNSCFG? PrimaryDns: <pri_dns>
FI
SecondaryDns: <sec_dns>
AL
OK
Parameter
See Write Command
TI
Write Command Response
AT+CDNSCFG=
<pri_dns>[,<sec_
dns>]
OK
ERROR
Parameters
EN
D
<pri_dns> A string parameter which indicates the IP address of the
primary domain name server. Default value is 0.0.0.0.
FI
Mode
Max Response -
C
Time
Reference Note
M
?
SI
Parameters
<domain name> A string parameter which indicates the domain name
<IP1> A string parameter which indicates the first IP address
corresponding to the domain name
<IP2> A string parameter which indicates the second IP address
corresponding to the domain name
<dns error code> A numeric parameter which indicates the error code
E
8 DNS COMMON ERROR
3 NETWORK ERROR
L
There are some other error codes as well.
FI
Parameter Saving NO_SAVE
Mode
AL
Max Response -
Time
Reference Note
TI
EN
8.2.15 AT+CIPHEAD Add an IP Head at the Beginning of a Package Received
AT+CIPHEAD Add an IP Head at the Beginning of a Package Received
D
Test Command Response
AT+CIPHEAD= +CIPHEAD: (list of supported <mode>s)
FI
?
OK
N
Parameter
O
OK
M
Parameters
See Write Command
O
<mode> ERROR
M
Parameters
<mode> A numeric parameter which indicates whether an IP header
SI
+RECEIVE,<n>,<data length>:
Parameter Saving NO_SAVE
Mode
Max Response -
Time
Reference Note
L E
8.2.16 AT+CIPATS Set Auto Sending Timer
AT+CIPATS Set Auto Sending Timer
FI
Test Command Response
AT+CIPATS=? +CIPATS: (list of supported <mode>s),(list of supported <time>)
AL
OK
TI
Parameters
See Write Command
Read Command
AT+CIPATS?
Response
+CIPATS: <mode>,<time>
EN
D
OK
Parameters
FI
ode>[,<time>] ERROR
Parameters
C
Max Response -
SI
Time
Reference Note
OK
Parameters
See Write Command
Read Command Response
AT+CIPSPRT? +CIPSPRT: <send prompt>
E
OK
L
Parameters
FI
See Write Command
Write Command Response
AL
AT+CIPSPRT=< OK
send prompt> ERROR
Parameters
TI
<send prompt> A numeric parameter which indicates whether to echo
prompt ‘>’ after module issues AT+CIPSEND command.
EN
0 It shows "send ok" but does not prompt echo ‘>’ when sending
is successful.
1 It prompts echo ‘>’ and shows "send ok" when sending is
D
successful.
FI
2 It neither prompts echo ‘>’ nor shows "send ok" when sending is
successful.
N
Mode
Max Response -
C
Time
Reference Note
M
R=?
OK
SI
Parameters
See Write Command
Read Command Response
AT+CIPSERVE +CIPSERVER: <mode>[,<port>,<channel id>,<bearer>]
R?
OK
Parameters
See Write Command
Write Command Response
AT+CIPSERVE OK
R=<mode>[,<por ERROR
t>] Parameters
<mode> 0 Close server
E
1 Open server
<port> 1..65535 Listening port
L
<channel id> Channel id
FI
<bearer> GPRS bearer
Parameter Saving NO_SAVE
AL
Mode
Max Response -
Time
TI
Reference Note
This command is allowed to establish a TCP server only when the state is IP
EN
INITIAL or IP STATUS when it is in single state. In multi-IP state, the state
is in IP STATUS only.
D
8.2.19 AT+CIPCSGP Set CSD or GPRS for Connection Mode
FI
AT+CIPCSGP=? +CIPCSGP:0-CSD,DIALNUMBER,USER
O
NAME,PASSWORD,RATE(0-3)
+CIPCSGP: 1-GPRS,APN,USER NAME,PASSWORD
C
OK
Parameters
M
OK
M
Parameters
See Write Command
SI
E
<dial number> A string parameter which indicates the CSD dial numbers
<user name> A string parameter which indicates the CSD user name
L
<password> A string parameter which indicates the CSD password
FI
<rate> A numeric parameter which indicates the CSD connection
rate
0 2400
AL
1 4800
2 9600
TI
3 14400
Parameter Saving NO_SAVE
Mode
Max Response -
EN
Time
D
Reference Note
FI
N
8.2.20 AT+CIPSRIP Show Remote IP Address and Port When Received Data
AT+CIPSRIP Show Remote IP Address and Port When Received Data
O
OK
M
Parameters
See Write Command
O
OK
Parameters
SI
Parameters
E
Parameter Saving NO_SAVE
Mode
L
Max Response -
FI
Time
Reference
AL
8.2.21 AT+CIPDPDP Set Whether to Check State of GPRS Network Timing
TI
AT+CIPDPDP Set Whether to Check State of GPRS Network Timing
Test Command Response
EN
AT+CIPDPDP=? +CIPDPDP: (list of supported<mode>s, list of supported <interval>, list
of supported <timer>)
D
OK
FI
Parameters
See Write Command
N
OK
Parameters
See Write Command
M
mode>[,<interval ERROR
>,<timer>]
C
Parameters
<mode>
M
<interval>
1<=interval<=180(s), default value is 10.
<timer>
1<=timer<=10, default value is 3.
Parameter Saving NO_SAVE
Mode
Max Response -
Time
Reference Note
If "+PDP: DEACT" urc is reported because of module not attaching to gprs
for a certain time or other reasons, user still needs to execute
"AT+CIPSHUT" command makes PDP context come back to original state.
E
8.2.22 AT+CIPMODE Select TCPIP Application Mode
AT+CIPMODE Select TCPIP Application Mode
L
Test Command Response
FI
AT+CIPMODE= +CIPMODE: (0-NORMAL MODE,1-TRANSPARENT MODE)
?
AL
OK
Parameters
See Write Command
TI
Read Command Response
AT+CIPMODE? +CIPMODE: <mode>
OK
EN
D
Parameters
See Write Command
FI
<mode> ERROR
O
Parameters
<mode> 0 Normal mode
C
1 Transparent mode
Parameter Saving NO_SAVE
Mode
M
Max Response -
Time
O
Reference Note
C
M
OK
Parameters
See Write Command
Read Command Response
AT+CIPCCFG? +CIPCCFG:
<NmRetry>,<WaitTm>,<SendSz>,<esc>,<Rxmode>,<RxSize>,<Rxtime
r>
E
OK
Parameters
L
See Write Command
FI
Write Command Response
AT+CIPCCFG= OK
AL
<NmRetry>,<Wa ERROR
itTm>,<SendSz>, Parameters
<esc>[,<Rxmode <NmRetry> Number of retries to be made for an IP packet.Default
TI
>,<RxSize>,<Rxt value is 5.
imer>] <WaitTm> Number of 100ms intervals to wait for serial input before
<SendSz>
EN
sending the packet. Default value is 2.
Size in bytes of data block to be received from serial port
before sending. Default value is 1024.
D
<esc> Whether turn on the escape sequence, default is TRUE.
FI
<Rxmode> Whether to set time interval during output data from serial
port.
O
Max Response -
C
Time
M
Reference Note
This command will be effective only in single connection mode
SI
(+CIPMUX=0)
OK
Parameters
See Write Command
Read Command Response
AT+CIPSHOWTP +CIPSHOWTP: <mode>
?
OK
E
Parameters
See Write Command
L
Write Command Response
FI
AT+CIPSHOWTP OK
=<mode> ERROR
AL
Parameters
<mode> A numeric parameter which indicates whether to display
transfer protocol in IP header to received data or not
TI
0 Not display transfer protocol
1 Display transfer protocol, the format is "+IPD,
Mode
D
Max Response Time -
FI
Reference Note
This command will be effective only in single connection mode
N
(+CIPMUX=0).
O
OK
M
(0-5),(0-2),("(0-255).(0-255).(0-255).(0-255)"),(1-65535)
OK
Parameters
See Write Command
Read Command Response
OK
2) For multi IP connection (+CIPMUX=1)
+CIPUDPMODE: 0, <mode>[,<IP address>,<Port>]
+CIPUDPMODE: 1,<mode>[,<IP address>,<Port>]
+CIPUDPMODE: 2,<mode>[,<IP address>,<Port>]
E
+CIPUDPMODE: 3,<mode>[,<IP address>,<Port>]
L
+CIPUDPMODE: 4,<mode>[,<IP address>,<Port>]
FI
+CIPUDPMODE: 5,<mode>[,<IP address>,<Port>]
OK
AL
Parameter
See Write Command
TI
Write Command Response
1) For single IP OK
connection
(+CIPMUX=0)
ERROR
<n>
EN
0-5 A numeric parameter which indicates the connection
AT+CIPUDPMOD number
D
E=<mode>[,<IP <mode> 0 UDP Normal Mode
address>,<Port>] 1 UDP Extended Mode
FI
AT+CIPUDPMOD
E=<n>,<mode>[,<I
C
P
address>,<Port>]
Parameter Saving NO_SAVE
M
Mode
Max Response Time -
O
Reference Note
C
M
OK
If multi IP connection (+CIPMUX=1)
OK
Parameters
See Write Command
Read Command Response
E
AT+CIPRXGET +CIPRXGET: <mode>
?
L
OK
FI
Parameters
See Write Command
AL
Write Command Response
1) If single IP OK
connection ERROR
TI
(+CIPMUX=0) 1)For single IP connection
If “AT+CIPSRIP=1” is set, IP address and port are contained.
AT+CIPRXGET
=<mode>[,<reqle
if <mode>=1 EN
+CIPRXGET: 1[,<IP ADDRESS>:<PORT>]
ngth>] if <mode>=2
D
+CIPRXGET: 2,<reqlength>,<cnflength>[,<IP ADDRESS>:<PORT>]
FI
2) If multi IP 1234567890…
connection OK
N
(+CIPMUX=1) if <mode>=3
+CIPRXGET: 3,<reqlength>,<cnflength>[,<IP ADDRESS>:<PORT>]
O
AT+CIPRXGET 5151…
C
=<mode>[,<id>,< OK
reqlength>] if <mode>=4
+CIPRXGET: 4, <cnflength>
M
OK
2)For multi IP connection
O
if <mode>=1
+CIPRXGET: 1[,<id>,<IP ADDRESS>:<PORT>]
M
if <mode>=2
+CIPRXGET: 2,<id>,<reqlength>,<cnflength>[,<IP
SI
ADDRESS>:<PORT>]
1234567890…
OK
if <mode>=3
+CIPRXGET: 3,<id>,<reqlength>,<cnflength>[,<IP
ADDRESS>:<PORT>]
5151…
OK
if <mode>=4
+CIPRXGET: 4, <id>,<cnflength>
OK
E
If error is related to ME functionality:
+CME ERROR: <err>
L
Parameters
FI
<mode>
0 Disable getting data from network manually, the module is
set to normal mode, data will be pushed to TE directly.
AL
1 Enable getting data from network manually.
2 The module can get data, but the length of output data can
TI
not exceed 1460 bytes at a time.
3 Similar to mode 2, but in HEX mode, which means the
EN
module can get 730 bytes maximum at a time.
4 Query how many data are not read with a given ID.
<id> A numeric parameter which indicates the connection number
D
<reqlength> Requested number of data bytes (1-1460 bytes)to be read
<cnflength> Confirmed number of data bytes to be read, which may be less
FI
Max Response -
Time
C
Reference Note
To enable this function, parameter <mode> must be set to 1 before
connection.
M
? AT Command parameters.
SI
+CIPSCONT: <mode0>
+CIPCSGP: <mode>
Gprs Config APN: <apn>
Gprs Config UserId: <user name>
Gprs Config Password: <password>
+CIPHEAD: <mode>
+CIPSHOWTP: <mode>
+CIPSRIP: <mode>
+CIPATS: <mode>,<time>
+CIPSPRT: <send prompt>,<notshowsendok>
+CIPQSEND: <n>
+CIPMODE: <mode>
+CIPCCFG:
E
<NmRetry>,<WaitTm>,<SendSz>,<esc>,<Rxmode>,<RxSize>,<Rxti
mer>
L
+CIPMUX: <n>
FI
+CIPDPDP: <mode>, <interval>, <timer>
+CIPRXGET: <mode>
+CIPRDTIMER: <rdsigtimer>,<rdmuxtimer>
AL
OK
TI
Parameters
<mode0> 0 Saved, the value from NVRAM
EN
1 Unsaved, the value from RAM
OK
O
Mode
Max Response -
Time
M
Reference Note
O
C
ER?
OK
Parameters
See Write Command
Write Command Response
AT+CIPRDTIM OK
ER=<rdsigtimer If error is related to ME functionality:
E
>,<rdmuxtimer> +CME ERROR: <err>
L
Parameters
<rdsigtimer> Remote delay timer of single connection. Default value is
FI
2000.
<rdmuxtimer> Remote delay timer of multi-connections. Default value is
AL
3500.
Parameter Saving NO_SAVE
Mode
TI
Max Response -
Time
Reference Note
EN
This command is used to shorten the disconnect time locally when the
D
remote server has been disconnected.
FI
OK
Parameters
See Write Command
M
(+CIPMUX=1).
E
supported <keepCount>s)
L
OK
FI
Parameters
See Write Command
AL
Read Command Response
AT+CIPTKA? +CIPTKA: <mode>,<keepIdle>,<keepInterval>,<keepCount>
TI
OK
Parameters
See Write Command
EN
Write Command Response
D
AT+CIPTKA=
<mode>[,<keepI OK
FI
val>[,<keepCoun ERROR
t>]]] Parameters
O
retransmission.
C
30-600 Default: 75
<keepCount> Integer type; Maximum number of keepalive
M
probes to be sent.
1-9 Default: 9
SI
Reference Note
9.1 Overview
Command Description
AT+SAPBR Bearer settings for applications based on IP
L E
9.2 Detailed Descriptions of Commands
FI
9.2.1 AT+SAPBR Bearer Settings for Applications Based on IP
AT+SAPBR Bearer Settings for Applications Based on IP
AL
Test Command Response
AT+SAPBR=? +SAPBR: (0-4),(1-3), "ConParamTag","ConParamValue"
TI
OK
Parameters
See Write Command
EN
D
Write Command Response
AT+SAPBR=<c OK
FI
md_type>,<cid>[
,<ConParamTag If <cmd_type> = 2
N
lue>] OK
If <cmd_type>=4
C
+SAPBR:
<ConParamTag>,<ConParamValue>
OK
M
<cmd_type>
M
0 Close bearer
1 Open bearer
SI
2 Query bearer
3 Set bearer parameters
4 Get bearer parameters
1 Bearer is connected
2 Bearer is closing
3 Bearer is closed
<ConParamTag> Bearer parameter
"CONTYPE" Type of Internet connection. Value refer to
<ConParamValue_ConType>
"APN" Access point name string: maximum 64
E
characters
"USER" User name string: maximum 32 characters
L
"PWD" Password string: maximum 32 characters
FI
"PHONENUM" Phone number for CSD call
"RATE" CSD connection rate. For value refer to
<ConParamValue_Rate>
AL
<ConParamValue> Bearer paramer value
<ConParamValue_ConType>
TI
"CSD" Circuit-switched data call.
"GPRS" GPRS connection.
<ConParamValue_Rate>
0 2400
EN
1 4800
D
2 9600
3 14400
FI
Mode
O
Reference Note
This command is applied to activate some applications such as HTTP, FTP.
M
O
C
M
SI
10.1 Overview
Command Description
AT+CIPPING Ping request
E
AT+CIPCTL Set the mode when receiving an IP packet
L
AT+CIPFLT Set the rules of IP filter
FI
AT+CIPBEIPING Set the module to be PING or not
AL
10.2 Detailed Descriptions of Commands
TI
AT+CIPPING PING Request
Test Command Response
AT+CIPPING=? EN
+CIPPING: (list of supported <retryNum>s),(list of supported
<dataLen>s),(list of supported <timeout>s),(list of supported <ttl>s)
D
OK
FI
Parameters
See Write Command
N
OK
Parameters
See Write Command
M
meout>[,<ttl>]]]]
M
OK
or
SI
ERROR
or
+CME ERROR: <err>
Parameters
<IPaddr> Address of the remote host,string type.This
parameter can be either:
- IP address in the format:”xxx.xxx.xxx.xxx”
- Host name solved by a DNS query
<retryNum> The number of Ping Echo Requset to send
1-100 Default: 4
E
<dataLen> The length of Ping Echo Request data
0-1024 Default: 32
L
<timeout> The timeout,in units of 100 ms,waiting for a single
FI
Echo Reply
1-600 Default: 100(10 seconds)
<ttl> Time to live
AL
1-255 Default: 64
<replyId> Echo Reply number
TI
<IP Address> IP Address of the remote host
<replyTime> Time,in units of 100 ms, required to receive the
Reference Note
Before sending PING Request the GPRS context must be activated.
N
OK
SI
Parameters
See Write Command
Read Command Response
AT+CIPCTL? +CIPCTL: <mode>
OK
Parameters
See Write Command
Write Command Response
AT+CIPCTL=<mod OK
e> or
ERROR
or
E
+CME ERROR: <err>
L
Parameters
<mode> 0 Disable to send Echo Reply
FI
1 Enable to send Echo Reply to every IP address
pinging it
AL
2 Enable to send Echo Reply only to a subset of IP
Addresses pinging it. This subset of IP Addresses
can be set by “AT+CIPFLT” command.
TI
Parameter Saving NO_SAVE
Mode
Max Response Time
Reference
-
Note
EN
D
The value of <mode> is stored in non volatile memory.
FI
OK
Parameters
See Write Command
M
[…]]
M
OK
SI
Parameter
See Write Command
Write Command Response
AT+CIPFLT=<actio OK
n>[,<item>][, or
<ipAddr>,<mask>] ERROR
or
Parameters
<action> 0 Remove the rule specified by <item>.
E
<item> must be given.
1 Add the rule specified by <item>.
L
If <item> is not given, it can find an empty item
FI
automatically. <ipAddr> and <mask> must be given.
2 Delete all of rules
AL
<item> The item of IP filter rule
1-20
<ipAddr> Remote IP address,string type. It can be any valid IP
TI
address in the format of ”xxx.xxx.xxx.xxx”
<mask> Mask to be applied to the<ipAddr>,string type.
EN
It can be any valid IP address mask in the
format of ”xxx.xxx.xxx.xxx”
Parameter Saving NO_SAVE
D
Mode
FI
?
SI
OK
Parameters
See Write Command
OK
Parameters
See Write Command
Write Command Response
AT+CIPBEIPING= OK
E
<mode> or
ERROR
L
or
FI
+CME ERROR: <err>
Parameters
AL
<mode> 0 Disable the module to be PING.
1 Enable the module to be PING.
Parameter Saving NO_SAVE
TI
Mode
Max Response Time -
Reference Note
EN
If the user want the module can be PING by other device, the user
D
must excute the AT+CIPBEIPING=1 before the module is PING.
Part of the projects supported by this AT command, please refer to
FI
E
11.1 Overview
L
FI
Command Description
AT+HTTPINIT Initialize HTTP service
AT+HTTPTERM Terminate HTTP service
AL
AT+HTTPPARA Set HTTP parameters value
AT+HTTPDATA Input HTTP data
TI
AT+HTTPACTION HTTP method action
AT+HTTPREAD Read the HTTP server response
AT+HTTPSCONT
AT+HTTPSTATUS
Save HTTP application context
Read HTTP status
EN
D
AT+HTTPHEAD Read the HTTP header information of server response
FI
Execution Response
Command OK
O
AT+HTTPINIT
If error is related to ME functionality:
C
Mode
Max Response -
Time
Reference Note
HTTPINIT should first be executed to initialize the HTTP service.
E
AT+HTTPTER If error is related to ME functionality:
M +CME ERROR: <err>
L
FI
Parameter Saving NO_SAVE
Mode
AL
Max Response -
Time
TI
Reference Note
OK
Parameters
O
OK
O
Parameters
See Write Command
C
AT+HTTPPARA OK
SI
E
application to identify the mobile. Usually this
parameter is set as operation system and software
L
version information.
FI
Default value is "SIMCom_MODULE".
"PROIP" The IP address of HTTP proxy server
"PROPORT" The port of HTTP proxy server
AL
"REDIR" This flag controls the redirection mechanism of the
SIM800 when it is acting as HTTP client
TI
(numeric). If the server sends a redirect code
(range 30x), the client will automatically send a
EN
new HTTP request when the flag is set to (1).
Default value is 0 (no redirection).
"BREAK" Parameter for HTTP method "GET", used for
D
resuming broken transfer.
"BREAKEND" Parameter for HTTP method "GET", used for
FI
Mode
Max Response -
Time
Reference Note
Not all the HTTP Server supports "BREAK" and "BREAKEND"
parameters
E
11.2.4 AT+HTTPDATA Input HTTP Data
L
AT+HTTPDATA Input HTTP Data
FI
Test Command Response
AT+HTTPDATA +HTTPDATA: (list of supported <size>s),(list of supported <time>s)
=?
AL
OK
Parameters
TI
See Write Command
1-319488 (bytes)
0 means delete all the content.
C
Mode
Max Response -
O
Time
C
Reference Note
It is strongly recommended to set enough time to input all data with the
M
length of <size>.
SI
Parameters
See Write Command
E
Unsolicited Result Code
L
+HTTPACTION: <Method>,<StatusCode>,<DataLen>
FI
Parameters
<Method> HTTP method specification:
0 GET
AL
1 POST
2 HEAD
TI
3 DELETE
<StatusCode> HTTP Status Code responded by remote server, it
100 Continue
EN
identifier refer to HTTP1.1(RFC2616)
202 Accepted
203 Non-Authoritative Information
N
204 No Content
205 Reset Content
O
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Authentication Required
408 Request Time-out
409 Conflict
410 Gone
411 Length Required
412 Precondition Failed
413 Request Entity Too Large
414 Request-URI Too Large
415 Unsupported Media Type
416 Requested range not satisfiable
E
417 Expectation Failed
500 Internal Server Error
L
501 Not Implemented
FI
502 Bad Gateway
503 Service Unavailable
504 Gateway Time-out
AL
505 HTTP Version not supported
600 Not HTTP PDU
TI
601 Network Error
602 No memory
603 DNS Error
604 Stack Busy
EN
<DataLen> The length of data got
D
Parameter Saving NO_SAVE
Mode
FI
Max Response About 5 seconds in test, dependence on network status and the size of
N
D=? <byte_size>s)
C
OK
M
Parameters
See Write Command
SI
If<byte_size> is bigger than the data size received, module will only return
actual data size.
E
Parameters
<data> Data from HTTP server or user input.
L
<start_address> The starting point for data output.
FI
0-319488 (bytes)
<byte_size> The length for data output.
1-319488 (bytes)
AL
<data_len> The actual length for data output.
Execution Response
TI
Command +HTTPREAD:<date_len>
AT+HTTPREA <data>
D
OK
EN
D
Read all data when AT+HTTPACTION=0 or AT+HTTPDATA is executed.
FI
Mode
C
Max Response -
Time
Reference Note
M
+HTTPSCONT:<mode>
CID:<value>
URL: <value>
UA: <value>
PROIP: <value>
PROPORT: <value>
REDIR: <value>
BREAK: <value>
BREAKEND: <value>
USERDATA: <value>
OK
Parameters
<mode> 0 Saved, the value from NVRAM
E
1 Unsaved, the value from RAM
L
For other parameters, see the related command.
FI
Execution Response
Command TA saves HTTP Application Context which consists of following AT
AL
AT+HTTPSCON Command parameters, and when system is rebooted, the parameters will
T be loaded automatically.
OK
TI
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
EN
D
Parameter Saving NO_SAVE
FI
Mode
N
Max Response -
Time
O
Reference Note
C
AT+HTTPSTAT OK
C
US=?
Read Command Response
M
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters:
<mode>
GET
POST
HEAD
<status>
0 idle
E
1 receiving
2 sending
L
<finish>
FI
The amount of data which have been transmitted
<remain>
The amount of data remaining to be sent or received
AL
Parameter Saving NO_SAVE
Mode
TI
Max Response -
Time
EN
11.2.9 AT+HTTPHEAD Read the HTTP Header Information of Server Response
D
AT+HTTPHEAD Read the HTTP Header Information of Server Response
Test Command Response
FI
AT+HTTPHEAD
=? OK
N
Execution Response
O
OK
If error is related to ME functionality:
M
Mode
Max Response -
SI
Time
Reference Note
Read header data when AT+HTTPACTION=0 executed.
E
12.1 Overview
L
FI
Command Description
AT+FTPPORT Set FTP control port
AT+FTPMODE Set active or passive FTP mode
AL
AT+FTPTYPE Set the type of data to be transferred
AT+FTPPUTOPT Set FTP put type
TI
AT+FTPCID Set FTP bearer profile identifier
AT+FTPREST Set resume broken download
AT+FTPSERV
AT+FTPUN
Set FTP server address
Set FTP user name
EN
D
AT+FTPPW Set FTP password
AT+FTPGETNAME Set download file name
FI
E
Read Command Response
AT+FTPPORT? +FTPPORT: <value>
L
FI
OK
Parameters
AL
See Write Command
TI
AT+FTPPORT= OK
<value> If error is related to ME functionality:
+CME ERROR: <err>
Parameters
EN
<value> The value of FTP Control port, from 1 to 65535.
D
Default value is 21
Parameter Saving NO_SAVE
FI
Mode
N
Max Response -
Time
O
Reference Note
Numbers above 65535 are illegal as the port identification fields are 16 bits
C
=?
M
OK
Parameters
See Write Command
E
Max Response -
L
Time
Reference Note
FI
AL
12.2.3 AT+FTPTYPE Set the Type of Data to Be Transferred
AT+FTPTYPE Set the Type of Data to Be Transferred
TI
Test Command Response
AT+FTPTYPE= OK
?
OK
Parameters
N
Mode
Max Response -
M
Time
SI
Reference Note
When this value is set to A, all the data sent by the stack to the FTP server is
made of 7 bits characters (NVT-ASCII: the MSB is set to 0). As a
consequence binary data containing 8 bits characters will be corrupted
during the transfer if the FTPTYPE is set to A.
E
T?
L
OK
FI
Parameters
See Write Command
AL
Write Command Response
AT+FTPPUTOP OK
T=<value> If error is related to ME functionality:
TI
+CME ERROR: <err>
Parameters
EN
<value> "APPE" For appending file
"STOU" For storing unique file
"STOR" For storing file
D
Parameter Saving NO_SAVE
FI
Mode
Max Response -
N
Time
O
Reference Note
C
Parameters
C
OK
Parameter
See Write Command
E
Parameter Saving NO_SAVE
Mode
L
Max Response -
FI
Time
Reference Note
AL
12.2.6 AT+FTPREST Set Resume Broken Download
TI
AT+FTPREST Set Resume Broken Download
Test Command
AT+FTPREST=
?
Response
OK
EN
D
Read Command Response
AT+FTPREST? +FTPREST: <value>
FI
OK
N
Parameters
O
Parameters
O
Mode
M
Max Response -
Time
SI
Reference Note
OK
E
Parameters
L
See Write Command
FI
Write Command Response
AT+FTPSERV= OK
AL
<value> If error is related to ME functionality:
+CME ERROR: <err>
Parameters
TI
<value> 32-bit number in dotted-decimal notation (i.e.
xxx.xxx.xxx.xxx) or alphanumeric ASCII text string up to 49 characters if
DNS is available
Parameter Saving NO_SAVE
EN
Mode
D
Max Response -
FI
Time
Reference Note
N
O
Parameters
O
OK
SI
Parameters
See Write Command
Parameters
<value> Alphanumeric ASCII text string up to 49 characters.
E
Mode
L
Max Response -
Time
FI
Reference Note
AL
12.2.9 AT+FTPPW Set FTP Password
AT+FTPPW Set FTP Password
TI
Test Command Response
AT+FTPPW=? OK
Parameters
EN
See Write Command
D
Read Command Response
FI
OK
O
Parameters
See Write Command
C
Parameter
<value> Alphanumeric ASCII text string up to 49 characters.
C
M
Max Response -
Time
Reference Note
E
AT+FTPGETNA +FTPGETNAME: <value>
ME?
L
OK
FI
Parameters
See Write Command
AL
Write Command Response
AT+FTPGETNA OK
TI
ME=<value> If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<value>
EN
Alphanumeric ASCII text string up to 99 characters
D
Parameter Saving NO_SAVE
Mode
FI
Max Response -
N
Time
Reference Note
O
C
TH=?
TH?
OK
SI
Parameters
See Write Command
Parameters
<value> Alphanumeric ASCII text string up to 255 characters
E
Mode
L
Max Response -
Time
FI
Reference Note
AL
12.2.12 AT+FTPPUTNAME Set Upload File Name
AT+FTPPUTNAME Set Upload File Name
TI
Test Command Response
AT+FTPPUTNA OK
ME=?
EN
D
Read Command Response
AT+FTPPUTNA +FTPPUTNAME: <value>
FI
ME?
OK
N
Parameters
O
Parameters
O
Max Response -
SI
Time
Reference Note
E
Parameters
L
See Write Command
FI
Write Command Response
AT+FTPPUTPA OK
AL
TH=<value> If error is related to ME functionality:
+CME ERROR: <err>
Parameters
TI
<value> Alphanumeric ASCII text string up to 255 characters
Reference Note
N
O
If mode is 2:
+FTPGET: 2,<cnflength>
012345678…
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<mode> 1 For opening FTP get session
E
2 For reading FTP download data.
<reqlength> Requested number of data bytes (1-1460)to be read
L
<cnflength> Confirmed number of data bytes to be read, which may be less
FI
than <length>. 0 indicates that no data can be read.
<error> 61 Net error
62 DNS error
AL
63 Connect error
64 Timeout
TI
65 Server error
66 Operation not allow
70 Replay error
71 User error
EN
72 Password error
D
73 Type error
74 Rest error
FI
75 Passive error
76 Active error
N
77 Operate error
O
78 Upload error
79 Download error
C
86 Manual quit
Parameter Saving NO_SAVE
Mode
M
Reference Note
C
E
+FTPPUT: 1,<error>
L
If mode is 2 and <reqlength> is not 0
FI
+FTPPUT: 2,<cnflength>
…… //Input data
OK
AL
If mode is 2 and <reqlength> is 0, it will respond OK, and FTP session will
TI
be closed
OK
transmitted
<cnflength> Confirmed number of data bytes to be transmitted
<maxlength> The max length of data can be sent at a time. It depends on
M
Time
Reference Note
SI
E
+FTPCID: <value>
+FTPMODE: <value>
L
+FTPTYPE: <value>
FI
+FTPPUTOPT: <value>
+FTPREST: <value>
+FTPGETNAME: <value>
AL
+FTPGETPATH: <value>
+FTPPUTNAME: <value>
TI
+FTPPUTPATH: <value>
+FTPTIMEOUT: <value>
OK
Parameters
EN
<mode> 0 Saved, the value from NVRAM
D
1 Unsaved, the value from RAM
For other parameters, see the related command.
FI
Execution Response
N
be loaded automatically.
OK
C
Mode
Max Response -
O
Time
Reference Note
C
M
Parameters
Execution Response
Command If successed:
AT+FTPDELE OK
+FTPDELE: 1,0
If failed:
OK
E
+FTPDELE: 1,<error>
L
If error is related to ME functionality:
FI
+CME ERROR: <err>
Parameters
<error> See "AT+FTPGET"
AL
Parameter Saving NO_SAVE
TI
Mode
Max Response 75 seconds(In case no response is received from server)
Time
Reference Note
EN
The file to be deleted is specified by the "AT+FTPGETNAME" and
D
"AT+FTPGETPATH" commands.
FI
Parameters
M
Execution Response
Command If successed:
O
AT+FTPSIZE OK
+FTPSIZE: 1,0,<size>
C
M
If failed:
OK
SI
+FTPSIZE: 1,<error>
E
12.2.19 AT+FTPSTATE Get the FTP State
L
AT+FTPSTATE Get the FTP State
FI
Test Command Response
AT+FTPSTATE=? OK
AL
Parameters
TI
Execution Response
Command
AT+FTPSTATE
+FTPSTATE: <state>
OK
EN
D
If error is related to ME functionality:
FI
<state>
O
0 Idle
1 In the FTP session, including FTPGET, FTPPUT, FTPDELE
C
Max Response -
Time
O
Reference Note
C
M
len>,<timeout>] If mode is 2
+FTPEXTPUT: <pos>,<len>
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<mode>
0 use default FTPPUT method
E
1 use extend FTPPUT method
2 download data which need to PUT to RAM
L
<pos> data offset address 0-300k
FI
<len> data length 0-300k
<timeout> timeout value of serial port 1000ms-1000000ms
AL
Parameter Saving NO_SAVE
Mode
Max Response 75 seconds(In case no response is received from server)
TI
Time
Reference Note
EN
When extend FTPPUT mode is activated, input data then execute
"AT+FTPPUT=1" to transmit, after session is complete, if successful, it
returns "+FTPPUT: 1,0", otherwise it returns "+FTPPUT: 1,<error>",
D
<error> see "AT+FTPGET".
FI
Execution Response
Command If success:
AT+FTPMKD OK
M
+FTPMKD: 1,0
O
If failed:
OK
C
+FTPMKD: 1,<error>
M
E
Test Command Response
L
AT+FTPRMD=? OK
FI
Execution Response
Command If success:
AT+FTPRMD OK
AL
+FTPRMD: 1,0
If failed:
TI
OK
+FTPRMD: 1,<error>
EN
If error is related to ME functionality:
+CME ERROR: <err>
D
Parameters
FI
Mode
Max Response 75 seconds(In case no response is received from server)
C
Time
Reference Note
The removed folder is specified by the "AT+FTPGETPATH" command.
M
ode>[,<reqlength> OK
] +FTPLIST: 1,1
If mode is 2:
+FTPLIST: 2,<cnflength>
012345678…
E
OK
L
If error is related to ME functionality:
FI
+CME ERROR: <err>
Parameters
<mode>
AL
1 For opening FTP get file list session
2 For reading FTP file list
TI
<reqlength> Requested number of data bytes (1-1460) to be read
<cnflength> Confirmed number of data bytes to be read, which may be
EN
less than <reqlength>. 0 indicates that no data can be read.
<error> See "AT+FTPGET"
Parameter Saving NO_SAVE
D
Mode
FI
Reference Note
When "+FTPLIST: 1,1" is shown, "AT+FTPLIST=2,<reqlength>" can
O
be used to read data. If the module still has unread data, "+FTPLIST:
C
AT+FTPGETTO OK
FS=?
C
OK
Parameters
<status> The process status of downloading and saving File to File System
through FTP
0 Not in the process
1 During the process
<receivedLength> The data length received from FTP
L E
If it is a failed FTP get session:
OK
FI
+FTPGETTOFS: <error>
AL
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
TI
<loc> file saved in ROM or SD card.
0 Saved in ROM, file will be saved in "Disk1:\user\ftp"
EN
1 Saved in SD card, file will be saved in "Disk2:\ftp"
Note: The local drive "Disk1" or SD drive "Disk2" can be got by
AT+FSDRIVE.
D
<filename> File name. Alphanumeric ASCII text string up to 64
FI
characters
<num> Number of automatic reconnect times, from 0 to 255.Default
N
value is 3.
<time> Wait time before module start automatic reconnect, from 0 to 60
O
Mode
O
Reference Note
M
file name.
E
0 Not in the process
1 During the process
L
<putLength> The data length uploaded from File System
FI
Write Command Response
AT+FTPPUTFR If it is a successful FTP put session:
MFS=<filepath>[, OK
AL
<num>,<time>]
If data transfer finished.
TI
+FTPPUTFRMFS: 0,<totalLength>
EN
If it is a failed FTP put session:
OK
+FTPPUTFRMFS: <error>
D
If error is related to ME functionality:
FI
Parameters
<filepath> File path. Alphanumeric ASCII text string up to 128 characters
O
Mode
Max Response 75 seconds(In case no response is received from server)
M
Time
Reference Note
SI
T=?
Read Command Response
AT+FTPEXTGE +FTPEXTGET: <status>[,<receivedLength>]
T?
OK
Parameters
<status> Whether run FTPEXTGET or not
E
0 Not run FTPEXTGET
1 Run FTPEXTGET
L
<receivedLength> Length module has received from FTP server
FI
Write Command Response
1)if mode is 0 or 1 If mode is 0
AL
AT+FTPEXTGE OK
T=<mode>
If it is a successful FTP get session in mode 1:
TI
2)if mode is 2 OK
AT+FTPEXTGE
T=<mode>,<filen
ame>
EN
If data transfer finished in mode 1
+FTPEXTGET: 1,0
D
3)if mode is 3 If it is a failed FTP get session in mode 1:
AT+FTPEXTGE OK
FI
Position>,<readLe
ngth> If mode is 2:
O
+FTPEXTGET: 2,<totalLength>
C
OK
If mode is 3:
M
+FTPEXTGET: 3,<outputLength>
O
Parameters
M
<mode>
0 Use default FTPGET method
SI
E
Time
Reference Note
L
Can not use this function when set FTPEXTPUT mode 1.
FI
If file size (<receivedLength>) <300Kbytes, customer can use this
command.
AL
If file size (<receivedLength>) >=300Kbytes, please use default
FTPGET method (AT+FTPEXTGET=0).
TI
12.2.27 AT+FTPFILEPUT Load File in RAM from File System then Upolad with
FTPPUT
AT+FTPFILEPU OK
D
T=?
FI
T=<mode>[,filena OK
me]
O
Mode
Max Response 75 seconds(In case no response is received from server)
Time
Reference Note
This function can not be used when FTPEXTPUT mode has been set as 1.
E
If error is related to ME functionality:
L
+CME ERROR: <err>
FI
Parameter Saving NO_SAVE
Mode
AL
Max Response -
Time
TI
Reference Note
EN
D
FI
N
O
C
M
O
C
M
SI
13.1 Overview
E
Command Description
L
AT+CIPGSMLOC GSM location and time
FI
13.2 Detailed Descriptions of Commands
AL
13.2.1 AT+CIPGSMLOC GSM Location and Time
AT+CIPGSMLOC GSM Location and Time
TI
Test Command Response
AT+CIPGSMLOC= +CIPGSMLOC: (1,2),(1-3)
?
OK
EN
Parameters
D
See Write Command
Write Command Response
FI
AT+CIPGSMLOC= If <type>=1:
<type>,<cid> +CIPGSMLOC:
N
<locationcode>[,<longitude>,<latitude>,<date>,<time>]
O
OK
C
If <type>=2:
+CIPGSMLOC: <locationcode>[,<date>,<time>]
M
OK
O
Parameters
M
<locationcode> 0 Success
If the operation failed, the location code is not 0, such as:
404 Not Found
408 Request Time-out
601 Network Error
602 No memory
603 DNS Error
604 Stack Busy
65535 Other Error
<longitude> Current longitude in degrees
<latitude> Current latitude in degrees
<date> Format is YYYY/MM/DD, the time zone is GMT E.g.
E
2011/01/26
<time> Format is hh/mm/ss,the time zone is GMT.E.g. 06:10:46
L
Parameter Saving NO_SAVE
FI
Mode
Max Response Time 60 seconds
AL
Reference Note
TI
EN
D
FI
N
O
C
M
O
C
M
SI
E
3. SIM800 series supports all of POP3 commands but APOP. By these POP3 commands,
L
you can get the specific Email’s size and unique-id.
FI
4. SIM800 series does not support that SMTP and POP3 operations are executed at the
same time.
AL
14.1 Overview
Command Description
TI
AT+EMAILCID Set Email bearer profile identifier
AT+EMAILTO
AT+SMTPSRV
EN
Set timeout value of SMTP/POP3 server response
Set SMTP server address and port
AT+SMTPAUTH Set user name and password for SMTP authentication
D
AT+SMTPFROM Set sender address and name
FI
E
OK
L
Parameters
FI
See Write Command
Read Command Response
AL
AT+EMAILCID? +EMAILCID: <cid>
OK
TI
Parameters
See Write Command
Write Command
AT+EMAILCID=<c
Response EN
id> OK
D
If error is related to ME functionality:
FI
ERROR
Parameters
N
OK
SI
Parameters
See Write Command
OK
Parameters
See Write Command
Write Command Response
AT+EMAILTO=<ti OK
meout> If error is related to ME functionality:
ERROR
L E
Parameters
<timeout> The timeout value of SMTP/POP3 server response, in 1
FI
second unit.
10-120 Default: 30(seconds)
AL
Parameter Saving NO_SAVE
Mode
TI
Max Response Time -
Reference Note
EN
14.2.3 AT+SMTPSRV Set SMTP Server Address and Port
D
AT+SMTPSRV Set SMTP Server Address and Port
FI
OK
O
Parameters
See Write Command
C
OK
O
Parameter
See Write Command
C
AT+SMTPSRV= OK
<smtpServer>[,<sm If error is related to ME functionality:
SI
tpPort>] ERROR
Parameters
<smtpServer> SMTP server address, string type. This parameter
can be either:
- IP address in the format: xxx.xxx.xxx.xxx
E
Reference Note
L
FI
14.2.4 AT+SMTPAUTH Set User Name and Password for SMTP Authentication
AT+SMTPAUTH Set User Name and Password for SMTP Authentication
AL
Test Command Response
AT+SMTPAUTH=? +SMTPAUTH: (range of supported<authType>s),<userNameLengt
h>,<passwordLength>
TI
OK
Parameters
See Write Command
EN
D
Read Command Response
FI
OK
Parameters
O
Parameters
<authType> The type of SMTP authentication
C
Reference Note
E
?
OK
L
Parameters
FI
See Write Command
AL
Read Command Response
AT+SMTPFROM? +SMTPFROM: <senderAddress>,<senderName>
TI
OK
Parameter
Write Command
See Write Command
Response
EN
AT+SMTPFROM= OK
D
<senderAddress>[,<s If error is related to ME functionality:
FI
enderName>] ERROR
N
Parameters
<senderAddress> The Email sender address,string type.
O
Reference Note
C
M
OK
Parameters
See Write Command
E
OK
L
Parameter
FI
See Write Command
Write Command Response
AT+SMTPRCPT=< OK
AL
rcptType>[,<index> If error is related to ME functionality:
[,<rcptAddress>[,<r ERROR
TI
cptName>]]]
Parameters
EN
<rcptType> The type of recipient, the types of TO and CC are used to
construct e-mail header in the field:”To:” or “Cc:”.
0 TO, Normal Recipient.
D
1 CC, Carbon Copy recipient.
2 BCC, Blind Carbon Copy recipient.
FI
Reference Note
If only <rcptType> is given, it will delete all items of <rcptType>.
O
OK
Parameters
See Write Command
OK
Parameter
E
See Write Command
L
Write Command Response
FI
AT+SMTPSUB=<su OK
bject> If error is related to ME functionality:
ERROR
AL
Parameters
TI
<subject> The Email subject, string type. It will be present in the
header of the Email sent by SMTP client in the field:
"Subject:"
EN
<subjectLength> The max length of <subject>.
Parameter Saving NO_SAVE
D
Mode
FI
OK
Parameters
C
length>
,then type data as OK
Email body. When If error is related to ME functionality:
body’s length equal ERROR
length, command is Parameters
over! <length> The length of Email body.
E
14.2.9 AT+SMTPFILE Set the Email Attachment
L
AT+SMTPFILE Set the Email Attachment
FI
Test Command Response
AT+SMTPFILE=? +SMTPFILE: (range of <fileType>s),<fileNameLength>,(range of
AL
<encodeType>s)
OK
TI
Parameters
Read Command
See Write Command
Response
EN
AT+SMTPFILE? +SMTPFILE: <fileType>,<fileName>,<encodeType>
D
FI
OK
Parameter
N
AT+SMTPFILE=<fi OK
C
Parameters
M
0 No attachment
1 Attach a txt file
C
E
AT+SMTPSEND Send the Email
L
Test Command Response
AT+SMTPSEND=? OK
FI
Parameters
AL
Execution Command Response
TI
AT+SMTPSEND OK
If error is related to ME functionality:
ERROR EN
If send successfully or not, return:
+SMTPSEND: <code>
D
Parameters
FI
61 Network error.
62 DNS resolve error
O
be not right.
68 Bad recipient.
O
Mode
Max Response Time -
M
Reference Note
SI
Parameters
See Write Command
E
+SMTPFT: 2,<cnfLength>
L
...... //Input data
FI
OK
AL
+SMTPFT: 2,<cnfLength>
...... //Input data
ERROR
TI
If <reqLength> is 0,it indicates that transferring the attachment have
finished:
OK
EN
D
If error is related to ME functionality:
FI
ERROR
N
Parameters
C
Mode
M
OK
Parameters
See Write Command
E
AT+SMTPCS? +SMTPCS: <charset>
L
FI
OK
Parameter
See Write Command
AL
Write Command Response
AT+SMTPCS=<cha OK
TI
rset> If error is related to ME functionality:
ERROR
Parameters
EN
<charset> The Email charset, string type. It shows which charset
D
the subject and the body are encoded in. If <charset> is not
ASCII but UTF-8 or other, the subject and the body must be
FI
Mode
Max Response Time -
Reference Note
M
O
OK
Parameters
See Write Command
OK
Parameters
See Write Command
Write Command Response
E
AT+POP3SRV=<po OK
p3Server>,<userNa If error is related to ME functionality:
L
me>,<password>[,<p ERROR
FI
op3Port>]
Parameters
AL
<pop3Server> POP3 server address, string type. This parameter can
be either:
- IP address in the format: xxx.xxx.xxx.xxx
TI
- Host name to be solved with a DNS query
<userName> The user name to log in POP3 server, string type.
<password>
<pop3Port>
EN
The password to log in POP3 server, string type.
The port of POP3 server.
1-65535 Default: 110
D
<pop3ServerLength> The max length of <pop3Server>.
FI
Reference Note
Parameters
SI
Parameters
<code> The result of logging in POP3 server
1 Log in POP3 server successfully
61 Network error
62 DNS resolve error
63 POP3 tcp connection error
64 Timeout of POP3 server response
E
65 POP3 server response error
66 POP3 server rejects to log in
L
67 Incorrect user name
FI
68 Incorrect user name or password
69 Timeout of read data
Parameter Saving NO_SAVE
AL
Mode
Max Response Time -
TI
Reference Note
AT+POP3NUM=? OK
N
Parameter
O
AT+POP3NUM OK
If error is related to ME functionality:
ERROR
M
+POP3OUT: <code>
Parameters
SI
L E
14.2.16 AT+POP3LIST Get the Specific Email Size
AT+POP3LIST Get the Specific Email Size
FI
Test Command Response
AT+POP3LIST=? +POP3LIST: (range of supported <msgNumber>s)
AL
OK
TI
Parameter
See Write Command
+POP3OUT: <code>
Parameters
<msgNumber> The message number of Email.
<size> The size of Email <msgNumber> and the unit is in byte.
M
OK
Parameters
E
See Write Command
L
Write Command Response
FI
AT+POP3UIDL=< OK
msgNumber> If error is related to ME functionality:
ERROR
AL
If POP3 server issues a positive response:
+POP3UIDL: 1,<msgNumber>,<uid>
TI
If POP3 server issues a negative response:
+POP3UIDL: 0
If some error occur:
+POP3OUT: <code>
EN
D
Parameters
<msgNumber> The message number of Email .
FI
Reference Note
SI
OK
Parameters
See Write Command
E
Write Command Response
AT+POP3CMD=<c OK
L
mdType>[,<msgNum If error is related to ME functionality:
FI
ber>[,lineNumber]] ERROR
If POP3 server issues a positive response:
AL
+POP3CMD: 1
If POP3 server issues a negative response:
+POP3CMD: 0
TI
If some error occur:
+POP3OUT: <code>
Parameters EN
<cmdType> The values that supported POP3 user command
1 List command
D
The "List" command returns a multi-line "scan listing". For
FI
2 Uidl command
The "Uidl" command returns a multi-line "unique-id
O
3 Top command
The command retrieves the number of lines of the message’s
body from the POP3 server’s maildrop list. The POP3 server
sends the headers of the message, the blank line separating
the headers from the body, and then the number of lines of the
message’s body. If the number of lines requested by The
POP3 client is greater than the number of lines
E
in the body, then the POP3 server sends the entire
message. If no such message exists on the server the POP3
L
service issues an error response to the user.
FI
Each email will be finished by a so-called "dotline",
i.e.a new line with just a single dot.
<msgNumber> and <lineNumber> must be given.
AL
4 Retrieve command
The command retrieves the related message from the
TI
POP3 server’s maildrop list. If no such message exists
on the server the POP3 service issues an error response to the
a new line
EN
user. Each email will be finished by a so-called "dotline", i.e.
with just a single dot.
<msgNumber> must be given.
D
<msgNumber> The message number of Email.
<lineNumber> The number of lines of the message body.
FI
61 Network error
O
After sending these POP3 commands and POP3 server issuing a positive
C
OK
Parameters
See Write Command
E
If error is related to ME functionality:
ERROR
L
If some error occur:
FI
+POP3OUT: <code>
Parameters
<reqLength> Requested number of data bytes (1-1460) to be read
AL
<cnfLength> Confirmed number of data bytes to be read, which may
be less than <reqLength>. 0 indicates that no data can be
TI
read.
<dataLength> Received number of data bytes.
<code>
1
EN
The result of logging out POP3 server
Normally log out POP3 server
61 Network error
D
62 DNS resolve error
63 POP3 tcp connection error
FI
Mode
Max Response Time -
C
Reference Note
Other AT commands (but "AT+POP3OUT") can not be executed
until the data of response are read completely.
M
time, these data are not still been read, the module will quit the
POP3 process.
SI
OK
Parameters
See Write Command
E
AT+POP3DEL=<m OK
L
sgNumber> If error is related to ME functionality:
FI
ERROR
If POP3 server issues a positive response:
+POP3DEL: 1
AL
If POP3 server issues a negative response:
+POP3DEL: 0
If some error occur:
TI
+POP3OUT: <code>
Parameters
EN
<msgNumber> The message number of Email
<code> The result of logging out POP3 server
D
1 Normally log out POP3 server
61 Network error
FI
until the POP3 client logs out POP3 server and closes the session
normally.
C
M
Parameter
AT+POP3RSET OK
If error is related to ME functionality:
ERROR
If POP3 server issues a positive response:
+POP3RSET: 1
If POP3 server issues a negative response:
+POP3REST: 0
E
If some error occur:
+POP3OUT: <code>
L
Parameters
FI
<code> The result of logging out POP3 server
1 Normally log out POP3 server
61 Network error
AL
62 DNS resolve error
63 POP3 tcp connection error
TI
64 Timeout of POP3 server response
Parameter Saving NO_SAVE
Mode
Max Response Time -
EN
Reference Note
D
FI
Parameters
AT+POP3OUT OK
If error is related to ME functionality:
O
ERROR
If the process is completed, return:
C
+POP3OUT: <code>
M
Parameters
<code> The result of logging out POP3 server
SI
L E
FI
AL
TI
EN
D
FI
N
O
C
M
O
C
M
SI
15.1 Overview
E
Command Description
L
AT+CMMSCURL Set the URL of the MMS center
FI
AT+CMMSPROTO Set the protocol parameter and MMS proxy
AT+CMMSCID Set the network parameters for MMS
AL
AT+CMMSSENDCFG Set the parameters for sending MMS
AT+CMMSEDIT Enter or exit edit mode
AT+CMMSDOWN Download the file data or title from UART
TI
AT+CMMSDELFILE Delete the file of the edited MMS by file index
AT+CMMSSEND
AT+CMMSRECP
Start MMS sending
Add recipients
EN
AT+CMMSCC Add copy recipients
D
AT+CMMSBCC Add secret recipients
FI
E
AT+CMMSCURL? +CMMSCURL: <mmscurl>
L
OK
FI
Parameters
See Write Command
AL
Write Command Response
AT+CMMSCURL= OK
<mmscurl> or
TI
ERROR
or
+CME ERROR: <err>
Parameters
EN
<mmscurl> The URL of the MMS center.
D
Parameter Saving AT+CMMSSCONT
FI
Mode
Max Response Time -
N
Reference Note
O
C
=?
OK
C
Parameters
See Write Command
M
E
<Gateway> IP address of MMS proxy.
<Port> Port of MMS proxy.
L
Parameter Saving AT+CMMSSCONT
FI
Mode
Max Response Time -
AL
Reference Note
TI
15.2.3 AT+CMMSCID Set the Network Parameters for MMS
AT+CMMSCID Set the Network Parameters for MMS
Test Command
AT+CMMSCID=?
Response
+CMMSCID: (1-3)
EN
D
OK
FI
Parameters
See Write Command
N
OK
Parameters
See Write Command
M
AT+CMMSCID=<v OK
alue> or
C
ERROR
M
or
+CME ERROR: <err>
SI
Parameters
<value> network parameters, refer to "AT+SAPBR"
Parameter Saving AT+CMMSSCONT
Mode
Max Response Time -
Reference Note
E
FG=?
OK
L
Parameters
FI
See Write Command
Read Command Response
AL
AT+CMMSSENDC +CMMSSENDCFG:
FG? <valid>,<pri>,<sendrep>,<readrep>,<visible>,<class>,<subctrl>,<no
tifrspcheck>
TI
OK
Parameters
See Write Command
EN
D
Write Command Response
AT+CMMSSENDC OK
FI
FG=<valid>[,<pri>[ or
,<sendrep>[,<readre ERROR
N
p>[,<visible>[,<class or
O
Parameters
<valid> The valid time of sent MMS
0 1 hour
M
1 12 hours
2 24 hours
O
3 2 days
4 1 week
C
5 maximum
M
0 lowest
1 normal
2 highest
3 Not Set (default)
<sendrep> Whether it need deliver report
0 No (default)
1 Yes
E
<class> The class of the MMS
0 Personal
L
1 Advertisement
FI
2 Informational
3 Auto
4 Not set (default)
AL
<subctrl> Subject control
1 For Chinese character code
TI
2 For English character code
<notifrspcheck> Whether it need to check the HTTP response of MMS
0
EN
notifyrsp ind then to proceed the next step.
Waiting for HTTP response
1 Skip waiting for HTTP response
D
Parameter Saving AT+CMMSSCONT
Mode
FI
Reference Note
O
OK
Parameters
C
OK
Parameters
See Write Command
Write Command Response
AT+CMMSEDIT=< OK
mode> or
ERROR
or
+CME ERROR: <err>
Parameters
<mode> Whether it allows to edit MMS
0 Not allow to edit MMS
E
1 Allow to edit MMS
Parameter Saving NO_SAVE
L
Mode
FI
Max Response Time -
Reference Note
AL
It includes adding and deleting receipt, downloading and deleting files,
downloading title to edit MMS.
TI
15.2.6 AT+CMMSDOWN Download the File Data or Title from UART
AT+CMMSDOWN Download the File Data or Title from UART
Test Command
AT+CMMSDOWN
Response
EN
+CMMSDOWN: "PIC", (1-307200), (5000-),"NAME"
D
=? +CMMSDOWN: "TEXT", (1-15360), (2000-),"NAME"
+CMMSDOWN: "TITLE", (1-40), (2000-)
FI
OK
M
AT+CMMSDOWN CONNECT
=<type>,<size>,<tim or
C
e>[,<name>] ERROR
or
M
Parameters
<type> A string parameter which indicates type of downloaded
data
"TITLE" MMS title data
"TEXT" MMS text data
"PIC" MMS image data
"AUDIO_AAC" MMS aac audio data
E
<time> Maximum time in milliseconds to download data.
<name> The file name of the image or the text to be downloaded,
L
including extended name. The default name for image is
FI
"image<m>.jpg" and the default name for text is
"text<n>.txt". <m> and <n> are in the range of 0~255
Parameter Saving NO_SAVE
AL
Mode
Max Response Time Decided by <time>
TI
Reference Note
EN
It is strongly recommended to set the time long enough to download
all the file data and make sure that the real size of the file to
download is not bigger than <size>.
The maximum size of <name> is 40 Bytes and only ASCII code is
D
recognized for <name>.
FI
15.2.7 AT+CMMSDELFILE Delete the File of the Edited MMS by File Index
N
LE=?
Write Command Response
AT+CMMSDELFI OK
M
LE=<fileIndex> or
ERROR
O
or
+CME ERROR: <err>
C
Parameters
M
E
AT+CMMSSEND= OK
<address> or
L
ERROR
FI
or
+CME ERROR: <err>
AL
Parameters
<address> A string parameter which indicates address of recipients.
TI
Execution Command Response
AT+CMMSSEND OK
or
ERROR
EN
or
D
+CME ERROR: <err>
Parameter Saving NO_SAVE
FI
Mode
N
?
OK
C
OK
Parameters
See Write Command
Write Command Response
AT+CMMSRECP= OK
<addr> or
ERROR
or
+CME ERROR: <err>
Parameters
<addr> A string parameter which indicates phone number or email
address of recipients. The maximum length of the string is
40.
Parameter Saving NO_SAVE
E
Mode
L
Max Response Time -
FI
Reference Note
The maximum of recipients is 20 and this command is valid only when it
is allowed to edit MMS.
AL
15.2.10 AT+CMMSCC Add Copy Recipients
TI
AT+CMMSCC Add Copy Recipients
Test Command Response
AT+CMMSCC=? +CMMSCC: "ADDRESS" EN
OK
D
Read Command Response
FI
OK
Parameters
O
or
O
OK
Read Command Response
E
AT+CMMSBCC? +CMMSBCC: the list of <addr>s
L
OK
FI
Parameters
See Write Command
AL
Write Command Response
AT+CMMSBCC=< OK
addr> or
TI
ERROR
or
+CME ERROR: <err>
Parameters
EN
D
<addr> A string parameter which indicates phone number or email
address of secret recipients. The maximum length of the
FI
string is 40.
Parameter Saving NO_SAVE
N
Mode
O
Reference Note
The maximum of secret recipients is 20 and this command is valid only
when it is allowed to edit MMS
M
CP=?
OK
SI
Parameters
<addr> A string parameter which indicates phone number or email
address of recipient. The maximum length of the string is
40.
Execution Command Delete all the recipients
AT+CMMSDELRE Response
CP OK
E
Parameter Saving NO_SAVE
Mode
L
Max Response Time -
FI
Reference Note
This command is valid when it is allowed to edit MMS
AL
15.2.13 AT+CMMSDELCC Delete Copy Recipients
AT+CMMSDELCC Delete Copy Recipients
TI
Test Command Response
AT+CMMSDELCC +CMMSDELCC: "ADDRESS"
=?
OK
EN
D
Write Command Response
AT+CMMSDELCC OK
FI
=<addr> or
ERROR
N
or
O
OK
C
C=?
OK
Write Command Response
AT+CMMSDELBC OK
C=<addr> or
ERROR
or
E
+CME ERROR: <err>
Parameters
L
<addr> A string parameter which indicates phone number or
FI
email address of secret recipient. The maximum length of
the string is 40.
AL
Execution Command Delete all the secret recipients
AT+CMMSDELBC Response
C OK
TI
Parameter Saving NO_SAVE
Mode
Max Response Time
Reference
-
Note
EN
D
This command is valid when it is allowed to edit MMS.
FI
OK
Write Command Response
AT+CMMSRECV= +CMMSRECV:
M
<index> "<sender>","<time>","<subject>",<size><CR><LF>
list of <fileIndex,name,type,filesize><CR><LF>
O
OK
C
or
M
ERROR
or
SI
E
5 image
6 image/gif
L
7 image/jpg
FI
8 image/tif
9 image/png
10 smil
AL
Parameter Saving NO_SAVE
Mode
TI
Max Response Time AT+CMMSTIMEOUT
Reference Note
EN
This command is valid only when it is not allowed to edit MMS and
the buffer for MMS will be clear up. So it is recommended to save
the MMS in the buffer before receiving MMS.
D
The received MMS is just saved in the buffer but not saved in the
FI
flash.
The maximum number of inclosure is 10.
N
15.2.16 AT+CMMSVIEW Get the MMS into Buffer and Show the Information
O
AT+CMMSVIEW Get the MMS into Buffer and Show the Information
C
"<bccs>", "<datetime>","<subject>",<size><CR><LF>list of
<fileIndex, name, type, filesize><CR><LF>
C
OK
M
or
SI
ERROR
or
+CME ERROR: <err>
Parameters
<mmstype> The type of MMS
0 Received MMS
1 Sent MMS
2 Unsent MMS
<sender> The address of th sender
<receipts> List of recipients, Separated by “;”
<ccs> List of copy recipients , Separated by “;”
<bccs> List of secret recipients , Separated by “;”
<datetime> The time of receive MMS
<subject> The title of MMS
E
<size> Data size of MMS
<fileIndex,name,type,filesize> The index, name and size of every file
L
included in the MMS. The types are defined as following.
FI
2 text
3 text/html
4 text/plain
AL
5 image
6 image/gif
TI
7 image/jpg
8 image/tif
9
10
EN
image/png
smil
Parameter Saving NO_SAVE
D
Mode
Max Response Time -
FI
Reference Note
N
O
15.2.17 AT+CMMSREAD Read the Given File of the MMS in the Buffer
C
OK
M
Parameters
SI
<fileIndex> The index of the file to be read from the MMS in the
buffer,i.e. the parameter <fileIndex> in
"AT+CMMSRECV" and "AT+CMMSVIEW"
<name> The file name to be read
<datSize> The size of the file to be read
Parameter Saving NO_SAVE
Mode
Reference Note
If the file type is text, the character set of the output text is Unicode little
endian without the header "FF FE".
E
Test Command Response
L
AT+CMMSRDPUS +CMMSRDPUSH: (range of <index>)
FI
H=?
OK
Write Command Response
AL
AT+CMMSRDPUS +CMMSRDPUSH:
H=<index> 2,”<sender>”,”<subject>”,”<transaction>”,”<location>”,”<time>”,<
TI
class>,<size>
OK
or
EN
+CMMSRDPUSH: 6, “<receiver>”,”<time>”,<status>
D
OK
FI
or
+CMMSRDPUSH: 255
N
O
OK
or
C
received MMS
6 m-delivery-ind[2]. A delivery report
C
1 Advertisement
2 Informational
3 Auto
<time> Date and time of the received push message.
<size> The size of the MMS
<status> The status of the sent MMS
0 Expired
E
1 Retrieved
2 Rejected
L
3 Defered
FI
4 Unrecognized
Parameter Saving NO_SAVE
Mode
AL
Max Response Time 5s
Reference Note
TI
This command is valid only when it is not allowed to edit MMS and
EN
the buffer for MMS will be clear up. So it is recommended to save
the MMS in the buffer before receiving MMS.
The received MMS is just saved in the buffer but not saved in the
flash.
D
FI
OK
Parameters
See Write Command
M
OK
Parameter
M
E
15.2.20 AT+CMMSPROFILE Set User Agent Profile
L
AT+CMMSPROFILE Set User Agent Profile
FI
Test Command Response
AT+CMMSPROFI +CMMSPROFILE: "UserAgentProfile"
LE=?
AL
OK
Parameters
TI
See Write Command
Read Command Response
AT+CMMSPROFI
LE?
+CMMSPROFILE: <UAProfile> EN
OK
D
Parameter
FI
AT+CMMSPROFI OK
LE=<UAProfile> or
O
ERROR
C
or
+CME ERROR: <err>
Parameters
<UAProfile> string type user agent profile
M
Mode
Max Response Time -
C
Reference Note
M
SI
Parameters
See Write Command
Read Command Response
AT+CMMSTIMEO +CMMSTIMEOUT: <Send timeout>,<Recv timeout>
UT?
OK
Parameters
E
See Write Command
L
Write Command Response
FI
AT+CMMSTIMEO OK
UT=<Send or
timeout>,<Recv ERROR
AL
timeout>> or
+CME ERROR: <err>
TI
Parameters
<Send timeout> Send timeout time, integer type, in seconds.
Parameter
<Recv timeout>
Saving AT+CMMSSCONT
EN
Receive timeout time, integer type, in seconds.
Mode
D
Max Response Time -
FI
Reference Note
N
S? OK
M
or
ERROR
SI
or
+CME ERROR: <err>
Parameters
<status> status of MMS action
MMS_IDLE
MMS_DOWNLOADING
MMS_DOWNLOADED
MMS_SENDING
MMS_RECEIVING
MMS_RECEIVED
MMS_READING
MMS_READING_PUSH
Parameter Saving NO_SAVE
Mode
E
Max Response Time -
L
Reference Note
FI
15.2.23 AT+CMMSINIT Initialize MMS Function
AL
AT+CMMSINIT Initialize MMS Function
Test Command Response
AT+CMMSINIT=? OK
TI
Parameters
No Parameter
EN
Execution Command Response
D
AT+CMMSINIT OK
or
FI
ERROR
or
N
No Parameter
C
Reference Note
O
When first entering the MMS function, this command must be executed.
C
AT+CMMSTERM= OK
?
Parameters
No Parameter
E
Parameter Saving NO_SAVE
Mode
L
Max Response Time -
FI
Reference Note
When exiting the MMS function, this command must be executed.
AL
15.2.25 AT+CMMSSCONT Save MMS Context
AT+CMMSSCONT Save MMS Context
TI
Test Command Response
AT+CMMSSCONT OK
=?
EN
Parameters
D
See Execution Command
FI
? +CMMSCID: <value>
O
+CMMSCURL: <mmscurl>
+CMMSUA: <UA>
C
+CMMSPROFILE: <UAProfile>
+CMMSPROTO: <Gateway>,<Port>
+CMMSSENDCFG:
M
<valid>,<pri>,<sendrep>,<readrep>,<visible>,<class>,<subctrl>,<no
tifyskip>
O
OK
M
Parameters
See Execution Command
SI
Parameters
<mode> 0 saved, the value from NVRAM
For other parameters, see the related command.
Parameter Saving NO_SAVE
Mode
Max Response Time -
Reference Note
L E
FI
AL
TI
EN
D
FI
N
O
C
M
O
C
M
SI
16.1 Overview
Command Description
E
AT+DDET DTMF detection control
L
FI
16.2 Detailed Descriptions of Commands
AL
AT+DDET DTMF Detection Control
Test Command Response
TI
AT+DDET=? +DDET: (0,1),(0-10000),(0,1),(0,1)
OK
Parameters
EN
See Write Command
D
Read Command Response
AT+DDET? +DDET: <mode>,<interval>,<reportMode>,<ssdet>
FI
N
OK
Parameters
O
Parameters
<mode> Disable or enable DTMF detection control
0 Disable
1 Enable
<interval> The min interval between two same key URC. The range is
0-10000, the default value is 0. unit is ms.
<reportMode> URC report mode
E
0 Key value reported only
1 Key value and last time are reported, the last time is in ms
L
<key> Keytone detected, 0-9,*,#,A,B,C,D.if <ssdet> is 1,Single frequency
FI
sound 1400 and 2300 is supported too, when single frequency 1400HZ
sound or 2300HZ sound is detected, +DTMF:1400 or +DTMF:2300 is
reported
AL
<last time> Duration of keytone playing. unit is ms.
<ssdet> Single frequency sound detect function on off
TI
0 Switch off
1 Switch on
Parameter Saving AT&W_SAVE
Mode
EN
Max Response -
D
Time
FI
Reference Note
The parameters <interval>, <reportMode> and <ssdet> can not power off
N
save.
O
C
M
O
C
M
SI
17.1 Overview
Command Description
E
AT+CREC Record operation
AT+CRECORD Record and send data to UART
L
FI
17.2 Detailed Descriptions of Commands
AL
17.2.1 AT+CREC Record Operation
AT+CREC Record Operation
Test Command Response
TI
AT+CREC=? +CREC: (1-n),(1-10)
OK
Parameters
EN
See Write Command
D
Read Command Response
FI
OK
O
Parameters
<status> 0 idle state
C
1 recording state
2 playing state
Write Command Response
M
AT+CREC=<mo OK
de>,[<id>]
O
1) mode=1,start record
AT+CREC=1,<id>,<form>,[<time>][,<location>],[<quality>],[<input
C
path>]
M
OK
SI
2) mode=2,stop record
AT+CREC=2
OK
+CREC: 2,<id>,<form>,<time>,<len>
3) mode=3,delete record
AT+CREC=3,<id>
OK
4) mode=4,play record file
AT+CREC=4,<id>,<channel>,<level>[,<repeat>]
OK
5) mode=5,stop play record file
AT+CREC=5
+CREC: 0
E
OK
L
6) mode=6,read record data
FI
AT+CREC=6,<id>,<len>,<offset>
+CREC: 6,<id>,<len>
<data>
AL
OK
TI
7) mode=7,view record file infomation
AT+CREC=7,[<id>]
+CREC: 7,<id>,<len>,<form>
EN
OK
D
8) mode=8,query free space for recording
FI
If SD card is supported
AT+CREC=8
N
OK
C
OK
O
OK
M
E
2 Stop record
3 Delete record
L
4 Play record
FI
5 Stop play record
6 Get record data in hex format, the max length is 32K in
bytes
AL
7 List record files infomation
8 Query free space in bytes
TI
9 Create record file direcotry
<id> File ID number, 1-10 or file path with double quotation marks, such
as "C:\User\1155165.amr".
<form> Record file format
EN
0 AMR
D
1 WAV
2 WAV_ADPCM
FI
0 Main channel
1 Aux channel
<level> 0-100, play volume
M
<repeat> Repeate
0 Play once
O
1 Play infinitely
<len> Length in bytes. When read record data, the max length is 32K
C
<offset> Offset of the record file , it is less than the length of reord file.
M
When read the record file, if the <len>+<offset> is larger than the file
length, then we need to return to the actural data length.
SI
E
Max Response -
Time
L
Reference Note
FI
Record will overwrite the record file with the same ID when free space
is enough,but overwrite the record file with the same ID and format
AL
when free space is not enough.
About 40K FAT space will remain for system use.
The setting of input path doesn’t take effect when record in call.
TI
Play in call support low quality WAV record file.
Location relative setting only take effect when SD card is support and
plugged in. EN
When DDET is set to 1, record is not allowed in call.
The value of parameter <id> of "AT+CREC=7" can not support file
D
path.
FI
=?
OK
C
Parameters
See Write Command
M
AT+CRECORD OK
=<mode>[,<inter or
val>][,<crcmode +CRECORD:<data>
>] or
ERROR
Parameters
<data> UART data output in specified form, which is deciede by
<crcmode>
<mode>
0 Stop record
1 Start record
<interval> UART data output interval, the range is 1-50, the default value
E
is 50. unit is 20ms.
<crcmode> Data form
L
0 UART data is the audio data
FI
1 0x7E is added to the head, 0x7E is converted to 0x7D 0x5E, 0x7D is
converted to 0x7D 0x5D.
2 0x7E is added to the head, 0x7E is converted to 0x7D 0x5E, 0x7D is
AL
converted to 0x7D 0x5D,a 2byte CRC code is added to the end
Parameter Saving NO_SAVE
TI
Mode
Max Response -
Time
Reference Note
EN
When "AT+CRECORD" is set to 1, data mode will be entered and
D
audio data will output on the UART every the interval time, any input
FI
Note: Part of the projects support record function, please refer to chapter 21 for details.
M
O
C
M
SI
18.1 Overview
Command Description
AT+CTTS TTS operation
E
AT+CTTSPARAM Set params of the TTS playing
L
AT+CTTSRING Enable/disable TTS play during incoming call ring
FI
18.2 Detailed Descriptions of Commands
AL
18.2.1 AT+CTTS TTS Operation
AT+CTTS TTS Operation
TI
Test Command Response
AT+CTTS=?
OK
No prameter
EN
Read Command Response
D
AT+CTTS? +CTTS: <status>
FI
OK
N
Parameters
O
if<mode>=1 or 2 or 3,response:
OK
O
Parameters
<mode> 0 Stop playing speech
1 Start to play synthetic speech, <text> is in UCS2 coding
format such as Chinese characters.
2 Start to play synthetic speech, <text> is in ASCII coding
format such as English characters.
3 Start to play synthetic speech, <text> is in ASCII and GBK
E
Reference Note
L
Call setup will stop the current tts play
TTS can play in call, but call release will stop the tts play
FI
TTS play is not allowed when alert or ring
AL
18.2.2 AT+CTTSPARAM Set Parameters of the TTS Playing
AT+CTTSPARAM Set Parameters of the TTS Playing
Test Command Response
TI
AT+CTTSPARAM= +CTTSPARAM: (0-100),(0-3),(1-100),(1-100),(0,1)
?
OK
Parameters
EN
D
See Write Command
Read Command Response
FI
OK
O
Parameters
See Write Command
C
1 Auto read digit, and read digit based on telegram rule first
2 Read digit based on telegram rule
SI
E
SIM800 series projects, please refer to chapter 21 for details.
L
18.2.3 AT+CTTSRING Enable/Disable TTS Play During Incoming Call Ring
FI
AT+CTTSRING Enable/Disable TTS Play During Incoming Call Ring
Test Command Response
AL
AT+CTTSRING=? +CTTSRING: (0,1)
OK
TI
Parameters
Read Command
AT+CTTSRING?
See Write Command
Response
+CTTSRING: <mode>
EN
D
OK
FI
Parameters
See Write Command
N
AT+CTTSRING=< OK
mode> If error is related to MS functionality, response:
C
Mode
Max Response Time -
M
Reference Note
SI
Note: Part of the project supported TTS function, please refer to chapter 21 for details.
Final result code +CME ERROR: <err> indicates an error related to mobile equipment or
network. The operation is similar to ERROR result code. None of the following commands in the
E
same Command line is executed. Neither ERROR nor OK result code shall be returned.
L
<err> values used by common messaging commands:
FI
Code of <err> Meaning
0 phone failure
AL
1 no connection to phone
2 phone-adaptor link reserved
TI
3 operation not allowed
4 operation not supported
5
6
PH-SIM PIN required
PH-FSIM PIN required
EN
D
7 PH-FSIM PUK required
10 SIM not inserted
FI
14 SIM busy
C
15 SIM wrong
16 incorrect password
17 SIM PIN2 required
M
21 invalid index
C
22 not found
23 memory failure
M
E
47 corporate personalisation PUK required
L
99 resource limitation
FI
100 unknown
103 Illegal MS
AL
106 Illegal ME
107 GPRS services not allowed
TI
111 PLMN not allowed
112 Location area not allowed
113
132
EN
Roaming not allowed in this location area
service option not supported
133 requested service option not subscribed
D
134 service option temporarily out of order
FI
E
192 The MMS inclosure is full
L
193 Unknown
FI
600 No Error
601 Unrecognized Command
AL
602 Return Value Error
603 Syntax Error
TI
604 Unspecified Error
605 Data Transfer Already
606
607
Action Already
Not At Cmd
EN
608 Multi Cmd too long
D
609 Abort Cops
FI
E
796 Get a null param
L
797 CFUN state is 0 or 4
FI
19.2 Summary of CMS ERROR Codes
AL
Final result code +CMS ERROR: <err> indicates an error related to message service or
TI
network. The operation is similar to ERROR result code. None of the following commands in the
same Command line is executed. Neither ERROR nor OK result code shall be returned.
<err> values used by common messaging commands:
EN
Code of <err> Meaning
D
1 Unassigned(unallocated) number
FI
3 No route to destination
6 Channel unacceptable
N
10 Call barred
C
11 Reserved
16 Normal call clearing
17 User busy
M
18 No user responding
19 User alerting, no answer
O
22 Number changed
M
25 Pre-emption
26 Non-selected user clearing
SI
34 No circuit/channel available
38 Network out of order
41 Temporary failure
42 Switching equipment Congestion
43 Access information discarded
44 Requested circuit/channel not available
E
47 Resources unavailable, unspecified
L
49 Quality of service unavailable
FI
50 Requested facility not subscribed
55 Requested facility not subscribed
AL
57 Bearer capability not authorized
58 Bearer capability not presently available
TI
63 Service or option not available, unspecified
65 Bearer service not implemented
68
69
EN
ACM equal or greater than ACM maximum
Requested facility not implemented
D
70 Only restricted digital information bearer capability is available
79 Service or option not implemented, unspecified
FI
88 Incompatible destination
91 Invalid transit network selection
C
E
175 Unspecified TP-Command error
L
176 TPDU not supported
FI
192 SC busy
193 No SC subscription
AL
194 SC system failure
195 Invalid SME address
TI
196 Destination SME barred
197 SM Rejected-Duplicate SM
198
199
TP-VPF not supported
TP-VP not supported
EN
D
208 SIM SMS storage full
209 No SMS storage capability in SIM
FI
210 Error in MS
N
300 ME failure
C
E
322 memory full
L
323 invalid input parameter
FI
324 invalid input format
325 invalid input value
AL
330 SMSC address unknown
331 no network
TI
332 network timeout
340 no cnma ack
500
512
Unknown
SMS no error
EN
513 Message length exceeds maximum length
D
514 Invalid request parameters
FI
E
<number>,<type>,<subaddr>, calling party when receiving a mobile AT+CLIP=1
<satype>,<alphaId>,<CLI terminated call.
L
validity>
FI
+CRING: <type> Indicates incoming call to the TE if AT+CRC=1
extended format is enabled.
AL
+CREG: <stat>[,<lac>,<ci>] There is a change in the MT network
registration status or a change of the AT+CREG=<n>
network cell.
TI
+CCWV Shortly before the ACM (Accumulated
Call Meter) maximum value is reached.
EN
The warning is issued approximately
when 5 seconds call time remains. It is
also issued when starting a call if less AT+CCWE=1
D
than 5 s call time remains.
FI
PUSH"
C
d>,<dcs>,<sca>,<tosca>, mode)
<length>]<CR><LF><data>
C
E
when a forward check supplementary
service notification is received.
L
+CSSI: <code1>[,<index>] Presentation status after a mobile AT+CSSN=<n>[,<
originated call setup
FI
m>]<n>=1
+CLCC: Report a list of current calls of ME AT+CLCC=1
automatically when the current call
<id1>,<dir>,<stat>,<mode>,<
AL
status changes.
mpty>[,<number>,<type
>,<alphaID>]
TI
[<CR><LF>+CLCC:
<id2>,<dir>,<stat>,<mode>,<
mpty>
[,<number>,<type>,<alphaID
>][...]]
EN
*PSNWID: "<mcc>", Refresh network name by network. AT+CLTS=1
D
"<mnc>", "<full network
FI
<year>,<month>,<day>,<hour
>,<min>,<sec>, "<time
zone>",<dst>
M
by network.
+CSMINS: <n>,<SIM Indicates whether SIM card has been AT+CSMINS=1
C
inserted> inserted.
M
E
Displays signal strength and channel bit
AT+EXUNSOL="
+CSQN: <rssi>,<ber> error rate when <rssi>, <ber>values
L
SQ",1
change.
FI
The generated tone playing is stopped or
+SIMTONE: 0 AT+SIMTONE
completed.
The SIM Toolkit tone playing is stopped
AL
+STTONE: 0 AT+STTONE
or completed.
An intermediate result code is
transmitted during connect negotiation
TI
when the TA has determined the speed
+CR: <serv> EN
and quality of service to be used, before
any error control or data compression
reports are transmitted, and before any
AT+CR=1
D
final result code (e.g. CONNECT)
appears.
FI
“AT+CPOWD=1”.
UNDER-VOLTAGE Under-voltage automatic power down.
POWER DOWN
UNDER-VOLTAGE under-voltage warning
M
WARNNING
OVER-VOLTAGE POWER Over-voltage automatic power down.
O
DOWN
OVER-VOLTAGE over-voltage warning
C
WARNNING
CHARGE-ONLY MODE The module is charging by charger.
M
E
CONNECT
L
[<n>,]SEND OK Data sending is successful
FI
[<n>,]CLOSED TCP/UDP connection is closed
RECV FROM: <IP shows remote IP address and port AT+CIPSRIP=1
AL
ADDRESS>: <PORT> (only in single connection mode)
+IPD, <data display transfer protocol in IP header to AT+CIPHEAD
size>,<TCP/UDP>:<data> received data or not (only in single AT+CIPSHOWTP
TI
connection mode)
+RECEIVE,<n>,<length> Received data from remote client (only
name>,<IP>[,<IP2>]
+CDNSGIP:0,<dns error DNS failed
N
code>
O
L E
FI
AL
TI
EN
D
FI
N
O
C
M
O
C
M
SI
20 AT Commands Examples
E
interpreter actively
L
responds to input.
FI
Display the product ATI SIM800 R11.08
name and the product
release information. OK
AL
Display product AT+GSV SIMCOM_Ltd
identification SIMCOM_SIM800H
TI
information: the Revision: 1308B01SIM800H32
manufacturer, the
product name and the
product revision
OK EN
information.
D
Display current AT&V [A complete listing of the active profile]
FI
configuration, a list of OK
the current active
N
profile parameters.
Reporting of mobile AT+CMEE=? +CMEE: (0-2)
O
","8859-1")
C
OK
M
AT+CSCS="TEST" ERROR
AT+CMEE=2 OK
SI
E
OK
AT+CFUN=0 OK
L
FI
+CPIN: NOT READY
AT+IPR=115200 OK
AT+IPR? +IPR: 115200
AL
OK
TI
AT+CFUN=0 OK
AT+CPBS="SM" OK
M
OK
Write an entry to the AT+CPBW=,"13918 OK
SI
OK
E
Switch on engineering AT+CENG =1,1 OK
mode AT+CENG? +CENG: 1,1
L
FI
+CENG:
0,"0081,55,00,460,00,31,f9a1,08,05,1816,255"
AL
+CENG: 1,"0014,40,15,f2a1,460,00,1816"
+CENG: 2,"0012,27,48,f411,460,00,1816"
+CENG: 3,"0565,23,55,f1a1,460,00,1816"
TI
+CENG: 4,"0584,19,24,f1a3,460,00,1816"
+CENG: 5,"0027,17,13,f412,460,00,1816"
EN
+CENG: 6,"0028,15,14,6253,460,00,1823"
OK
D
Switch on engineering AT+CENG =2,1 OK
FI
information +CENG:
0,"0081,55,00,460,00,31,f9a1,08,05,1816,255"
O
+CENG: 1,"0014,42,15,f2a1,460,00,1816"
+CENG: 2,"0012,25,48,f411,460,00,1816"
C
+CENG: 3,"0565,21,55,f1a1,460,00,1816"
+CENG: 4,"0584,19,24,f1a3,460,00,1816"
+CENG: 5,"0027,17,13,f412,460,00,1816"
M
+CENG: 6,"0028,17,14,6253,460,00,1823"
O
OK
C
network information
+CENG: 0,"460,00,1816,f9a1,31,56"
SI
+CENG: 1,"460,00,1816,f2a1,15,38"
+CENG: 2,"460,00,1816,f411,48,26"
+CENG: 3,"460,00,1816,f1a3,24,17"
+CENG: 4,"460,00,1816,f412,13,16"
+CENG: 5,"460,00,1823,6253,14,16"
+CENG: 6,"460,00,1816,f2c3,43,14"
OK
Switch on engineering AT+CENG =4,1 OK
mode, and with extern AT+CENG? +CENG: 4,1
information
//Dedicated mode:
+CENG:
E
0,"0081,47,00,460,00,31,f9a1,08,05,1816,00,-6
6,0,0,64,7,64,0,0,0,EFR"
L
//Idle mode:
FI
+CENG:
0,"0081,56,00,460,00,31,f9a1,08,05,1816,255,-
57,177,617,x,x,x,x,x,x"
AL
+CENG:
1,"0014,35,15,f2a1,460,00,1816,91,531"
TI
+CENG:
2,"0012,25,48,f411,460,00,1816,51,491"
EN
+CENG:
3,"0565,24,55,f1a1,460,00,1816,45,485"
+CENG:
D
4,"0027,20,13,f412,460,00,1816,31,471"
+CENG:
FI
5,"0584,20,24,f1a3,460,00,1816,29,469"
+CENG:
N
6,"0028,16,14,6253,460,00,1823,18,455"
O
OK
C
AT+CELLIST=1,50 OK
AT+CELLIST? +CELLIST: 1,50
O
OK
C
+CELLIST: 460,00,14,34,f2a1,1816,15
+CELLIST: 460,00,572,25,f2c3,1816,43
SI
+CELLIST: 460,00,19,21,f2a3,1816,27
+CELLIST: 460,00,584,19,f1a3,1816,24
+CELLIST: 460,01,97,58,b5f0,144f,30
OK
E
Display a full list of AT+COPN +COPN: "20201",
network operator "COSMO"
L
names. [skip a bit]
FI
+COPN: "901012","Maritime Comm Partner
AS"
AL
OK
reduce its functionality. AT+IPR? +IPR: 0
TI
This will deregister the
handset from the OK
network. AT+CFUN=0
[wait for deregister]
OK EN
ATD6241xxxx; ERROR
D
AT+CFUN=1 OK
FI
OK
O
Call dropped
Make a voice call using ATD6241xxxx; OK
C
E
Terminate current call AT+CCWA=1,1 OK
and accept waiting call. ATD6241xxxx; OK
L
Establish a voice call <RX incoming call> RING
FI
from EVB, receive an +CCWA: "62418148 ",129,1,""
incoming call AT+CHLD=1 OK
AL
(incoming call accepts <waiting call active>
waiting status),
terminate active call
TI
and accept incoming
call. Note call waiting
must be active for this
option – use
EN
"AT+CCWA=1,1”
D
before running this
demonstration.
FI
this demonstration to
work.
Switch between active ATD6241xxxx; OK
and held calls. <RX incoming call> RING
Establish a voice call +CCWA: "13918186089",129,1,""
from EVB, receive an AT+CHLD=2 OK
E
the hold state whilst the <Note incoming call held flag set>
other is active before AT+CHLD=22 OK
L
terminating each one. <original call held, incoming call active>
FI
This feature relies on AT+CHLD=12 OK
knowing each call’s ID. <terminate incoming call>
This is done using the AT+CHLD=11 OK
AL
List Current Calls <terminate original call>
(AT+CLCC) Command.
TI
A call’s ID is required
to switch between held
and active calls. Held
calls are not
EN
automatically resumed
D
when all other calls are
terminated. They need
FI
this demonstration to
work.
Send busy status to ATD6241xxxx; OK
M
E
have been previously
enabled for this
L
demonstration to work.
FI
20.5 SIM Toolkit Commands
AL
Please refer to SIM800 Series_STK_Application Note.
TI
Demonstration Syntax Expect Result
DTMF tones AT+CLDTMF=2,
"1,2,3,4,5"
OK
EN
D
AT+CLDTMF=2,”A OK
,B,C,D,E,F”,50
FI
AT+CMGS="+8613 +CMGS: 34
O
91818xxxx"
>This is a test OK
C
<Ctrl+Z>
M
E
>Test OK
again<Ctrl+Z>
L
Unsolicited notification +CMTI: "SM",2
FI
of the SMS arriving
List all SMS messages. AT+CMGL="ALL" +CMGL: 1, "REC READ","+8613918186089",
AL
Note:”ALL” must be in "", "02/01/30,20:40:31+00"
uppercase. This is a test
TI
+CMGL: 2, "REC UNREAD"," ",
"+8613918186089", ""
EN
,"02/01/30,20:45:12+00"
Test again
D
OK
FI
OK
Send SMS using AT+CSMP=17,167, OK
Chinese characters 2,25
M
AT+CSCS="UCS2" OK
O
AT+CMGS="00310 +CMGS: 36
C
0330039003100380
0310038003x003x0 OK
M
03x003x"
SI
>4E014E50<Ctrl+Z
>
Establish a GPRS Setup modem driver Should be able to surf the web using Internet
context. explorer.
Setup dial up
connection with
*99#
Run internet
E
explorer
There are two GPRS ATD*99# CONNECT
L
Service Codes for the ATD*99***1# CONNECT
FI
ATD Command: Value
88 and 99.
Establish a connection
AL
by service code 99.
Establish a connection
TI
by service code 99 and
using CID 1
Check if the MS is OK
connected to the GPRS
C
network
Check the class of the AT+CGCLASS? +CGCLASS: B
MS
M
OK
Establish a context AT+CGDCONT=1, OK
O
E
equipment ATD*99# CONNECT
L
+++ OK
FI
Resume the data ATO CONNECT
transfer
AL
*Quality of Service (QOS) is a special parameter of a CID which consists of several parameters
itself.
TI
The QOS consists of
The precedence class
The delay class
The reliability class
EN
The peak throughput class
D
The mean throughput class
And is decided in "requested QOS” and "minimum acceptable QOS”.
FI
All parameters of the QOS are initiated by default value (=0) except the reliability class is 3. To
N
the QOS of
CID 1 to be present
Response: all QOS AT+CGQREQ? +CGQREQ: 1,0,0,3,0,0
M
OK
Set the QOS of CID 1 AT+CGQREQ=1 OK
M
to not present.
Once defined, the CID
SI
can be activated.
Activate CID 1, if the AT+CGACT=1,1 OK
CID is already active,
the mobile returns OK
at once. If no CID is AT+CGACT=1,3 +CME ERROR: requested service option not
defined the mobile subscribed.
responds +CME
ERROR: invalid index.
Note: If the mobile is
NOT attached
by AT+CGATT=1
before activating, the
attachment is
E
automatically done by
the AT+CGACT
L
Command.
FI
Use the defined and AT+CGDATA="PP CONNECT
activated CID P", 1
to get online. The
AL
mobile can be
connected using the
TI
parameters of appointed
CID or using default
parameter
The mobile supports Layer 2 Protocol (L2P) PPP only.
EN
D
Note: If the mobile is NOT attached by AT+CGATT=1 and the CID is NOT activated before
connecting, attaching and activating is automatically done by the AT+CGDATA Command.
FI
Some providers require using an APN to establish a GPRS connection. So if user uses the
N
Microsoft Windows Dial-Up Network and ATD*9… to connect to GPRS, user must provide the
context definition as part of the modem definition (Modem properties/Connection/Advanced…
O
/Extra settings.) As an alternative, user can define and activate the context in a terminal program
(e.g. Microsoft HyperTerminal) and then use the Dial-Up Network to send only the ATD
C
Command.
20.10 IP Commands
C
Please refer to SIM800 Series_IP_Application Note. Chapter 3.1 describles how to config bearer
M
OK
AT+CSTT="CMNE OK
T"
AT+CIICR OK
AT+CIFSR 10.78.245.128
E
AT+CIPPING="ww +CIPPING: 1,"203.208.37.99",70,239
w.google.cn" +CIPPING: 2,"203.208.37.99",53,238
L
+CIPPING: 3,"203.208.37.99",60,239
FI
+CIPPING: 4,"203.208.37.99",50,239
OK
AL
Other Device Ping On the Modem: On the Modem:
To The Module AT+CGATT? +CGATT: 1
TI
OK
AT+CSTT="CMNE
T"
OK EN
D
AT+CIPBEIPING=1 OK
(If on 6252
FI
AT+CIICR OK
C
AT+CIFSR 10.78.245.128
Device:
AT+CIPPING="10. +CIPPING: 1," 10.78.245.128",70,239
O
OK
SI
AT+CIPFLT=1,, OK
"10.43.21.69","255.
0.0.0”
AT+CIPFLT=0,1 OK
AT+CIPFLT=2 OK
Set the Mode When AT+CIPCTL=0 OK
Receiving an IP
Packet AT+CIPCTL=1 OK
E
AT+CIPCTL=2 OK
L
FI
20.12 HTTP and FTP Commands
AL
20.13 GSM Location Commands
TI
Demonstration Syntax Expect Result
Activate bearer profile AT+SAPBR=3,1,"C
ontype","GPRS"
OK
EN
D
AT+SAPBR=3,1,"A OK
PN","CMNET"
FI
AT+SAPBR =1,1 OK
N
O
OK
O
OK
M
E
AT+CMMSCID=1 OK
L
FI
AT+CMMSPROTO OK
=“10.0.0.172”,80
AL
AT+CMMSSENDC OK
FG=6,3,0,0,2,4
TI
Active bearer profile AT+SAPBR=3,1,"C OK
ontype","GPRS"
AT+SAPBR=3,1,"A OK
EN
PN","CMWAP"
D
AT+SAPBR=1,1 OK
FI
OK
Send MMS AT+CMMSEDIT=1 OK
O
C
AT+CMMSDOWN CONNECT
=“PIC”,12963,2000 ... ...
0 OK
M
AT+CMMSDOWN CONNECT
O
OK
AT+CMMSRECP=“ OK
M
13918181818”
SI
AT+CMMSSEND ……
OK
Receive MMS AT+CMMSEDIT=0 OK
When received a MMS
push message,UART AT+CMMSRECV= +CMMSRECV: "+8613818181818",
will output 3 "2008-05-02, 03:38:12","", 26670
message,such as 1, "image0.jpg",7,26625
“+CMTI:
"SM",3,"MMS PUSH"” OK
AT+CMGD=3 OK
E
Receive MMS when the AT+CMMSEDIT=0 OK
MMS push message is a
L
concatenated message. AT+CMMSRECV= +CMMSRECV:
FI
UART output 1 "+85266097746","2009-04-15,10:41:21","",49
messages: 1,"text0.txt",4,7
+CMTI: "SM",1,"MMS
AL
PUSH",2,1 OK
+CMTI: "SM",2,"MMS
TI
PUSH",2,2
+CMTI: "SM",1,"MMS AT+CMGD=1 OK
PUSH"
Read a file of MMS AT+CMMSREAD=
EN
+CMMSREAD: "image0.jpg", 26625
1 ……
D
OK
FI
+DTMF:2
SI
+DTMF:3
value
+DTMF:2
+DTMF:3
+DTMF:4
E
enable DTMF detection AT+DDET=1,1000, OK
L
1
FI
//start DDET,
interval is 1000ms,
report mode is 1
AL
Set up a call connection ATD***********; OK
If module detected DTMF, URC will be
TI
reported via serial port, the minimal interval
between two identic DTMF is 1000ms.
EN
+DTMF: 1,160
value and last time
//report DTMF
D
+DTMF: 2,300
FI
+DTMF: 3,200
N
+DTMF: 2,300
O
+DTMF: 3,200
C
E
channel is 0, the
volume is 80
L
Stop play record file AT+CREC=5 +CREC: 0
FI
//stop play record OK
file //URC is reported to show statues IDLE
AL
Get record status AT+CREC? +CREC: 2
//get record status
OK
TI
//Rrecording ,delete and other play operations
are not allowed when playing
List record
information
file AT+CREC=7
//list record file list
EN
+CREC: 7,1,7728,0
+CREC: 7,2,53820,1
D
OK
FI
0 2321414D520A04923231D828E7B0E222B6D0
O
C0892EF5914BD62A234C0B5804334110F881
O
8197ECA9D7F02E046EDAD5EBA75928D948
FBB19E046EAF1C3A90168351C302DF88044
C
60C1409B18966E0187F88B404CA88F4F891B
FE72BCF45D7
M
SI
OK
//data in Hex format
Query free space AT+CREC=8 +CREC: 8,938600
//query free memory
space OK
//the free memory space is 938600 bytes
Create record file AT+CREC=9,0 OK
E
Play synthetic speech AT+CTTS=1,"6B22 OK
with UCS2 coding text 8FCE4F7F75288BE //speech synthetized successfully, played locally.
L
D97F3540862107C +CTTS: 0
FI
FB7EDF" //speech played over. Note: User needs to wait
//text in UCS2 thisresponse to play next speech!
AL
coding format ,
context of the text is
“ 欢 迎 使 用语 音 合
TI
成系统”.
Play synthetic speech AT+CTTS=2,"hello OK
with ASCII coding text ,欢迎使用语音合
成系统"
EN
//speech synthetized
Successfully played locally.
// text in ASIIC +CTTS: 0
D
coding format. //speech played over. Note: User needs to wait
FI
synthetic speech
C
21.1 AT+SIDET
E
SIM840W,SIM800W16,SIM840W16 SIM808,SIM800C,SIM800A,SIM800F,
SIM800C-DS
L
AT+SIDET=? AT+SIDET=?
FI
+SIDET: (0,1),(0-16) If it is SIM800, SIM800M64,SIM800C,
SIM800A,SIM800F
AL
OK +SIDET: (0, 2 ),(0-16)
OK
TI
If it is SIM800H, SIM800L, SIM808, SIM868
or SIM800C-DS
EN
+SIDET: (0-3),(0-16)
OK
D
Difference:
FI
N
21.2 AT+CMIC
O
SIM840W,SIM800W16,SIM840W16 SIM808,SIM800C,SIM800A,SIM800F,
SIM800C-DS
AT+CMIC=? AT+CMIC=?
M
OK
M
+CMIC: (0-3),(0-15)
OK
Difference:
The default gain level of main audio channel is 10.
The default gain level of aux audio channel is 11 in SIM800H, SIM800L, SIM808, SIM868
and SIM800C-DS.
The default gain level of aux audio channel is 9 in SIM800V, SIM840V, SIM800W, SIM840W,
SIM800W16 and SIM840W16.
The default gain level of aux audio channel is 8 in SIM800C, SIM800A and SIM800F.
21.3 AT+CBAND
E
SIM800V, SIM800W,SIM800W16,SIM800A SIM840V,SIM840W,SIM840W16,SIM800H,SI
L
M800L, SIM800,SIM800M64,SIM800G,
FI
SIM808,SIM800C,SIM800F,SIM868,SIM800C-
DS
AT+CBAND=? AT+CBAND=?
AL
+CBAND: +CBAND:
(EGSM_MODE,DCS_MODE,EGSM_DCS (EGSM_MODE,DCS_MODE,GSM850_MOD
TI
_MODE,ALL_BAND) E,PCS_MODE,EGSM_DCS_MODE,GSM850
_PCS_MODE,EGSM_PCS_MODE,ALL_BAN
OK D)
OK
EN
D
Difference:
SIM840V, SIM840W, SIM840W16,SIM800H, SIM800L, SIM800, SIM800M64, SIM800G,
FI
21.4 AT+CHFA
O
C
HANDFREE_AUDIO,4=PCM_AUDIO)
OK
C
OK
If it is SIM800H,SIM800L, SIM808, SIM868 or
M
SIM800C-DS
+CHFA: (0 = NORMAL_AUDIO, 1 =
SI
AUX_AUDIO, 2 = HANDFREE_AUDIO,
3 = AUX_HANDFREE_AUDIO, 4 =
PCM_AUDIO)
OK
If it is SIM800C,SIM800A,SIM800F
+CHFA: (0 = NORMAL_AUDIO, 2 =
HANDFREE_AUDIO)
OK
Difference:
In SIM800H, SIM800L, SIM808, SIM868 and SIM800C-DS, channel 2 is the same with
channel 0, channel 3 is the same with channel 1.channel 4 is multiplexed.
E
SIM800G can not support this AT command.
L
21.5 AT+SGPIO
FI
SIM800V, SIM840V,SIM800W, SIM800H,SIM800L,SIM800,
AL
SIM840W,SIM800W16,SIM840W16 SIM808,SIM800M64
AT+SGPIO=? AT+SGPIO=?
TI
+SGPIO: (0-1),(1-11),(0-1),(0-1) +SGPIO: (0-1),(1-7),(0-1),(0-1)
OK
Difference:
OK
EN
GPIO4 and GPIO5 only support the read operation in SIM800H, SIM800L, SIM800,
D
SIM800M64 and SIM808.
SIM800, SIM800M64 and SIM808 do not support GPIO1.
FI
SIM800G and SIM800C, SIM800A, SIM800F, SIM868 and SIM800C-DS can not support this
command.
N
O
21.6 AT+SJDR
C
Jamming detection PIN takes effect only in SIM800H, SIM800L, SIM800, SIM800M64,
SIM808, SIM800C, SIM800A, SIM800F, SIM868 and SIM800C-DS.The Jamming detection
PIN is defined as follows.
M
SIM800H/SIM800L PIN5
SIM800/SIM800M64 PIN67
C
SIM808 PIN63
M
SIM800C PIN29
SIM800A PIN67
SI
SIM800F PIN67
SIM800C-DS PIN29
SIM868 PIN29
21.7 AT+CREC
Play in call support AMR format and WAV format with 8K 16bit in SIM800V, SIM800H,
SIM800, SIM800M64, SIM808, SIM800C, SIM800A, SIM800F, SIM868 and SIM800C-DS.
The value of parameter <inputpath> is only "0" in SIM800 and SIM800M64.
21.8 AT+CTTSPARAM
L E
SIM800V,SIM840V, SIM800W, SIM800H,SIM800,SIM800M64
FI
SIM840W,SIM800W16,SIM840W16
AT+CTTSPARAM? AT+CTTSPARAM?
+CTTSPARAM: 50,0,50,50,1 +CTTSPARAM: 50,0,50,50,0
AL
OK OK
TI
Difference:
Default value of output channel is different.
21.9 AT+CADC
EN
D
SIM800V, SIM840V,SIM800W,SIM840W, SIM808
FI
SIM800W16,SIM840W16,SIM800H,
SIM800L,SIM800,SIM800M64,SIM800C,
N
SIM800A,SIM800F,SIM800C-DS,SIM868
O
AT+CADC? AT+CADC?
+CADC: 1,603 +CADC: 1,958
C
OK +CADC: 1,2223
M
OK
Difference:
O
SIM808 has two ADC channels and others have only one ADC channel.
C
21.10 AT+CSCLK
M
SI
OK OK
Difference:
SIM808 does not support AT+CSCLK=2.
21.11 AT+CMMSDOWN
E
SIM800W16,SIM840W16,SIM800L,SIM80
L
0H, SIM800, SIM800M64, SIM800G,
FI
SIM800C-DS
AT+CMMSDOWN=? AT+CMMSDOWN=?
+CMMSDOWN: "PIC", (1-307200), +CMMSDOWN: "PIC", (1-307200),
AL
(5000-),"NAME" (5000-),"NAME"
+CMMSDOWN: "TEXT", (1-15360), +CMMSDOWN: "TEXT", (1-15360),
TI
(2000-),"NAME" (2000-),"NAME"
+CMMSDOWN: "TITLE", (1-40), (2000-) +CMMSDOWN: "TITLE", (1-40), (2000-)
OK
EN
+CMMSDOWN: "AUDIO_ACC", (1-307200),
(5000-),"NAME"
+CMMSDOWN: "AUDIO_AMR", (1-307200),
D
(5000-),"NAME"
+CMMSDOWN: "AUDIO_BASIC",
FI
(1-307200), (5000-),"NAME"
+CMMSDOWN: "AUDIO_MID", (1-307200),
N
(5000-),"NAME"
O
+CMMSDOWN: "AUDIO_MPEG",
(1-307200), (5000-),"NAME"
C
(5000-),"NAME"
O
OK
C
21.12 AT+CFGRI
M
SIM800W16,SIM840W16,SIM800L,SIM80 SIM868
0H, SIM800, SIM800M64, SIM800G,
SIM800C-DS
AT+CFGRI? AT+CFGRI?
+CFGRI: 0 +CFGRI: 2
OK OK
Difference:
Default value is different.
21.13 AT+CLCK
E
SIM800W16, SIM840W16, SIM800L,
L
SIM800H, SIM800, SIM800M64, SIM800G,
FI
SIM808, SIM800C, SIM800A, SIM800F,
SIM868
AT+CLCK=? AT+CLCK=?
AL
+CLCK: +CLCK:
("AO","OI","OX","AI","IR","FD","SC" ("AO","OI","OX","AI","IR","SC","PN","P
TI
,"PN","PU","PP") U","PP")
OK
Difference:
OK
EN
SIm800C-DS has no value of "FD".
D
FI
21.14 AT+CBATCHK
N
SIM808
AT+CBATCHK? AT+CBATCHK?
+CBATCHK: 1 +CBATCHK: 0
M
OK OK
O
Difference:
Default value is different.
C
M
E
3.2.4 AT+CBST SIM800V,SIM840V,SIM800W,SIM840W,SIM800W16,
SIM840W16,SIM800L,SIM800H,SIM800,
L
SIM800M64,SIM800G,SIM808
FI
6.2.10 AT+CMOD SIM800V,SIM840V,SIM800W,SIM840W,SIM800W16,
SIM840W16,SIM800L,SIM800H,SIM800,
AL
SIM800M64,SIM800G,SIM808
6.2.40 AT+SGPIO SIM800V,SIM840V,SIM800W,SIM840W,SIM800W16,
SIM840W16,SIM800L,SIM800H,SIM800,
TI
SIM800M64,SIM800G,SIM808
6.2.41 AT+SPWM SIM800V,SIM840V,SIM800W,SIM840W,SIM800W16,
EN
SIM840W16,SIM800L,SIM800H,SIM800,
SIM800M64,SIM800G,SIM808,SIM868
D
6.2.59 AT+CPCMCFG SIM800H,SIM800L,SIM800,SIM800M64,SIM808
6.2.60 AT+CPCMSYNC SIM800H,SIM800L,SIM800, SIM800M64,SIM808
FI
SIM800C,SIM800A,SIM800F,SIM868
6.2.63 AT+SD2PCM SIM800H,SIM800L,SIM800, SIM800M64,SIM808
O
SIM800M64,SIM808,SIM800A,SIM800F
6.2.68 AT+CMNRP SIM800H,SIM800L,SIM800, SIM800M64
6.2.69 AT+CEGPRS SIM800H,SIM800L,SIM800, SIM800M64,SIM800C-DS
M
SIM800A, SIM800F,SIM800C-DS,SIM868
M
E
19 AT commands of AOC SIM800V,SIM840V,SIM800W,SIM840W,SIM800W16,
SIM840W16,SIM800L,SIM800H,SIM800,SIM800M64,
L
SIM800G,SIM808
FI
AL
TI
EN
D
FI
N
O
C
M
O
C
M
SI
Contact us:
Shanghai SIMCom wireless solutions Ltd.
Address: Building A, SIM Technology Building, No. 633 Jinzhong Road, Shanghai,
P. R. China 200335
Tel: +86 21 3252 3300
Fax: +86 21 3252 3020
URL: www.simcomm2m.com
L E
FI
AL
TI
EN
D
FI
N
O
C
M
O
C
M
SI