SIM800 Series - AT Command Manual - V1.12
SIM800 Series - AT Command Manual - V1.12
SIM800 Series - AT Command Manual - V1.12
AT Command Manual
GPRS Module
GENERAL NOTES
COPYRIGHT
www.simcom.com 2 / 364
SIM800 Series_AT Command Manual_V1.12
Version History
www.simcom.com 3 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 4 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 5 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 6 / 364
SIM800 Series_AT Command Manual_V1.12
AT+FMR
Add SIM800W16, SIM840W16,
1.1 Scope of the document
SIM800-WB64, SIM808
2.2.27 ATZ Modify note
2.2.30 AT&F Modify note
2.2.32 AT&W Modify note
3.2.46 AT+CALS Modify <switch> descripton
4.2.8 AT+CNMI Add the " [alpha>]," string
6.2.1 AT+SIDET Modify note
6.2.4 AT+CMIC Modify note
6.2.8 AT+CSNS Modify parameter save mode
6.2.13 AT+CLDTMF Modify note
6.2.17 AT+CBAND Modify note
6.2.18 AT+CHF Modify note
6.2.19 AT+CHFA Modify note
6.2.40 AT+SGPIO Modify note
Extend the scope of parameter <freq> to
6.2.41 AT+SPWM
"0-100000"
6.2.58 AT+SJDR Modify note
6.2.59 AT+CPCMCFG Modify note
6.2.60 AT+CPCMSYNC Modify note
6.2.62 AT+CANT Modify note
V1.04 2014.06.10 6.2.63 AT+SD2PCM Modify note
6.2.64 AT+SKPD Modify note
6.2.66 AT+CROAMING Modify AT+CROAMING command’s format
Modify AT+CNETSCAN command’s
6.2.67 AT+CNETSCAN
function and note
6.2.68 AT+CMNRP Add AT command
8.2.2 AT+CIPSTART Modify max response time
8.2.30 AT+CIPTKA Add AT command
10.2.4 AT+CIPBEIPING Add AT command
12.2.2 AT+FTPMODE Modify test and write command
12.2.14 AT+FTPGET Modify note, Add "Manual quit" to <error>
12.2.23 AT+FTPLIST Modify note
12.2.24 AT+FTPGETTOFS Add read command
12.2.25 AT+FTPPUTFRMFS Add AT command
12.2.26 AT+FTPEXTGET Add AT command
12.2.27 AT+FTPFILEPUT Add AT command
12.2.28 AT+FTPQUIT Add AT command
13.2.1 AT+CIPGSMLOC Modify max response time
16.2.1 AT+DDET Modify response value of test command
17.2.1 AT+CREC Modify parameter description and note
18 Modify note
19.3 URC Add URC of
www.simcom.com 7 / 364
SIM800 Series_AT Command Manual_V1.12
AT+CGREG,AT+CALA,AT+CIURC,AT+CN
MI
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
All Change SIM800-WB64 to SIM800M64
6.2.21 AT+CENG Add format description of part parameters
Extend the scope of parameter <GPIO> to
6.2.40 AT+SGPIO
"1-7"
6.2.69 AT+CEGPRS Add AT command
12.2.24 AT+FTPGETTOFS Modify description of <loc>
V1.05 2014.07.31 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 Modify
21.5 AT+SGPIO Modify difference
21.9 AT+CADC Add difference
21.10 AT+CSCLK Add difference
21.13 Add GPIO difference
Extend the scope of parameter <mode> to
6.2.52 AT+CWHITELIST
"0-3"
6.2.70 AT+CGPIO Add AT command
6.2.71 AT+CMEDPLAY Add AT command
2014.10.28
1.06 6.2.72 AT+CMEDIAVOL Add AT command
8.2.14 AT+CDNSGIP Add error code
12.2 Modify max response time
17.2.1 AT+CREC Modify note
19.3 Modify note
1.1 Scope of the document Add SIM800C
2.2.16 ATS0 Modify note
1.07 2014.12.19 6.2.20 AT+CSCLK Modify note
6.2.73 AT+SNDLEVEL Add AT command
21 Add differences of SIM800C
Extend the scope of parameter <mode> to
6.2.55 AT+CSGS
"0-2"
6.2.74 AT+ECHARGE Add AT command
6.2.75 AT+SIMTIMER Add AT command
6.2.76 AT+SPE Add AT command
1.08 2015.05.12
17.2.1 AT+CREC Modify note
Change CME error codes from 810~824 to
19.1
600~614
Add
21.13
AT+ECHARGE,AT+SIMTIMER,AT+SPE
1.09 2015.08.03 1.1 Scope of the document Add SIM800A, SIM800F, SIM800C-DS
www.simcom.com 8 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 9 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 10 / 364
SIM800 Series_AT Command Manual_V1.12
Contents
Version History....................................................................................................................... 3
Contents ............................................................................................................................... 11
1 Introduction .................................................................................................................... 22
1.1 Scope of the document ......................................................................................................... 22
1.2 Related documents ............................................................................................................... 22
1.3 Conventions and abbreviations ............................................................................................. 22
1.4 AT Command syntax ............................................................................................................. 22
1.4.1 Basic syntax ................................................................................................................... 23
1.4.2 S Parameter syntax ........................................................................................................ 23
1.4.3 Extended Syntax ............................................................................................................ 23
1.4.4 Combining AT commands on the same Command line .................................................. 24
1.4.5 Entering successive AT commands on separate lines .................................................... 24
1.5 Supported character sets ...................................................................................................... 24
1.6 Flow control ........................................................................................................................... 25
1.6.1 Software flow control (XON/XOFF flow control) ............................................................. 25
1.6.2 Hardware flow control (RTS/CTS flow control) ............................................................... 25
1.7 Definitions.............................................................................................................................. 26
1.7.1 Parameter Saving Mode................................................................................................. 26
1.7.2 Max Response Time....................................................................................................... 26
www.simcom.com 11 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 12 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 13 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 14 / 364
SIM800 Series_AT Command Manual_V1.12
6.2.17 AT+CBAND Get and Set Mobile Operation Band ...................................................... 150
6.2.18 AT+CHF Configure Hands Free Operation ................................................................ 151
6.2.19 AT+CHFA Swap the Audio Channels ......................................................................... 152
6.2.20 AT+CSCLK Configure Slow Clock ............................................................................. 153
6.2.21 AT+CENG Switch on or off Engineering Mode .......................................................... 154
6.2.22 AT+SCLASS0 Store Class 0 SMS to SIM When Received Class 0 SMS .................. 156
6.2.23 AT+CCID Show ICCID ............................................................................................... 157
6.2.24 AT+CMGDA Delete All SMS ...................................................................................... 157
6.2.25 AT+STTONE Play SIM Toolkit Tone ........................................................................... 158
6.2.26 AT+SIMTONE Generate Specifically Tone................................................................. 159
6.2.27 AT+CCPD Enable or Disable Alpha String................................................................. 160
6.2.28 AT+CGID Get SIM Card Group Identifier ................................................................... 161
6.2.29 AT+MORING Show State of Mobile Originated Call .................................................. 161
6.2.30 AT+CMGHEX Enable or Disable Sending Non-ASCII Character SMS ...................... 162
6.2.31 AT+CCODE Configure SMS Code Mode................................................................... 162
6.2.32 AT+CIURC Enable or Disable Initial URC Presentation............................................. 163
6.2.33 AT+CPSPWD Change PS Super Password .............................................................. 164
6.2.34 AT+EXUNSOL Enable or Disable Proprietary Unsolicited Indications ....................... 164
6.2.35 AT+CGMSCLASS Change GPRS Multislot Class ..................................................... 165
6.2.36 AT+CDEVICE View Current Flash Device Type ........................................................ 166
6.2.37 AT+CCALR Call Ready Query ................................................................................... 166
6.2.38 AT+GSV Display Product Identification Information ................................................... 166
6.2.39 AT+SGPIO Control the GPIO .................................................................................... 167
6.2.40 AT+SPWM Generate the Pulse-Width-Modulation .................................................... 168
6.2.41 AT+ECHO Echo Cancellation Control........................................................................ 168
6.2.42 AT+CAAS Control Auto Audio Switch ........................................................................ 169
6.2.43 AT+SVR Configure Voice Coding Type for Voice Calls .............................................. 170
6.2.44 AT+GSMBUSY Reject Incoming Call......................................................................... 171
6.2.45 AT+CEMNL Set the List of Emergency Number ........................................................ 172
6.2.46 AT*CELLLOCK Set the List of ARFCN Which Needs to Be Locked .......................... 173
6.2.47 AT+SLEDS Set the Timer Period of Net Light............................................................ 173
6.2.48 AT+CBUZZERRING Use the Buzzer Sound as the Incoming Call Ring .................... 174
6.2.49 AT+CEXTERNTONE Close or Open the Microphone................................................ 175
6.2.50 AT+CNETLIGHT Close the Net Light or Open It to Shining ....................................... 175
6.2.51 AT+CWHITELIST Set the White List.......................................................................... 176
6.2.52 AT+CSDT Switch on or off Detecting SIM Card ......................................................... 177
6.2.53 AT+CSMINS SIM Inserted Status Reporting ............................................................. 178
6.2.54 AT+CSGS Netlight Indication of GPRS Status .......................................................... 178
6.2.55 AT+CMICBIAS Close or Open the MICBIAS ............................................................. 179
6.2.56 AT+DTAM Set TTS and RECORD Play Mode in Call ................................................ 180
6.2.57 AT+SJDR Set Jamming Detection Function .............................................................. 180
6.2.58 AT+CPCMCFG Set PCM Parameter ......................................................................... 182
6.2.59 AT+CPCMSYNC Set PCM Sync Parameter .............................................................. 183
6.2.60 AT+CANT Antenna Detecting .................................................................................... 183
6.2.61 AT+CAGCSET Close or Open AGC Function .............................................................. 184
6.2.62 AT+SD2PCM SD and PCM Switch Function ................................................................ 185
www.simcom.com 15 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 16 / 364
SIM800 Series_AT Command Manual_V1.12
8.2.9 AT+CSTT Start Task and Set APN, USER NAME, PASSWORD ............................... 221
8.2.10 AT+CIICR Bring Up Wireless Connection with GPRS or CSD................................... 221
8.2.11 AT+CIFSR Get Local IP Address ............................................................................... 222
8.2.12 AT+CIPSTATUS Query Current Connection Status ................................................... 223
8.2.13 AT+CDNSCFG Configure Domain Name Server ....................................................... 224
8.2.14 AT+CDNSGIP Query the IP Address of Given Domain Name ................................... 225
8.2.15 AT+CIPHEAD Add an IP Head at the Beginning of a Package Received.................. 225
8.2.16 AT+CIPATS Set Auto Sending Timer ......................................................................... 226
8.2.17 AT+CIPSPRT Set Prompt of ‘>’ When Module Sends Data ....................................... 227
8.2.18 AT+CIPSERVER Configure Module as Server .......................................................... 227
8.2.19 AT+CIPCSGP Set CSD or GPRS for Connection Mode ............................................ 228
8.2.20 AT+CIPSRIP Show Remote IP Address and Port When Received Data ................... 229
8.2.21 AT+CIPDPDP Set Whether to Check State of GPRS Network Timing ...................... 230
8.2.22 AT+CIPMODE Select TCPIP Application Mode ......................................................... 231
8.2.23 AT+CIPCCFG Configure Transparent Transfer Mode ............................................... 231
8.2.24 AT+CIPSHOWTP Display Transfer Protocol in IP Head When Received Data ......... 232
8.2.25 AT+CIPUDPMODE UDP Extended Mode ................................................................. 233
8.2.26 AT+CIPRXGET Get Data from Network Manually ..................................................... 234
8.2.27 AT+CIPSCONT Save TCPIP Application Context ...................................................... 236
8.2.28 AT+CIPRDTIMER Set Remote Delay Timer .............................................................. 237
8.2.29 AT+CIPSGTXT Select GPRS PDP context................................................................ 237
8.2.30 AT+CIPTKA Set TCP Keepalive Parameters ............................................................. 238
www.simcom.com 17 / 364
SIM800 Series_AT Command Manual_V1.12
11.2.9 AT+HTTPHEAD Read the HTTP Header Information of Server Response ............... 255
11.2.10 AT+HTTPGETHEAD Show the HTTP Header Information in HTTPREAD ......... 255
www.simcom.com 18 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 19 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 20 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 21 / 364
SIM800 Series_AT Command Manual_V1.12
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.
You can visit the SIMCom Website using the following link:
http://www.simcom.com
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 following term:
TE (Terminal Equipment);
DTE (Data Terminal Equipment) or plainly "the application" which is running on an embedded system;
The "AT" or "at" or "aT" or "At" prefix must be set at the beginning of each Command line. To terminate a
Command line enter <CR>.
www.simcom.com 22 / 364
SIM800 Series_AT Command Manual_V1.12
The AT Command set implemented by SIM7080 Series is a combination of 3GPP TS 27.005, 3GPP TS
27.007 and ITU-T recommendation V.25ter and the AT commands developed by SIMCom.
NOTE
A HEX string such as "00 49 49 49 49 FF FF FF FF" will be sent out through serial port at the baud rate
of 115200 immediately after SIM800 Series is powered on. The string shall be ignored since it is used
for synchronization with PC tool. Only enter AT Command through serial port after SIM800 Series is
powered on 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:
These AT commands have the format of "AT<x><n>", or "AT&<x><n>", where "<x>"is the Command, and
"<n>"is/are the argument(s) for that Command. An example of this is "ATE<n>", which tells the DCE
whether received characters should be echoed back to the DTE according to the value of "<n>". "<n>" is
optional and a default will be used if missing.
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 default value is assigned.
www.simcom.com 23 / 364
SIM800 Series_AT Command Manual_V1.12
parameters.
AT+<x>?
Write Command This command sets the user-definable parameter values.
AT+<x>=<…>
The execution command reads non-variable parameters affected
Execution Command
by internal processes in the GSM engine.
AT+<x>
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 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.
The Command line buffer can accept a maximum of 556 characters (counted from the first command
without "AT" or "at" prefix) or 39 AT commands. If the characters entered exceeded this number then none
of the Command will executed and TA will return "ERROR".
When you need to enter a series of AT commands on separate lines, please Note that you need to wait the
final response (for example OK, CME error, CMS error) of last AT Command you entered before you enter
the next AT Command.
The SIM7080 Series AT Command interface defaults to the IRA character set. The SIM7080 Series
supports the following character sets:
GSM format
UCS2
HEX
IRA
PCCP
PCDN
8859-1
The character set can be set and interrogated using the "AT+CSCS" Command (3GPP TS 27.007). The
character set is defined in GSM specification 3GPP TS 27.005.
www.simcom.com 24 / 364
SIM800 Series_AT Command Manual_V1.12
The character set affects transmission and reception of SMS and SMS Cell Broadcast messages, the entry
and display of phone book entries text field and SIM Application Toolkit alpha strings.
Flow control is very important for correct communication between the GSM engine and DTE. 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 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 hardware flow
control. SIM7080 Series support both two kinds of flow control.
In Multiplex mode, it is recommended to use the hardware flow control.
Software flow control sends different characters to stop (XOFF, decimal 19) and resume (XON, decimal 17)
data flow. It is quite useful in some applications that only use three wires on the serial interface.
The default flow control approach of SIM7080 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 profile with
AT&W.
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.
Hardware flow control achieves the data flow control by controlling the RTS/CTS line. When the 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.
www.simcom.com 25 / 364
SIM800 Series_AT Command Manual_V1.12
To achieve hardware flow control, ensure that the RTS/CTS lines are present on your application platform.
1.7 Definitions
For the purposes of the present document, the following syntactical definitions apply:
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 automatically, and it
won't be lost if module is rebooted.
AT&W_SAVE: The parameter of the current AT command will be kept in NVRAM by sending the
command of "AT&W".
-: "-" means this AT command does not care the parameter saving mode.
Max response time is estimated maximum time to get response, the unit is seconds.
"-" means this AT command does not care the response time.
www.simcom.com 26 / 364
SIM800 Series_AT Command Manual_V1.12
2 AT Commands According to
V.25TER
Command Description
A/ Re-issues the last command given
ATA Answer an incoming call
ATD Mobile originated call to dial a number
ATD><N> Originate call to phone number in current memory
ATD><STR> Originate call to phone number in memory <str>
ATDL Redial last telephone number used
ATE Set command echo mode
ATH Disconnect existing connection
ATI Display product identification information
ATL Set monitor speaker loudness
ATM Set monitor speaker mode
+++ Switch from data mode or ppp online mode to command mode
ATO Switch from command mode to data mode
ATP Select pulse dialling
ATQ Set result code presentation mode
ATS0 Set number of rings before automatically answering the call
ATS3 Set command line termination character
ATS4 Set response formatting character
ATS5 Set command line editing character
ATS6 Pause before blind dialling
ATS7 Set number of seconds to wait for connection completion
Set number of seconds to wait for comma dial modifier encountered in dial
ATS8
string of D command
ATS10 Set disconnect delay after indicating the absence of data carrier
ATT Select tone dialing
ATV TA response format
ATX Set connect result code format and monitor call progress
ATZ Reset default configuration
AT&C Set DCD function mode
www.simcom.com 27 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 28 / 364
SIM800 Series_AT Command Manual_V1.12
<value>>0
When TA returns to Command mode after call release
OK
Response if no connection
NO CARRIER
Parameter Saving Mode NO_SAVE
20s(voice call)
Max Response Time
Timeout set with ATS7 (data call)
Reference Note
V.25ter See also ATX
www.simcom.com 29 / 364
SIM800 Series_AT Command Manual_V1.12
Emergency call:
<n> Standardized emergency number 112 (no SIM needed)
<mgsm> String of GSM modifiers:
I Actives CLIR (Disables presentation of own number to called
party)
i Deactivates CLIR (Enable presentation of own number to called
party)
G Activates Closed User Group invocation for this call only
g Deactivates Closed User Group invocation for this call only
<;> Only required to set up voice call , return to Command state
Parameter Saving Mode NO_SAVE
20s(voice call)
Max Response Time
Timeout set with ATS7 (data call)
Note
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 ";"
See ATX Command for setting result code and call monitoring parameters.
www.simcom.com 30 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 31 / 364
SIM800 Series_AT Command Manual_V1.12
<cug>
G Control the CUG supplementary service information for
this call
CUG Not supported
g Control the CUG supplementary service information for
this call
CUG Not supported
<;> Only required to set up voice call , return to command state
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Parameter "I" and "i" only if no *# code is within the dial string
Reference
*# codes sent with ATD are treated as voice calls. Therefore, the command
V.25ter
must be terminated with a semicolon ";"
See ATX Command for setting result code and call monitoring parameters.
www.simcom.com 32 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 33 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 34 / 364
SIM800 Series_AT Command Manual_V1.12
OK
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
V.25ter
www.simcom.com 35 / 364
SIM800 Series_AT Command Manual_V1.12
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
Response
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
Command while maintaining the data connection to the remote server.
OK
Execution Command
+++ To prevent the +++ escape sequence from being misinterpreted as data, it
should comply to following sequence:
No characters entered for T1 time (1 second)
"+++" characters entered with no characters in between (1 second)
No characters entered for T1 timer (1 second)
Switch to Command mode, otherwise go to step 1.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
V.25ter To return from Command mode back to data mode: Enter ATO.
www.simcom.com 36 / 364
SIM800 Series_AT Command Manual_V1.12
Reference Note
V.25ter No effect in GSM
www.simcom.com 37 / 364
SIM800 Series_AT Command Manual_V1.12
2.2.16 ATS0 Set Number of Rings before Automatically Answering the Call
www.simcom.com 38 / 364
SIM800 Series_AT Command Manual_V1.12
Parameters
<n> 13 Command line termination character
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Reference Note
V.25ter Default 13=CR. It only supports default value.
www.simcom.com 39 / 364
SIM800 Series_AT Command Manual_V1.12
or
ERROR
Parameters
<n> 0-8-127 Response formatting character
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Reference Note
V.25ter Default 8=Backspace.
www.simcom.com 40 / 364
SIM800 Series_AT Command Manual_V1.12
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
Response
<n>
Read Command
ATS8? OK
Parameters
See Write Command
Response
OK
or
Write Command
ERROR
ATS8=<n>
Parameters
<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 Mode AT&W_SAVE
Max Response Time -
Reference Note
V.25ter No effect in GSM
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
Response
<n>
Read Command
ATS10? OK
Parameters
See Write Command
Response
Write Command
This parameter setting determines the amount of time that the TA will
www.simcom.com 41 / 364
SIM800 Series_AT Command Manual_V1.12
ATS10=<n> remain connected in absence of data carrier. If the data carrier is once more
detected before disconnecting, the TA remains connected.
OK
or
ERROR
Parameters
<n> 1-15-254 Number of tenths seconds of delay
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Reference Note
V.25ter
Reference Note
V.25ter
www.simcom.com 42 / 364
SIM800 Series_AT Command Manual_V1.12
The result codes, their numeric equivalents and brief descriptions of the use
of each are listed in the following table.
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Reference Note
V.25ter
2.2.26 ATX Set CONNECT Result Code Format and Monitor Call Progress
ATX Set CONNECT Result Code Format and Monitor Call Progress
Response
This parameter setting determines whether or not the TA detected the
presence of dial tone and busy signal and whether or not TA transmits
particular result codes.
OK
or
Execution Command ERROR
ATX<value> Parameters
<value>
0 CONNECT result code only returned, dial tone and busy detection
are both disabled.
1 CONNECT<text> result code only returned, dial tone and busy
detection are both disabled.
2 CONNECT<text> result code returned, dial tone detection is
www.simcom.com 43 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 44 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 45 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 46 / 364
SIM800 Series_AT Command Manual_V1.12
ATE <echo> Y
ATQ <result> Y
ATX <result> Y
AT&C <behavior> Y
AT&D <behavior> Y
AT+CLTS <timestamp> Y
AT+CREG <n> Y
AT+CGREG <n> Y
AT+CMEE <n> Y
AT+CSCLK <n> Y
AT+CIURC <mode> Y
AT+CFGRI <mode> Y
AT+CANT <mode>,<UrcEnable>,<timer> Y
AT+STKPCIS <switch> Y
AT+CMGF <mode> Y
AT+CNMI <mode>,<mt>,<bm>,<ds>,<bfr> Y
AT+CSCS <chest> Y
AT+VTD <n> Y
AT+CALS <n> Y
AT+CHF <ind> Y
AT+CAAS <mode> Y
AT+CBUZZERRING <mode> Y
AT+DDET <n> Y
AT+MORING <mode> Y
AT+SVR <voice_rate_coding> Y
AT+CCPD <mode> Y
AT+CSGS <mode> Y
AT+CNETLIGHT <mode> Y
AT+SLEDS <mode>,<timer_on>,<timer_off> Y
AT+CSDT <mode> Y
AT+CSMINS <n> Y
AT+EXUNSOL <exunsol> Y
AT+IPR <n> Y
AT+IFC <TA_by_TE>,<TE_by_TA> Y
AT+ICF <format>,<parity> Y
AT+SD2PCM <mode> Y
AT+CMNRP <mode> Y
AT+ECHARGE <n> Y
AT+SIMTIMER <time> Y
AT+CSNS <mode> Y
AT+FSHEX <n> Y
www.simcom.com 47 / 364
SIM800 Series_AT Command Manual_V1.12
TA reports one or more lines of information text which permit the user to
identify the manufacturer.
Execution Command
SIMCOM_Ltd
AT+GMI
OK
Reference Note
V.25ter
TA reports one or more lines of information text which permit the user to
Execution Command
identify the specific model of device.
www.simcom.com 48 / 364
SIM800 Series_AT Command Manual_V1.12
AT+GMM <model>
OK
Parameters
<model> Product model identification text
Reference Note
V.25ter
TA reports one or more lines of information text which permit the user to
identify the revision of software release.
Revision: <revision>
Execution Command
AT+GMR
OK
Parameters
<revision> Revision of software release
Reference Note
V.25ter
Response
Execution Command TA reports one or more lines of information text which permit the user to
AT+GOI identify the device, based on the ISO system for registering unique object
identifiers.
www.simcom.com 49 / 364
SIM800 Series_AT Command Manual_V1.12
<Object Id>
OK
Parameters
<Object Id> Identifier of device type
see X.208, 209 for the format of <Object Id>
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
V.25ter
www.simcom.com 50 / 364
SIM800 Series_AT Command Manual_V1.12
OK
Parameters
See Write Command
Response
This parameter setting determines the serial interface character framing
format and parity received by TA from TE.
OK
Parameters
Write Command <format> 1 8 data 0 parity 2 stop
AT+ICF=<format>[,<pa 2 8 data 1 parity 1 stop
rity>] 3 8 data 0 parity 1 stop
4 7 data 0 parity 2 stop
5 7 data 1 parity 1 stop
6 7 data 0 parity 1 stop
<parity> 0 odd
1 even
3 space (0)
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Note
The Command is applied for Command state;
Reference
In <format> parameter, "0 parity" means no parity;
V.25ter
The <parity> field is ignored if the <format> field specifies no parity and
string "+ICF: <format>,255" will be response to "AT+ICF? " Command.
www.simcom.com 51 / 364
SIM800 Series_AT Command Manual_V1.12
[,<dte_by_dce>] OK
Parameters
<dce_by_dte> Specifies the method will be used by TE at receive of
data from TA
0 No flow control
1 Software flow control
2 Hardware flow control
<dte_by_dce> Specifies the method will be used by TA at receive of data
from TE
0 No flow control
1 Software flow control
2 Hardware flow control
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Reference Note
V.25ter
www.simcom.com 52 / 364
SIM800 Series_AT Command Manual_V1.12
9600
19200
38400
57600
115200
230400
460800
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Reference Note
V.25ter Factory setting is "AT+IPR=0"(auto-bauding).
2.2.41.1 Auto-bauding
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 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.
The serial interface has to be operated at 8 data bits, no parity and 1 stop bit (factory setting).
Only the strings "AT" or "at" can be detected when auto-bauding is enabled.
Unsolicited Result Codes that may be issued before the ME detects the new baud rate (by receiving the first
AT Command string) will be sent at the previously detected baud rate.The Unsolicited Result Codes "RDY"
and so on are not indicated when you start up the ME while auto-bauding is enabled.
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.
The most recently detected baud rate can not be stored when module is powered down.
www.simcom.com 53 / 364
SIM800 Series_AT Command Manual_V1.12
Reference Note
V.25ter
www.simcom.com 54 / 364
SIM800 Series_AT Command Manual_V1.12
Command Description
AT+CACM Accumulated call meter(ACM) reset or query
AT+CAMM Accumulated call meter maximum(ACM max) set or query
AT+CAOC Advice of charge
AT+CBST Select bearer service type
AT+CCFC Call forwarding number and conditions control
AT+CCWA Call waiting control
AT+CEER Extended error report
AT+CGMI Request manufacturer identification
AT+CGMM Request model identification
AT+CGMR Request TA revision identification of software release
AT+CGSN Request product serial number identification (identical with +GSN)
AT+CSCS Select TE character set
AT+CSTA Select type of address
AT+CHLD Call hold and multiparty
AT+CIMI Request international mobile subscriber identity
AT+CLCC List current calls of ME
AT+CLCK Facility lock
AT+CLIP Calling line identification presentation
AT+CLIR Calling line identification restriction
AT+CMEE Report mobile equipment error
AT+COLP Connected line identification presentation
AT+COPS Operator selection
AT+CPAS Phone activity status
AT+CPBF Find phonebook entries
AT+CPBR Read current phonebook entries
AT+CPBS Select phonebook memory storage
AT+CPBW Write phonebook entry
AT+CPIN Enter PIN
AT+CPWD Change password
AT+CR Service reporting control
AT+CRC Set cellular result codes for incoming call indication
AT+CREG Network registration
AT+CRLP Select radio link protocol parameters
AT+CRSM Restricted SIM access
www.simcom.com 55 / 364
SIM800 Series_AT Command Manual_V1.12
OK
Read Command If error is related to ME functionality:
AT+CACM? +CME ERROR: <err>
Parameters
<acm> String type (string should be included in quotation marks); three
bytes of the current ACM value in hexa-decimal format (e.g. "00001E"
indicates decimal value 30)
000000 – FFFFFF
www.simcom.com 56 / 364
SIM800 Series_AT Command Manual_V1.12
Response
TA resets the Advice of Charge related accumulated call meter (ACM) value
in SIM file EF (ACM). ACM contains the total number of home units for both
the current and preceding calls.
Write Command OK
AT+CACM=<passwd> If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<passwd> String type (string should be included in quotation marks):
SIM PIN2
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13]
3.2.2 AT+CAMM Accumulated Call Meter Maximum (ACM max) Set or Query
Read Command
OK
AT+CAMM?
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
TA sets the Advice of Charge related accumulated call meter maximum
value in SIM file EF (ACM max). ACM max contains the maximum number
of home units allowed to be consumed by the subscriber.
OK
or
Write Command
ERROR
AT+CAMM=<acmmax>
If error is related to ME functionality:
[,<passwd>]
+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. "00001E"
indicates decimal value 30)
000000 disable ACMmax feature
www.simcom.com 57 / 364
SIM800 Series_AT Command Manual_V1.12
000001-FFFFFF
<passwd> String type (string should be included in quotation marks)
SIM PIN2
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13]
OK
If <mode>=1, TA deactivates the unsolicited reporting of CCM value
OK
If <mode>=2, TA activates the unsolicited reporting of CCM value
OK
Write Command
or
AT+CAOC=<mode>
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<mode> 0 Query CCM value
1 Deactivate the unsolicited reporting of CCM value
2 Activate the unsolicited reporting of CCM value
<ccm> String type (string should be included in quotation marks);
three bytes of the current CCM value in hex-decimal format (e.g. "00001E"
indicates decimal value 30); bytes are similarly coded as ACMmax value in
www.simcom.com 58 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 59 / 364
SIM800 Series_AT Command Manual_V1.12
OK
where <status>=0 and <class>=7
If error is related to ME functionality:
www.simcom.com 60 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 61 / 364
SIM800 Series_AT Command Manual_V1.12
Response
+CCWA: <n>
Read Command
AT+CCWA? OK
Parameters
See Write Command
Response
TA controls the Call Waiting supplementary service. Activation, deactivation
and status query are supported.
If <mode>≠2 and Command successful
OK
If <mode>=2 and Command successful
+CCWA: <status>,<class1>[<CR><LF>+CCWA: <status>,<class2>[...]]
OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Note: <status>=0 should be returned only if service is not active for any
<class> i.e. +CCWA: 0, 7 will be returned in this case.
When mode=2, all active call waiting classes will be reported. In this mode
the Command is aborted by pressing any key.
Write Command Parameters
AT+CCWA=<n>[,<mod <n> 0 Disable presentation of an unsolicited result code
e>[,<class>]] 1 Enable presentation of an unsolicited result code
<mode> When <mode> parameter not given, network is not
interrogated
0 Disable
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
4 Fax (facsimile services)
7 Default(1+2+4)
<status> 0 Not active
1 Active
Unsolicited result code
RING
+CCWA: <number>,<type>,<class>[,<alpha>]
www.simcom.com 62 / 364
SIM800 Series_AT Command Manual_V1.12
Parameters
<number> String type (string should be included in quotation marks)
phone number of calling address in format specified by <type>
<type> Type of address octet in integer format;
129 Unknown type
161 National number type
145 International number type
177 Network specific number
<alpha> Optional string type (string should be included in quotation marks)
alphanumeric representation of <number> corresponding to the entry found
in phone book.
Parameter Saving Mode NO_SAVE
Max Response Time 15s
Reference Note
3GPP TS 27.007
www.simcom.com 63 / 364
SIM800 Series_AT Command Manual_V1.12
If AT+CEER=1, return
Cause:<c>
<c> number representing the Cause
Parameters
<c>(number) <s>(string)
0 (No cause)
1 (unassigned (unallocated) number)
3 (no route to destination)
6 (channel unacceptable)
8 (operator determined barring)
16 (normal call clearing)
17 (user busy)
18 (no user responding)
19 (user alerting, no answer)
21 (call rejected)
22 (number changed)
26 (non-selected user clearing)
27 (destination out of order)
28 (invalid number format (incomplete number))
29 (facility rejected)
30 (response to STATUS ENQUIRY)
31 (normal, unspecified)
34 (emergency call not possible)
38 (network out of order)
41 (temporary failure)
42 (switching equipment congestion)
43 (access information discarded)
44 (requested circuit/channel not available)
47 (resource unavailable, unspecified)
49 (quality of service unavailable)
50 (Requested facility not subscribed)
55 (Incoming calls barred within the CUG)
57 (bearer capability not authorized)
58 (bearer capability not presently available)
63 (service or option not available, unspecified)
68 (ACM equal to or greater than ACMmax)
65 (bearer service not implemented)
69 (Requested facility not implemented)
70 (only restricted digital information bearer capability is
available)
79 (service or option not implemented,unspecified)
81 (invalid transaction identifier value)
87 (user not member of CUG)
88 (incompatible destination)
91 (invalid transit network selection)
95 (semantically incorrect message)
www.simcom.com 64 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 65 / 364
SIM800 Series_AT Command Manual_V1.12
3.2.11 AT+CGSN Request Product Serial Number Identification (Identical with +GSN)
www.simcom.com 66 / 364
SIM800 Series_AT Command Manual_V1.12
OK
Parameters
<chset> "GSM" GSM 7 bit default alphabet (3GPP TS 23.038);
"UCS2" 16-bit universal multiple-octet coded character set
(ISO/IEC10646); UCS2 character strings are converted to
Test Command hexadecimal numbers from 0000 to FFFF; e.g. "004100620063"
AT+CSCS=? equals three 16-bit characters with decimal values 65, 98 and
99
"IRA" International reference alphabet (ITU-T T.50)
"HEX" Character strings consist only of hexadecimal
bers from 00 to FF;
"PCCP" PC character set Code
"PCDN" PC Danish/Norwegian character set
"8859-1" ISO 8859 Latin 1 character set
Response
+CSCS: <chset>
Read Command
AT+CSCS? OK
Parameters
See Test Command
Response
Sets which character set <chset> are used by the TE. The TA can then
convert character strings correctly between the TE and ME character sets.
Write Command OK
AT+CSCS=<chset> If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Test Command
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13]
www.simcom.com 67 / 364
SIM800 Series_AT Command Manual_V1.12
OK
Parameters
See Write Command
Response
+CSTA: <type>
Read Command
AT+CSTA? OK
Parameter
<type> Current address type setting.
Response
OK
If <type> is not in the parameter range:
ERROR
Write Command Parameters
AT+CSTA=<type> <type> Type of address octet in integer format;
129 Unknown type
161 National number type
145 International number type
177 Network specific number
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference
The ATD Command overrides this setting when a number is dialed.
3GPP TS 27.007 [13]
OK
www.simcom.com 68 / 364
SIM800 Series_AT Command Manual_V1.12
Execution Command OK
AT+CIMI If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<IMSI> International Mobile Subscriber Identity (string without double
quotes)
Parameter Saving Mode NO_SAVE
Max Response Time 20s
Reference
Note
3GPP TS 27.007 [13]
www.simcom.com 69 / 364
SIM800 Series_AT Command Manual_V1.12
OK
Execution Command If error is related to ME functionality:
+CME ERROR: <err>
AT+CLCC
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
2 Dialing (MO call)
3 Alerting (MO call)
4 Incoming (MT call)
www.simcom.com 70 / 364
SIM800 Series_AT Command Manual_V1.12
OK
If error is related to ME functionality:
www.simcom.com 71 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 72 / 364
SIM800 Series_AT Command Manual_V1.12
Read Command OK
AT+CLIP? If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
TA enables or disables the presentation of the CLI at the TE. It has no effect
on the execution of the supplementary service CLIP in the network.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<n> 0 Disable +CLIP notification.
1 Enable +CLIP notification.
<m> 0 CLIP not provisioned
1 CLIP provisioned
2 Unknown (e.g. no network, etc.)
Unsolicited Result Code
When the presentation of the CLI at the TE is enabled (and calling
Write Command
subscriber allows), an unsolicited result code is returned after every RING
AT+CLIP=<n>
(or +CRING: <type>) at a mobile terminating call.
+CLIP: <number>,<type>[,<subaddr>,<satype>,<alphaId>,<CLI
validity>]
Parameters
<number> String type (string should be included in quotation marks)
phone number of calling address in format specified by <type>.
<type> Type of address octet in integer format;
129 Unknown type
161 National number type
145 International number type
177 Network specific number
<subaddr> String type (subaddress of format specified by <satype>)
<satype> Integer type (type of subaddress)
www.simcom.com 73 / 364
SIM800 Series_AT Command Manual_V1.12
Read Command OK
AT+CLIR? If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
TA restricts or enables the presentation of the CLI to the called party when
originating a call.
The Command overrides the CLIR subscription (default is restricted or
allowed) when temporary mode is provisioned as a default adjustment for all
following outgoing calls. This adjustment can be revoked by using the
Write Command opposite Command.
AT+CLIR=<n> OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<n> (parameter sets the adjustment for outgoing calls):
0 Presentation indicator is used according to the subscription of
the CLIR service.
www.simcom.com 74 / 364
SIM800 Series_AT Command Manual_V1.12
1 CLIR invocation
2 CLIR suppression
<m> (parameter shows the subscriber CLIR service status in the
network):
0 CLIR not provisioned
1 CLIR provisioned in permanent mode
2 Unknown (e.g. no network, etc.)
3 CLIR temporary mode presentation restricted
4 CLIR temporary mode presentation allowed
Parameter Saving Mode NO_SAVE
Max Response Time 15s
Note
Reference
www.simcom.com 75 / 364
SIM800 Series_AT Command Manual_V1.12
Reference Note
3GPP TS 27.007 [13]
Read Command OK
AT+COLP? If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
TA enables or disables the presentation of the COL (Connected Line) at the
TE for a mobile originated call. It has no effect on the execution of the
supplementary service COLR in the network.
Intermediate result code is returned from TA to TE before any +CR or
V.25ter responses.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<n> (parameter sets/shows the result code presentation status in the
Write Command TA):
AT+COLP=<n> 0 Disable +COLP notification
1 Enable +COLP notification
<m> (parameter shows the subscriber COLP service status in the
network):
0 COLP not provisioned
1 COLP provisioned
2 Unknown (e.g. no network, etc.)
Intermediate result code
When enabled (and called subscriber allows), an intermediate result code is
returned before any +CR or V.25ter responses:
+COLP: <number>,<type>[,<subaddr>,<satype> ,<alphaId>]
Parameters
www.simcom.com 76 / 364
SIM800 Series_AT Command Manual_V1.12
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
TA returns the current mode and the currently selected operator. If no
operator is selected, <format> and <oper> are omitted.
Read Command
+COPS: <mode>[,<format>,<oper>]
AT+COPS?
OK
If error is related to ME functionality:
www.simcom.com 77 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 78 / 364
SIM800 Series_AT Command Manual_V1.12
Parameters
See Execution Command
Response
TA returns the activity status of ME.
+CPAS: <pas>
OK
If error is related to ME functionality:
Execution Command +CME ERROR: <err>
AT+CPAS Parameters
<pas> 0 Ready (MT allows commands from TA/TE)
2 Unknown (MT is not guaranteed to respond to instructions)
3 Ringing (MT is ready for commands from TA/TE, but the
ringer is active)
4 Call in progress (MT is ready for commands from TA/TE, but
call is in progress)
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13]
Test Command
OK
AT+CPBF=?
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
TA returns phone book entries(from the current phone book memory
storage selected with +CPBS) which contains alphanumeric string
<findtext>.
Write Command
[+CPBF: <index1>,<number>,<type>,<text>]
AT+CPBF=[<findtext>]
[[…]<CR><LF>+CBPF: <index2>,<number>,<type>,<text>]
OK
Parameters
<findtext> String type(string should be included in quotation marks) field
www.simcom.com 79 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 80 / 364
SIM800 Series_AT Command Manual_V1.12
+CPBR: <index1>,<number>,<type>,<text>[[…]<CR><LF>+CPBR:
<index2>,<number>,<type>,<text>]
OK
Parameters
<index1> Read as of this location number
<index2> Read to this location number
<number> Phone number
<type> Type of number
<text> Text for phone number in current TE character set specified by
+CSCS.
Parameter Saving Mode NO_SAVE
3 seconds (single reading)
30 seconds (complete reading of a 250 records full phonebook.
Max Response Time
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.
Reference Note
3GPP TS 27.007 [13]
www.simcom.com 81 / 364
SIM800 Series_AT Command Manual_V1.12
Test Command
+CPBW: (list of supported <index>s),<nlength>,(list of supported
AT+CPBW=?
<type>s),<tlength>
OK
Parameters
See Write Command
Response
TA writes phone book entry in location number <index> in the current phone
book memory storage selected with +CPBS. Entry fields written are phone
number <number> (in the format <type>) and text <text> associated with
Write Command the number. If those fields are omitted, phone book entry is deleted. If
AT+CPBW=<index>[,< <index> is left out, but <number> is given, entry is written to the first free
number>,[<type>,[<tex location in the phone book.
t>]]] OK
Parameters
<nlength> Max length of phone number
<tlength> Max length of text for number
<index> Location number
www.simcom.com 82 / 364
SIM800 Series_AT Command Manual_V1.12
OK
Parameters
<code>
Read Command
READY MT is not pending for any password
AT+CPIN?
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 if
preceding Command was acknowledged with +CME ERROR: 17
SIM PUK2 Possible only if preceding Command was acknowledged
with error +CME ERROR: 18.
Response
Write Command
TA stores a password which is necessary before it can be operated (SIM
www.simcom.com 83 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 84 / 364
SIM800 Series_AT Command Manual_V1.12
www.simcom.com 85 / 364
SIM800 Series_AT Command Manual_V1.12
3.2.31 AT+CRC Set Cellular Result Codes for Incoming Call Indication
www.simcom.com 86 / 364
SIM800 Series_AT Command Manual_V1.12
OK
If error is related to ME functionality:
+CME ERROR: <err>
Response
TA controls the presentation of an unsolicited result code +CREG: <stat>
when <n>=1 and there is a change in the ME network registration status.
OK
Parameters
<n> 0 Disable network registration unsolicited result code
1 Enable network registration unsolicited result code
+CREG: <stat>
2 Enable network registration unsolicited result code with
location information +CREG: <stat>[,<lac>,<ci>]
<stat> 0 Not registered, MT is not currently searching a new
operator to register to
Write Command
1 Registered, home network
AT+CREG=[<n>]
2 Not registered, but MT is currently searching a new
operator to register to
3 Registration denied
4 Unknown
5 Registered, roaming
<lac> String type (string should be included in quotation marks); two
byte location area code in hexadecimal format
<ci> String type (string should be included in quotation marks); two
byte cell ID in hexadecimal format
Unsolicited Result Code
If <n>=1 and there is a change in the MT network registration status
+CREG: <stat>
www.simcom.com 87 / 364
SIM800 Series_AT Command Manual_V1.12
OK
Parameters
See Write Command
Response
TA returns current settings for RLP version. RLP versions 0 and 1 share
the same parameter set.
Read Command
+CRLP: <iws>,<mws>,<T1>,<N2>,<T4>
AT+CRLP?
OK
Parameters
See Write Command
Response
TA sets radio link protocol (RLP) parameters used when non-transparent
data calls are setup.
Write Command OK
AT+CRLP=<iws>[,<mw Parameters
s>[,<T1>[,<N2>[,<T4>]] <iws> 0-61 Interworking window size (IWF to MS)
]] <mws> 0-61 Mobile window size(MS to IWF)
<T1> 44-255 Acknowledgment timer T1 in 10 ms units
<N2> 1-255 Retransmission attempts N2
<T4> 7 Re-sequencing period in integer format, in units of 10 ms.
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Reference Simcom redefine param`s value range
www.simcom.com 88 / 364
SIM800 Series_AT Command Manual_V1.12
OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<Command>
176 READ BINARY
178 READ RECORD
192 GET RESPONSE
214 UPDATE BINARY
Write Command
220 UPDATE RECORD
AT+CRSM=<Command 242 STATUS
>[,<fileId>[,<P1>,<P2>,
<P3>[,<data>]]] All other values are reserved; refer GSM 11.11.
<fileId> Integer type; this is the identifier for an elementary data file on
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
11.11.
<data> Information which shall be written to the SIM (hex-decimal
character format)
<sw1>,<sw2> Integer type, range 0 - 255
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;
refer GSM 11.11.
<response> Response of a successful completion of the Command
previously issued (hexadecimal character format)
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference
Note
3GPP TS 27.007
GSM 11.11
www.simcom.com 89 / 364
SIM800 Series_AT Command Manual_V1.12
OK
If error is related to ME functionality:
+CME ERROR: <err>
Execution Command returns received signal strength indication <rssi> and
channel bit error rate <ber> from the ME. Test Command returns values
supported by the TA.
Execution Command Parameters
AT+CSQ <rssi>
0 -115 dBm or less
1 -111 dBm
2...30 -110... -54 dBm
31 -52 dBm or greater
99 not known or not detectable
<ber> (in percent):
0...7 As RXQUAL values in the table in GSM 05.08 [20]
subclause 7.2.4
99 Not known or not detectable
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13]
www.simcom.com 90 / 364
SIM800 Series_AT Command Manual_V1.12
Response
+VTD: <n>
Read Command
AT+VTD? OK
Parameters
See Write Command
Response
This command refers to an integer <n> that defines the length of tones
emitted as a result of the +VTS command. This does not affect the D
Write Command
command.
AT+VTD=<n>
OK
Parameters
<n> 1-255 Duration of the tone in 1/10 seconds
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13]
www.simcom.com 91 / 364
SIM800 Series_AT Command Manual_V1.12
OK
or
ERROR
Parameters
<mode> Multiplexer transparency mechanism
0 Basic option
<subset> The way in which the multiplexer control channel is set up
0 UIH frames used only
Read Command <port_speed> Transmission rate
1 9600 bits/t
AT+CMUX?
2 19200 bits/t
3 38400 bits/t
4 57600 bits/t
5 115200 bit/s
6 230400 bits/t
7 460800 bits/t
Proprietary values, available if MUX NEW PORT SPEED
FTR is activated
<N1> Maximum frame size
1-255 Default: 127
<T1> Acknowledgement timer in units of ten milliseconds
1-255 Default:10 (100 ms)
<N2> Maximum number of re-transmissions
www.simcom.com 92 / 364
SIM800 Series_AT Command Manual_V1.12
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
<k> Window size, for Advanced operation with Error Recovery
options
1-7 Default:2
Response
If error is related to ME functionality:
Write Command +CME ERROR: <err>
AT+CMUX=<mode> Parameters
<mode> Multiplexer transparency mechanism
0 Basic option
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
The multiplexing transmission rate is according to the current serial baud
rate. It is recommended to enable multiplexing protocol under 115200 bit/s
baud rate
Multiplexer control channels are listed as follows:
Reference
Channel Number Type DLCI
3GPP TS 27.007 [13]
None Multiplexer Control 0
1 3GPP TS 27.007 and 005 1
2 3GPP TS 27.007 and 005 2
3 3GPP TS 27.007 and 005 3
4 3GPP TS 27.007 and 005 4
www.simcom.com 93 / 364
SIM800 Series_AT Command Manual_V1.12
Read Command
OK
AT+CPOL?
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
OK
Write Command
If error is related to ME functionality:
AT+CPOL=<index>[,<f
+CME ERROR: <err>
ormat>,<oper>]
Parameters
<index> Integer type: order number of operator in SIM preferred
www.simcom.com 94 / 364
SIM800 Series_AT Command Manual_V1.12
operator list
<format> Indicates whether alphanumeric or numeric
format used (see +COPS Command)
0 Long format alphanumeric <oper>
1 Short format alphanumeric <oper>
2 Numeric <oper>
<oper> String type(string should be included in quotation marks)
Parameter Saving Mode AUTO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13]
OK
Execution Command
If error is related to ME functionality:
AT+COPN
+CME ERROR: <err>
Parameters
<numericn> String type (string should be included in quotation marks):
operator in numeric format (see +COPS)
<alphan> String type (string should be included in quotation marks):
operator in long alphanumeric format (see +COPS)
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13]
www.simcom.com 95 / 364
SIM800 Series_AT Command Manual_V1.12
Read Command OK
AT+CFUN? If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
OK
If error is related to ME functionality:
Write Command +CME ERROR: <err>
AT+CFUN=<fun>[,<rst Parameters
>] <fun> 0 Minimum functionality
1 Full functionality (Default)
4 Disable phone both transmit and receive RF circuits.
<rst> 1 Reset the MT before setting it to <fun> power level.
Parameter Saving Mode AUTO_SAVE
Max Response Time 10s
Note
Minimum functionality mode (AT+CFUN=0)and RF disabled
functionality mode (AT+CFUN=4) cannot be switched to each other.
The <fun> power level will be written to flash except minimum
Reference
functionality.
3GPP TS 27.007 [13]
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.
AT+CCLK Clock
Test Command Response
AT+CCLK=? OK
Response
+CCLK: <time>
Read Command
AT+CCLK?
OK
If error is related to ME functionality:
www.simcom.com 96 / 364
SIM800 Series_AT Command Manual_V1.12
Response
+CSIM: <length>,<response>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Write Command
Parameters
AT+CSIM=<length>,<C
ommand> <length> Integer type: length of characters sent to the TE in
<Command> or <response> (i.e. twice the number of octets in the raw
data).
<Command> String type (string should be included in quotation marks):
hex format: GSM 11.11 SIM Command sent from the ME to the SIM.
<response> String type(string should be included in quotation marks):
hex format: GSM 11.11 response from SIM to <Command>.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13]
www.simcom.com 97 / 364
SIM800 Series_AT Command Manual_V1.12
Test Command OK
AT+CALM=? If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
+CALM: <mode>
Read Command OK
AT+CALM? If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
OK
If error is related to ME functionality:
Write Command
+CME ERROR: <err>
AT+CALM=<mode>
Parameters
<mode> 0 Normal mode
1 Silent mode (all sounds from ME are prevented)
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference If CALM is set to silent mode before, when user sets CALM to normal mode
3GPP TS 27.007 [13] during an incoming call, the module maintains silent this time. But next time
the normal mode works.
www.simcom.com 98 / 364
SIM800 Series_AT Command Manual_V1.12
Parameters
See Write Command
Response
+CALS: <n>,<switch>
Read Command OK
AT+CALS? If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
OK
If error is related to ME functionality:
Write Command
+CME ERROR: <err>
AT+CALS=<n>[,<switc
Parameters
h>]
<n> 0-19 Alert sound type. Default value is 1.
<switch> 0 stop playing ring tone
1 start to play ring tone
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Reference Note
Test Command OK
AT+CRSL=? If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See Write Command
Response
+CRSL: <level>
Read Command OK
AT+CRSL? If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Write Command Response
www.simcom.com 99 / 364
SIM800 Series_AT Command Manual_V1.12
AT+CRSL=<level> OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<level> integer type value (0-100) with manufacturer specific range
Parameter Saving Mode AUTO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13]
Test Command OK
AT+CLVL=? If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
+CLVL: <level>
Read Command OK
AT+CLVL? If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See Write Command
Response
OK
If error is related to ME functionality:
Write Command
+CME ERROR: <err>
AT+CLVL=<level>
Parameters
<level> 0-100 Integer type value with manufacturer specific range
(smallest value represents the lowest sound level).
Parameter Saving Mode AUTO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13]
Read Command OK
AT+CMUT? If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
OK
If error is related to ME functionality:
Write Command
+CME ERROR: <err>
AT+CMUT=<n>
Parameters
<n> 0 Mute off
1 Mute on
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13] Only during a call this command can be set successfully.
Read Command OK
AT+CPUC? If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Write Command Response
AT+CPUC=<currency> OK
,<ppu>[,<passwd>] If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<currency> String type (string should be included in quotation marks);
three-character currency code (e.g. "GBP", "DEM");character set as
specified by "AT+CSCS" command
<ppu> String type (string should be included in quotation marks); price per
unit; dot is used as a decimal separator(e.g. "2.66")
<passwd> String type (string should be included in quotation marks); SIM
PIN2
Parameter Saving Mode NO_SAVE
Max Response Time 5s
Reference Note
3GPP TS 27.007 [13]
Test Command OK
AT+CCWE=? If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
+CCWE: <mode>
Read Command OK
AT+CCWE? If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
OK
If error is related to ME functionality:
Write Command +CME ERROR: <err>
AT+CCWE=<mode> Parameters
<mode> 0 Disable call meter warning event
1 Enable call meter warning event
Unsolicited result codes supported:
OK
If error is related to ME functionality:
+CME ERROR: <err>
Execution Command Parameters
AT+CBC <bcs> Charge status
0 ME is not charging
1 ME is charging
2 Charging has finished
<bcl> Battery connection level
1...100 battery has 1-100 percent of capacity remaining vent
<voltage> Battery voltage(mV)
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference
Note
3GPP TS 27.007 [13]
Response
+CUSD: (list of supported <n>s)
Test Command
AT+CUSD=? OK
Parameters
See Write Command
Response
+CUSD: <n>
Read Command
AT+CUSD? OK
Parameters
See Write Command
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<n> A numeric parameter which indicates control of the unstructured
Write Command
supplementary service data
AT+CUSD=<n>[,<str>[,
0 disable the result code presentation in the TE
<dcs>]]
1 enable the result code presentation in the TE
2 cancel session (not applicable to read Command response)
<str> String type (string should be included in quotation marks)
USSD-string
<dcs> Cell Broadcast Data Coding Scheme in integer format
(default 0)
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
GSM 03.38 [25] When ussd is not suport or return error,TE will print +CUSD:4.
Parameters
See Write Command
Response
OK
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
+CSSU: <code2> result code presentation status during a mobile
terminated call setup or during a call, or when a forward check
supplementary service notification is received.
0 disable
1 enable
<code1> 0 Unconditional call forwarding is active
1 Some of the conditional call forwarding are active
2 Call has been forwarded
3 Call is waiting
Write Command
4 This is a CUG call (also <index> present)
AT+CSSN=<n>[,<m>]
5 Outgoing calls are barred
6 Incoming calls are barred
7 CLIR suppression rejected
<index> Closed user group index
<code2> 0 This is a forwarded call
1 This is a CUG call (also <index> present) (MT call
setup)
2 Call has been put on hold (during a voice call)
3 Call has been retrieved (during a voice call)
4 Multiparty call entered (during a voice call)
5 Call on hold has been released (this is not a SS notification)
(during a voice call)
6 Forward check SS message received (can be received
whenever)
7 Call is being connected (alerting) with the remote party in
alerting state in explicit call transfer operation (during a voice call)
8 Call has been connected with the other remote party in
explicit call transfer operation (also number and subaddress parameters
may be present) (during a voice call or MT call setup)
9 This is a deflected call (MT call setup)
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
The 3GPP TS 27.005 commands are for performing SMS and CBS related operations. SIM800 Series
supports both Text and PDU modes.
Command Description
AT+CMGD Delete SMS message
AT+CMGF Select SMS message format
AT+CMGL List SMS messages from preferred store
AT+CMGR Read SMS message
AT+CMGS Send SMS message
AT+CMGW Write SMS message to memory
AT+CMSS Send SMS message from storage
AT+CNMI New SMS message indications
AT+CPMS Preferred SMS message storage
AT+CRES Restore SMS settings
AT+CSAS Save SMS settings
AT+CSCA SMS service center address
AT+CSCB Select cell broadcast SMS messages
AT+CSDH Show SMS text mode parameters
AT+CSMP Set SMS text mode parameters
AT+CSMS Select message service
27.005
AT+CMGD=?
OK
Parameters
See Write Command
Response
TA deletes message from preferred message storage <mem1> location
<index>.
OK
or
ERROR
If error is related to ME functionality:
+CMS ERROR: <err>
Parameters
<index> Integer type; value in the range of location numbers supported by
the associated memory
Write Command
<delflag> 0 Delete the message specified in <index>
AT+CMGD=<index>[,<
1 Delete all read messages from preferred message storage,
delflag>]
leaving unread messages and stored mobile originated
messages (whether sent or not) untouched
2 Delete all read messages from preferred message storage
and sent mobile originated messages, leaving unread
messages and unsent mobile originated messages
untouched
3 Delete all read messages from preferred message storage,
sent and unsent mobile originated messages leaving
unread messages untouched
4 Delete all messages from preferred message storage
including unread messages
Parameter Saving Mode NO_SAVE
5s(delete 1 message)
Max Response Time 25s(delete 50 messages)
25s(delete 150 messages)
Reference Note
3GPP TS 27.005
Response
+CMGF: <mode>
Read Command
AT+CMGF? OK
Parameter
See Write Command
Response
TA sets parameter to denote which input and output format of messages to
use.
Write Command
OK
AT+CMGF=[<mode>]
Parameter
<mode> 0 PDU mode
1 Text mode
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Reference
Note
3GPP TS 27.005
Response
TA returns messages with status value <stat> from message storage
<mem1> to the TE. If status of the message is 'received unread', status in
the storage changes to 'received read'.
for SMS-STATUS-REPORTs:
+CMGL: <index>,<stat>,<fo>,<mr>[,<ra>][,<tora>],<scts>,<dt>,<st>
[<CR><LF>+CMGL: <index>,<stat>,<fo>,<mr>
[,<ra>][,<tora>],<scts>,<dt>,<st>[...]]
for SMS-COMMANDs:
+CMGL: <index>,<stat>,<fo>,<ct>[<CR><LF>
+CMGL: <index>,<stat>,<fo>,<ct>[...]]
2) If PDU mode:
Execution Command
the same as AT+CMGL=0, received unread messages
AT+CMGL
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>]
OK
3) If error is related to ME functionality:
+CMS ERROR: <err>
Parameters
<alpha> String type (string should be included in quotation marks)
alphanumeric representation of <da> or <oa> corresponding to the entry
found in MT phonebook; implementation of this feature is manufacturer
specific
<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 (specified
by +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:
- if <dcs> indicates that GSM 03.38 default alphabet is used and
<fo> indicates that GSM 03.40 TPUser-Data-Header-Indication
is not set:
- if TE character set other than "HEX" (refer Command Select TE
Character Set +CSCS in 3GPP TS 27.007):ME/TA converts
GSM alphabet into current TE character set according to rules of
Annex A
- if TE character set is "HEX": ME/TA converts each 7-bit
character of GSM alphabet into two IRA character long
hexadecimal number (e.g. character P (GSM 23) is presented as
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
TP-User-Data-Header-Indication is set: ME/TA converts each
8-bit octet into two IRA character long hexadecimal number (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 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 in
OK
2) If PDU mode(+CMGF=0) and sending successful:
+CMGS: <mr>
OK
3)If error is related to ME functionality:
OK
If error is related to ME functionality:
+CMS ERROR: <err>
Parameter Saving Mode NO_SAVE
Max Response Time 5s
Reference
Note
3GPP TS 27.005
OK
2) If PDU mode(+CMGF=0) and sending successful:
+CMSS: <mr>
Write Command
AT+CMSS=<index>[,< OK
da>,<toda>] 3)If error is related to ME functionality:
+CMS ERROR: <err>
Parameters
<index> Integer type; value in the range of location numbers supported
by the associated memory
<da> GSM 03.40 TP-Destination-Address Address-Value field in
string format(string should be included in quotation marks); BCD numbers
(or GSM default alphabet characters) are converted to characters of the
currently selected TE character set (specified by +CSCS in 3GPP TS
27.007); type of address given by <toda>
<toda> GSM 04.11 TP-Destination-Address Type-of-Address octet
in integer format (when first character of <da> is + (IRA 43) default is 145,
otherwise default is 129)
<mr> GSM 03.40 TP-Message-Reference in integer format
Parameter Saving Mode NO_SAVE
Max Response Time 60s
Reference
Note
3GPP TS 27.005
OK
Parameters
See Write Command
Response
+CNMI: <mode>,<mt>,<bm>,<ds>,<bfr>
Read Command
AT+CNMI? OK
Parameters
See Write Command
Response
TA selects the procedure for how the receiving of new messages from the
network is indicated to the TE when TE is active, e.g. DTR signal is ON. If
TE is inactive (e.g. DTR signal is OFF), message receiving should be done
as specified in GSM 03.38.
OK
or
ERROR
Parameters
<mode> 0 Buffer unsolicited result codes in the TA. If TA result code
buffer is full, indications can be buffered in some other place or the oldest
indications may be discarded and replaced with the new received
indications.
1 Discard indication and reject new received message
unsolicited result codes when TA-TE link is reserved (e.g. in on-line data
mode). Otherwise forward them directly to the TE.
Write Command
2 Buffer unsolicited result codes in the TA when TA-TE link
AT+CNMI=<mode>[,< is reserved (e.g. in on-line data mode) and flush them to the TE after
mt>[,<bm>[,<ds>[,<bfr
>]]]] reservation. Otherwise forward them directly to the TE.
3 Forward unsolicited result codes directly to the TE. TA-TE
link specific inband technique used to embed result codes and data when
TA is in on-line data mode.
<mt> (the rules for storing received SMs depend on its data coding
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 the
TE using unsolicited result code:
+CMT: [<alpha>],<length><CR><LF><pdu> (PDU mode enabled) or
+CMT: <oa>,[<alpha>],<scts>
[,<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 in <mt>=1.
3 Class 3 SMS-DELIVERs are routed directly to TE
using unsolicited result codes defined in <mt>=2. Messages of other
classes
result in indication as defined in <mt>=1.
<bm> (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):
0 No CBM indications are routed to the TE.
2 New CBMs are routed directly to the TE using unsolicited
result code: +CBM: <length><CR><LF><pdu> (PDU mode enabled) or
+CBM: <sn>,<mid>,<dcs>,<page>,<pages><CR><LF><data> (text
mode enabled).
<ds> 0 No SMS-STATUS-REPORTs are routed to the TE.
1 SMS-STATUS-REPORTs are routed to the TE using
unsolicited result code: +CDS: <length><CR><LF><pdu> (PDU mode
enabled) or +CDS: <fo>,<mr>[,<ra>][,<tora>],<scts>,<dt>,<st> (text
mode enabled)
<bfr> 0 TA buffer of unsolicited result codes defined within this
Command is flushed to the TE when <mode> 1...3 is entered (OK response
shall be given before flushing the codes).
1 TA buffer of unsolicited result codes defined within this
command is cleared when <mode> 1…3 is entered
Unsolicited result code
1. Indicates that new message has been received
If <mt>=1:
+CMTI: <mem3>,<index>
If <mt>=2 (PDU mode enabled):
+CMT: [<alpha>],<length><CR><LF><pdu>
If <mt>=2 (text mode enabled):
+CMT: <oa>,<scts>[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>,
<length>]<CR><LF><data>
OK
or
ERROR
Parameters
Write Command
<mem1> Messages to be read and deleted from this memory storage
AT+CPMS=<mem1>[,<
"SM" SIM message storage
mem2>[,<mem3>]]
"ME" Phone message storage
"SM_P" SM message storage preferred
"ME_P" ME message storage preferred
"MT" SM or ME message storage ( SM preferred)
<mem2> Messages will be written and sent to this memory storage
"SM" SIM message storage
"ME" Phone message storage
"SM_P" SM message storage preferred
"ME_P" ME message storage preferred
AT+CSCA=? OK
Response
+CSCA: <sca>,<tosca>[,<scaAlpha>]
Read Command
AT+CSCA? OK
Parameters
See Write Command
Response
TA updates the SMSC address, through which mobile originated SMS are
transmitted. In text mode, setting is used by send and writes commands. In
PDU mode, setting is used by the same commands, but only when the
length of the SMSC address coded into <pdu> parameter equals zero.
AT+CSCB?
OK
Parameters
See Write Command
Response
TA selects which types of CBMs are to be received by the ME.
AT+CSDH=?
OK
Parameter
See Write Command
Response
+CSDH: <show>
Read Command
AT+CSDH? OK
Parameter
See Write Command
Response
TA determines whether detailed header information is shown in text mode
result codes.
OK
Write Command Parameter
AT+CSDH=[<show>] <show> 0 Do not show header values defined in commands +CSCA
and +CSMP (<sca>,<tosca>,<fo>,<vp>,<pid> and <dcs>) nor
<length>,<toda> or <tooa> in +CMT, +CMGL, +CMGR result codes for
SMS-DELIVERs and SMS-SUBMITs in text mode
1 Show the values in result codes
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.005
,<pid>,<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
validity period termination (<vp> is a string).
Write Command OK
AT+CSMS=<service> If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<service>
5.1 Overview
Command Description
AT+STKTRS This command is used to send STK terminal response
AT+STKENVS This command is used to send STK envelope command
AT+STKCALL Trigger STK call
AT+STKSMS Trigger STK SMS
AT+STKSS Trigger STK SS
AT+STKUSSD Trigger STK USSD
AT+STKDTMF Trigger STK DTMF
+STKPCI This unsolicited result code is used to indicate proactive command Indication.
AT+STKMENU Show STK main menu
AT+STKPCIS Switch STK URC string
,<text>] ERROR
Parameters
<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;
…
- '2000' = ME currently unable to process command, No specific
cause can be given;
- '2001' = ME currently unable to process command, Screen is busy;
…
<text> Hex String type
If response to GET INPUT or GET INKEY --specified in GSM11.14[12.15]
-text string, the first 2 char is Data coding scheme
If response to SELECT ITEM --specified in GSM11.134[12.10]
-Identifier of item chosen
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference
For more detail used, can refer "AT+STKTR" command
response value.
AT+STKMENU=? OK
Parameters
See Read Command
Response
[+STKMENU: <index>,<id>,<text>]
[+STKMENU: <index>,<id>,<text>]
[+STKMENU: <index>,<id>,<text>]
[…]
Read Command
OK
AT+STKMENU?
Parameters
<index> The menu’s index, begin 1
<id> The item identifier
<text> The content of item, code by EFADN
Parameter Saving Mode NO_SAVE
6.1 Overview
Command Description
AT+SIDET Change the side tone gain level
AT+CPOWD Power off
AT+SPIC Times remained to input SIM PIN/PUK
AT+CMIC Change the microphone gain level
AT+CALA Set alarm time
AT+CALD Delete alarm
AT+CADC Read ADC
AT+CSNS Single numbering scheme
AT+CDSCB Reset cell broadcast
AT+CMOD Configure alternating mode calls
AT+CFGRI Indicate RI when using URC
AT+CLTS Get local timestamp
AT+CLDTMF Local DTMF tone generation
AT+CDRIND CS voice/data call termination indication
AT+CSPN Get service provider name from SIM
AT+CCVM Get and set the voice mail number on the SIM
AT+CBAND Get and set mobile operation band
AT+CHF Configure hands free operation
AT+CHFA Swap the audio channels
AT+CSCLK Configure slow clock
AT+CENG Switch on or off engineering mode
AT+SCLASS0 Store class 0 SMS to SIM when received class 0 SMS
AT+CCID Show ICCID
AT+CMGDA Delete all SMS
AT+STTONE Play SIM toolkit tone
AT+SIMTONE Generate specific tone
AT+CCPD Enable or disable alpha string
AT+CGID Get SIM card group identifier
AT+MORING Show state of mobile originated call
AT+CMGHEX Enable or disable sending non-ascii character SMS
AT+CCODE Configure SMS code mode
AT+CIURC Enable or disable initial URC presentation
AT+CPSPWD Change PS super password
AT+EXUNSOL Enable or disable proprietary unsolicited indications
AT+CLIST Query AT
AT+CBATCHK Set VBAT checking feature ON/OFF
AT+DLYRI Control the delay time before indicate RI when using URC
Execution Command OK
AT+SPIC Parameters
<pin1> Times remained to input chv1
<pin2> Times remained to input chv2
<puk1> Times remained to input puk1
<puk2> Times remained to input puk2
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference
AT+CMIC?
OK
Parameters
See Write Command
Response
OK
or
ERROR
Parameters
<channel> 0 Main audio channel
1 Aux audio channel
2 Main audio channel hand free mode
3 Aux audio channel hand free mode
<gainlevel> Int: 0 – 15
0 0dB
1 +1.5dB
Write Command
2 +3.0 dB
AT+CMIC=<channel>,<
3 +4.5 dB
gainlevel>
4 +6.0 dB
5 +7.5 dB
6 +9.0 dB
7 +10.5 dB
8 +12.0 dB
9 +13.5 dB
10 +15.0 dB
11 +16.5 dB
12 +18.0 dB
13 +19.5 dB
14 +21.0 dB
15 +22.5 dB
Parameter Saving Mode AUTO_SAVE
Max Response Time -
Note
<gainleveln> value is related to <channel> specific.
Reference The default gain level of main audio channel is 10 or 6.
Scope of parameter <channel> is different among SIM800 series
project, please refer to chapter 20 for details.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
[+CALA: <time>,<n1>[,<recurr>]
[<CR><LF> +CALA: <time>,<n2>[,<recurr>] …]]
Read Command
OK
AT+CALA?
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Unsolicited Result Code Indicate expired alarm.
ALARM RING
+CALV: <n>
Parameters
<time> A string parameter(string should be included in quotation marks)
Write Command which indicates the time when alarm arrives. The format is
AT+CALA=<time>[,<n> "yy/MM/dd,hh:mm:ss" where characters indicate the last two digits of year,
[,<recurr>]] month, day, hour, minute, second.
<n> Index of the alarm (range 1 to 5 for now).
<recurr> "0", "1"---"7" String type value indicating day of week for the
alarm in one of the following formats:
"<1..7>[,<1..7>[…]]" – Set a recurrent alarm for one or more
days in the week. The digits 1 to 7 correspond to the days in the
week, Monday (1), …, Sunday (7).
Example: The string "1,2,3,4,5" may be used to set an alarm for
all weekdays.
"0" – Set a recurrent alarm for all days in the week.
Parameter Saving Mode AUTO_SAVE
Max Response Time -
Note
If user sets recurr function, the string of <time> should not enter
Reference "yy/MM/dd", 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
Test Command OK
AT+CADC=? Parameters
<status> 1 Success
0 Fail
<value> Integer 0-2800
Response
+CADC: <status>,<value>
Read Command
AT+CADC? OK
Parameters
See Test Command
Parameter Saving Mode NO_SAVE
Max Response Time 2s
Note
Reference
Reference Note
Please also refer to AT+CSCB.
ERROR
Parameters
<status> 0 Off
1 On(TCPIP, FTP and URC control RI pin)
2 On(only TCPIP control RI pin)
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Note
RI pin can not controll by "AT+CFGRI" command when module has call
Reference service or receiving SMS.
Default value of parameter <status> is different among SIM800 series
project, please refer to chapter 20 for details.
OK
Parameter
See Write Command
Response
OK
or
ERROR
Parameter
<n> A numeric parameter to enable an unsolicited event code indicating
whether a CS voice call, CS data has been terminated.
0 Disable
Write Command 1 Enable
AT+CDRIND=<n> Unsolicited result code
When enabled, an unsolicited result code is returned after the connection
has been terminated
+CDRIND: <type>
Parameter
<type> Connection type
0 CSV connection
1 CSD connection
2 PPP connection
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference
OK
If error is related to ME functionality:
Read Command +CME ERROR: <err>
AT+CSPN? Parameters
<spn> String type(string should be included in quotation marks); service
provider name on SIM
<display mode>
0 Not display PLMN. Already registered on PLMN
1 Display PLMN
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
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
Response
+CCVM: maximum length of field <vm number>, maximum length of field
<alpha string>
Test Command
AT+CCVM=?
OK
Parameters
See Write Command
Response
If voice mail number is not set:
OK
If voice mail number is set:
Read Command
+CCVM: <vm number>[,<alpha string>]
AT+CCVM?
OK
Parameters
See Write Command
Response
OK
or
Write Command
ERROR
AT+CCVM=<vm
If error is related to ME functionality:
number>[,<alpha
string>] +CME ERROR: <err>
Parameters
<vm number> String type,The voice mail number to write to the SIM
<alpha string> String type,The alpha-string to write to the SIM
Parameter Saving Mode AUTO_SAVE
Max Response Time -
Note
Reference
OK
Response
+CHFA: <n>
Read Command
AT+CHFA? OK
Parameter
See Write Command
Response
OK
Write Command If error is related to ME functionality:
AT+CHFA=<n> +CME ERROR: <err>
Parameter
<n> 0 Main audio channel
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 UART baudrate re-adaptation.
The +CSCLK value can not be reset by AT&F or ATZ command.
+CENG: <mode>,<Ncell>
Read Command
AT+CENG? [+CENG:
<cell>,"<bcch>,<rxl>,<rxq>,<mcc>,<mnc>,<bsic>,<cellid>,<rla>,
<txp>,<lac>,<TA>[<dbm>,<c1>,<c2>,<tch>,<ts>,<maio>,<hsn>,<rxq_su
b>,<rxq_full>,<ch_mod>]"<CR><LF>+CENG:
<cell>,"<bcch>,<rxl>,<bsic>[,<cellid>,]<mcc>,<mnc>,<lac>"…]
OK
if <mode>=3
+CENG: <mode>,<Ncell>
[+CENG:
<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_su
b>,<rxq_full>,<ch_mod>"<CR><LF>+CENG:
<cell>,"<bcch>,<rxl>,<bsic>,<cellid>,<mcc>,<mnc>,<lac>,<c1>,<c2>"
…]
OK
Parameters
See Write Command
Response
Switch on or off engineering mode. It will report +CENG: (network
information) automatically if <mode>=2.
OK
or
ERROR
Parameters
<mode> 0 Switch off engineering mode
1 Switch on engineering mode
2 Switch on engineering mode, and activate the
URC report of network information
3 Switch on engineering mode, with limited network
information
Write Command
4 Switch on engineering mode, with extern information
AT+CENG=<mode>[,<
<Ncell> 0 Un-display neighbor cell ID
Ncell>]
1 Display neighbor cell ID
If <mode>=3, ignore this parameter.
<cell> 0 The serving cell
1-6 The index of the neighboring cell
<arfcn> Absolute radio frequency channel number, in decimal format
<bcch> ARFCN(Absolute radio frequency channel number) of BCCH
carrier, in decimal format
<rxl> Receive level, in decimal format
<rxq> Receive quality, in decimal format
<mcc> Mobile country code, in decimal format
<mnc> Mobile network code, in decimal format
<bsic> Base station identity code, in decimal format
<cellid> Cell id, in hexadecimal format
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
Response
+SCLASS0: (0, 1)
Test Command
AT+SCLASS0=? OK
Parameters
See Write Command
Response
Read Command
+SCLASS0: <mode>
AT+SCLASS0?
OK
Parameters
See Write Command
Response
OK
or
ERROR
Write Command Parameters
AT+SCLASS0=<mode> <mode>
0 Disable to store Class 0 SMS to SIM when module receives
Class 0 SMS
1 Enable to store Class 0 SMS to SIM when module receives
Class 0 SMS
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference
Response
Execution Command Ccid data [ex. 898600810906F8048812]
AT+CCID
OK
Parameter Saving Mode NO_SAVE
Max Response Time 2s
Note
Reference
Parameter
See Write Command
Response
OK
or
ERROR
or
+CMS ERROR: <err>
Parameter
<type>
1) If text mode:
"DEL READ" Delete all read messages
Write Command "DEL UNREAD" Delete all unread messages
AT+CMGDA=<type> "DEL SENT" Delete all sent SMS
"DEL UNSENT" Delete all unsent SMS
"DEL INBOX" Delete all received SMS
"DEL ALL" Delete all SMS
2) If PDU mode:
1 Delete all read messages
2 Delete all unread messages
3 Delete all sent SMS
4 Delete all unsent SMS
5 Delete all received SMS
6 Delete all SMS
Parameter Saving Mode NO_SAVE
5s(delete 1 message)
Max Response Time 25s(delete 50 messages)
25s(delete 150 messages)
Note
Reference
Test Command
OK
AT+STTONE=?
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Write Command Response
AT+STTONE=<mode>, OK
<tone>,<duration> If error is related to ME functionality:
+CME ERROR: <err>
Unsolicited Result Code
The playing is stopped or completed.
+STTONE: 0
Parameters
<mode> 0 Stop playing tone
1 Start playing tone
<tone> Numeric type
1 Dial Tone
2 Called Subscriber Busy
3 Congestion
4 Radio Path Acknowledge
5 Radio Path Not Available / Call Dropped
6 Error / Special information
7 Call Waiting Tone
8 Ringing Tone
16 General Beep
17 Positive Acknowledgement Tone
18 Negative Acknowledgement or Error Tone
19 Indian Dial Tone
20 American Dial Tone
<duration> Numeric type, in milliseconds.
Max requested value=255*60*1000=15300000ms
(supported range=10-15300000)
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference
OK
Execution Command
If error is related to ME functionality:
AT+CGID
+CME ERROR: <err>
Parameters
<gid1> Integer type of SIM card group identifier 1
<gid2> Integer type of SIM card group identifier 2
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference If the SIM supports GID files, the GID values will be retuned. Otherwise 0xff
is retuned.
MO RING
The call is alerted.
MO CONNECTED
The call is established.
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Note
Reference
OK
Parameter
See Write Command
Response
+CCODE: <mode>
Read Command
AT+CCODE? OK
Parameter
See Write Command
Response
OK
If error is related to ME functionality:
Write Command +CME ERROR: <err>
AT+CCODE=<mode> Parameter
<mode>
0 Code mode compatible with NOKIA
1 Code mode compatible with SIEMENS
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference
Parameters
<exunsol> String type(string should be included in quotation marks).
values are currently reserved by the present document
"SQ" Signal Quality Report
Displays signal strength and channel bit error rate (similar to
AT+CSQ) in form +CSQN: <rssi>,<ber>when values change.
<mode>
0 Disable
1 Enable
2 Query
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Reference Note
Reference Note
V.25ter
OK
Test Command
Parameter
AT+CCALR=?
<mode> A numeric parameter which indicates whether the module is
ready for phone call.
0 Module is not ready for phone call
1 Module is ready for phone call
Response
ME returns the status of result code presentation and an integer <n> which
shows whether the module is currently ready for phone call.
Read Command +CCALR: <mode>
AT+CCALR?
OK
Parameter
See Test Command
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
Example:
SIMCOM_Ltd
SIMCOM_SIM800H
Revision: 1308B01SIM800H32
OK
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
OK
Parameter
See Write Command
Response
This parameter setting determines whether or not the audio channel will be
switched automatically to the corresponding channel in case of headset
attaching or detaching.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Write Command
Parameter
AT+CAAS=<mode>
<mode>
0 Disable automatic audio channel switch function, the headset
HOOK function is disabled;
1 Enable automatic audio channel switch function, the headset
HOOK function is enabled;
2 Disable automatic audio channel switch function, the headset
HOOK function is enabled.
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Note
Reference For this command, please refer to actual model.
The headset detection is still worked when <mode> is set to 0.
Parameter
<mode>
0 Enable incoming call
1 Forbid all incoming calls
2 Forbid incoming voice calls but enable CSD calls
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference
The parameter is not saved if the module power down.
OK
Parameters
See Write Command
Response
OK
or
ERROR
Parameters
<mode>
1 Set the timer period of net light while SIM800 series does not register
Write Command
to the network
AT+SLEDS=<mode>,<t
2 Set the timer period net light while SIM800 series has already
imer_on>,<timer_off>
registered to the network
3 Set the timer period net light while SIM800 series is in the state of
PPP communication
<timer_on> Timer period of "LED ON" in decimal format which range is 0
or 40-65535(ms)
<timer_off> Timer period of "LED OFF" in decimal format which range is
0 or 40-65535(ms)
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Note
The default value is :
Reference <mode> <timer_on> <timer_off>
1 64 800
2 64 3000
3 64 300
6.2.48 AT+CBUZZERRING Use the Buzzer Sound as the Incoming Call Ring
<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 Mode AT&W_SAVE
Max Response Time -
Reference Note
This buzzer function is depending on the hardware.
Parameters
See Write Command
Response
+CNETLIGHT: <mode>
Read Command
AT+CNETLIGHT? OK
Parameters
See Write Command
Response
OK
or
Write Command
ERROR
AT+CNETLIGHT=<mod
Parameters
e>
<mode>
0 Close the net light
1 Open the net light to shining
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Reference Note
Parameters
See Write Command
Response
+CSGS: <mode>
Read Command
AT+CSGS? OK
Parameters
See Write Command
Response
OK
or
ERROR
Parameters
Write Command <mode>
AT+CSGS=<mode> 0 Disable
1 Enable, the netlight will be forced to enter into 64ms on/300ms off
blinking state in GPRS data transmission service. Otherwise, the
netlight state is not restricted.
2 Enable, the netlight will blink according to AT+SLEDS in GPRS data
transmission service.
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Reference
Note
Parameters
<mode>
0 Turn off the micbias
1 Turn on the micbias
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
The settting take effect at the current channel only
Response
+SJDR: (0,1)
Test Command
AT+SJDR=? OK
Parameters
See Write Command
Response
+SJDR: <status>
or
Read Command +SJDR: <status>,<mode>,<var>,<display>,<result>
AT+SJDR?
OK
Parameters
See Write Command
Response
OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Unsolicited result codes supported:
+SJDR: NO JAMMING
or
+SJDR: JAMMING DETECTED
or
+SJDR: INTERFERENCE DETECTED
Parameters
<status>
Write Command
0 Disable jamming detection
AT+SJDR=<status>,< 1 Enable jamming detection
mode>[,<var>[,<displa
y>]] <mode>
0 Should inquire status by reading command
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
<var> The threshold to separate "+SJDR: JAMMING DETECTED"
from "+SJDR: INTERFERENCE DETECTED" (while the
signal strength variance is higher than <var>, there could be
industrial interferences , and "+SJDR: INTERFERENCE
DETECTED" is reported).
1-255(default value:255)
<display>
0 Report jamming status via URC every 3000ms. (only when <mode>
is set to "1" or "3")
1 Report jamming status via URC when jamming status
0 MSB
1 LSB
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference
Part of the projects supported by this AT command, please refer to chapter
20 for details.
OK
or
+CME ERROR: <err>
Parameters
See Write Command
Response
+CANT: <mode>,<UrcEnable>,<timer>
Read Command OK
AT+CANT? or
+CME ERROR: <err>
Parameters
See Write Command
Response
OK
+CANT: <status>
Parameters
<mode>
0 Disable the antenna detecting function
1 Enable the antenna detecting function
Write Command <UrcEnable>
AT+CANT=<mode>,<U 0 Disable reporting antenna state by URC
rcEnable>,<timer> 1 Enable reporting antenna state by URC
<timer> Reporting timer in units of seconds, range: 0-3600. Set timer to 0
will close detect, the recommend value is 10.
0-3600
<status>
0 Connected normally
1 Connected to GND
2 Connected to other power source
3 Not connected
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Note
Reference
Part of the projects supported by this AT command, please refer to chapter
20 for details.
OK
Parameters
See Write Command
Response
+CAGCSET: <mode>
Read Command
AT+CAGCSET? OK
Parameters
See Write Command
Response
OK
or
Write Command
ERROR
AT+CAGCSET=<mode
Parameters
>
<mode>
0 Close AGC function
1 Open the AGC function
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
20 for details.
OK
Execution Command
Parameters
AT+CROAMING
<state>
0 Home network
1 International network(different mcc)
2 Other network(different mnc but same operator)
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference
6.2.66 AT+CNETSCAN Perform a Net Survey to Show All the Cells’ Information
Operator:"<Network_Operator_name>",MCC:<MCC>,MNC:<MNC>,Rxl
ev:<Rxlev>,Cellid:<CellID>,Arfcn:<Arfcn>,Lac:<Lac>,Bsic:<Bsic>[<CR
><LF>Operator:"<Network_Operator_name2>",MCC:<MCC2>,MNC:<M
NC2>,Rxlev:<Rxlev2>,Cellid:<CellID2>,Arfcn:<Arfcn2>,Lac:<Lac2>,Bsi
c:<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.
<CellID> Cell identifier, in hexadecimal format.
<Arfcn> Absolute radio frequency channel number, in decimal format.
<Lac> Location area code, in hexadecimal format.
<Bsic> Base station identity code, in hexadecimal format.
Parameter Saving Mode NO_SAVE
Max Response Time 45s
Note
Reference
OK
Parameters
See Write Command
Response
OK
or
ERROR
Parameters
<operation>
0 Set the GPIO function including the GPIO output .
Write Command 1 Read the GPIO level. Please note that only when the gpio is set as
AT+CGPIO=<operation input, user can use parameter 1 to read the GPIO level, otherwise the
>,<pin>,<function>,<le module will return "ERROR".
vel> <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.
0 Set the GPIO to input.
1 Set the GPIO to output
<level>
0 Set the GPIO low level
1 Set the GPIO high level
Note
Reference
OK
ERROR
Parameters
<level> Integer type value with manufacturer specific range (smallest
value represents the lowest sound level).
0-100
Note
Reference
The command takes effect only when playing audio file.
Parameters
See Write Command
Response
+ECHARGE: <n>
Read Command
AT+ECHARGE? OK
Parameters
See Write Command
Response
OK
or
Write Command ERROR
AT+ECHARGE=<n> Parameters
<n>
0 Disable charge
1 Enable charge
Note
Reference
6.2.74 AT+SIMTIMER Modify the Poll Interval Time Requested by SIM Card
Note
Reference
been received.
SMS is present on the SIM or ME, only OK result code will been returned.
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference
OK
Parameters
See Write Command
Response
+SRSPT: <n>
Read Command
AT+SRSPT? OK
Parameters
See Write Command
Response
OK
or
Write Command ERROR
AT+SRSPT=<n> Parameters
<n>
0 Enable SMS retransmission
1 Disable SMS retransmission
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference
6.2.79 AT+CELLIST Perform a Net Survey to Show All the Cells’ Information
AT+CLIST Query AT
Response
+CLIST: <module>s
Test Command
AT+CLIST=? OK
Parameters
See Write Command
Response
+CLIST:
001: <name>
002: <name>
003: <name>
Write Command …
AT+CLIST=<module>
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.
Note
Reference
Each row only shows four modules
6.2.82 AT+DLYRI Control the Delay Time before Indicate RI when Using URC
AT+DLYRI Control the Delay Time before Indicate RI when Using URC
Response
+DLYRI: (0,10-1000)
Test Command
AT+DLYRI=? OK
Parameters
See Write Command
Response
+DLYRI: <n>
Read Command
AT+DLYRI? OK
Parameters
See Write Command
Response
OK
or
Write Command
ERROR
AT+DLYRI=<n>
Parameters
<n> 0 Off
n Delay time <n> (ms)
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference
Command Description
AT+CGATT Attach or detach from GPRS service
AT+CGDCONT Define PDP context
AT+CGQMIN Quality of service profile (minimum acceptable)
AT+CGQREQ Quality of service profile (requested)
AT+CGACT PDP context activate or deactivate
AT+CGDATA Enter data state
AT+CGPADDR Show PDP address
AT+CGCLASS GPRS mobile station class
AT+CGEREP Control unsolicited GPRS event reporting
AT+CGREG Network registration status
AT+CGSMS Select service for MO SMS messages
OK
Parameters
See Write Command
Response
+CGDCONT:
<cid>,<PDP_type>,<APN>,<PDP_addr>,<data_comp>,<head_comp>
[<CR><LF>+CGDCONT:
Read Command <cid>,<PDP_type>,<APN>,<PDP_addr>,<data_comp>,<head_comp>
AT+CGDCONT? […]]
OK
Parameters
See Write Command
Response
OK
Write Command or
AT+CGDCONT=<cid>[, ERROR
<PDP_type>[,APN>[,< Parameters
PDP_addr>[,<d_comp <cid> (PDP Context Identifier) a numeric parameter which specifies a
>[,<h_comp>]]]]]
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 subscription value will be requested.The default value is NULL.
<PDP_addr> A string parameter (IP address). Format: "<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 +CGPADDR command
<d_comp> A numeric parameter that controls PDP data compression
0 –PDP data compression off (default if value is omitted)
<h_comp> A numeric parameter that controls PDP data compression
0 –PDP header compression off (default if value is omitted)
Parameter Saving Mode AUTO_SAVE
Max Response Time -
Reference Note
OK
Parameters
See Write Command
Response
+CGQMIN:
<cid>,<precedence>,<delay>,>reliability>,<peak>,<mean>[<CR><LF>+
CGQMIN: <cid>,<precedence>,<delay>,<reliability>,<peak>,<mean>
Read Command
[…]]
AT+CGQMIN?
OK
Parameters
See Write Command
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<cid> A numeric parameter which specifies a particular PDP context
definition (see +CGDCONT command)
1..3
<precedence>
0 QOS precedence class subscribed value
Write Command 1..3 QOS precedence class
AT+CGQMIN=<cid>[,< <delay>
precedence>[,<delay>[
0 QOS delay class subscribed value
,<reliability>[,<peak>[,
<mean>]]]]] 1..4 QOS delay class subscribed
<reliability>
0 QOS reliability class subscribed value
1..5 QOS reliability class.
<peak>
0 QOS peak throughput class subscribed value
1..9 QOS peak throughput class
<mean>
0 QOS mean throughput class subscribed value
1..18 QOS mean throughput class
31 QOS mean throughput class best effort
Parameter Saving Mode AUTO_SAVE
Max Response Time -
Reference Note
OK
Parameters
See Write Command
Response
+CGQREQ: <cid>,<precedence>,<delay>,>reliability>,<peak>,<mean>
[<CR><LF>+CGQREQ:
<cid>,<precedence>,<delay>,<reliability>,<peak>,<mean>
Read Command
[…]]
AT+CGQREQ?
OK
Parameters
See Write Command
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<cid> A numeric parameter which specifies a particular PDP context
definition (see +CGDCONT Command)
The following parameter are defined in GSM 03.60
<precedence> A numeric parameter which specifies the precedence
class
0 QOS precedence class subscribed value
Write Command 1..3 QOS precedence class
AT+CGQREQ=cid>[,<p <delay> A numeric parameter which specifies the delay class
recedence>[,<delay>[,
0 QOS delay class subscribed value
<reliability>[,<peak>[,<
mean>]]]]] 1..4 QOS delay class
<reliability> A numeric parameter which specifies the reliability class
0 QOS reliability class subscribed value
1..5 QOS reliability class; default value: 3
<peak> A numeric parameter which specifies the peak throughput
class
0 QOS peak throughput class subscribed value
1..9 QOS peak throughput class
<mean> A numeric parameter which specifies the mean throughput class
0 QOS mean throughput class subscribed value
1..18 QOS mean throughput class
31 QOS mean throughput class best effort
Parameter Saving Mode AUTO_SAVE
Max Response Time -
Reference Note
OK
Parameters
See Write Command
Response
+CGACT: <cid>,<state>[<CR><LF>+CGACT: <cid>,<state>…]
Read Command
AT+CGACT? OK
Parameters
See Write Command
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
Write Command <state> Indicates the state of PDP context activation
AT+CGACT=<state>[,< 0 Deactivated
cid>] 1 Activated
Other values are reserved and will result in an ERROR response to the
Write Command.
<cid> A numeric parameter which specifies a particular PDP context
definition (see +CGDCONT Command). If the <cid> is omitted, it only
affects the first cid.
Parameter Saving Mode NO_SAVE
Max Response Time 150 seconds
Note
Reference 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.
Parameters
<L2P> A string parameter (string should be included in quotation marks)
that indicates the layer 2 protocol to be used between the TE and MT:
"PPP" Point to Point protocol for a PDP such as IP
Other values are not supported and will result in an ERROR response
to the execution Command.
<cid> A numeric parameter which specifies a particular PDP context
definition (see +CGDCONT Command)
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
OK
Write Command or
AT+CGPADDR=<cid> ERROR
Parameters
<cid> A numeric parameter which specifies a particular PDP context
definition (see +CGDCONT Command)
<PDP_addr> String type, IP address format: "<n>.<n>.<n>.<n>" where
<n>=0..255
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference
Write command returns address provided by the network if a connection
has been established.
Response
+CGCLASS: (list of supported <class>s)
Test Command
AT+CGCLASS=? OK
Parameter
See Write Command
Response
+CGCLASS: <class>
Read Command
AT+CGCLASS? OK
Parameter
See Write Command
Response
OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Write Command
Parameter
AT+CGCLASS=<class
<class> A string parameter(string should be included in quotation marks)
>
which indicates the GPRS mobile class (in descending order of
functionality)
B Class-B mode of operation (A/Gb mode), (not applicable in Iu
mode) MT would operate PS and CS services but not simultaneously
CG Class C in GPRS only mode
CC Class C in circuit switched only mode (lowest)
Parameter Saving Mode AUTO_SAVE
Max Response Time -
Reference Note
It only supports Class B, CG and CC.
Parameters
See Write Command
Response
OK
or
ERROR
Read Command OK
AT+CGREG? If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Write Command Response
AT+CGREG=[<n>] OK
or
ERROR
Parameters
<n>
0 Disable network registration unsolicited result code
1 Enable network registration unsolicited result code +CGREG:
<stat>
2 Enable network registration and location information unsolicited
result code +CGREG: <stat>[,<lac>,<ci>]
<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 searching an
operator to register to. The GPRS service is enabled, but an allowable
PLMN is currently not available. The UE will start a GPRS attach as soon as
an allowable PLMN is available.
3 Registration denied, The GPRS service is disabled, the UE is not
allowed to attach for GPRS if it is requested by the user.
4 Unknown
5 Registered, roaming
<lac> String type (string should be included in quotation marks); two
byte location area code in hexadecimal format (e.g. "00C3" equals 195 in
decimal)
<ci> String type (string should be included in quotation marks); two
bytes cell ID in hexadecimal format
Parameter Saving Mode AT&W_SAVE
Max Response Time -
Reference Note
OK
Parameters
See Write Command
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<service> A numeric parameter which indicates the service or service
Write Command
preference to be used
AT+CGSMS=<service>
0 Packet Domain
1 Circuit switched
2 Packet Domain preferred (use circuit switched if GPRS not
available)
3 Circuit switched preferred (use Packet Domain if circuit switched not
available)
Parameter Saving Mode AUTO_SAVE
Max Response Time -
Reference
Note
8.1 Overview
Command Description
AT+CIPMUX Start up multi-IP connection
AT+CIPSTART Start up TCP or UDP connection
AT+CIPSEND Send data through TCP or UDP connection
AT+CIPQSEND Select data transmitting mode
AT+CIPACK Query previous connection data transmitting state
AT+CIPCLOSE Close TCP or UDP connection
AT+CIPSHUT Deactivate GPRS PDP context
AT+CLPORT Set local port
AT+CSTT Start task and set APN, user name, password
AT+CIICR Bring up wireless connection with GPRS or CSD
AT+CIFSR Get local IP address
AT+CIPSTATUS Query current connection status
AT+CDNSCFG Configure domain name server
AT+CDNSGIP Query the IP address of given domain name
AT+CIPHEAD Add an IP head at the beginning of a package received
AT+CIPATS Set auto sending timer
AT+CIPSPRT Set prompt of ‘>’ when module sends data
AT+CIPSERVER Configure module as server
AT+CIPCSGP Set CSD or GPRS for connection mode
AT+CIPSRIP Show remote IP address and port when received data
AT+CIPDPDP Set whether to check state of GPRS network timing
AT+CIPMODE Select TCPIP application mode
AT+CIPCCFG Configure transparent transfer mode
AT+CIPSHOWTP Display transfer protocol in IP head when received data
AT+CIPUDPMODE UDP extended mode
AT+CIPRXGET Get data from network manually
AT+CIPSCONT Save TCPIP application context
AT+CIPRDTIMER Set remote delay timer
AT+CIPSGTXT Select GPRS PDP context
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
Response
1)If single IP connection (+CIPMUX=0)
If format is right response
OK
otherwise response
If error is related to ME functionality:
+CME ERROR <err>
Response when connection exists
Write Command ALREADY CONNECT
1)If single IP connection Response when connection is successful
(+CIPMUX=0) CONNECT OK
AT+CIPSTART=<mode Otherwise
>,<IP address>,<port>
STATE: <state>
Or
CONNECT FAIL
AT+CIPSTART=<mode 2)If multi-IP connection(+CIPMUX=1)
>,<domain If format is right
name>,<port>
OK,
otherwise response
2)If multi-IP connection
If error is related to ME functionality:
(+CIPMUX=1)
+CME ERROR <err>
AT+CIPSTART=<n>,< Response when connection exists
mode>,<address>,<po
rt> <n>,ALREADY CONNECT
If connection is successful
<n>,CONNECT OK
AT+CIPSTART=<n>,<
Otherwise
mode>,<domain
name>,<port> <n>,CONNECT FAIL
Parameters
<n> 0..5 A numeric parameter which indicates the connection
number
<mode> A string parameter which indicates the connection type
"TCP" Establish a TCP connection
"UDP" Establish a UDP connection
<IP address> A string parameter which indicates remote server IP address
<port> Remote server port
OK
Parameters
See Write Command
Response
1) For single IP connection (+CIPMUX=0)
+CIPSEND: <size>
OK
Read Command 2) For multi IP connection (+CIPMUX=1)
AT+CIPSEND? +CIPSEND: <n>,<size>
OK
Parameters
<n> A numeric parameter which indicates the connection number
<size> A numeric parameter which indicates the data length sent at a time
Response
This Command is used to send changeable length data
If single IP is connected (+CIPMUX=0)
If connection is not established or module is disconnected:
If error is related to ME functionality:
+CME ERROR <err>
If sending is successful:
When +CIPQSEND=0
Write Command SEND OK
1) If single IP When +CIPQSEND=1
connection DATA ACCEPT:<length>
(+CIPMUX=0) If sending fails:
AT+CIPSEND=<le SEND FAIL
ngth> If multi IP connection is established (+CIPMUX=1)
If connection is not established or module is disconnected:
2) If multi IP If error is related to ME functionality:
connection +CME ERROR <err>
(+CIPMUX=1) If sending is successful:
AT+CIPSEND=<n When +CIPQSEND=0
>[,<length>] <n>, SEND OK
When +CIPQSEND=1
DATA ACCEPT:<n>,<length>
If sending fails:
<n>, SEND FAIL
Parameters
<n> A numeric parameter which indicates the connection number
<length> A numeric parameter which indicates the length of sending data, it
must be less than <size>
Execution Response
Note
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 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 sent at a time.
Parameter Saving
NO_SAVE
Mode
Max Response When +CIPQSEND=0 and the remote server no response, after 645 seconds,
Time "CLOSE" will be reported.
Note
Reference The data length which can be sent depends on network status.
Set the time that send data automatically with the Command of AT+CIPATS.
Only send data at the status of established connection.
SEND OK.
1 Quick send mode – when the data is sent to module, it will responsd
DATA ACCEPT:<n>,<length>, while not responding SEND OK.
Parameter Saving
NO_SAVE
Mode
Max Response
-
Time
Reference Note
AT+CIPCLOSE=< <id>,CLOSE OK
n>
2) If multi IP Parameters
connection <n> 0 Slow close
(+CIPMUX=1) 1 Quick close
AT+CIPCLOSE=<i <id> A numeric parameter which indicates the connection number
d>,[<n>]
Response
Execution If close is successfully:
Command CLOSE OK
AT+CIPCLOSE If close fails:
ERROR
Parameter Saving
NO_SAVE
Mode
Max Response
-
Time
Note
AT+CIPCLOSE only closes connection at corresponding status of TCP/UDP
stack. To see the status use AT+CIPSTATUS command. Status should be:
Reference TCP CONNECTING, UDP CONNECTING, SERVER LISTENING or CONNECT
OK in single-connection mode (see <state> parameter);
CONNECTING or CONNECTED in multi-connection mode (see <client state>);
OPENING or LISTENING in multi-connection mode (see <server state>).
Otherwise it will return ERROR.
OK
Test Command
2) For multi IP connection (+CIPMUX=1)
AT+CLPORT=?
+CLPORT: (0-5),("TCP","UDP"),(0-65535)
OK
Parameters
See Write Command
Response
1) For single IP connection (+CIPMUX=0)
+CLPORT: <TCP port>,<UDP port>
OK
2) For multi IP connection (+CIPMUX=1)
+CLPORT: 0,<TCP port>,<UDP port>
Read Command +CLPORT: 1,<TCP port>,<UDP port>
AT+CLPORT? +CLPORT: 2,<TCP port>,<UDP port>
+CLPORT: 3,<TCP port>,<UDP port>
+CLPORT: 4,<TCP port>,<UDP port>
+CLPORT: 5,<TCP port>,<UDP port>
OK
Parameters
See Write Command
Response
Write Command
OK
1) For single IP
or
connection
ERROR
(+CIPMUX=0)
Parameters
AT+CLPORT=<m
ode>,<port> <n> 0..5 A numeric parameter which indicates the connection
number this used in multi IP connection
2) For multi IP
<mode> A string parameter which indicates the connection type
connection
"TCP" TCP local port
(+CIPMUX=1)
"UDP" UDP local port
AT+CLPORT=<n>
<port> 0-65535 A numeric parameter which indicates the local port.
,<mode>,<port>
Default value is 0, a port can be dynamically allocated a port.
Parameter Saving
NO_SAVE
Mode
Max Response
-
Time
Reference Note
This command will be effective when module is set as a Client.
8.2.9 AT+CSTT Start Task and Set APN, USER NAME, PASSWORD
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>
C: <n>,<bearer>,<TCP/UDP>,<IP address>,<port>,<client state>
Parameters
<n> 0-5 A numeric parameter which indicates the connection
number
<bearer> 0-1 GPRS bearer, default is 0
Execution
<server state> OPENING
Command
LISTENING
AT+CIPSTATUS
CLOSING
<client state> INITIAL
CONNECTING
CONNECTED
REMOTE CLOSING
CLOSING
CLOSED
<state> A string parameter which indicates the progress of connecting
0 IP INITIAL
1 IP START
2 IP CONFIG
3 IP GPRSACT
4 IP STATUS
5 TCP CONNECTING/UDP CONNECTING
/SERVER LISTENING
6 CONNECT OK
Time
Reference Note
Parameters
See Write Command
Response
OK
or
ERROR
Parameters
Write Command <mode> A numeric parameter which indicates whether an IP header is
AT+CIPHEAD=<m added to the received data or not.
ode> 0 Not add IP header
1 Add IP header, the format is:
1) For single IP connection (+CIPMUX=0)
+IPD,<data length>:
2) For multi IP connection (+CIPMUX=1)
+RECEIVE,<n>,<data length>:
Parameter Saving
NO_SAVE
Mode
Max Response
-
Time
Reference Note
Response
OK
ERROR
Parameters
<mode> A numeric parameter which indicates the wireless connection
mode
0 set CSD as wireless connection mode
Write Command 1 set GPRS as wireless connection mode
AT+CIPCSGP=<m GPRS parameters:
ode>[,(<apn>,<us <apn> A string parameter which indicates the access point name
er name>, <user name> A string parameter which indicates the user name
<password>),(<di
al number>,<user <password> A string parameter which indicates the password CSD
name>,<passwor parameters:
d>,<rate>)] <dial number> A string parameter which indicates the CSD dial numbers
<user name> A string parameter which indicates the CSD user name
<password> A string parameter which indicates the CSD password
<rate> A numeric parameter which indicates the CSD connection rate
0 2400
1 4800
2 9600
3 14400
Parameter Saving
NO_SAVE
Mode
Max Response
-
Time
Reference Note
8.2.20 AT+CIPSRIP Show Remote IP Address and Port When Received Data
ode> ERROR
Parameters
<mode> A numeric parameter which shows remote IP address and port.
0 Do not show the prompt
1 Show the prompt, the format is as follows:
1) For single IP connection (+CIPMUX=0)
RECV FROM:<IP ADDRESS>:<PORT>
1) For multi IP connection (+CIPMUX=1)
+RECEIVE,<n>,<data length>,<IP ADDRESS>:<PORT>
Parameter Saving
NO_SAVE
Mode
Max Response
-
Time
Reference
Max Response
-
Time
Note
Reference 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.
AT+CIPCCFG? +CIPCCFG:
<NmRetry>,<WaitTm>,<SendSz>,<esc>,<Rxmode>,<RxSize>,<Rxtimer>
OK
Parameters
See Write Command
Response
OK
or
ERROR
Parameters
<NmRetry> Number of retries to be made for an IP packet.Default value is 5.
<WaitTm> Number of 100ms intervals to wait for serial input before sending
Write Command
the packet. Default value is 2.
AT+CIPCCFG=<N
<SendSz> Size in bytes of data block to be received from serial port before
mRetry>,<WaitTm
sending. Default value is 1024.
>,<SendSz>,<esc
<esc> Whether turn on the escape sequence, default is TRUE.
>[,<Rxmode>,<Rx
0 Turn off the escape sequence
Size>,<Rxtimer>]
1 Turn on the escape sequence
<Rxmode> Whether to set time interval during output data from serial port.
0 output data to serial port without interval
1 output data to serial port within <Rxtimer> interval.
<RxSize> Output data length for each time. Default value is 1460.
<Rxtimer> Time interval (ms) to wait for serial port to output data again.
Default value: 50ms
Parameter Saving
NO_SAVE
Mode
Max Response
-
Time
Reference Note
This command will be effective only in single connection mode (+CIPMUX=0)
Test Command OK
AT+CIPUDPMODE 2) For multi IP connection (+CIPMUX=1)
=? +CIPUDPMODE: (0-5),(0-2),("(0-255).(0-255).(0-255).(0-255)"),(1-65535)
OK
Parameters
See Write Command
Response
1) For single IP connection (+CIPMUX=0)
+CIPUDPMODE: <mode>[,<IP address>,<Port>]
OK
Read Command
2) For multi IP connection (+CIPMUX=1)
AT+CIPUDPMODE
+CIPUDPMODE: 0,<mode>[,<IP address>,<Port>]
?
+CIPUDPMODE: 1,<mode>[,<IP address>,<Port>]
+CIPUDPMODE: 2,<mode>[,<IP address>,<Port>]
+CIPUDPMODE: 3,<mode>[,<IP address>,<Port>]
+CIPUDPMODE: 4,<mode>[,<IP address>,<Port>]
+CIPUDPMODE: 5,<mode>[,<IP address>,<Port>]
OK
Parameter
See Write Command
Write Command Response
1) For single IP OK
connection or
(+CIPMUX=0) ERROR
AT+CIPUDPMODE
=<mode>[,<IP <n> A numeric parameter which indicates the connection number
address>,<Port>] 0-5
2) For multi IP <mode> 0 UDP Normal Mode
connection 1 UDP Extended Mode
(+CIPMUX=1) 2 Set UDP address to be sent
AT+CIPUDPMODE <IP address> A string parameter which indicates remote IP address
=<n>,<mode>[,<IP <port> Remote port
address>,<Port>]
Parameter Saving
NO_SAVE
Mode
Max Response Time -
Reference Note
OK
Test Command If multi IP connection (+CIPMUX=1)
AT+CIPRXGET=? +CIPRXGET: (list of supported <mode>s),(list of supported <id>s) (list of
supported <reqlength>)
OK
Parameters
See Write Command
Response
+CIPRXGET: <mode>
Read Command
AT+CIPRXGET? OK
Parameters
See Write Command
Write Command Response
1) If single IP OK
connection(+CIPM or
UX=0) ERROR
AT+CIPRXGET=< 1)For single IP connection
mode>[,<reqlengt If “AT+CIPSRIP=1” is set, IP address and port are contained.
h>] if <mode>=1
+CIPRXGET: 1[,<IP ADDRESS>:<PORT>]
2) If multi IP if <mode>=2
connection(+CIPM +CIPRXGET: 2,<reqlength>,<cnflength>[,<IP ADDRESS>:<PORT>]
UX=1) 1234567890…
AT+CIPRXGET=< OK
mode>[,<id>,<req if <mode>=3
length>]
+CIPRXGET: 3,<reqlength>,<cnflength>[,<IP ADDRESS>:<PORT>]
5151…
OK
if <mode>=4
+CIPRXGET: 4,<cnflength>
OK
2)For multi IP connection
If “AT+CIPSRIP=1” is set, IP address and port is contained.
if <mode>=1
+CIPRXGET: 1[,<id>,<IP ADDRESS>:<PORT>]
if <mode>=2
+CIPRXGET: 2,<id>,<reqlength>,<cnflength>[,<IP 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
4 Query how many data are not read with a given ID.
<id> A numeric parameter which indicates the connection number
<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 than
<length>. 0 indicates that no data can be read.
Parameter Saving
NO_SAVE
Mode
Max Response
-
Time
Reference Note
To enable this function, parameter <mode> must be set to 1 before connection.
OK
Parameters
<mode0> 0 Saved, the value from NVRAM
1 Unsaved, the value from RAM
For other parameters, see the related command.
Response
Execution
Module saves current TCPIP Application Contexts to NVRAM. When system is
Command
rebooted, the parameters will be loaded automatically.
AT+CIPSCONT
OK
Parameter Saving
NO_SAVE
Mode
Max Response
-
Time
Reference Note
9.1 Overview
Command Description
AT+SAPBR Bearer settings for applications based on IP
Parameters
<cmd_type>
0 Close bearer
1 Open bearer
2 Query bearer
3 Set bearer parameters
4 Get bearer parameters
<cid> Bearer profile identifier
<Status>
0 Bearer is connecting
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
characters
"USER" User name string: maximum 32 characters
"PWD" Password string: maximum 32 characters
"PHONENUM" Phone number for CSD call
"RATE" CSD connection rate. For value refer to
<ConParamValue_Rate>
<ConParamValue> Bearer paramer value
<ConParamValue_ConType>
"CSD" Circuit-switched data call.
"GPRS" GPRS connection.
<ConParamValue_Rate>
0 2400
1 4800
2 9600
3 14400
<IP_Addr> The IP address of bearer
10.1 Overview
Command Description
AT+CIPPING Ping request
AT+CIPCTL Set the mode when receiving an IP packet
AT+CIPFLT Set the rules of IP filter
AT+CIPBEIPING Set the module to be PING or not
OK
or
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
<dataLen> The length of Ping Echo Request data
0-1024 Default: 32
<timeout> The timeout,in units of 100 ms,waiting for a single
Echo Reply
1-600 Default: 100(10 seconds)
<ttl> Time to live
1-255 Default: 64
<replyId> Echo Reply number
<IP Address> IP Address of the remote host
<replyTime> Time,in units of 100 ms, required to receive the
response
OK
Parameters
See Write Command
Response
OK
or
ERROR
or
+CME ERROR: <err>
Write Command
Parameters
AT+CIPCTL=<mode>
<mode>
0 Disable to send Echo Reply
1 Enable to send Echo Reply to every IP address pinging it
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.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
The value of <mode> is stored in non volatile memory.
Response
OK
or
ERROR
or
+CME ERROR: <err>
Parameters
Write Command <action>
AT+CIPFLT=<action>[, 0 Remove the rule specified by <item>. <item> must be given.
<item>][,<ipAddr>,<ma 1 Add the rule specified by <item>.If <item> is not given, it can find
sk>] an empty item automatically. <ipAddr> and <mask> must be given.
2 Delete all of rules
<item> The item of IP filter rule
1-20
<ipAddr> Remote IP address,string type. It can be any valid IP
address in the format of ”xxx.xxx.xxx.xxx”
<mask> Mask to be applied to the <ipAddr>,string type.It can be any
valid IP address mask in the format of ”xxx.xxx.xxx.xxx”
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
When a packet comes from the IP address <coming_IP>, All rules will
be scanned to match the following criterion:
Reference <coming_IP> & <mask>=<ipAddr> & <mask>
If the criterion is matched, the IP packet will be accepted and the rule
scan is finished. If the criterion is not matched, the IP packet will be
ignored.
The rule is stored in non volatile memory.
Parameters
Response
OK
or
ERROR
Write Command
or
AT+CIPBEIPING=<mo
+CME ERROR: <err>
de>
Parameters
<mode>
0 Disable the module to be PING
1 Enable the module to be PING
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
If the user want the module can be PING by other device, the user must
Reference
excute the AT+CIPBEIPING=1 before the module is PING.
Part of the projects supported by this AT command, please refer to
chapter 20 for details.
SIM800 series has an embedded TCP/IP stack that is driven by AT commands and enables the host
application to easily access the Internet HTTP service. This chapter is a reference guide to all the AT
commands and responses defined to use with the TCP/IP stack in HTTP Service.
11.1 Overview
Command Description
AT+HTTPINIT Initialize HTTP service
AT+HTTPTERM Terminate HTTP service
AT+HTTPPARA Set HTTP parameters value
AT+HTTPDATA Input HTTP data
AT+HTTPACTION HTTP method action
AT+HTTPREAD Read the HTTP server response
AT+HTTPSCONT Save HTTP application context
AT+HTTPSTATUS Read HTTP status
AT+HTTPHEAD Read the HTTP header information of server response
AT+HTTPGETHEAD Show the HTTP header information in HTTPREAD
Response
Execution Command OK
AT+HTTPINIT If error is related to ME functionality:
+CME ERROR: <err>
Response
Execution command OK
AT+HTTPTERM If error is related to ME functionality:
+CME ERROR: <err>
Reference Note
Not all the HTTP Server supports "BREAK" and "BREAKEND" parameters
OK
If error is related to ME functionality:
Write Command
+CME ERROR: <err>
AT+HTTPDATA=<size>
Parameters
,<time>
<size> Size in bytes of the data to POST.
1-319488 (bytes)
0 means delete all the content.
<time> 1000-120000 (millisecond) Maximum time in milliseconds to
input data.
Note
Reference
It is strongly recommended to set enough time to input all data with the
length of <size>.
Response
+HTTPACTION: (0-3)
Test Command
AT+HTTPACTION=? OK
Parameters
See Write Command
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
+HTTPREAD: <date_len>
<data>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<data> Data from HTTP server or user input.
<start_address> The starting point for data output.
0-319488 (bytes)
<byte_size> The length for data output.
1-319488 (bytes)
<data_len> The actual length for data output.
Read all data when AT+HTTPACTION=0 or AT+HTTPDATA is executed.
Response
+HTTPREAD: <date_len>
Execution Command <data>
AT+HTTPREAD
OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference Note
OK
Parameters
<mode>
0 Saved, the value from NVRAM
1 Unsaved, the value from RAM
For other parameters, see the related command.
Response
TA saves HTTP Application Context which consists of following AT
Command parameters, and when system is rebooted, the parameters will
Execution Command
be loaded automatically.
AT+HTTPSCONT
OK
If error is related to ME functionality:
+CME ERROR: <err>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters:
Read Command <mode> HTTP method specification
0 GET
AT+HTTPSTATUS?
1 POST
2 HEAD
<status>
0 Idle
1 Receiving
2 Sending
<finish> The amount of data which have been transmitted
<remain> The amount of data remaining to be sent or received
Response
+HTTPHEAD: <date_len>
<data>
Execution Command OK
AT+HTTPHEAD If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<data_len> The actual length for http header data output
<data> Data from HTTP server
Note
Reference
Read header data when AT+HTTPACTION=0 executed.
Note
Reference
HTTPINIT should first be executed to initialize the HTTP service.
SIM800 series has an embedded TCP/IP stack that is driven by AT commands and enables the host
application to easily access the Internet FTP service. This chapter is a reference guide to all the AT
commands and responses defined for using with the TCP/IP stack in FTP Service.
12.1 Overview
Command Description
AT+FTPPORT Set FTP control port
AT+FTPMODE Set active or passive FTP mode
AT+FTPTYPE Set the type of data to be transferred
AT+FTPPUTOPT Set FTP put type
AT+FTPCID Set FTP bearer profile identifier
AT+FTPREST Set resume broken download
AT+FTPSERV Set FTP server address
AT+FTPUN Set FTP user name
AT+FTPPW Set FTP password
AT+FTPGETNAME Set download file name
AT+FTPGETPATH Set download file path
AT+FTPPUTNAME Set upload file name
AT+FTPPUTPATH Set upload file path
AT+FTPGET Download file
AT+FTPPUT Set upload file
AT+FTPSCONT Save FTP application context
AT+FTPDELE Delete specified file in FTP server
AT+FTPSIZE Get the size of specified file in FTP server
AT+FTPSTATE Get the FTP state
AT+FTPEXTPUT Extend upload file
AT+FTPMKD Make directory on the remote machine
AT+FTPRMD Remove directory on the remote machine
AT+FTPLIST List contents of directory on the remote machine
AT+FTPGETTOFS Download file and save in file system
AT+FTPPUTFRMFS Upload file from file system
AT+FTPEXTGET Extend download file
AT+FTPFILEPUT Load file in RAM from file system then upload with FTPPUT
AT+FTPQUIT Quit current FTP session
Response
+FTPMODE: <value>
Read Command
AT+FTPMODE? OK
Parameters
See Write Command
Response
Write Command
OK
Reference Note
Response
Read Command
+FTPSERV: <value>
AT+FTPSERV?
OK
Parameters
See Write Command
Response
OK
If error is related to ME functionality:
Write Command
+CME ERROR: <err>
AT+FTPSERV=<value>
Parameters
<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
Write Command
If error is related to ME functionality:
AT+FTPUN=<value>
+CME ERROR: <err>
Parameters
<value> Alphanumeric ASCII text string up to 49 characters.
Parameter Saving Mode NO_SAVE
Reference Note
Response
+FTPGETNAME: <value>
Read Command
AT+FTPGETNAME? OK
Parameters
See Write Command
Response
OK
Write Command
If error is related to ME functionality:
AT+FTPGETNAME=<v +CME ERROR: <err>
alue>
Parameters
<value> Alphanumeric ASCII text string up to 99 characters
Response
+FTPGETPATH: <value>
Read Command
AT+FTPGETPATH? OK
Parameters
See Write Command
Response
OK
Write Command
If error is related to ME functionality:
AT+FTPGETPATH=<va +CME ERROR: <err>
lue>
Parameters
<value> Alphanumeric ASCII text string up to 255 characters
Reference Note
Response
+FTPPUTNAME: <value>
Read Command
AT+FTPPUTNAME? OK
Parameters
See Write Command
Response
OK
Write Command If error is related to ME functionality:
AT+FTPPUTNAME=<v +CME ERROR: <err>
alue>
Parameters
<value> Alphanumeric ASCII text string up to 99 characters
Response
+FTPPUTPATH: <value>
Read Command
AT+FTPPUTPATH? OK
Parameters
See Write Command
Response
OK
Write Command
If error is related to ME functionality:
AT+FTPPUTPATH=<va +CME ERROR: <err>
lue>
Parameters
<value> Alphanumeric ASCII text string up to 255 characters
Reference Note
If mode is 2:
+FTPGET: 2,<cnflength>
012345678…
OK
Write Command If error is related to ME functionality:
AT+FTPGET=<mode>[, +CME ERROR: <err>
<reqlength>] Parameters
<mode> 1 For opening FTP get session
2 For reading FTP download data.
<reqlength> Requested number of data bytes (1-1460)to be read
<cnflength> Confirmed number of data bytes to be read, which may be less
than <length>. 0 indicates that no data can be read.
<error> 61 Net error
62 DNS error
63 Connect error
64 Timeout
65 Server error
66 Operation not allow
70 Replay error
71 User error
72 Password error
73 Type error
74 Rest error
75 Passive error
76 Active error
77 Operate error
78 Upload error
79 Download error
86 Manual quit
If mode is 2 and <reqlength> is 0, it will respond OK, and FTP session will
be closed
OK
Parameters
<mode>
1 For opening FTP put session
2 For writing FTP upload data.
<reqlength> Requested number of data bytes(0-<maxlength>) to be
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
the network status.
<error> See "AT+FTPGET"
Parameter Saving Mode NO_SAVE
Max Response Time 75 seconds(In case no response is received from server)
Note
Reference
When "+FTPPUT: 1,1,<maxlength>" is shown, then use
"AT+FTPPUT=2,<reqlength>" to write data.
Response
TA saves FTP Application Context which consists of following AT Command
Execution Command
parameters, and when system is rebooted, the parameters will be loaded
AT+FTPSCONT
automatically.
OK
Reference Note
If failed:
Execution Command
OK
AT+FTPDELE
+FTPDELE: 1,<error>
Response
If successed:
OK
+FTPSIZE: 1,0,<size>
If failed:
Execution Command OK
AT+FTPSIZE +FTPSIZE: 1,<error>
OK
If failed:
Execution Command
OK
AT+FTPRMD +FTPRMD: 1,<error>
Response
If mode is 1 and it is a successful FTP get session:
OK
+FTPLIST: 1,1
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
<writeLength> The data length saved in File System
Response
If it is a successful FTP get session:
OK
AT+FTPPUTFRMFS=? OK
Response
+FTPPUTFRMFS: <status>[,<putLength>]
OK
Read Command Parameters
AT+FTPPUTFRMFS? <status> The process status of uploading File from File System through
FTP
0 Not in the process
1 During the process
<putLength> The data length uploaded from File System
Response
If it is a successful FTP put session:
OK
Response
+FTPEXTGET: <status>[,<receivedLength>]
OK
Read Command
Parameters
AT+FTPEXTGET?
<status> Whether run FTPEXTGET or not
0 Not run FTPEXTGET
1 Run FTPEXTGET
<receivedLength> Length module has received from FTP server
Response
If mode is 0
OK
2)if mode is 2
OK
AT+FTPEXTGET=<mo
de>,<filename>
If mode is 3:
+FTPEXTGET: 3,<outputLength>
3)if mode is 3
AT+FTPEXTGET=<mo If error is related to ME functionality:
de>,<readPosition>,<r
eadLength> +CME ERROR: <err>
Parameters
<mode>
0 Use default FTPGET method
1 Start extend FTPGET method
2 Save download data to filesystem
3 Output download data
<filename> File name to write data in mode 2. Alphanumeric ASCII text
string up to 64 characters.
<readPosition> Position start read data in mode 3.
<readLength> Read length in mode 3
<totalLength> The total length of data bytes have been download
<outputLength> Total length will be output from serial port
12.2.27 AT+FTPFILEPUT Load File in RAM from File System then Upolad with FTPPUT
AT+FTPFILEPUT Load File in RAM from File System then Upload with FTPPUT
Test Command Response
AT+FTPFILEPUT=? OK
Response
If success:
OK
Response
If success:
Execution Command OK
AT+FTPQUIT
If error is related to ME functionality:
+CME ERROR: <err>
Parameter Saving Mode NO_SAVE
1. SIM800 series supports to send an Email with an attachment via SMTP protocol. It also supports
carbon copy (abbreviated Cc:) recipient and blind carbon copy (abbreviated Bcc:) recipient.
2. SIM800 series supports to retrieve and delete the Email via POP3 protocol, the Email may be with
attachments.
3. SIM800 series supports all of POP3 commands but APOP. By these POP3 commands, you can
get the specific Email’s size and unique-id.
4. SIM800 series does not support that SMTP and POP3 operations are executed at the same time.
13.1 Overview
Command Description
AT+EMAILCID Set Email bearer profile identifier
AT+EMAILTO Set timeout value of SMTP/POP3 server response
AT+SMTPSRV Set SMTP server address and port
AT+SMTPAUTH Set user name and password for SMTP authentication
AT+SMTPFROM Set sender address and name
AT+SMTPRCPT Set the Email recipient(to/cc/bcc) address and name
AT+SMTPSUB Set the Email subject
AT+SMTPBODY Set the Email body
AT+SMTPFILE Set the Email attachment
AT+SMTPSEND Send the Email
AT+SMTPFT Transfer the Email attachment
AT+SMTPCS Set the Email charset
AT+POP3SRV Set POP3 server and account
AT+POP3IN Log in POP3 server
AT+POP3NUM Get Email number and total size
AT+POP3LIST Get the specific Email size
AT+POP3UIDL Get the specific Email unique-id
AT+POP3CMD Get multi-line response
AT+POP3READ Read multi-line response
AT+POP3DEL Mark the specific Email to delete
AT+POP3RSET Unmark the emails that be marked as deleted
AT+POP3OUT Log out POP3 server
OK
Write Command
If error is related to ME functionality:
AT+EMAILCID=<cid>
ERROR
Parameters
<cid> bearer profile identifier refer to AT+SAPBR
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
AT+EMAILTO?
OK
Parameters
See Write Command
Response
OK
If error is related to ME functionality:
Write Command
ERROR
AT+EMAILTO=<timeou
t> Parameters
<timeout> The timeout value of SMTP/POP3 server response, in 1
second unit.
10-120 Default: 30(seconds)
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
Response
OK
If error is related to ME functionality:
Write Command
ERROR
AT+SMTPSRV=
<smtpServer>[,<smtpP Parameters
ort>] <smtpServer> SMTP server address, string type. This parameter can
be either:
- IP address in the format: xxx.xxx.xxx.xxx
- Host name to be solved with a DNS query
13.2.4 AT+SMTPAUTH Set User Name and Password for SMTP Authentication
Response
OK
If error is related to ME functionality:
Write Command
ERROR
AT+SMTPFROM=<sen
derAddress>[,<sender Parameters
Name>] <senderAddress> The Email sender address,string type.
<senderAddressLength> The max length of <senderAddress>
<senderName> The Email sender name,string type.
<senderNameLength> The max length of <senderName>
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
PT: <rcptType>,<index>,<rcptAddress>,<rcptName>[…]]]
OK
Parameter
See Write Command
Response
OK
If error is related to ME functionality:
ERROR
Parameters
Write Command <rcptType> The type of recipient, the types of TO and CC are used to
AT+SMTPRCPT=<rcpt construct e-mail header in the field: "To:" or "Cc:".
Type>[,<index>[,<rcpt 0 TO, Normal Recipient.
Address>[,<rcptName
1 CC, Carbon Copy recipient.
>]]]
2 BCC, Blind Carbon Copy recipient.
<index> Index of the type of recipient, decimal format
<rcptAddress> The Email recipient address.
<rcptName> The Email recipient name.
<rcptAddressLength> The max length of <rcptAddress>.
<rcptNameLength> The max length of <rcptName>.
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference If only <rcptType> is given, it will delete all items of <rcptType>.
If only <rcptType> and <index> are given, it will delete the <index> item
of <rcptType>.
Response
OK
If error is related to ME functionality:
Write Command
ERROR
AT+SMTPSUB=<subje
ct> Parameters
<subject> The Email subject, string type. It will be present in the header
of the Email sent by SMTP client in the field: "Subject:"
<subjectLength> The max length of <subject>.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
If the Email charset is not ASCII,<subject> must be in hexadecimal format.
Response
+SMTPFILE: (range of <fileType>s),<fileNameLength>,(range of
<encodeType>s)
Test Command
AT+SMTPFILE=? OK
Parameters
See Write Command
Response
+SMTPFILE: <fileType>,<fileName>,<encodeType>
Read Command
AT+SMTPFILE? OK
Parameter
See Write Command
Response
OK
If error is related to ME functionality:
ERROR
Parameters
<fileType> The type of the Email attachment.
Write Command
0 No attachment
AT+SMTPFILE=<fileTy
pe>[,<fileName>,<enco 1 Attach a txt file
deType>] 2 Attach a binary file (bmp, mp3, video…)
<fileName> The name of the Email attachment.
<fileNameLength> The max length of <fileName>.
<encodeType> Content-Transfer-Encoding used for attachment
0 "7bit" means data all represented as short lines of US-ASCII data
1 "base64" designed to represent arbitrary sequences of octets in a
form that need not be humanly readable
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference
If a txt file (<fileType>=1) is attached, <encodeType> must be 0.
If a binary file (<fileType>=2) is attached, <encodeType> must be 1.
Response
OK
If error is related to ME functionality:
ERROR
If send successfully or not, return:
+SMTPSEND: <code>
Parameters
<code> The result of sending Email.
Execution Command 1 The Email has been sent successfully.
AT+SMTPSEND 61 Network error.
62 DNS resolve error
63 SMTP TCP connection error.
64 Timeout of SMTP server response
65 SMTP server response error
66 Not authentication
67 Authentication failed. SMTP user name or password may be not
right.
68 Bad recipient.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
ERROR
Response
OK
If error is related to ME functionality:
ERROR
Write Command Parameters
AT+SMTPCS=<charset <charset> The Email charset, string type. It shows which charset
> 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 in hexadecimal format
(e.g. "TEST" should be converted to "54455354").
The default charset is ASCII.
<charsetLength> The max length of <charset>.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
Response
OK
If error is related to ME functionality:
ERROR
If logging in POP3 server or not, return:
+POP3IN: <code>
Parameters
<code> The result of logging in POP3 server
Execution Command 1 Log in POP3 server successfully
AT+POP3IN 61 Network error
62 DNS resolve error
63 POP3 tcp connection error
64 Timeout of POP3 server response
65 POP3 server response error
66 POP3 server rejects to log in
67 Incorrect user name
68 Incorrect user name or password
69 Timeout of read data
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
Response
OK
If error is related to ME functionality:
ERROR
If POP3 server issues a positive response:
+POP3NUM: 1,<totalNumber>,<totalSize>
If POP3 server issues a negative response:
+POP3NUM: 0
If some error occur:
Execution Command
+POP3OUT: <code>
AT+POP3NUM
Parameters
<totalNumber> The Email number on the POP3 server, decimal format.
<totalSize> The total size of all Email and the unit is in byte.
<code> The result of logging out POP3 server
1 Normally log out POP3 server
61 Network error
62 DNS resolve error
63 POP3 tcp connection error
64 Timeout of POP3 server response
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
"dotline", i.e. a new line with just a single dot. <msgNumber> and
<lineNumber> must not be given.
2 Uidl command
The "Uidl" command returns a multi-line "unique-id
Listing". For each message on the maildrop list of the
Server the POP3 service returns a line containing the
message number and its unique-id. A final "dotline"
will be printed at the end of the "unique-id listing" If
there are no messages on the maildrop list of the server. The
POP3 service returns a positive response, i.e. It
does not issue an error response, but the "unique-
id listing" will be empty. In either case, each unique-id
listing will be finished by so-called "dotline", i.e.a new
line with just a singledot. <msgNumber> and <lineNumber> must
not be given.
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 in the
body, then the POP3 server sends the entire
message. If no such message exists on the server the POP3
service issues an error response to the user.
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.
4 Retrieve command
The command retrieves the related message from the
POP3 server’s maildrop list. If no such message exists
on the server the POP3 service issues an error response to the
user. Each email will be finished by a so-called "dotline", i.e. a
new line with just a single dot. <msgNumber>
must be given.
<msgNumber> The message number of Email.
<lineNumber> The number of lines of the message body.
<code> The result of logging out POP3 server
1 Normally log out POP3 server
61 Network error
62 DNS resolve error
63 POP3 tcp connection error
64 Timeout of POP3 server response
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference
After sending these POP3 commands and POP3 server issuing a positive
response, you can get the response by "AT+POP3READ".
Response
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
Execution Command
If some error occur:
AT+POP3RSET
+POP3OUT: <code>
Parameters
<code> The result of logging out POP3 server
1 Normally log out POP3 server
61 Network error
62 DNS resolve error
63 POP3 tcp connection error
64 Timeout of POP3 server response
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
14.1 Overview
Command Description
AT+CMMSCURL Set the URL of the MMS center
AT+CMMSPROTO Set the protocol parameter and MMS proxy
AT+CMMSCID Set the network parameters for MMS
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
AT+CMMSDELFILE Delete the file of the edited MMS by file index
AT+CMMSSEND Start MMS sending
AT+CMMSRECP Add recipients
AT+CMMSCC Add copy recipients
AT+CMMSBCC Add secret recipients
AT+CMMSDELRECP Delete recipients
AT+CMMSDELCC Delete copy recipients
AT+CMMSDELBCC Delete secret recipients
AT+CMMSRECV Receive MMS
AT+CMMSVIEW Get the MMS into buffer and show the information
AT+CMMSREAD Read the given file of the MMS in the buffer
AT+CMMSRDPUSH Read the information of the MMS push message
AT+CMMSUA Set User Agent
AT+CMMSPROFILE Set User Agent Profile
AT+CMMSTIMEOUT Set MMS Timeout
AT+CMMSSTATUS Get MMS Status
AT+CMMSINIT Initialize MMS Function
AT+CMMSTERM Exit MMS function
AT+CMMSSCONT Save MMS context
Response
+CMMSPROTO: <Gateway>,<Port>
Read Command
AT+CMMSPROTO? OK
Parameters
See Write Command
Response
OK
or
Write Command ERROR
AT+CMMSPROTO=<G or
ateway>,<Port> +CME ERROR: <err>
Parameters
<Gateway> IP address of MMS proxy.
<Port> Port of MMS proxy.
Parameter Saving Mode AT+CMMSSCONT
Max Response Time -
Reference Note
1 Yes
<readrep> Whether it need receive report
0 No (default)
1 Yes
<visible> Whether it need show the sender address
0 hide the sender address
1 show the sender address even if it is a secret address
2 Not set (default)
<class> The class of the MMS
0 Personal
1 Advertisement
2 Informational
3 Auto
4 Not set (default)
<subctrl> Subject control
1 For Chinese character code
2 For English character code
<notifrspcheck> Whether it need to check the HTTP response of MMS
notifyrsp ind then to proceed the next step.
0 Waiting for HTTP response
1 Skip waiting for HTTP response
Parameter Saving Mode AT+CMMSSCONT
Max Response Time -
Reference Note
AT+CMMSEDIT=<mod or
e> ERROR
or
+CME ERROR: <err>
Parameters
<mode> Whether it allows to edit MMS
0 Not allow to edit MMS
1 Allow to edit MMS
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference
It includes adding and deleting receipt, downloading and deleting files,
downloading title to edit MMS.
OK
Response
CONNECT
or
ERROR
or
Write Command +CME ERROR: <err>
AT+CMMSDOWN=<typ Parameters
e>,<size>,<time>[,<na <type> A string parameter which indicates type of downloaded data
me>] "TITLE" MMS title data
"TEXT" MMS text data
"PIC" MMS image data
"AUDIO_AAC" MMS aac audio data
"AUDIO_AMR" MMS amr audio data
"AUDIO_BASIC" MMS basic audio data
14.2.7 AT+CMMSDELFILE Delete the File of the Edited MMS by File Index
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.
Parameters
<addr> A string parameter which indicates phone number or email
address of recipient. The maximum length of the string is 40.
Response
Execution Command
Delete all the recipients
AT+CMMSDELRECP
OK
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
This command is valid when it is allowed to edit MMS
OK
Response
OK
or
ERROR
Write Command
or
AT+CMMSDELBCC=<a
+CME ERROR: <err>
ddr>
Parameters
<addr> A string parameter which indicates phone number or email
address of secret recipient. The maximum length of the string
is 40.
Response
Execution Command
Delete all the secret recipients
AT+CMMSDELBCC
OK
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
This command is valid when it is allowed to edit MMS.
OK
or
ERROR
or
Write Command
+CME ERROR: <err>
AT+CMMSRECV=<ind
Parameters
ex>
<index> The index of the push message saved in the SIM message box.
<sender> The address of the sender
<time> The time to receive the MMS
<subject> the title of the MMS
<size> The size of the MMS
<fileIndex,name,type,filesize> The index, name and size of every file
included in the MMS. The types are defined as following.
2 text
3 text/html
4 text/plain
5 image
6 image/gif
7 image/jpg
8 image/tif
9 image/png
10 smil
Parameter Saving Mode NO_SAVE
Max Response Time AT+CMMSTIMEOUT
Note
This command is valid only when it is not allowed to edit MMS and the
Reference 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.
The maximum number of inclosure is 10.
14.2.16 AT+CMMSVIEW Get the MMS into Buffer and Show the Information
AT+CMMSVIEW Get the MMS into Buffer and Show the Information
Test Command Response
AT+CMMSVIEW=? OK
Response
+CMMSVIEW:
<mmstype>,"<sender>","<receipts>","<ccs>","<bccs>","<datetime>",
"<subject>",<size><CR><LF>list of
<fileIndex,name,type,filesize><CR><LF>
OK
or
ERROR
or
Execution Command
+CME ERROR: <err>
AT+CMMSVIEW
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
14.2.17 AT+CMMSREAD Read the Given File of the MMS in the Buffer
Write Command OK
AT+CMMSREAD=<fileI Parameters
ndex> <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
OK
or
+CMMSRDPUSH: 6,"<receiver>","<time>",<status>
OK
or
+CMMSRDPUSH: 255
OK
or
+CME ERROR: <err>
Parameters
Write Command The first parameter of the response should be 2 or 6, or the other type of the
AT+CMMSRDPUSH=<i MMS PDU.
ndex> 2 m-notification-ind[2]. To inform the contents of a
received MMS
6 m-delivery-ind[2]. A delivery report
255 unknown MMS PDU
<index> The index of the push message saved in the SIM message
box.
<sender> The address of the sender
<receiver> The address of the receiver
<subject> The title of the MMS
<transaction> The X-Mms-Transation-ID[2] of the received MMS
<location> The X-Mms-Content-Location[2] of the received MMS
<class> The X-Mms-Class[2] of the received MMS
0 Personal
1 Advertisement
2 Informational
3 Auto
<time> Date and time of the received push message.
<size> The size of the MMS
Parameters
See Write Command
Response
OK
or
Write Command
ERROR
AT+CMMSTIMEOUT=< or
Send timeout>,<Recv
timeout>> +CME ERROR: <err>
Parameters
<Send timeout> Send timeout time, integer type, in seconds.
<Recv timeout> Receive timeout time, integer type, in seconds.
Parameter Saving Mode AT+CMMSSCONT
Max Response Time -
Reference Note
Reference Note
AT+CMMSSCONT=? Parameters
See Execution Command
Response
+CMMSSCONT: <mode>
+CMMSCID: <value>
+CMMSCURL: <mmscurl>
+CMMSUA: <UA>
+CMMSPROFILE: <UAProfile>
+CMMSPROTO: <Gateway>,<Port>
Read Command
+CMMSSENDCFG:
AT+CMMSSCONT?
<valid>,<pri>,<sendrep>,<readrep>,<visible>,<class>,<subctrl>,<notif
yskip>
+CMMSTIMEOUT: <Send timeout>,<Recv timeout>
OK
Parameters
See Execution Command
Response
OK
Execution Command
AT+CMMSSCONT Parameters
<mode> 0 saved, the value from NVRAM
For other parameters, see the related command.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
15. 1 Overview
Command Description
AT+DDET DTMF detection control
16.1 Overview
Command Description
AT+CREC Record operation
AT+CRECORD Record and send data to UART
Read Command OK
AT+CREC? Parameters
<status> 0 idle state
1 recording state
2 playing state
Response
OK
Write Command
AT+CREC=<mode>,[<i 1) mode=1,start record
d>] AT+CREC=1,<id>,<form>,[<time>][,<location>],[<quality>],[<inputpath
>]
OK
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
OK
6) mode=6,read record data
AT+CREC=6,<id>,<len>,<offset>
+CREC: 6,<id>,<len>
<data>
OK
7) mode=7,view record file infomation
AT+CREC=7,[<id>]
+CREC: 7,<id>,<len>,<form>
OK
8) mode=8,query free space for recording
If SD card is supported
AT+CREC=8
+CREC: 8,sys:<len> sd:<len>
OK
If SD card is not supported
AT+CREC=8
+CREC: 8,<len>
OK
9) mode=9, create record file directory.
AT+CREC=9,<location>
OK
1 MIC2
<quality> Record quality
0 Low
1 Medium
2 High
3 Best
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
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
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.
Play in call support low quality WAV record file.
Reference Location relative setting only take effect when SD card is support and
plugged in.
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 path.
The value of parameter <form> of "AT+CREC=1" is invalid if the value
of <id> is file path. The record file format can get from file path.
The max length of parameter <len> of "AT+CREC=6" is 32K bytes.
Scope of parameter <inputpath> is different among SIM800 series
project, please refer to chapter 20 for details.
<mode>
0 Stop record
1 Start record
<interval> UART data output interval, the range is 1-50, the default value is
50. unit is 20ms.
<crcmode> Data form
0 UART data is the audio data
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
converted to 0x7D 0x5D,a 2byte CRC code is added to the end
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
When "AT+CRECORD" is set to 1, data mode will be entered and
Reference audio data will output on the UART every the interval time, any input on
the UART will stop the record. "AT+CRECORD=0" take no effect.
AMR 4.75K is supported only
AMR file head "#*AMR\n" is not outputed
Note: Part of the projects support record function, please refer to chapter 20 for details.
17.1 Overview
Command Description
AT+CTTS TTS operation
AT+CTTSPARAM Set params of the TTS playing
AT+CTTSRING Enable/disable TTS play during incoming call ring
Read Command
OK
AT+CTTS?
Parameters
<status> 0 Idle mode
1 Play mode
Response
if<mode>=0,response:
OK
if<mode>=1 or 2 or 3,response:
Write Command OK
AT+CTTS=<mode>[,<t
ext>] +CTTS: 0 // speech played over
If error is related to MS functionality, response:
+CME ERROR: <err>
Parameters
<mode> 0 Stop playing speech
0 Main channel
1 Aux channel
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
TTS play channel setting take no effect in call. TTS play channel
Reference depend on CHFA when in call.
The default value of parameter <channel> is different among SIM800
series projects, please refer to chapter 20 for details.
Note: Part of the project supported TTS function, please refer to chapter 20 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 same Command line is
executed. Neither ERROR nor OK result code shall be returned.
<err> values used by common messaging commands:
Final result code +CMS ERROR: <err> indicates an error related to message service or 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:
210 Error in MS
211 Memory Capacity Exceeded
212 SIM Application Toolkit Busy
213 SIM data download error
224 CP retry exceed
225 RP trim timeout
226 SMS connection broken
255 Unspecified error cause
300 ME failure
301 SMS reserved
302 operation not allowed
303 operation not supported
304 invalid PDU mode
305 invalid text mode
310 SIM not inserted
311 SIM pin necessary
312 PH SIM pin necessary
313 SIM failure
314 SIM busy
315 SIM wrong
316 SIM PUK required
317 SIM PIN2 required
318 SIM PUK2 required
320 memory failure
321 invalid memory index
322 memory full
323 invalid input parameter
324 invalid input format
325 invalid input value
330 SMSC address unknown
331 no network
332 network timeout
340 no cnma ack
500 Unknown
512 SMS no error
513 Message length exceeds maximum length
514 Invalid request parameters
515 ME storage failure
516 Invalid bearer service
517 Invalid service mode
518 Invalid storage type
519 Invalid message format
520 Too many MO concatenated messages
521 SMSAL not ready
>,<dcs>,<sca>,<tosca>,
<length>]<CR><LF><data>
AT+CNMI
+CBM: Indicates that new cell broadcast message
<bm>=2 (PDU mode
<length><CR><LF><pdu> has been received.
enabled):
+CBM: AT+CNMI
Indicates that new cell broadcast message
<sn>,<mid>,<dcs>,<page>,<pa <bm>=2 (text mode
has been received.
ges><CR><LF><data> enabled):
AT+CNMI
+CDS: Indicates that new SMS status report has
<ds>=1 (PDU mode
<length><CR><LF><pdu> been received.
enabled):
+CDS: AT+CNMI
Indicates that new SMS status report has
<fo>,<mr>[,<ra>][,<tora>],<scts <ds>=1 (text mode
been received.
>,<dt>,<st> enabled):
+COLP:
The presentation of the COL (Connected
<number>,<type>[,<subaddr>,
Line) at the TE for a mobile originated call. AT+COLP=1
<satype>,<alphaId>]
Presentation status during a mobile
terminated call setup or during a call, or AT+CSSN=<n>[,<m>]
+CSSU: <code2>
when a forward check supplementary <m>=1
service notification is received.
Presentation status after a mobile originated AT+CSSN=<n>[,<m>]
+CSSI: <code1>[,<index>]
call setup <n>=1
+CLCC:
<id1>,<dir>,<stat>,<mode>,<m
pty>[,<number>,<type>,<alphaI
D>] Report a list of current calls of ME
automatically when the current call status AT+CLCC=1
[<CR><LF>+CLCC: changes.
<id2>,<dir>,<stat>,<mode>,<m
pty>[,<number>,<type>,<alphaI
D>][...]]
*PSNWID:
"<mcc>","<mnc>","<full network
name>",<full network name
Refresh network name by network.
CI>,"<short network
name>",<short network name
CI>
*PSUTTZ: AT+CLTS=1
<year>,<month>,<day>,<hour>
Refresh time and time zone by network.
,<min>,<sec>,"<time
zone>",<dst>
+CTZV: "<time zone>" Refresh network time zone by network.
Refresh Network Daylight Saving Time by
DST: <dst>
network.
Indicates whether SIM card has been
+CSMINS: <n>,<SIM inserted> AT+CSMINS=1
inserted.
+CDRIND: <type> Indicates whether a CS voice call, CS data AT+CDRIND=1
19 AT Commands Examples
AT+CMEE? OK
+CMEE: 1
Reporting of mobile equipment
errors. The default CME error AT+CSCS=? OK
reporting setting is disabled. +CSCS:
Switch to verbose mode ("IRA","GSM","UCS2","HEX","PCCP","PCDN","
Displays a string explaining the 8859-1")
error in more details.
OK
AT+CSCS="T
EST" ERROR
AT+CMEE=2 OK
AT+CSCS="T +CME ERROR: invalid input value
EST"
Store the current configuration ATE0&W OK
in nonvolatile memory. When AT [No echo]
the board is reset, the OK
configuration changes from the [Reset the
last session are loaded. board] [No echo]
AT OK
[No echo]
ATE1&W OK
[Echo on]
AT OK
+IPR: 0
AT+IPR?
OK
OK
AT+CFUN=0
AT+CFUN=0
+CPIN: NOT READY
+CFUN:1
ME has entered full functionality
AT+CFUN?
mode
OK
OK
Find an entry in the current AT+CPBF="Daniel" +CPBF: 5,"13918186089",129,"Daniel"
phonebook using a text
search. OK
+CENG:
0,"0081,55,00,460,00,31,f9a1,08,05,1816,255"
+CENG: 1,"0014,40,15,f2a1,460,00,1816"
Switch on engineering
+CENG: 2,"0012,27,48,f411,460,00,1816"
mode
+CENG: 3,"0565,23,55,f1a1,460,00,1816"
+CENG: 4,"0584,19,24,f1a3,460,00,1816"
+CENG: 5,"0027,17,13,f412,460,00,1816"
+CENG: 6,"0028,15,14,6253,460,00,1823"
OK
AT+CENG=2,1 OK
AT+CENG? +CENG: 2,1
+CENG:
0,"0081,55,00,460,00,31,f9a1,08,05,1816,255"
Switch on engineering
+CENG: 1,"0014,42,15,f2a1,460,00,1816"
mode, and activate the
+CENG: 2,"0012,25,48,f411,460,00,1816"
URC report of network
+CENG: 3,"0565,21,55,f1a1,460,00,1816"
information
+CENG: 4,"0584,19,24,f1a3,460,00,1816"
+CENG: 5,"0027,17,13,f412,460,00,1816"
+CENG: 6,"0028,17,14,6253,460,00,1823"
OK
OK
AT+CENG=3,1
+CENG: 3,1
AT+CENG?
+CENG: 6,"460,00,1816,f2c3,43,14"
OK
OK
+CENG: 4,1
OK
+CELLIST: (0,1),(10-7200)
AT+CELLIST=?
OK
AT+CELLIST=1,50 OK
AT+CELLIST? +CELLIST: 1,50
OK
OK
AT+IPR? +IPR: 0
AT+CIMI 460008184101641
Request the IMSI
OK
OK[accept call]
OK[hang up call]
Call related to
supplementary service:
AT+CHLD. This Command AT+CHLD=<N> Return value: (0,1,1x,2,2x,3,4)
provides support for call
waiting functionality.
Terminate current call and
accept waiting call.
Establish a voice call from
EVB, receive an incoming OK
AT+CCWA=1,1
call (incoming call accepts OK
ATD6241xxxx;
waiting status), terminate RING
<RX incoming call>
active call and accept +CCWA: "62418148 ",129,1,""
incoming call. Note call OK
AT+CHLD=1
waiting must be active for <waiting call active>
this option – use
"AT+CCWA=1,1” before
running this demonstration.
Set current call to busy
state and accept waiting
call.
Establish a voice call from OK
EVB, receive an incoming ATD6241xxxx; RING
call (incoming call accepts <RX incoming call> +CCWA: "13918186089",129,1,""
waiting status), place active OK
call on hold and switch to AT+CHLD=2 <waiting call active other call on hold>
incoming call. Terminate OK
active call and switch back AT+CHLD=1 <incoming call terminated, dialed number
to original call. Note call now active>
waiting must have been
previously enabled for this
demonstration to work.
Switch between active and ATD6241xxxx; OK
held calls. <RX incoming call> RING
Establish a voice call from +CCWA: "13918186089",129,1,""
EVB, receive an incoming AT+CHLD=2 OK
call (incoming call accepts <incoming call activated, original on hold>
waiting status), place active
call on hold and switch to AT+CHLD=21 OK
incoming call. Switch <original call activated, incoming call held>
between both calls, placing AT+CLCC +CLCC: 1,0,0,0,0,"62418148",129,""
each in the hold state whilst +CLCC: 2,1,1,0,0,"13918186089",129,""
the other is active before OK
terminating each one. This <Note incoming call held flag set>
Unsolicited notification of
+CMTI: "SM",1
the SMS arriving
Read SMS message that +CMGR: "REC UNREAD",
has just arrived. "+8613918186089","","02/01/30,20:40:31+00"
Note: the number should be the AT+CMGR=1 This is a test
same as that given in the +CMTI
notification. OK
+CMGR: "REC READ",
Reading the message
"+8613918186089","","02/01/30,20:40:31+00"
again and change the
AT+CMGR=1 This is a test
status to "READ”
from ”UNREAD”
OK
AT+CMGS="+86139 +CMGS: 35
Send another SMS to
1818xxxx"
myself.
>Test again<Ctrl+Z> OK
Unsolicited notification of
+CMTI: "SM",2
the SMS arriving
+CMGL: 1,"REC
List all SMS messages.
READ","+8613918186089","","02/01/30,20:40
Note:"ALL" must be in AT+CMGL="ALL"
:31+00"
uppercase.
This is a test
OK
Delete an SMS message. AT+CMGD=1 OK
+CMGL: 2,"REC
READ","+8613918186089","","02/01/30,20:45
List all SMS messages to
:12+00"
show message has been AT+CMGL="ALL"
Test again
deleted.
OK
OK
AT+CSMP=17,167,2,
25
AT+CSCS="UCS2" OK
Send SMS using Chinese
characters AT+CMGS="003100 +CMGS: 36
33003900310038003
10038003x003x003x OK
003x"
>4E014E50<Ctrl+Z>
Check if the MS is
connected to the GPRS +CGATT: 1
network AT+CGATT?
OK
Detach from the GPRS OK
network AT+CGATT=0
+CGATT: 0
Check if the MS is AT+CGATT?
connected to the GPRS OK
network
AT+CGCLASS? +CGCLASS: B
Check the class of the MS
OK
Establish a context using
the terminal equipment:
defines CID 1 AT+CGDCONT=1,"I OK
and sets the PDP type to IP, P","CMNET"
access ATD*99# CONNECT
point name and IP address
aren’t set.
Cancel a context using the
terminal equipment AT+CGDCONT=1, OK
"IP","CMNET"
ATD*99# CONNECT
Pause data transfer and
enter Command mode by +++ OK
+++
Stop the GPRS data ATH OK
transfer
AT+CGDCONT=1,"I OK
Reconnect a context using P","CMNET"
the terminal equipment
ATD*99# CONNECT
+++ OK
*Quality of Service (QOS) is a special parameter of a CID which consists of several parameters itself.
The QOS consists of
The precedence class
The delay class
The reliability class
The peak throughput class
The mean throughput class
All parameters of the QOS are initiated by default value (=0) except the reliability class is 3. To define a
QOS use the AT+CGQREQ or AT+CGQMIN Command.
OK
Set the QOS of CID 1 to not present.
Once defined, the CID can be AT+CGQREQ=1 OK
activated.
Activate CID 1, if the CID is already
active, the mobile returns OK at once.
If no CID is defined the mobile AT+CGACT=1,1 OK
responds +CME ERROR: invalid
index.
Note: If the mobile is NOT attached by AT+CGACT=1,3 +CME ERROR: requested
AT+CGATT=1 before activating, the service option not subscribed.
attachment is automatically done by
the AT+CGACT Command.
Use the defined and activated CID
to get online. The mobile can be
connected using the parameters of AT+CGDATA="PPP", 1 CONNECT
appointed CID or using default
parameter
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.
Some providers require using an APN to establish a GPRS connection. So if user uses the 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… /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 Command.
19.10 IP Commands
Please refer to SIM800 Series_IP_Application Note. Chapter 3.1 describles how to config bearer contexts
of HTTP and FTP applications.
OK
AT+CSTT="CMNET" OK
AT+CIICR OK
Ping Request
AT+CIFSR 10.78.245.128
AT+CIPPING=www.google +CIPPING: 1,"203.208.37.99",70,239
.cn +CIPPING: 2,"203.208.37.99",53,238
+CIPPING: 3,"203.208.37.99",60,239
+CIPPING: 4,"203.208.37.99",50,239
OK
On the Modem: On the Modem:
AT+CGATT? +CGATT: 1
OK
OK
AT+CSTT="CMNET"
Other Device Ping To The OK
AT+CIPBEIPING=1
Module
(If on 6252 platform, don’t
need this at)
AT+CIICR
OK
AT+CIFSR 10.78.245.128
OK
AT+CIPFLT=1,1,"198.211. OK
19.12","255.255.0.0"
AT+CIPFLT=1,,"10.43.21.6 OK
IP Filter Setting 9","255.0.0.0”
AT+CIPFLT=0,1 OK
AT+CIPFLT=2 OK
AT+CIPCTL=0 OK
AT+CIPCTL=2 OK
.com”
AT+CMMSCID=1
OK
AT+CMMSPROTO=“10.0.0.172”,80
OK
AT+CMMSSENDCFG=6,3,0,0,2,4
OK
OK
AT+SAPBR=3,1,"Contype","GPRS"
AT+SAPBR=3,1,"APN","CMWAP"
OK
Active bearer profile AT+SAPBR=1,1
OK
AT+SAPBR=2,1
+SAPBR: 1,1,"10.89.193.1"
OK
OK
AT+CMMSEDIT=1
CONNECT
... ...
AT+CMMSDOWN=“PIC”,12963,200
00 OK
AT+CMMSSEND
……
OK
OK
AT+CMMSEDIT=0
+CMMSRECV:
Receive MMS AT+CMMSRECV=3 "+8613818181818","2008-05-02,
When received a MMS 03:38:12","",
push message,UART will 266701,"image0.jpg",7,26625
output message,such as
“+CMTI: "SM",3,"MMS OK
PUSH"”
AT+CMGD=3
OK
Receive MMS when the AT+CMMSEDIT=0 OK
+DTMF:3
OK
If module detected DTMF, URC will be
reported via serial port
+DTMF:1 //report DTMF
value
Receive an incoming call ATA
+DTMF:2
+DTMF:3
+DTMF:4
AT+DDET=1,1000,1
enable DTMF detection //start DDET, interval is OK
1000ms, report mode is 1
OK
If module detected DTMF, URC will be
reported via serial port, the minimal interval
between two identic DTMF is 1000ms.
+DTMF: 1,160 //report DTMF
Set up a call connection ATD***********; value and last time
+DTMF: 2,300
+DTMF: 3,200
OK
If module detected DTMF, URC will be
reported via serial port
+DTMF: 1,160 //report
Receive an incoming call ATA DTMF value and last time
+DTMF: 2,300
+DTMF: 3,200
+CREC: 0
AT+CREC=5
Stop play record file
//stop play record file OK
//URC is reported to show statues IDLE
+CREC: 2
AT+CREC?
Get record status OK
//get record status //Rrecording ,delete and other play
operations are not allowed when playing
+CREC: 7,1,7728,0
+CREC: 7,2,53820,1
List record file AT+CREC=7
information //list record file list
OK
// two record file, one Is
+CREC: 6,1,200
2321414D520A04923231D828E7B0E222B
6D0B604941AEC23377C8A442AFC934404
50E0133334D31577CB8E88FE0450A54AD
57AC23086C24529FC0422434276AB0E88
DCF481E23A0419F050336489D54CB5722
4B0042119466B5B5521D542FF354204C04
AT+CREC=6,1,200,0 22385A00B20DBC67DC322049D87084889
Get record file data //get 200 bytes from record 70630CECBFE40004C0892EF5914BD62A
file with offset 0 to file head 234C0B5804334110F8818197ECA9D7F02
E046EDAD5EBA75928D948FBB19E046EA
F1C3A90168351C302DF8804460C1409B1
8966E0187F88B404CA88F4F891BFE72BC
F45D7
OK
//data in Hex format
+CREC: 8,938600
AT+CREC=8
Query free space
//query free memory space OK
//the free memory space is 938600 bytes
AT+CREC=9,0
Create record file OK
//create record file directory
directory
on system FAT
AT+CTTS=1,"6B228FCE4 OK
F7F75288BED97F354086 //speech synthetized successfully, played
Play synthetic speech 2107CFB7EDF" locally.
with UCS2 coding text //text in UCS2 coding +CTTS: 0
format,context of the text is //speech played over. Note: User needs to wait
“欢迎使用语音合成系统”. thisresponse to play next speech!
AT+CTTS=2,"hello , 欢 迎 OK
使用语音合成系统" //speech synthetized
Play synthetic speech // text in ASIIC coding Successfully played locally.
with ASCII coding text format. +CTTS: 0
Chinese in GBK coding //speech played over. Note: User needs to wait
format. thisresponse to play next speech!
AT+CTTS=0
OK
Stop playing TTS //Stop playing synthetic
//speech played over.
speech
AT+CTTSPARAM=50,
Set parameters of the 0,50,25,1 OK
TTS playing // set params of the TTS // set params over.
playing
20.1 AT+SIDET
SIM800H,SIM800L,SIM800,SIM800M64,
SIM800V, SIM840V,SIM800W,
SIM808,SIM800C,SIM800A,SIM800F,
SIM840W,SIM800W16,SIM840W16
SIM800C-DS
AT+SIDET=?
If it is SIM800, SIM800M64,SIM800C,
SIM800A,SIM800F
+SIDET: (0, 2),(0-16)
AT+SIDET=?
+SIDET: (0,1),(0-16)
OK
If it is SIM800H, SIM800L, SIM808, SIM868
OK
or SIM800C-DS
+SIDET: (0-3),(0-16)
OK
Difference:
20.2 AT+CMIC
SIM800H,SIM800L,SIM800,SIM800M64,
SIM800V, SIM840V,SIM800W,
SIM808,SIM800C,SIM800A,SIM800F,
SIM840W,SIM800W16,SIM840W16
SIM800C-DS
AT+CMIC=?
If it is SIM800, SIM800M64,SIM800C,
AT+CMIC=? SIM800A,SIM800F
+CMIC: (0,1),(0-15) +CMIC: (0,2),(0-15)
OK OK
If it is SIM800H, SIM800L, SIM808, SIM868
or SIM800C-DS
+CMIC: (0-3),(0-15)
OK
Difference:
The default gain level of main audio channel is 10 or 6.
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.
20.3 AT+CBAND
SIM840V,SIM840W,SIM840W16,SIM800H,SI
SIM800V, M800L, SIM800,SIM800M64,SIM800G,
SIM800W,SIM800W16,SIM800A SIM808,SIM800C,SIM800F,SIM868,SIM800
C-DS
AT+CBAND=?
AT+CBAND=?
+CBAND:
+CBAND:
(EGSM_MODE,DCS_MODE,GSM850_MODE,PCS
(EGSM_MODE,DCS_MODE,EGSM_DCS_MO
_MODE,EGSM_DCS_MODE,GSM850_PCS_MOD
DE,ALL_BAND)
E,EGSM_PCS_MODE,ALL_BAND)
OK
OK
Difference:
SIM840V, SIM840W, SIM840W16,SIM800H, SIM800L, SIM800, SIM800M64, SIM800G,
SIM808, SIM800C, SIM800F, SIM868 and SIM800C-DS support Quad-band.
20.4 AT+CHFA
OK OK
If it is SIM800H,SIM800L, SIM808, SIM868 or
SIM800C-DS
+CHFA: (0 = NORMAL_AUDIO, 1 = 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.
SIM800G can not support this AT command.
20.5 AT+SGPIO
OK OK
Difference:
GPIO4 and GPIO5 only support the read operation in SIM800H, SIM800L, SIM800, SIM800M64 and
SIM808.
SIM800, SIM800M64 and SIM808 do not support GPIO1.
SIM800G and SIM800C, SIM800A, SIM800F, SIM868 and SIM800C-DS can not support this
command.
20.6 AT+SJDR
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.
Module Type Jamming detection PIN
SIM800H/SIM800L PIN5
SIM800/SIM800M64 PIN67
SIM808 PIN63
SIM800C PIN29
SIM800A PIN67
SIM800F PIN67
SIM800C-DS PIN29
SIM868 PIN29
SIM800V, SIM840V, SIM800W, SIM840W, SIM800W16 and SIM840W16 have no jamming detection PIN to
indicate JD status, only report jamming status via URC from serial port.
20.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.
20.8 AT+CTTSPARAM
SIM800V,SIM840V, SIM800W,
SIM800H,SIM800,SIM800M64
SIM840W,SIM800W16,SIM840W16
AT+CTTSPARAM? AT+CTTSPARAM?
+CTTSPARAM: 50,0,50,50,1 +CTTSPARAM: 50,0,50,50,0
OK OK
Difference:
Default value of output channel is different.
20.9 AT+CADC
SIM800V, SIM840V,SIM800W,SIM840W,
SIM800W16,SIM840W16,SIM800H,
SIM808
SIM800L,SIM800,SIM800M64,SIM800C,
SIM800A,SIM800F,SIM800C-DS,SIM868
AT+CADC?
AT+CADC?
+CADC: 1,958
+CADC: 1,603
+CADC: 1,2223
OK
OK
Difference:
SIM808 has two ADC channels and others have only one ADC channel.
20.10 AT+CSCLK
SIM800V, SIM840V,SIM800W,SIM840W,
SIM800W16,SIM840W16,SIM800H,
SIM808
SIM800L,SIM800,SIM800M64,SIM800C,
SIM800A,SIM800F,SIM800C-DS,SIM868
AT+CSCLK=? AT+CSCLK=?
+CSCLK: (0-2) +CSCLK: (0-1)
OK OK
Difference:
SIM808 does not support AT+CSCLK=2.
20.11 AT+CMMSDOWN
"VIDEO_3GPP",(1-307200),(5000-),"NAME"
+CMMSDOWN: " VIDEO
_MP4",(1-307200),(5000-),"NAME"
OK
20.12 AT+CFGRI
OK OK
Difference:
Default value is different.
20.13 AT+CLCK
OK
OK
Difference:
SIM800C-DS has no value of "FD".
20.14 AT+CBATCHK
OK OK
Difference:
Default value is different.
AT command or
Chapter Supported by project
function
SIM800V, SIM840V, SIM800W, SIM840W, SIM800W16,
2.2.5 ATD><str> SIM840W16, SIM800L, SIM800H, SIM800, SIM800M64,
SIM800G, SIM808, SIM800C, SIM800A, SIM800F,SIM868
ATD<n> ( if <n> is SIM800V, SIM840V, SIM800W, SIM840W, SIM800W16,
2.2.3 USSD-string or SIM840W16, SIM800L, SIM800H, SIM800, SIM800M64,
supplementary services) SIM800G, SIM808, SIM800C, SIM800A, SIM800F
SIM800V,SIM840V,SIM800W,SIM840W,SIM800W16,
2.2.39 AT+ICF SIM840W16,SIM800L,SIM800H,SIM800,
SIM800M64,SIM800G,SIM808
SIM800V,SIM840V,SIM800W,SIM840W,SIM800W16,
3.2.4 AT+CBST SIM840W16,SIM800L,SIM800H,SIM800,
SIM800M64,SIM800G,SIM808
SIM800V,SIM840V,SIM800W,SIM840W,SIM800W16,
6.2.10 AT+CMOD SIM840W16,SIM800L,SIM800H,SIM800,
SIM800M64,SIM800G,SIM808
SIM800V,SIM840V,SIM800W,SIM840W,SIM800W16,
6.2.39 AT+SGPIO SIM840W16,SIM800L,SIM800H,SIM800,
SIM800M64,SIM800G,SIM808
SIM800V,SIM840V,SIM800W,SIM840W,SIM800W16,
6.2.40 AT+SPWM SIM840W16,SIM800L,SIM800H,SIM800,
SIM800M64,SIM800G,SIM808,SIM868
6.2.58 AT+CPCMCFG SIM800H,SIM800L,SIM800,SIM800M64,SIM808
6.2.59 AT+CPCMSYNC SIM800H,SIM800L,SIM800, SIM800M64,SIM808
SIM800H,SIM800L,SIM800, SIM800M64,SIM808,
6.2.60 AT+CANT
SIM800C,SIM800A,SIM800F,SIM868
6.2.62 AT+SD2PCM SIM800H,SIM800L,SIM800, SIM800M64,SIM808
SIM800H,SIM800L,SIM800,
6.2.63 AT+SKPD
SIM800M64,SIM808,SIM800A,SIM800F
6.2.67 AT+CMNRP SIM800H,SIM800L,SIM800, SIM800M64
6.2.68 AT+CEGPRS SIM800H,SIM800L,SIM800, SIM800M64,SIM800C-DS
6.2.73 AT+ECHARGE SIM808
6.2.74 AT+SIMTIMER SIM800H,SIM800L,SIM800, SIM800G
SIM800H, SIM800L,SIM800, SIM800G, SIM800C,
6.2.75 AT+SPE
SIM800A, SIM800F,SIM800C-DS,SIM868
6.2.76 AT+CCONCINDEX SIM808,SIM800C,SIM800A, SIM800F,SIM868
6.2.77 AT+SDMODE SIM808
SIM800H,SIM800L,SIM800,SIM800G,SIM808,SIM800C,
6.2.78 AT+SRSPT
SIM800A,SIM800F,SIM868
SIM800H, SIM800L,SIM800, SIM808,SIM800C,
10.2.4 AT+CIPBEIPING
SIM800A,SIM800F,SIM800C-DS,SIM868
11.2.9 AT+HTTPHEAD SIM800H,SIM800L,SIM800,SIM800G
SIM800V, SIM840V, SIM800W, SIM840W, SIM800H,
16 Record function SIM800, SIM800M64, SIM808,SIM800C,SIM800A,
SIM800F,SIM800C-DS,SIM868
SIM800V,SIM840V, SIM800W, SIM840W,SIM800H,
17 TTS function SIM800,SIM800M64,SIM800C
Note: SIM800H, SIM800 and SIM800C only support Chinese TTS.
SIM800V,SIM840V,SIM800W,SIM840W,SIM800W16,
19 AT commands of AOC SIM840W16,SIM800L,SIM800H,SIM800,SIM800M64,
SIM800G,SIM808