SIM800 ATCommand Manual V1.02
SIM800 ATCommand Manual V1.02
Manual_V1.02
Document Title:
Version:
1.02
Date:
2013-10-23
Status:
Release
General Notes
SIMCom offers this information as a service to its customers, to support application and
engineering efforts that use the products designed by SIMCom. The information provided is based
upon requirements specifically provided to SIMCom by the customers. SIMCom has not
undertaken any independent search for additional relevant information, including any information
that may be in the customers possession. Furthermore, system validation of this product designed
by SIMCom within a larger electronic system remains the responsibility of the customer or the
customers system integrator. All specifications supplied herein are subject to change.
Copyright
This document contains proprietary technical information which is the property of Shanghai
SIMCom Wireless Solutions Ltd, copying of this document and giving it to others and the using or
communication of the contents thereof, are forbidden without express authority. Offenders are
liable to the payment of damages. All rights reserved in the event of grant of a patent or the
registration of a utility model or design. All specification supplied herein are subject to change
without notice at any time.
Copyright Shanghai SIMCom Wireless Solutions Ltd. 2013
2013-10-23
Contents
Version History.........................................................................................14
1 Introduction............................................................................................18
1.1 Scope of the document .......................................................................................18
1.2 Related documents..............................................................................................18
1.3 Conventions and abbreviations ..........................................................................18
1.4 AT Command syntax ..........................................................................................18
1.4.1 Basic syntax ...................................................................................................................19
1.4.2 S Parameter syntax.........................................................................................................19
1.4.3 Extended Syntax.............................................................................................................19
1.4.4 Combining AT commands on the same Command line.................................................19
1.4.5 Entering successive AT commands on separate lines.....................................................20
2013-10-23
2013-10-23
2013-10-23
2013-10-23
2013-10-23
2013-10-23
2013-10-23
10
2013-10-23
11
2013-10-23
12
2013-10-23
21.6 AT+CHFA.......................................................................................................348
13
2013-10-23
Version History
Version
Date
Chapter
What is new
V1.00
V1.01
New version
2013-07-23
All
Add SIM800
2.2.8 ATH
2.2.12 +++
2.2.13 ATO
2.2.26 ATX
2.2.32 AT&W
Add AT+CFGRI,AT+CSGS
2.2.41.1 Auto-bauding
3.2.14 AT+CHLD
3.2.18 AT+CLIP
3.2.51 AT+CRSL
3.2.7 AT+CEER
4.2.10 AT+CRES
4.2.11 AT+CSAS
6.2.4 AT+CMIC
6.2.11 AT+CFGRI
6.2.16 AT+CCVM
6.2.18 AT+CHF
Add URC
6.2.26 AT+STTONE
6.2.27 AT+SIMTONE
6.2.48 AT+SLEDS
6.2.55 AT+CSGS
Add ATC
6.2.56 AT+CMICBIAS
Add ATC
8.2.2 AT+CIPSTART
Modify parameter
8.2.15 AT+CIPHEAD
Modify parameter
8.2.20 AT+CIPSRIP
Modify parameter
8.2.23 AT+CIPCCFG
8.2.26 AT+CIPRXGET
14
2013-10-23
information
9.2.1 AT+SAPBR
Modify parameter
12.2.23 AT+FTPLIST
14.2.8 AT+SMTPBODY
14.2.10 AT+SMTPSEND
Modify parameter
14.2.11 AT+SMTPFT
15.2.15 AT+CMMSRECV
15.2.21
AT+CMMSTIMEOUT
15.2.25 AT+CMMSSCONT
17.2.1 AT+CREC
Add note
18.2.2 AT+CTTSPARAM
Add example
3.2.17 AT+CLCK
3.2.22 AT+COPS
3.2.29 AT+CPWD
3.2.28 AT+CPIN
3.2.41 AT+VTS
3.2.44 AT+CPOL
3.2.45 AT+COPN
3.2.54 AT+CPUC
6.2.7 AT+CADC
6.2.23 AT+CCID
7.2.1 AT+CGATT
7.2.5 AT+CGACT
3.2.24 AT+CPBF
3.2.25 AT+CPBR
4.2.1 CMGD
4.2.3 CMGL
6.2.25 CMGDA
15
2013-10-23
time
V1.02
2013-10-23
15.2.8 AT+CMMSSEND
15.2.15 AT+CMMSRECV
2.2.16 ATS0
2.2.20 ATS6
2.2.21 ATS7
2.2.22 ATS8
2.2.26 ATX
3.2.4 AT+CBST
3.2.16 AT+CLCC
3.2.12 AT+CSCS
3.2.51 AT+CRSL
3.2.52 AT+CLVL
6.2.33 AT+CIURC
6.2.53 AT_CSDT
6.2.54 AT+CSMINS
3.2.32 AT+CREG
6.2.44 AT+SVR
7.2.10 AT+CGREG
3.2.24 AT+CPBS
3.2.25 AT+CPBW
2.2.28 AT&C
3.2.5 AT+CCFC
Change error
<reason>
3.2.33 AT+CRLP
3.2.36 AT+FCLASS
3.2.47 AT+CCLK
Add note
4.2.5 AT+CMGS
Add Note
6.2.18 AT+CHF
6.2.19 AT+CHFA
6.2.20 AT+CSCLK
6.2.24 AT+CMTE
6.2.28 AT+CCPD
6.2.33 AT+CIURC
6.2.41 AT+SPWM
6.2.51 AT+CNETLIGHT
6.2.53 AT+CSDT
Modify note
16
word:
<reads>
to
2013-10-23
2013-10-25
6.2.55 AT+CSGS
6.2.56 AT+CMICBIAS
6.2.57 AT+DTAM
Add AT command
6.2.58 AT+SJDR
Add AT command
6.2.59 AT+CPCMCFG
Add AT command
6.2.60 AT+CPCMSYNC
Add AT command
6.2.61 AT+CANT
Add AT command
6.2.62 AT+CAGCSET
Add AT command
7.2.9 AT+CGEREP
8.2.7 AT+CIPSHUT
8.2.10 AT+CIICR
8.2.21 AT+CIPDPDP
8.2.26 AT+CIPRXGET
16.2.1 AT+DDET
17.2.1 AT+CREC
Modify note
17.2.2 AT+CRECORD
Add AT command
18.2.2 AT+CTTSPARAM
20.16 AT+DDET
21.5 AT+CTTSPARAM
21.6 AT+CHFA
AT+CEXTHS,AT+CEXBUT
Delete
All
5.2.1 AT+STKTRS
17
and
modify
2013-10-23
1 Introduction
1.1 Scope of the document
This document presents the AT Command Set for SIMCom SIM800 Series, including SIM800,
SIM800W, SIM800V, SIM800L and SIM800H.
18
2013-10-23
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:
1.4.1 Basic syntax
These AT commands have the format of "AT<x><n>", or "AT&<x><n>", where "<x>"is the
Command, and "<n>"is/are the argument(s) for that Command. An example of this is "ATE<n>",
which tells the DCE whether received characters should be echoed back to the DTE according to
the value of "<n>". "<n>" is optional and a default will be used if missing.
1.4.2 S Parameter syntax
These AT commands have the format of "ATS<n>=<m>", where "<n>" is the index of the S
register to set, and "<m>"is the value to assign to it. "<m>" is optional; if it is missing, then a
default value is assigned.
1.4.3 Extended Syntax
These commands can operate in several modes, as in the following table:
AT+<x>=?
Read Command
AT+<x>?
Write Command
AT+<x>=<>
Execution Command
AT+<x>
19
2013-10-23
an extended command; in basic syntax or S parameter syntax, the semicolon need not enter, for
example: ATE1Q0S0=1S3=13V1X4;+IFC=0,0;+IPR=115200;&W.
The Command line buffer can accept a maximum of 556 characters (counted from the first
command without AT or at prefix). If the characters entered exceeded this number then none
of the Command will executed and TA will return "ERROR".
1.4.5 Entering successive AT commands on separate lines
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.
20
2013-10-23
The default flow control approach of SIM800 Series is hardware flow control (RTS/CTS flow
control), to enable software flow control in the DTE interface and within GSM engine, type the
following AT Command:
AT+IFC=1, 1
This setting is stored volatile, for use after restart, AT+IFC=1, 1 should be stored to the user
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.
Ensure that any communications software package (e.g. Hyper terminal) uses software flow
control.
NOTE:
Software Flow control should not be used for data calls where binary data will be transmitted or
received (e.g. TCP/IP) as the DTE interface may interpret binary data as flow control characters.
1.6.2 Hardware flow control (RTS/CTS flow control)
Hardware flow control achieves the data flow control by controlling the RTS/CTS line. When the
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.
To achieve hardware flow control, ensure that the RTS/CTS lines are present on your application
platform.
1.7 Definitions
1.7.1 Parameter Saving Mode
For the purposes of the present document, the following syntactical definitions apply:
z NO_SAVE: The parameter of the current AT command will be lost if module is rebooted or
current AT command doesn't have parameter.
z 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.
z AT&W_SAVE: The parameter of the current AT command will be kept in NVRAM by
sending the command of AT&W.
21
2013-10-23
22
2013-10-23
Description
A/
ATA
ATD
ATD><N>
ATD><STR>
ATDL
ATE
ATH
ATI
ATL
ATM
+++
ATO
ATP
ATQ
ATS0
ATS3
ATS4
ATS5
ATS6
ATS7
ATS8
ATS10
ATT
ATV
TA response format
ATX
ATZ
AT&C
AT&D
23
2013-10-23
AT&F
AT&V
AT&W
AT+GCAP
AT+GMI
AT+GMM
AT+GMR
AT+GOI
AT+GSN
AT+ICF
AT+IFC
AT+IPR
AT+HVOIC
Execution
Command
A/
Response
Re-issues the previous Command
Reference
V.25ter
Note
Response
TA sends off-hook to the remote station.
Note1: Any additional commands on the same Command line are ignored.
Note2: This Command may be aborted generally by receiving a character
during execution. The aborting is not possible during some states of
connection establishment such as handshaking.
Response in case of data call, if successfully connected
CONNECT<text> TA switches to data mode.
Note: <text> output only if ATX<value> parameter setting with the
<value>>0
When TA returns to Command mode after call release
OK
Response in case of voice call, if successfully connected
24
2013-10-23
OK
Response if no connection
NO CARRIER
Parameter Saving NO_SAVE
Mode
Max
Time
Reference
V.25ter
2.2.3 ATD
ATD
Note
See also ATX
Mobile Originated Call to Dial A Number
Execution
Command
ATD<n>[<mgsm
][;]
Response
This Command can be used to set up outgoing voice, data or fax calls. It
also serves to control supplementary services.
Note: This Command may be aborted generally by receiving an ATH
Command or a character during execution. The aborting is not possible
during some states of connection establishment such as handshaking.
If error is related to ME functionality
+CME ERROR: <err>
If no dial tone and (parameter setting ATX2 or ATX4)
NO DIALTONE
If busy and (parameter setting ATX3 or ATX4)
BUSY
If a connection cannot be established
NO CARRIER
If the remote station does not answer
NO ANSWER
If connection successful and non-voice call.
CONNECT<text> TA switches to data mode.
Note: <text> output only if ATX<value> parameter setting with the
<value> >0
When TA returns to Command mode after call release
OK
25
2013-10-23
Reference
V.25ter
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.
Responses returned after dialing with ATD
For voice call two different responses mode can be determined. TA returns
"OK" immediately either after dialing was completed or after the call is
established. The setting is controlled by AT+COLP. Factory default is
AT+COLP=0, this cause the TA returns "OK" immediately after dialing
was completed, otherwise TA will returns "OK", "BUSY", "NO DIAL
TONE", "NO CARRIER".
Using ATD during an active voice call:
When a user originates a second voice call while there is already an active
26
2013-10-23
2.2.4 ATD><n>
ATD><n>
Execution
Command
ATD><n>[<clir>
][ <cug>][;]
Response
This Command can be used to dial a phone number from current phonebook
memory.
Note: This Command may be aborted generally by receiving an ATH
Command or a character during execution. The aborting is not possible
during some states of connection establishment such as handshaking.
If error is related to ME functionality
+CME ERROR: <err>
If no dial tone and (parameter setting ATX2 or ATX4)
NO DIALTONE
If busy and (parameter setting ATX3 or ATX4)
BUSY
If a connection cannot be established
NO CARRIER
If the remote station does not answer
NO ANSWER
If connection successful and non-voice call.
CONNECT<text> TA switches to data mode.
Note: <text> output only if ATX<value> parameter setting with the
<value> >0
When TA returns to Command mode after call release
OK
If successfully connected and voice call
OK
Parameters
<n> Integer type memory location should be in the range of locations
available in the memory used
<mgsm>
String of GSM modifiers:
27
2013-10-23
<clir>
I
Override the CLIR supplementary service subscription
default value for this call
Invocation (restrict CLI presentation)
i
Override the CLIR supplementary service subscription
default value for this call
Suppression (allow CLI presentation)
<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 NO_SAVE
Mode
Max
Time
Response -
Reference
V.25ter
Note
Parameter "I" and "i" only if no *# code is within the dial string
*# 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.
2.2.5 ATD><str>
Field <str>
ATD><str>
<str>
Execution
Command
ATD><str>[<clir
>][<cug>][;]
Response
This Command make the TA attempts to set up an outgoing call to stored
number.
All available memories are searched for the entry <str>.
Note: This Command may be aborted generally by receiving an ATH
Command or a character during execution. The aborting is not possible
during some states of connection establishment such as handshaking.
If error is related to ME functionality
+CME ERROR: <err>
If no dial tone and (parameter setting ATX2 or ATX4)
NO DIALTONE
28
2013-10-23
Response -
Reference
V.25ter
Note
Parameter "I" and "i" only if no "*#" code is within the dial string
*# codes sent with ATD are treated as voice calls. Therefore, the Command
must be terminated with a semicolon ";"
29
2013-10-23
See ATX Command for setting result code and call monitoring parameters.
2.2.6 ATDL Redial Last Telephone Number Used
ATDL Redial Last Telephone Number Used
Execution
Command
ATDL
Response
This Command redials the last voice and data call number used.
Note: This Command may be aborted generally by receiving an ATH
Command or a character during execution. The aborting is not possible
during some states of connection establishment such as handshaking.
If error is related to ME functionality
+CME ERROR: <err>
If no dial tone and (parameter setting ATX2 or ATX4)
NO DIALTONE
If busy and (parameter setting ATX3 or ATX4)
BUSY
If a connection cannot be established
NO CARRIER
If the remote station does not answer
NO ANSWER
If connection successful and non-voice call.
CONNECT<text> TA switches to data mode.
Note: <text> output only if ATX<value> parameter setting with the
<value> >0
When TA returns to Command mode after call release
OK
If successfully connected and voice call
OK
Response -
Reference
V.25ter
Note
See ATX Command for setting result code and call monitoring parameters.
Return the numbers and symbols which ATD supports if there is no last
30
2013-10-23
dialing context.
2.2.7 ATE
ATE
Execution
Command
ATE<value>
Response
This setting determines whether or not the TA echoes characters received
from TE during Command state.
OK
Parameter
<value>
Response -
Reference
V.25ter
2.2.8 ATH
ATH
Note
Execution
Command
ATH
Response
Disconnect existing call by local TE from Command line and terminate call
OK
Note: OK is issued after circuit 109(DCD) is turned off, if it was previously
on.
Response 20s
Reference
V.25ter
2.2.9 ATI
ATI
Note
Execution
Command
ATI
Response
TA issues product information text
Example:
SIM800 R11.08
31
2013-10-23
OK
Parameter Saving NO_SAVE
Mode
Max
Time
Response -
Reference
V.25ter
Note
Response
OK
Parameter
<value>
0..9
Volume
Response -
Reference
V.25ter
Note
No effect in GSM
Execution
Command
ATM<value>
Response
OK
Parameter
<value>
0..9
Mode
Response -
Reference
V.25ter
Note
No effect in GSM
2.2.12 +++ Switch from Data Mode or PPP Online Mode to Command Mode
+++
Execution
Command
+++
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.
32
2013-10-23
OK
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 NO_SAVE
Mode
Max
Time
Response -
Reference
V.25ter
Note
To return from Command mode back to data mode: Enter ATO.
Execution
Command
ATO[n]
Response
TA resumes the connection and switches back from Command mode to data
mode.
CONNECT
If connection is not successfully resumed
ERROR
else
TA returns to data mode from command mode CONNECT <text>
Note: <text> only if parameter setting ATX>0
Parameter
<n>
0
Response -
Reference
V.25ter
Note
33
2013-10-23
Execution
Command
ATP
Response
OK
Response -
Reference
V.25ter
Note
No effect in GSM
Execution
Command
ATQ<n>
Response
This parameter setting determines whether or not the TA transmits any result
code to the TE. Information text transmitted in response is not affected by
this setting.
If <n>=0:
OK
If <n>=1:
(none)
Parameter
<n>
0 TA transmits result code
1 Result codes are suppressed and not transmitted
Response -
Reference
V.25ter
Note
2.2.16 ATS0 Set Number of Rings before Automatically Answering the Call
ATS0
Read Command
ATS0?
Response
<n>
OK
Parameter
See Write Command
Write Command
ATS0=<n>
Response
This parameter setting determines the number of rings before auto-answer.
OK
34
2013-10-23
ERROR
Parameter
<n>
0
Automatic answering is disable.
1-255 Number of rings the modem will wait for before answering
the phone if a ring is detected.
Parameter Saving AT&W_SAVE
Mode
Max
Time
Response -
Reference
V.25ter
Note
If <n> is set too high, the calling party may hang up before the call can be
answered automatically.
Read Command
ATS3?
Response
<n>
OK
Parameter
See Write Command
Write Command
ATS3=<n>
Response
This parameter setting determines the character recognized by TA to
terminate an incoming Command line. The TA also returns this character in
output.
OK
ERROR
Parameter
<n>
13 Command line termination character
Response -
Reference
V.25ter
2.2.18 ATS4
ATS4
Note
Default 13 = CR. It only supports default value.
Set Response Formatting Character
Read Command
Response
35
2013-10-23
ATS4?
<n>
OK
Parameter
See Write Command
Write Command
ATS4=<n>
Response
This parameter setting determines the character generated by the TA for
result code and information text.
OK
ERROR
Parameter
<n>
10 Response formatting character
Response -
Reference
V.25ter
2.2.19 ATS5
ATS5
Note
Default 10 = LF. It only supports default value.
Set Command Line Editing Character
Read Command
ATS5?
Response
<n>
OK
Parameter
See Write Command
Write Command
ATS5=<n>
Response
This parameter setting determines the character recognized by TA as a
request to delete from the Command line the immediately preceding
character.
OK
ERROR
Parameter
<n>
0-8-127
Response -
36
2013-10-23
Time
Reference
V.25ter
2.2.20 ATS6
ATS6
Note
Default 8 = Backspace.
Pause Before Blind Dialling
Read Command
ATS6?
Response
<n>
OK
Write Command
ATS6=<n>
Response
OK
ERROR
Parameter
<n>
0..999
Time
Response -
Reference
V.25ter
Note
No effect in GSM
Read Command
ATS7?
Response
<n>
OK
Parameter
See Write Command
Write Command
ATS7=<n>
Response
This parameter setting determines the amount of time to wait for the
connection completion in case of answering or originating a call.
OK
ERROR
Parameter
<n>
1-60-255
37
2013-10-23
Max
Time
Response -
Reference
V.25ter
Note
If called party has specified a high value for ATS0=<n>, call setup may fail.
The correlation between ATS7 and ATS0 is important
Example: Call may fail if ATS7=30 and ATS0=20.
ATS7 is only applicable to data call.
2.2.22 ATS8 Set Number of Seconds to Wait for Comma Dial Modifier Encountered in
Dial String of D Command
ATS8 Set Number of Seconds to Wait for Comma Dial Modifier Encountered in Dial
String of D Command
Read Command
ATS8?
Response
<n>
OK
Parameter
See Write Command
Write Command
ATS8=<n>
Response
OK
ERROR
Parameter
<n>
0-255 The value of this register determines how long the modem
should pause when it sees a comma in the dialing string.
Response -
Reference
V.25ter
2.2.23 ATS10
ATS10
Note
No effect in GSM
Set Disconnect Delay after Indicating the Absence of Data Carrier
Read Command
ATS10?
Response
<n>
OK
Parameter
See Write Command
Write Command
ATS10=<n>
Response
This parameter setting determines the amount of time that the TA will
38
2013-10-23
remain connected in absence of data carrier. If the data carrier is once more
detected before disconnecting, the TA remains connected.
OK
ERROR
Parameter
<n>
1-15-254
Response -
Reference
V.25ter
Note
Response
OK
Response -
Reference
V.25ter
2.2.25 ATV
Note
TA Response Format
Response
This parameter setting determines the contents of the header and trailer
transmitted with result codes and information responses.
When <value>=0
0
When <value>=1
OK
Parameter
<value>
39
2013-10-23
The result codes, their numeric equivalents and brief descriptions of the use
of each are listed in the following table.
Parameter Saving AT&W_SAVE
Mode
Max
Time
Response -
Reference
V.25ter
Note
ATV1
ATV0
Description
OK
CONNECT
RING
NO CARRIER
ERROR
NO DIALTONE
BUSY
NO ANSWER
"@" (Wait for Quiet Answer) dial modifier was used, but
remote ringing followed by five seconds of silence was not
detected before expiration of the connection timer (S7)
PROCEEDING
CONNECT
<text>
Manufacturerspecific
2.2.26 ATX
ATX
Execution
Command
ATX<value>
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
ERROR
Parameter
<value>
40
2013-10-23
Response -
Reference
V.25ter
2.2.27 ATZ
Note
Response
TA sets all current parameters to the user defined profile.
OK
ERROR
Parameter
<value>
Restore profile 0
Response -
Reference
V.25ter
Note
Execution
Command
AT&C
Response
This parameter determines how the state of circuit 109 (DCD) relates to the
detection of received line signal from the distant end.
OK
ERROR
41
2013-10-23
Parameter
<value>
Response -
Reference
V.25ter
2.2.29 AT&D
AT&D
Note
Execution
Command
AT&D[<value>]
Response
This parameter determines how the TA responds when circuit 108/2 (DTR)
is changed from the ON to the OFF condition during data mode.
OK
ERROR
Parameter
<value>
Response -
Reference
V.25ter
Note
Response
TA sets all current parameters to the manufacturer defined profile.
OK
Parameter
<value>
Response -
42
2013-10-23
Time
Reference
V.25ter
Note
Response
TA returns the current parameter setting.
<current configurations text>
OK
ERROR
Parameter
<n>
0 Responses in numeric format
Response -
Reference
V.25ter
Note
Response
TA stores the current parameter setting in the user defined profile.
OK
ERROR
Parameter
<n>
Response -
Reference
V.25ter
Note
The user defined profile is stored in non volatile memory.
Parameter name
Displayedby &V
43
2013-10-23
ATS0
<num>
ATS3
<char>
ATS4
<char>
ATS5
<char>
ATS6
<short>
ATS7
<time>
ATS8
<time>
ATS10
<time>
AT+CBST
<speed>,<name>,<ce>
AT+CRLP
<iws>,<mws>,<T1>,<N2>
ATV
<format>
ATE
<echo>
ATQ
<result>
ATX
<result>
AT&C
<behavior>
AT&D
<behavior>
AT+CLTS
<timestamp>
AT+CREG
<n>
AT+CGREG
<n>
AT+CMEE
<n>
AT+CSCLK
<n>
AT+CIURC
<mode>
AT+CFGRI
<mode>
AT+CMTE
<mode>
AT+CANT
<mode>,<UrcEnable>,<timer>
AT+STKPCIS
<switch>
AT+CMGF
<mode>
AT+CNMI
<mode>,<mt>,<bm>,<ds>,<bfr>
AT+CSCS
<chest>
AT+VTD
<n>
AT+CALS
<n>
AT+CHF
<ind>
AT+CAAS
<mode>
AT+CBUZZERRING
<mode>
AT+DDET
<n>
AT+MORING
<mode>
AT+SVR
<voice_rate_coding>
AT+CCPD
<mode>
44
2013-10-23
AT+CSGS
<mode>
AT+CNETLIGHT
<mode>
AT+SLEDS
<mode>,<timer_on>,<timer_off>
AT+CSDT
<mode>
AT+CSMINS
<n>
AT+EXUNSOL
<exunsol>
AT+IPR
<n>
AT+IFC
<TA_by_TE>, <TE_by_TA>
AT+ICF
<format>,<parity>
AT+FCLASS
<mode>
NOTE:
AT+CSMINS and AT+CSDT is available when simcard supports hot plug function.
AT+FCLASS is available only in project SIM800V
AT+CANT is available only in project SIM800H
2.2.33 AT+GCAP Request Complete TA Capabilities List
AT+GCAP Request Complete TA Capabilities List
Execution
Command
AT+GCAP
Response
TA reports a list of additional capabilities.
+GCAP: list of supported <name>s
OK
Parameter
<name>
Response -
Reference
V.25ter
Note
2.2.34 AT+GMI
AT+GMI
Test Command
AT+GMI=?
Response
OK
Parameter
45
2013-10-23
Execution
Command
AT+GMI
TA reports one or more lines of information text which permit the user to
identify the manufacturer.
SIMCOM_Ltd
OK
Response -
Reference
V.25ter
Note
2.2.35 AT+GMM
AT+GMM
Test Command
AT+GMM=?
Response
OK
Execution
Command
AT+GMM
TA reports one or more lines of information text which permit the user to
identify the specific model of device.
<model>
OK
Parameter
<model>
Response -
Reference
V.25ter
Note
2.2.36 AT+GMR
AT+GMR
Test Command
AT+GMR=?
Response
OK
Execution
Command
AT+GMR
TA reports one or more lines of information text which permit the user to
identify the revision of software release.
Revision: <revision>
46
2013-10-23
OK
Parameter
<revision>
Response -
Reference
V.25ter
Note
2.2.37 AT+GOI
AT+GOI
Test Command
AT+GOI=?
Response
OK
Execution
Command
AT+GOI
Response
TA reports one or more lines of information text which permit the user to
identify the device, based on the ISO system for registering unique object
identifiers.
<Object Id>
OK
Parameter
<Object Id>
Response -
Reference
V.25ter
Note
2.2.38 AT+GSN
AT+GSN
Test Command
AT+GSN=?
Response
OK
Execution
Command
AT+GSN
Response
TA reports the IMEI (international mobile equipment identifier) number in
information text which permit the user to identify the individual ME device.
<sn>
47
2013-10-23
OK
Parameter
<sn>
IMEI of the telephone(International Mobile station Equipment
Identity)
Parameter Saving NO_SAVE
Mode
Max
Time
Response -
Reference
V.25ter
Note
The serial number (IMEI) is varied by individual ME device.
Response
+ICF: (list of supported <format>s),(list of supported <parity>s)
OK
Parameters
See Write Command
Read Command
AT+ICF?
Response
+ICF: <format>,<parity>
OK
Parameters
See Write Command
<parity>
1
2
3
4
5
6
0
1
3
48
2013-10-23
Mode
Max
Time
Response -
Reference
V.25ter
Note
The Command is applied for Command state;
In <format> parameter, "0 parity" means no parity;
The <parity> field is ignored if the <format> field specifies no parity and
string "+ICF: <format>,255" will be response to AT+ICF? Command.
2.2.40 AT+IFC
AT+IFC
Test Command
AT+IFC=?
Response
+IFC: (list of
<dte_by_dce>s)
supported
<dce_by_dte>s),(list
of
supported
OK
Parameters
See Write Command
Read Command
AT+IFC?
Response
+IFC: <dce_by_dte>,<dte_by_dce>
OK
Parameters
See Write Command
Write Command
AT+IFC=<dce_b
y_dte>[,<dte_by
_dce>]
Response
This parameter setting determines the data flow control on the serial
interface for data mode.
OK
Parameters
<dce_by_dte>
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 AT&W_SAVE
Mode
49
2013-10-23
Max
Time
Response -
Reference
V.25ter
Note
2.2.41 AT+IPR
AT+IPR
Test Command
AT+IPR=?
Response
+IPR: (list of supported auto detectable <rate>s),(list of supported
fixed-only <rate>s)
OK
Parameter
See Write Command
Read Command
AT+IPR?
Response
+IPR: <rate>
OK
Parameter
See Write Command
Write Command
AT+IPR=<rate>
Response
This parameter setting determines the data rate of the TA on the serial
interface. The rate of Command takes effect following the issuance of any
result code associated with the current Command line.
OK
Parameter
<rate>
Baud rate per second
0 (Auto-bauding)
1200
2400
4800
9600
19200
38400
57600
115200
Response -
Reference
V.25ter
Note
Factory setting is AT+IPR=0auto-bauding.
50
2013-10-23
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.
Restrictions on auto-bauding operation
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.
AT+IPR=0 setting to auto-bauding will take effect after module resets.
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.
Auto-bauding and baud rate after restart
The most recently detected baud rate can not be stored when module is powered down.
2.2.42 AT+HVOIC
AT+HVOIC
Execution
Command
AT+HVOIC
Response 20s
Reference
V.25ter
Note
51
2013-10-23
Description
AT+CACM
AT+CAMM
AT+CAOC
Advice of charge
AT+CBST
AT+CCFC
AT+CCWA
AT+CEER
AT+CGMI
AT+CGMM
AT+CGMR
AT+CGSN
AT+CSCS
AT+CSTA
AT+CHLD
AT+CIMI
AT+CLCC
AT+CLCK
Facility lock
AT+CLIP
AT+CLIR
AT+CMEE
AT+COLP
AT+COPS
Operator selection
AT+CPAS
AT+CPBF
AT+CPBR
AT+CPBS
AT+CPBW
AT+CPIN
Enter PIN
AT+CPWD
Change password
AT+CR
AT+CRC
AT+CREG
Network registration
AT+CRLP
52
2013-10-23
AT+CRSM
AT+CSQ
AT+FCLASS
AT+FMI
AT+FMM
AT+FMR
AT+VTD
Tone duration
AT+VTS
AT+CMUX
Multiplexer control
AT+CNUM
Subscriber number
AT+CPOL
AT+COPN
AT+CFUN
AT+CCLK
Clock
AT+CSIM
AT+CALM
AT+CALS
AT+CRSL
AT+CLVL
AT+CMUT
Mute control
AT+CPUC
AT+CCWE
AT+CBC
Battery charge
AT+CUSD
AT+CSSN
Test Command
AT+CACM=?
Response
OK
Read Command
AT+CACM?
Response
TA returns the current value of ACM.
+CACM: <acm>
OK
If error is related to ME functionality:
+CME ERROR: <err>
53
2013-10-23
Parameter
<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
Write Command
AT+CACM=<pa
sswd>
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.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<passwd>
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.2 AT+CAMM
AT+CAMM
Note
Test Command
AT+CAMM=?
Response
OK
Read Command
AT+CAMM?
Response
TA returns the current value of ACM max.
+CAMM: <acmmax>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Write Command
AT+CAMM=<ac
mmax>[,<passwd
>]
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
ERROR
54
2013-10-23
NO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.3 AT+CAOC
AT+CAOC
Note
Advice of Charge
Advice of Charge
Test Command
AT+CAOC=?
Response
+CAOC: (list of supported <mode>s)
OK
Parameters
See Write Command
Read Command
AT+CAOC?
Response
+CAOC: <mode>
OK
Parameters
See Write Command
Write Command
AT+CAOC=<mo
de>
Response
TA sets the Advice of Charge supplementary service function mode.
If <mode>=0, TA returns the current call meter value
+CAOC: <ccm>
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
55
2013-10-23
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<mode>
Response
+CAOC: <ccm>
OK
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
Note
Response
+CBST: (list of supported <speed>s),(list of supported <name>s),(list of
supported <ce>s)
OK
Parameters
See Write Command
Read Command
AT+CBST?
Response
+CBST: <speed>,<name>,<ce>
OK
Parameters
See Write Command
Write Command
AT+CBST=<spee
d>[,<name>[,<ce
>]]
Response
TA selects the bearer service <name> with data rate <speed>, and the
connection element <ce> to be used when data calls are originated.
OK
56
2013-10-23
ERROR
Parameters
<speed>
0
Auto-bauding (automatic selection of the speed; this
setting is possible in case of 3.1kHz modern and non-transparent service)
4 2400 bps (V.22bis)
5 2400 bps (V.26ter)
6 4800 bps (V.32)
7
9600 bps (V.32)
12 9600 bps (V.34)
14 14400 bps (V.34)
68 2400 bps (V.110 or X.31 flag stuffing)
70 4800 bps (V.110 or X.31 flag stuffing)
71 9600 bps (V.110 or X.31 flag stuffing)
75 14400 bps (V.110 or X.31 flag stuffing)
<name>
0
Data circuit asynchronous (UDI or 3.1 kHz modem)
4
Data circuit asynchronous (RDI)
<ce>
0
1
2
3
Parameter Saving
Mode
AT&W_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[14]
3.2.5 AT+CCFC
AT+CCFC
Transparent
Non-transparent
Both, transparent prefered
Both, non-transparent prefered
Note
GSM 02.02[1]: lists the allowed combinations of the sub parameters.
Test Command
AT+CCFC=?
Response
+CCFC: (list of supported <reason>s)
OK
Parameter
See Write Command
Write Command
AT+CCFC=<rea
son>,
<mode>[,<numb
er>
[,<type>
[,<class>[,<subad
dr>[,<satype>[,ti
Response
TA controls the call forwarding supplementary service. Registration,
erasure, activation, deactivation, and status query are supported.
Only ,<reads> and <mode> should be entered with mode (0-2,4)
If <mode>2 and Command successful
OK
If <mode>=2 and Command successful (only in connection with <reason> 0
57
2013-10-23
me]]]]]]
3)
For registered call forwarding numbers:
when <mode>=2 and command successful:
+CCFC: <status>,<class1>
[,<number>,<type>[,<subaddr>,<satype>[,<time>]]]
[<CR><LF>+CCFC: <status>,<class2>
[,<number>,<type>[,<subaddr>,<satype>[,<time>]]][]
OK
If no call forwarding numbers are registered (and therefore all classes are
inactive):
+CCFC: <status>, <class>
OK
where <status>=0 and <class>=7
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<reason>
0 Unconditional
1 Mobile busy
2 No reply
3 Not reachable
4 All call forwarding
5 All conditional call forwarding
<mode>
0 Disable
1 Enable
2 Query status
3 Registration
4 Erasure
<number>
String type (Phone number of forwarding address in format
specified by <type>)
<type>
Type of address
<subaddr> String type (subaddress of format specified by <satype>)
<satype>
Type of sub-address in integer
<class>
1 Voice (telephony)
2 Data (refers to all bearer services; with <mode>=2 this
may refer only to some bearer service if TA does not support
values 16, 32, 64 and 128)
4 Fax (facsimile services)
7 All classes
<time> 1..30 When "no reply" is enabled or queried, this gives the time
in seconds to wait before call is forwarded, default value is 20.Supported
only if it is multiples of 5.
<status>
58
2013-10-23
0
1
Not active
Active
Response 15s
Reference
3GPP TS 27.007
Note
Response
+CCWA: (list of supported <n>s)
OK
Parameter
See Write Command
Read Command
AT+CCWA?
Response
+CCWA: <n>
OK
Parameter
See Write Command
Write Command
Response
AT+CCWA=<n>[, TA controls the Call Waiting supplementary service. Activation,
<mode>[,<class>]] 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
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.
Parameters
<n>
59
2013-10-23
<mode>
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 Enable
Unsolicited result code
RING
+CCWA: <number>,<type>,<class>[,<alpha>]
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
Mode
Max
Time
Saving NO_SAVE
Response 15s
Reference
3GPP TS 27.007
3.2.7AT+CEER
AT+CEER
Note
Test Command
AT+CEER=?
Response
+CEER: (list of supported <n>s)
OK
60
2013-10-23
Parameter
See Write Command
Read Command
AT+CEER?
Response
+CEER: <n>
OK
Parameter
See Write Command
Write Command
AT+CEER=<n>
Response
OK
Parameter
<n>
0 The reason for last call release as text code
1 The reason for last call release as number code
Execution
Command
AT+CEER
Response
TA returns an extended report of the reason for the last call release.
+CEER: <report>
OK
Parameter
<report> If AT+CEER=0, return <s>
<s> a string that represents the Cause
If AT+CEER=1, return
Cause:<c>
<c>
number representing the Cause
Parameters
<c>(number) <s>(string)
0
(No cause)
1
(channel unacceptable)
16
17
(user busy)
18
19
21
(call rejected)
22
(number changed)
26
27
61
2013-10-23
28
29
(facility rejected)
30
31
(normal, unspecified)
34
38
41
(temporary failure)
42
43
44
47
49
50
55
57
58
63
68
65
69
70
available)
79
81
87
88
(incompatible destination)
91
95
96
97
98
99
100
(conditional IE error)
101
102
62
2013-10-23
111
127
(interworking, unspecified)
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.8 AT+CGMI
AT+CGMI
Note
Test Command
AT+CGMI=?
Response
OK
Execution
Command
AT+CGMI
Response
TA returns manufacturer identification text.
<manufacturer>
OK
Parameter
<manufacturer>
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.9 AT+CGMM
AT+CGMM
The ID of manufacturer
Note
Test Command
AT+CGMM=?
Response
OK
Execution
Command
AT+CGMM
Response
TA returns product model identification text.
<model>
OK
Parameter
<model>
63
2013-10-23
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.10 AT+CGMR
AT+CGMR
Note
Test Command
AT+CGMR=?
Response
OK
Execution
Command
AT+CGMR
Response
TA returns product software version identification text.
Revision: <revision>
OK
Parameter
<revision>
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.11 AT+CGSN
AT+CGSN
Note
Test Command
AT+CGSN=?
Response
OK
Execution
Command
AT+CGSN
Response
see +GSN
<sn>
OK
Parameter
<sn>
International mobile equipment identity (IMEI)
Parameter Saving
Mode
NO_SAVE
Max
Response
64
2013-10-23
Time
Reference
3GPP TS 27.007
[13]
3.2.12 AT+CSCS
AT+CSCS
Note
Test Command
AT+CSCS=?
Response
+CSCS: (list of supported <chset>s)
OK
Parameter
<chset>
Response
+CSCS: <chset>
OK
Parameter
See Test Command
Write Command
AT+CSCS=<chse
t>
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.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See Test Command
Parameter Saving
Mode
AT&W_SAVE
Max
Time
Response
65
2013-10-23
Reference
3GPP TS 27.007
[13]
Note
Response
+CSTA: (list of supported <type>s)
OK
Parameter
See Write Command
Read Command
AT+CSTA?
Response
+CSTA: <type>
OK
Parameter
<type>
Current address type setting.
Write Command
AT+CSTA=<type
>
Response
OK
If <type> is not in the parameter range:
ERROR
Parameter
<type>
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.14 AT+CHLD
AT+CHLD
Note
The ATD Command overrides this setting when a number is dialed.
Test Command
AT+CHLD=?
Response
+CHLD: (list of supported <n>s)
66
2013-10-23
OK
Parameter
See Write Command
Write Command
AT+CHLD=<n>
Response
TA controls the supplementary services Call Hold, Multiparty and Explicit
Call Transfer. Calls can be put on hold, recovered, released, added to
conversation, and transferred.
Note These supplementary services are only applicable to tele service 11
(Speech: Telephony).
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<n>
0
Releases all held calls or sets User Determined User Busy
(UDUB) for a waiting call
1
Releases all active calls (if any exist) and accepts the other
(held or waiting) call.
1x
Releases a specific call x
2
Place all active calls on hold (if any) and accept the other
(held or waiting) call.
2x Places all active calls on hold except call X with which
communication shall be supported.
3
Adds a held call to the conversation.
4
Connects the two calls and disconnects the subscriber from
both calls(ECT)
Parameter
Mode
Max
Time
Saving NO_SAVE
Response 20s
Reference
Note
3.2.15 AT+CIMI
AT+CIMI
Test Command
AT+CIMI=?
Response
OK
Execution
Command
AT+CIMI
Response
TA returns <IMSI>for identifying the individual SIM which is attached to
ME.
<IMSI>
67
2013-10-23
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<IMSI>
International Mobile Subscriber Identity (string without
double quotes)
Parameter Saving
Mode
NO_SAVE
Max Response
Time
20s
Reference
3GPP TS 27.007
[13]
Note
3.2.16 AT+CLCC
AT+CLCC
Test Command
AT+CLCC=?
Response
+CLCC: (0,1)
OK
Parameter
See Write Command
Read Command
AT+CLCC?
Response
+CLCC: <n>
OK
Parameter
See Write Command
Write Command
AT+CLCC=<n>
Response
OK
Parameter
<n>
0 Dont report a list of current calls of ME automatically
when the current call status changes.
1 Report a list of current calls of ME automatically when the
current call status changes.
Execution
Command
AT+CLCC
Response
TA returns a list of current calls of ME.
Note: If Command succeeds but no calls are available, no information
response is sent to TE.
[+CLCC: <id1>,<dir>,<stat>,<mode>,<mpty>[,<number>,<type
>,<alphaID>]
[<CR><LF>+CLCC: <id2>,<dir>,<stat>,<mode>,<mpty>
68
2013-10-23
[,<number>,<type>,<alphaID>][...]]]
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<idx>
1..7 Call identification number
This number can be used in +CHLD command operations
<dir>
0 Mobile originated (MO) call
1 Mobile terminated (MT) call
<stat>
State of the call:
0 Active
1 Held
2 Dialing (MO call)
3 Alerting (MO call)
4 Incoming (MT call)
5 Waiting (MT call)
6 Disconnect
<mode>
Bearer/tele service:
0 Voice
1 Data
2 Fax
<mpty>
0 Call is not one of multiparty (conference) call parties
1 Call is one of multiparty (conference) call parties
<number>
String type (string should be included in quotation marks)
phone number in format specified by <type>.
<type>
Type of address
<alphaId>
String type (string should be included in quotation marks)
alphanumeric representation of <number> corresponding to the entry
found in phone book.
Parameter Saving
Mode
AUTO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13][14]
3.2.17 AT+CLCK
AT+CLCK
Note
Facility Lock
Facility Lock
Test Command
AT+CLCK=?
Response
+CLCK: (list of supported <fac>s)
69
2013-10-23
OK
Parameter
See Write Command
Write Command
AT+CLCK=<fac>
,<mode>[,<passw
d>[,<class>]]
Response
This Command is used to lock, unlock or interrogate a ME or a network
facility <fac>. Password is normally needed to do such actions. When
querying the status of a network service (<mode>=2) the response line for
not active case (<status>=0) should be returned only if service is not
active for any <class>.
If <mode>2 and Command is successful
OK
If <mode>=2 and Command is successful
+CLCK: <status>[,<class1>[<CR><LF>+CLCK:
<status>,<class2>[]]
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<fac>
"AO"
BAOC (Barr All Outgoing Calls)
"OI" BOIC (Barr Outgoing International Calls)
"OX"
BOIC-exHC (Barr Outgoing International Calls
except to Home Country)
"AI" BAIC (Barr All Incoming Calls)
"IR" BIC-Roam (Barr Incoming Calls when Roaming
outside the home country)
"FD" SIM card or active application in the UICC (GSM or
USIM) fixed dialling memory feature (if PIN2 authentication has not been
done during the current session, PIN2 is required as <passwd>)
"SC"
SIM (lock SIM/UICC card) (SIM/UICC asks
password in MT power-up and when this lock command issued)
Correspond to PIN1 code.
"PN" Network Personalization, Correspond to NCK code
"PU" Network subset Personalization
Correspond to NSCK code
"PP" Service Provider Personalization
Correspond to SPCK code
<mode>
0 unlock
1 lock
2 query status
<passwd>
String type (Shall be the same as password specified for the
70
2013-10-23
7 All classes
0 Not active
1 Active
Saving NO_SAVE
Response 15s
Reference
Note
3GPP TS 27.007 CME errors if SIM not inserted or PIN is not entered.
[14]
3.2.18 AT+CLIP Calling Line Identification Presentation
AT+CLIP Calling Line Identification Presentation
Test Command
AT+CLIP=?
Response
+CLIP: (list of supported <n>s)
OK
Parameter
See Write Command
Read Command
AT+CLIP?
Response
+CLIP: <n>, <m>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Write Command
AT+CLIP=<n>
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.
71
2013-10-23
<m>
Saving NO_SAVE
Max Response
Time
15s
Reference
Note
3.2.19 AT+CLIR
AT+CLIR
Test Command
AT+CLIR=?
Response
+CLIR: (list of supported <n>s)
OK
Parameter
72
2013-10-23
Response
+CLIR: <n>, <m>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Write Command
AT+CLIR=<n>
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
opposite Command.
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.
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
Mode
Saving NO_SAVE
Max Response
Time
15s
Reference
Note
3.2.20 AT+CMEE
AT+CMEE
73
2013-10-23
Test Command
AT+CMEE=?
Response
+CMEE: (list of supported <n>s)
OK
Parameter
See Write Command
Read Command
AT+CMEE?
Response
+CMEE: <n>
OK
Parameter
See Write Command
Write Command
AT+CMEE=[<n>
]
Response
TA disables or enables the use of result code +CME ERROR: <err> as an
indication of an error relating to the functionality of the ME.
OK
If error is related to ME functionality:
+CME ERROR:<err>
Parameter
<n>
0
Disable +CME ERROR: <err> result code and use ERROR
instead.
1 Enable +CME ERROR: <err> result code and use numeric
<err>
2
Enable +CME ERROR: <err> result code and use verbose
<err> values
Parameter Saving
Mode
AT&W_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
Note
Response
+COLP: (list of supported <n>s)
OK
Parameter
See Write Command
Read Command
Response
74
2013-10-23
AT+COLP?
+COLP: <n>,<m>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Write Command
AT+COLP=<n>
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
TA):
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
<number>
String type (string should be included in quotation marks)
phone number of 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 (string should be included in quotation marks)
sub address of format specified by <satype>
<satype>
Type of sub address octet in integer format (refer GSM
04.08 [8] sub clause 10.5.4.8)
<alphaId>
String type (string should be included in quotation marks)
75
2013-10-23
Saving NO_SAVE
Response -
Reference
Note
3.2.22 AT+COPS
AT+COPS
Operator Selection
Operator Selection
Test Command
AT+COPS=?
Response
TA returns a list of quadruplets, each representing an operator present in
the network. Any of the formats may be unavailable and should then be an
empty field. The list of operators shall be in order: home network,
networks referenced in SIM, and other networks.
+COPS: (list of supported<stat>,long alphanumeric<oper>,short
alphanumeric<oper>,numeric <oper>)s[,,(list of supported <mode>s),
(list of supported <format>s)]
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Read Command
AT+COPS?
Response
TA returns the current mode and the currently selected operator. If no
operator is selected, <format> and <oper> are omitted.
+COPS: <mode>[,<format>, <oper>]
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Write Command
AT+COPS=<mo
de>,[<format>[,<
oper>]]
Response
TA forces an attempt to select and register the GSM network operator. If
the selected operator is not available, no other operator shall be selected
(except <mode>=4). The selected operator name format shall apply to
further read commands (+COPS?).
76
2013-10-23
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<stat>
<oper>
<mode>
<format>
0
1
2
3
Unknown
Operator available
Operator current
Operator forbidden
Refer to [27.007]
operator in format as per <format>
0 Automatic mode; <oper> field is ignored
1 Manual (<oper> field shall be present, and <AcT>
optionally)
2 manual deregister from network
3 set only <format> (for read Command +COPS?) - not
shown in Read Command response
4 Manual/automatic (<oper> field shall be present); if
manual selection fails, automatic mode (<mode>=0) is
entered
0 Long format alphanumeric <oper>
1 Short format alphanumeric <oper>
2 Numeric <oper>; GSM Location Area Identification
number
Parameter Saving
Mode
AUTO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[14]
3.2.23 AT+CPAS
AT+CPAS
Note
Test Command
AT+CPAS=?
Response
+CPAS: (list of supported <pas>s)
OK
Parameter
See Execution Command
Execution
Command
AT+CPAS
Response
TA returns the activity status of ME.
+CPAS: <pas>
77
2013-10-23
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<pas>
0 Ready (MT allows commands from TA/TE)
2 Unknown (MT is not guaranteed to respond to
tructions)
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,
a call is in progress)
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
Note
Response
+CPBF: maximum length of field <nlength>,maximum length of field
<tlength>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Write Command
Response
AT+CPBF=[<find TA returns phone book entries (from the current phone book memory
storage selected with +CPBS) which contains alphanumeric string
text>]
<findtext>.
[+CPBF:<index1>,<number>,<type>,<text>]
[[]<CR><LF>+CBPF:<index2>,<number>,<type>,<text>]
OK
Parameters
<findtext>
String type(string should be included in quotation marks)
field of maximum length <tlength> in current TE character set specified by
78
2013-10-23
+CSCS.
<index1>
Integer type values in the range of location numbers of
phone book memory
<index2>Integer type values in the range of location numbers of phone
book memory
<number> String type (string should be included in quotation marks)
phone number of format <type>
<type>
Type of address octet in integer format ;
129 Unknown type
145 International number type
<text> String type (string should be included in quotation marks) field
of maximum length <tlength> in current TE character set specified by
+CSCS.
<nlength>
Integer type value indicating the maximum length of field
<number>
<tlength>
Integer type value indicating the maximum length of field
<text>
Parameter
Mode
Max
Time
Saving NO_SAVE
Response 30 seconds (complete reading of a 250 records full phonebook)
3 seconds(string present in a 250 records full phonebook)
1 second(string not present)
We use the China Mobile sim cards for testing, which produced by Axalto
at 2010 for Shanghai. Use other sim cards may have different results.
Reference
Note
3GPP TS 27.007
[13]
3.2.25 AT+CPBR
AT+CPBR
Test Command
AT+CPBR=?
Response
TA returns location range supported by the current storage as a compound
value and the maximum lengths of <number> and <text> fields.
+CPBR: (list of supported <index>s), <nlength>, <tlength>
OK
Parameters
<index>
<nlength>
<tlength>
Location number
Max. length of phone number
Max. length of text for number
Write Command
Response
AT+CPBR=<inde TA returns phone book entries in location number range <index1>...
79
2013-10-23
x1>[,<index2>]
<index2> from the current phone book memory storage selected with
+CPBS. If <index2> is left out, only location <index1> is returned.
+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
Mode
Max
Time
Saving NO_SAVE
Response 3 seconds (single reading)
30 seconds (complete reading of a 250 records full phonebook.
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]
3.2.26 AT+CPBS
AT+CPBS
Test Command
AT+CPBS=?
Response
+CPBS: (list of supported <storage>s)
OK
Parameter
See Write Command
Read Command
AT+CPBS?
Response
+CPBS: <storage>,<used>,<total>
OK
Parameters
See Write Command
Write Command
Response
AT+CPBS=<stora TA selects current phone book memory storage, which is used by other
phone book commands.
ge>
OK
80
2013-10-23
Parameters
<storage>
<used>
<total>
Parameter
Mode
Max
Time
"ON"
SIM (or MT) own numbers (MSISDNs) list
(reading of this storage may be available through +CNUM
also). When storing information in the SIM/UICC, if a SIM
card is present or if a UICC with an active GSM application
is present, the information in EFMSISDN under
DFTelecom is selected.
"SM" SIM/UICC phonebook. If a SIM card is present or
if a UICC with an active GSM application is present, the
EFADN under DFTelecom is selected.
"ME" ME phonebook
Integer type value indicating the total number of used
locations in selected memory
Integer type value indicating the total number of locations
in selected memory
Saving NO_SAVE
Response 3 seconds
Reference
Note
3GPP TS 27.007
[13]
3.2.27 AT+CPBW Write Phonebook Entry
AT+CPBW Write Phonebook Entry
Test Command
AT+CPBW=?
Response
TA returns location range supported by the current storage, the maximum
length of <number> field, supported number formats of the storage, and
the maximum length of <text> field.
+CPBW: (list of supported <index>s), <nlength>, (list of supported
<type>s), <tlength>
OK
Parameters
See Write Command
Write Command
AT+CPBW=<inde
x>[,<number>,[<t
ype>,[<text>]]]
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 the number. If those fields are omitted, phone book entry is deleted. If
<index> is left out, but <number> is given, entry is written to the first free
81
2013-10-23
Saving NO_SAVE
Response 3 seconds
Reference
Note
3GPP TS 27.007
[13]
3.2.28 AT+CPIN
AT+CPIN
Enter PIN
Enter PIN
Test Command
AT+CPIN=?
Response
OK
Read Command
AT+CPIN?
Response
TA returns an alphanumeric string indicating whether some password is
required or not.
+CPIN: <code>
OK
82
2013-10-23
Parameter
<code>
READY
MT is not pending for any password
SIM PIN
MT is waiting SIM PIN to be given
SIM PUK
MT is waiting for SIM PUK to be given
PH_SIM PIN ME is waiting for phone to SIM card (antitheft)
PH_SIM PUK ME is waiting for SIM PUK (antitheft)
SIM PIN2
PIN2, e.g. for editing the FDN book possible only
if preceding Command was acknowledged with +CME
ERROR:17
SIM PUK2 Possible only if preceding Command was
acknowledged with error +CME ERROR: 18.
Write Command
Response
AT+CPIN=<pin>[ TA stores a password which is necessary before it can be operated (SIM
PIN, SIM PUK, PH-SIM PIN, etc.).
,<new pin>]
If the PIN required is SIM PUK or SIM PUK2, the second pin is required.
This second pin, <new pin>, is used to replace the old pin in the SIM.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<pin>
String type; password
<new pin>
String type; If the PIN required is SIM PUK or SIMPUK2:
new password
Parameter
Mode
Max
Time
Saving NO_SAVE
Response 5s
Reference
Note
3GPP TS 27.007
[13]
3.2.29 AT+CPWD
AT+CPWD
Change Password
Change Password
Test Command
AT+CPWD=?
Response
TA returns a list of pairs which present the available facilities and the
maximum length of their password.
+CPWD: (list of supported <fac>s, list of supported <pwdlength>s)
OK
Parameters
<fac>
<pwdlength>
2013-10-23
Write Command
AT+CPWD =
<fac>, <oldpwd>,
<newpwd>
Response
TA sets a new password for the facility lock function.
OK
Parameters
<fac>
"AO"
BAOC (Barr All Outgoing Calls)
"OI" BOIC (Barr Outgoing International Calls)
"OX"
BOIC-exHC (Barr Outgoing International Calls
except to Home Country)
"AI" BAIC (Barr All Incoming Calls)
"IR" BIC-Roam (Barr Incoming Calls when Roaming
outside the home country)
"AB" All Barring services
"P2" SIM PIN2
"SC" SIM (lock SIM/UICC card) (SIM/UICC asks password
in MT power-up and when this lock command issued) Correspond to PIN1
code.
<oldpwd>
String type (string should be included in quotation marks):
password specified for the facility from the user interface or with
command. If an old password has not yet been set, <oldpwd> is not to
enter.
<newpwd>
String type (string should be included in quotation marks):
new password
Parameter
Mode
Max
Time
Saving NO_SAVE
Response 15s
Reference
Note
3GPP TS 27.007
[13]
3.2.30 AT+CR
AT+CR
Test Command
AT+CR=?
Response
+CR: (list of supported <mode>s)
OK
Parameter
See Write Command
Read Command
AT+CR?
Response
+CR: <mode>
OK
84
2013-10-23
Parameter
See Write Command
Write Command
AT+CR=[<mode
>]
Response
TA controls whether or not intermediate result code +CR: <serv> is
returned from the TA to the TE at a call set up.
OK
Parameter
<mode>
0 Disable
1 Enable
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.31 AT+CRC
AT+CRC
ASYNC
Asynchronous transparent
SYNC
Synchronous transparent
REL ASYNC Asynchronous non-transparent
REL SYNC
Synchronous non-transparent
GPRS
For GPRS
Note
Test Command
AT+CRC=?
Response
+CRC: (list of supported <mode>s)
OK
Parameter
See Write Command
Read Command
AT+CRC?
Response
+CRC: <mode>
OK
85
2013-10-23
Parameter
See Write Command
Write Command
AT+CRC=[<mod
e>]
Response
TA controls whether or not the extended format of incoming call
indication is used.
OK
Parameter
<mode>
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
ASYNC
SYNC
REL ASYNC
REL SYNC
FAX
VOICE
Asynchronous transparent
Synchronous transparent
Asynchronous non-transparent
Synchronous non-transparent
Facsimile
Voice
Note
Response
+CREG: (list of supported <n>s)
OK
Parameter
See Write Command
Read Command
AT+CREG?
Response
TA returns the status of result code presentation and an integer <stat>
which shows whether the network has currently indicated the registration
of the ME. Location information elements <lac> and <ci> are returned
only when <n>=2 and ME is registered in the network.
+CREG: <n>,<stat>[,<lac>,<ci>]
86
2013-10-23
OK
If error is related to ME functionality:
+CME ERROR: <err>
Write Command
AT+CREG=[<n>
]
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>
AT&W_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
Note
87
2013-10-23
Response
TA returns values supported. RLP versions 0 and 1 share the same
parameter set.
+CRLP: (list of supported <iws>s),(list of supported <mws>s),(list of
supported <T1>s),(list of supported <N2>s),(list of supported <T4>s)
OK
Parameters
See Write Command
Read Command
AT+CRLP?
Response
TA returns current settings for RLP version.
the same parameter set.
+CRLP: <iws>,<mws>,<T1>,<N2>,<T4>
OK
Parameters
See Write Command
Write Command
AT+CRLP=<iws
>[,<mws>[,<T1>[
,<N2> [,<T4>]]]]
Response
TA sets radio link protocol (RLP) parameters used when non-transparent
data calls are setup.
OK
Parameters
<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
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.34 AT+CRSM
AT+CRSM
Test Command
AT+CRSM=?
Response
OK
88
2013-10-23
Write Command
AT+CRSM=<Co
mmand>[,<fileId
>[,<P1>,<P2>,<P
3>[,<data>]]]
Response
+CRSM: <sw1>, <sw2> [,<response>]
OK
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
220 UPDATE RECORD
242 STATUS
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
Time
Response
Reference
3GPP TS 27.007
GSM 11.11
3.2.35 AT+CSQ
AT+CSQ
Note
Test Command
AT+CSQ=?
Response
+CSQ: (list of supported <rssi>s),(list of supported <ber>s)
89
2013-10-23
OK
Execution
Command
AT+CSQ
Response
+CSQ: <rssi>,<ber>
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.
Parameters
<rssi>
<ber>
0
-115 dBm or less
1
-111 dBm
2...30
-110... -54 dBm
31
-52 dBm or greater
99
not known or not detectable
(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
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.36 AT+FCLASS
AT+FCLASS
Note
Test Command
AT+FCLASS=?
Response
+FCLASS: (list of supported <class>s)
OK
Parameter
See Write Command
Read Command
AT+FCLASS?
Response
+FCLASS: <class>
OK
Parameter
90
2013-10-23
Saving AT&W_SAVE
Response -
Reference
Note
3GPP TS 27.007 Available only in SIM800V
[13]
3.2.37 AT+FMI
AT+FMI
Test Command
AT+FMI=?
Response
OK
Execution
Command
AT+FMI
Response
TA reports one or more lines of information text which permit the user to
identify the manufacturer.
<manufacturer Id>
OK
Parameter
<manufacturer Id>
Parameter
Mode
Max
Time
The ID of manufacturer
Saving NO_SAVE
Response -
Reference
EIA/TIA-578-D
3.2.38 AT+FMM
AT+FMM
Note
Available only in SIM800V
FAX: Report Model ID
91
2013-10-23
Test Command
AT+FMM=?
Response
OK
Execution
Command
AT+FMM
Response
TA reports one or more lines of information text which permit the user to
identify the specific model of device.
<model Id>
OK
Parameter
<model Id>
Parameter
Mode
Max
Time
The ID of model
Saving NO_SAVE
Response -
Reference
EIA/TIA-578-D
3.2.39 AT+FMR
AT+FMR
Note
Available only in SIM800V
FAX: Report Revision ID
Test Command
AT+FMR=?
Response
OK
Execution
Command
AT+FMR
Response
TA reports one or more lines of information text which permit the user to
identify the version, revision level or data or other information of the
device.
Revision:<Revision Id>
OK
Parameter
<Revision Id>
of the device.
Parameter
Mode
Max
Time
Saving NO_SAVE
Response -
Reference
EIA/TIA-578-D
3.2.40 AT+VTD
AT+VTD
Note
Available only in SIM800V
Tone Duration
Tone Duration
92
2013-10-23
Test Command
AT+VTD=?
Response
+VTD: (list of supported <n>s)
OK
Parameter
See Write Command
Read Command
AT+VTD?
Response
+VTD: <n>
OK
Parameter
See Write Command
Write Command
AT+VTD=<n>
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
command.
OK
Parameter
<n>
1-255
Parameter Saving
Mode
AT&W_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.41 AT+VTS
AT+VTS
Note
Test Command
AT+VTS=?
Response
+VTS: (list of supported <dtmf>s),(list of supported <duration>s)
OK
Parameters
See Write Command
Write Command
Generate
tone
Duration is set by
+VTD
AT+VTS=<dtmfstring>
Response
This Command allows the transmission of DTMF tones and arbitrary
tones in voice mode. These tones may be used (for example) when
announcing the start of a recording period.
Note: D is used only for dialing.
OK
If error is related to ME functionality:
93
2013-10-23
NO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.42 AT+CMUX
AT+CMUX
Note
Multiplexer Control
Multiplexer Control
Test Command
AT+CMUX=?
Response
+CMUX: (0)
OK
Parameters
See Write Command
Read Command
AT+CMUX?
Response:
+CMUX:[<mode>[,<subset>[,<port_speed>[,<N1>[,<T1>[,<N2>[,<T2
>[,<T3>[,<k>]]]]]]]]]
OK
ERROR
Parameters
<mode>
94
2013-10-23
2
3
4
5
6
7
19200 bits/t
38400 bits/t
57600 bits/t
115200 bit/s
230400 bits/t
460800 bits/t
Proprietary values, available if MUX NEW PORT
SPEED FTR is activated
8 921600 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
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
Write Command
AT+CMUX=<mo
de>
Response
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<mode>
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
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:
Channel Number
Type
DLCI
None
Multiplexer Control
0
1
3GPP TS 27.007 and 005
1
95
2013-10-23
2
3
4
3.2.43 AT+CNUM
AT+CNUM
2
3
4
Subscriber Number
Subscriber Number
Test Command
AT+CNUM=?
Response
OK
Execution
Command
AT+CNUM
Response
+CNUM: [<alpha1>],<number1>,<type1>[,<speed>,<service>]
[<CR><LF>+CNUM:[<alpha2>],<number2>,<type2>[,<speed>,<serv
ice>]
[...]]
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<alphax>
Optional alphanumeric string associated with <numberx>;
used character set should be the one selected with Command Select TE
Character Set +CSCS
<numberx> String type (string should be included in quotation marks)
phone number of format specified by <typex>
<typex>
Type of address octet in integer format (refer GSM04.08[8]
subclause 10.5.4.7)
<speed>
As defined by the +CBST Command
<service>
(service related to the phone number:)
0
Asynchronous modem
1
Synchronous modem
2
PAD Access (asynchronous)
3
Packet Access (synchronous)
4
Voice
5
Fax
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
Note
96
2013-10-23
Response
+CPOL: (list of supported <index>s),(list of supported <format>s)
OK
Parameters
See Write Command
Read Command
AT+CPOL?
Response
+CPOL: <index1>,<format>,<oper1>
[<CR><LF>+CPOL: <index2>,<format>,<oper2>[]]
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Write Command
AT+CPOL=<ind
ex>[,<format>,<o
per>]
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<index>
Integer type: order number of operator in SIM preferred
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
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.45 AT+COPN
AT+COPN
Note
Test Command
AT+COPN=?
Response
OK
97
2013-10-23
Execution
Command
AT+COPN
Response
+COPN: <numeric1>,<alpha1>
[<CR><LF>+COPN: <numeric2>,<alpha2>
[]]
OK
If error is related to ME functionality:
+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
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.46 AT+CFUN
AT+CFUN
Note
Test Command
AT+CFUN=?
Response
+CFUN: (list of supported <fun>s),(list of supported <rst>s)
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Read Command
AT+CFUN?
Response
+CFUN: <fun>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Write Command
AT+CFUN=<fun
>[,<rst>]
Response
OK
If error is related to ME functionality:
98
2013-10-23
<rst>
0
1
4
1
Parameter Saving
Mode
AUTO_SAVE
Max
Time
10s
Response
Reference
3GPP TS 27.007
[13]
3.2.47 AT+CCLK
AT+CCLK
Minimum functionality
Full functionality (Default)
Disable phone both transmit and receive RF circuits.
Reset the MT before setting it to <fun> power level.
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
functionality.
AT+CFUN=1,1 can be used to reset module purposely at minimum/full
functionality mode.
Response string "OK" will be returned after module resets if baud rate is
set to fixed baud rate.
Clock
Clock
Test Command
AT+CCLK=?
Response
OK
Read Command
AT+CCLK?
Response
+CCLK: <time>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See Write Command
Write Command
AT+CCLK=<tim
e>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<time>
String type(string should be included in quotation marks)
value; format is "yy/MM/dd,hh:mm:sszz", where characters indicate
year (two last digits),month, day, hour, minutes, seconds and time zone
(indicates the difference, expressed in quarters of an hour, between the
local time and GMT; range -47...+48). E.g. 6th of May 2010, 00:01:52
99
2013-10-23
AUTO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.48 AT+CSIM
AT+CSIM
Note
Only time zone is auto saved.
Test Command
AT+CSIM=?
Response
OK
Write Command
AT+CSIM=<leng
th>,<Command>
Response
+CSIM: <length>,<response>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<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
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.49 AT+CALM
AT+CALM
Note
Test Command
AT+CALM=?
Response
+CALM: (list of supported <mode>s)
100
2013-10-23
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See Write Command
Read Command
AT+CALM?
Response
+CALM: <mode>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See Write Command
Write Command
AT+CALM=<mo
de>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<mode>
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.50 AT+CALS
AT+CALS
0 Normal mode
1 Silent mode (all sounds from ME are prevented)
Note
If CALM is set to silent mode before, when user sets CALM to normal
mode during an incoming call, the module maintains silent this time. But
next time the normal mode works.
Alert Sound Select
Test Command
AT+CALS=?
Response
+CALS: (list of supported <n>s)
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See Write Command
Read Command
Response
101
2013-10-23
AT+CALS?
+CALS: <n>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See Write Command
Write Command
AT+CALS=<n>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<n>
0-19 Alert sound type
Parameter Saving
Mode
AT&W_SAVE
Max
Time
Response
Reference
Note
Response
+CRSL: (list of supported <level>s)
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See Write Command
Read Command
AT+CRSL?
Response
+CRSL: <level>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See Write Command
Write Command
AT+CRSL=<leve
l>
Response
OK
If error is related to ME functionality:
102
2013-10-23
Saving AUTO_SAVE
Response -
Reference
3GPP TS 27.007
[13]
Note
Response
+CLVL: (list of supported <level>s)
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See Write Command
Read Command
AT+CLVL?
Response
+CLVL: <level>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See Write Command
Write Command
AT+CLVL=<leve
l>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<level>
0-100 Integer type value with manufacturer specific range
(smallest value represents the lowest sound level).
Parameter
Mode
Max
Time
Saving AUTO_SAVE
Response -
Reference
Note
103
2013-10-23
3GPP TS 27.007
[13]
3.2.53 AT+CMUT Mute Control
AT+CMUT Mute Control
Test Command
AT+CMUT=?
Response
+CMUT: (list of supported <n>s)
OK
Parameter
See Write Command
Read Command
AT+CMUT?
Response
+CMUT: <n>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See Write Command
Write Command
AT+CMUT=<n>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<n>
0 Mute off
1 Mute on
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.54 AT+CPUC
AT+CPUC
Note
Only during a call this command can be set successfully.
Test Command
AT+CPUC=?
Response
OK
Read Command
AT+CPUC?
Response
+CPUC: <currency>,<ppu>
104
2013-10-23
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Write Command
AT+CPUC=<cur
rency>,<ppu>[,<
passwd>]
Response
OK
+CME ERROR: <err>
Parameter Saving
Mode
NO_SAVE
Max Response
Time
5s
Reference
3GPP TS 27.007
[13]
Note
3.2.55 AT+CCWE
AT+CCWE
Parameters
<currency> String type (string should be included in quotation marks);
three-character currency code (e.g. "GBP", "DEM");
character set as specified by Command Select TE
Character Set +CSCS
<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
Test Command
AT+CCWE=?
Response
+CCWE: (list of supported <mode>s)
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See Write Command
Read Command
AT+CCWE?
Response
+CCWE: <mode>
OK
If error is related to ME functionality:
+CME ERROR: <err>
105
2013-10-23
Parameter
See Write Command
Write Command
AT+CCWE=<m
ode>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<mode>
0
1
NO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.56 AT+CBC
AT+CBC
Note
3GPP TS 27.007 specifies 30 seconds, so SIMCom deviates from the
specification.
Battery Charge
Battery Charge
Test Command
AT+CBC=?
Response
+CBC: (list of supported <bcs>s),(list of supported <bcl>s),(<voltage>)
OK
Parameters
See Execution Command
Execution
Command
AT+CBC
Response
+CBC: <bcs>, <bcl>,<voltage>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<bcs>
Charge status
0 ME is not charging
1 ME is charging
2 Charging has finished
106
2013-10-23
<bcl>
vent
<voltage>
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.57 AT+CUSD
AT+CUSD
Note
This command depends on hardware and only be used when battery is
charging.
Unstructured Supplementary Service Data
Test Command
AT+CUSD=?
Response
+CUSD: (list of supported <n>s)
OK
Parameter
See Write Command
Read Command
AT+CUSD?
Response
+CUSD: <n>
OK
Parameter
See Write Command
Write Command
AT+CUSD=<n>[,
<str>[,<dcs>]]
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<n> A numeric parameter which indicates control of the unstructured
supplementary service data
0 disable the result code presentation in the TE
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
107
2013-10-23
Max
Time
Response
Reference
GSM 03.38 [25]
3.2.58 AT+CSSN
AT+CSSN
Note
When ussd is not suport or return error,TE will print +CUSD:4.
Supplementary Services Notification
Test Command
AT+CSSN=?
Response
+CSSN: (list of supported <n>s),(list of supported <m>s)
OK
Parameters
See Write Command
Read Command
AT+CSSN?
Response
+CSSN: <n>,<m>
OK
Parameters
See Write Command
Write Command
AT+CSSN=<n>[,
<m>]
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
4 This is a CUG call (also <index> present)
5 Outgoing calls are barred
6
Incoming calls are barred
7 CLIR suppression rejected
108
2013-10-23
<index>
<code2>
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
Time
Response
Reference
Note
109
2013-10-23
Description
AT+CMGD
AT+CMGF
AT+CMGL
AT+CMGR
AT+CMGS
AT+CMGW
AT+CMSS
AT+CNMI
AT+CPMS
AT+CRES
AT+CSAS
AT+CSCA
AT+CSCB
AT+CSDH
AT+CSMP
AT+CSMS
Test Command
AT+CMGD=?
Response
+CMGD: (list of supported <index>s),(list of supported <delflag>s)
OK
Parameters
See Write Command
Write Command
AT+CMGD=<in
dex>[,<delflag>]
Response
TA deletes message from preferred message storage <mem1> location
<index>.
OK
110
2013-10-23
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
<delflag> 0 Delete the message specified in <index>
1
Delete all read messages from preferred message storage,
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 NO_SAVE
Mode
Max
Time
Reference
3GPP TS 27.005
Note
Response
+CMGF: (list of supported <mode>s)
OK
Parameter
See Write Command
Read Command
AT+CMGF?
Response
+CMGF: <mode>
OK
Parameter
See Write Command
Write Command
Response
111
2013-10-23
AT+CMGF=[<m TA sets parameter to denote which input and output format of messages to
use.
ode>]
OK
Parameter
<mode>
0 PDU mode
1 Text mode
Response -
Reference
3GPP TS 27.005
Note
Response
+CMGL: (list of supported <stat>s)
OK
Parameter
See Write Command
112
2013-10-23
113
2013-10-23
114
2013-10-23
<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)
<tooa>
GSM 04.11 TP-Originating-Address Type-of-Address octet in
integer format (default refer<toda>)
Execution
Command
AT+CMGL
1) If text mode:
the same as AT+CMGL="REC UNREAD", received unread messages
2) If PDU mode:
the same as AT+CMGL=0, received unread messages
See more messages please refer to Write Command.
Parameters
See Write Command
Reference
3GPP TS 27.005
4.2.4 AT+CMGR
AT+CMGR
Note
Test Command
AT+CMGR=?
Response
OK
Write Command
AT+CMGR=<in
dex>[,<mode>]
Parameters
<index>
Integer type; value in the range of location numbers supported
by the associated memory
<mode>
0 Normal
1 Not change status of the specified SMS record
Response
TA returns SMS message with location value <index> from message storage
<mem1> to the TE. If status of the message is 'received unread', status in the
storage changes to 'received read'.
1) If text mode (+CMGF=1) and Command successful:
for SMS-DELIVER:
+CMGR: <stat>,<oa>[,<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>
,<sca>,<tosca>,<length>]<CR><LF><data>
for SMS-SUBMIT:
+CMGR: <stat>,<da>[,<alpha>][,<toda>,<fo>,<pid>,<dcs>[,<vp>]
,<sca>,<tosca>,<length>]<CR><LF><data>
for SMS-STATUS-REPORTs:
115
2013-10-23
+CMGR: <stat>,<fo>,<mr>[,<ra>][,<tora>],<scts>,<dt>,<st>
for SMS-COMMANDs:
+CMGR: <stat>,<fo>,<ct>[,<pid>[,<mn>][,<da>][,<toda>]
,<length><CR><LF><cdata>]
for CBM storage:
+CMGR: <stat>,<sn>,<mid>,<dcs>,<page>,<pages><CR><LF><data>
2) If PDU mode (+CMGF=0) and Command successful:
+CMGR: <stat>[,<alpha>],<length><CR><LF><pdu>
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 3GPP TS 27.007): ME/TA converts GSM alphabet into
116
2013-10-23
117
2013-10-23
<tooa>
GSM 04.11 TP-Originating-Address Type-of-Address octet
in integer format (default refer<toda>)
<tosca>
GSM 04.11 RP SC address Type-of-Address octet in integer
format (default refer <toda>)
<vp>
Depending on SMS-SUBMIT <fo> setting: GSM 03.40
TP-Validity-Period either in integer format (default 167) or in time-string
format (refer <dt>)
Parameter Saving NO_SAVE
Mode
Max
Time
Response 5s
Reference
3GPP TS 27.005
4.2.5 AT+CMGS
AT+CMGS
Note
Test Command
AT+CMGS=?
Response
OK
Write Command
1) If text mode
(+CMGF=1):
+CMGS=<da>[,
<toda>]
<CR>text
is
entered
<ctrl-Z/ESC>
ESC quits without
sending
Parameters
<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)
<length>
Integer type value (not exceed 160 bytes) indicating in the
text mode (+CMGF=1) the length of the message body <data> (or
2) If PDU mode <cdata>) in characters; or in PDU mode (+CMGF=0), the length of the
(+CMGF=0):
actual TP data unit in octets (i.e. the RP layer SMSC address octets are not
+CMGS=<length counted in the length)
>
Response
<CR>PDU is
TA sends message from a TE to the network (SMS-SUBMIT). Message
given
reference value <mr> is returned to the TE on successful message delivery.
<ctrl-Z/ESC>
Optionally (when +CSMS <service> value is 1 and network supports)
<scts> is returned. Values can be used to identify message upon unsolicited
delivery status report result code.
1) If text mode(+CMGF=1) and sending successful:
+CMGS: <mr>
OK
2) If PDU mode(+CMGF=0) and sending successful:
118
2013-10-23
+CMGS: <mr>
OK
3)If error is related to ME functionality:
+CMS ERROR: <err>
Parameter
<mr>
GSM 03.40 TP-Message-Reference in integer format
Parameter Saving NO_SAVE
Mode
Max
Time
Response 60s
Reference
3GPP TS 27.005
Note
z In text mode, the maximum length of an SMS depends on the used
coding scheme: It is 1024 characters if the 7 bit GSM coding scheme is
used.
z Reject incoming call when sending messages.
Response
OK
Write Command
1) If text mode
(+CMGF=1):
AT+CMGW=<o
a/da>[,<tooa/tod
a>][,<stat>]
<CR> text is
entered
<ctrl-Z/ESC>
<ESC> quits
without sending
Response
TA transmits SMS message (either SMS-DELIVER or SMS-SUBMIT)
from TE to memory storage <mem2>. Memory location <index> of the
stored message is returned. By default message status will be set to 'stored
unsent', but parameter <stat> allows also other status values to be given.
2) If PDU mode
(+CMGF=0):
AT+CMGW=<le
ngth>[,<stat>]
<CR>PDU is
given
<ctrl-Z/ESC>
Parameters
<oa>
GSM 03.40 TP-Originating-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 <tooa>
<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
If writing is successful:
+CMGW: <index>
OK
If error is related to ME functionality:
+CMS ERROR: <err>
119
2013-10-23
Response
TA transmits SMS message (either SMS-DELIVER or SMS-SUBMIT)
from TE to memory storage <mem2>. Memory location <index> of the
stored message is returned. By default message status will be set to 'stored
unsent', but parameter <stat> allows also other status values to be given.
If writing is successful:
+CMGW: <index>
OK
If error is related to ME functionality:
+CMS ERROR: <err>
120
2013-10-23
Max
Time
Response 5s
Reference
3GPP TS 27.005
4.2.7 AT+CMSS
AT+CMSS
Note
Test Command
AT+CMSS=?
Response
OK
Write Command
AT+CMSS=<ind
ex>[,<da>,<toda
>]
Response
TA sends message with location value <index> from message storage
<mem2> to the network (SMS-SUBMIT). If new recipient address <da> is
given, it shall be used instead of the one stored with the message. Reference
value <mr> is returned to the TE on successful message delivery. Values can
be used to identify message upon unsolicited delivery status report result
code.
1) If text mode(+CMGF=1) and sending successful:
+CMSS: <mr>
OK
2) If PDU mode(+CMGF=0) and sending successful:
+CMSS: <mr>
OK
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
Response 60s
Reference
Note
121
2013-10-23
3GPP TS 27.005
4.2.8 AT+CNMI
AT+CNMI
Test Command
AT+CNMI=?
Response
+CNMI: (list of supported <mode>s),(list of supported <mt>s),(list of
supported <bm>s),(list of supported <ds>s),(list of supported <bfr>s)
OK
Parameters
See Write Command
Read Command
AT+CNMI?
Response
+CNMI: <mode>,<mt>,<bm>,<ds>,<bfr>
OK
Parameters
See Write Command
Write Command
AT+CNMI=<mo
de>[,<mt>[,<bm
>[,<ds>[,<bfr>]]]
]
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
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.
2
Buffer unsolicited result codes in the TA when TA-TE
link is reserved (e.g. in on-line data mode) and flush them to the TE after
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.
122
2013-10-23
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> 13 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: <length><CR><LF><pdu>
If <mt>=2 (text mode enabled):
+CMT: <oa>, <scts>[, <tooa>, <fo>, <pid>, <dcs>, <sca>, <tosca>,
<length>]<CR><LF><data>
123
2013-10-23
Response -
Reference
3GPP TS 27.005
4.2.9 AT+CPMS
AT+CPMS
Note
Test Command
AT+CPMS=?
Response
+CPMS: (list of supported <mem1>s),(list of supported <mem2>s),(list of
supported <mem3>s)
OK
Parameters
See Write Command
Read Command
AT+CPMS?
Response
+CPMS: <mem1>,<used1>,<total1>,<mem2>,<used2>,<total2>,
<mem3>,<used3>,<total3>
OK
ERROR
Parameters
See Write Command
Write Command
AT+CPMS=
<mem1>[,<mem
2>[,<mem3>]]
Response
TA selects memory storages <mem1>, <mem2> and <mem3> to be used for
reading, writing, etc.
+CPMS: <used1>,<total1>,<used2>,<total2>,<used3>,<total3>
OK
124
2013-10-23
ERROR
Parameters
<mem1>
Response -
Reference
3GPP TS 27.005
4.2.10 AT+CRES
AT+CRES
Note
Test Command
AT+CRES=?
Response
+CRES: (list of supported <profile>s)
OK
Parameter
See Write Command
125
2013-10-23
supported by the storage (e.g. (U)SIM SMS parameters) and therefore can
not be restored.
OK
ERROR
Parameter
<profile>
Execution
Command
AT+CRES
Response
Same as AT+CRES=0.
OK
If error is related to ME functionality:
+CMS ERROR <err>
Response 5s
Reference
3GPP TS 27.005
4.2.11 AT+CSAS
AT+CSAS
Note
Test Command
AT+CSAS=?
Response
+CSAS: (list of supported <profile>s)
OK
Parameter
See Write Command
0
1
2
3
126
2013-10-23
Execution
Command
AT+CSAS
Response
Same as AT+CSAS=0
OK
If error is related to ME functionality:
+CMS ERROR <err>
Response 5s
Reference
3GPP TS 27.005
Note
Response
OK
Read Command
AT+CSCA?
Response
+CSCA: <sca>,<tosca>[,<scaAlpha>]
OK
Parameters
See Write Command
Write Command
AT+CSCA=
<sca>[,<tosca>]
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.
Note: The Command writes the parameters in NON-VOLATILE memory.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<sca>
GSM 04.11 RP SC 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 <tosca>
<tosca>
Service center address format GSM 04.11 RP SC address
Type-of-Address octet in integer format (default refer <toda>)
<scaAlpha>
String type(string should be included in quotation
127
2013-10-23
marks)
Service center address alpha data
Parameter Saving NO_SAVE
Mode
Max
Time
Response 5s
Reference
3GPP TS 27.005
4.2.13 AT+CSCB
AT+CSCB
Note
Test Command
AT+CSCB=?
Response
+CSCB: (list of supported <mode>s)
OK
Parameter
See Write Command
Read Command
AT+CSCB?
Response
+CSCB: <mode>,<mids>,<dcss>
OK
Parameters
See Write Command
Write Command
AT+CSCB=<mo
de>[,<mids>[,<d
css>]]
Response
TA selects which types of CBMs are to be received by the ME.
Note: The Command writes the parameters in NON-VOLATILE memory.
OK
If error is related to ME functionality:
+CMS ERROR: <err>
Parameters
<mode>
accepted
accepted.
<mids>
String type (string should be included in quotation marks); all
different possible combinations of CBM message identifiers (refer <mid>)
(default is empty string); e.g. "0,1,5,320,922". Total 15 different <mids>
values can be supported. <mids> values cannot be written consecutively,
such as "100-200"
<dcss>
String type(string should be included in quotation marks); all
different possible combinations of CBM data coding schemes (refer <dcs>)
128
2013-10-23
(default is empty string); e.g. "0,5". Total 5 different <dcss> values can be
supported. <dcss> values cannot be written consecutively, such as "0-5".
Parameter Saving NO_SAVE
Mode
Max
Time
Response -
Reference
3GPP TS 27.005
4.2.14 AT+CSDH
AT+CSDH
Note
AT+CSCB=0 will reset <mids> and <dcss> and select no <mids> and no
<dcss>.
AT+CSCB=1 means all <dcss> are accepted but this command has no effect
on the list of the <mids> accepted. "0-255" means all <dcss> are accepted.
AT+CSCB=0, <mids> will add the <mids> values in the <mids> current list
handled by module.
AT+CSCB=0, ,<dcss> will add the <dcss> values in the <dcss> current list
handled by module.
If AT+CSCB=0, <mids> is received while the list of <mids> is full, OK is
returned and new value is not added.
Show SMS Text Mode Parameters
Test Command
AT+CSDH=?
Response
+CSDH: (list of supported <show>s)
OK
Parameter
See Write Command
Read Command
AT+CSDH?
Response
+CSDH: <show>
OK
Parameter
See Write Command
Write Command
AT+CSDH=[<sh
ow>]
Response
TA determines whether detailed header information is shown in text mode
result codes.
OK
Parameter
<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
129
2013-10-23
Response -
Reference
3GPP TS 27.005
Note
Response
+CSMP: (list of supported <fo>s),(list of supported <vp>s),(list of
supported <pid>s),(list of supported <dcs>s)
OK
Parameters
See Write Command
Read Command
AT+CSMP?
Response
+CSMP: <fo>,<vp>,<pid>,<dcs>
OK
Parameters
See Write Command
Write Command
AT+CSMP=[<fo
>[,<vp>,<pid>,<
dcs>]]
Response
TA selects values for additional parameters needed when SM is sent to the
network or placed in a storage when text mode is selected (+CMGF=1). It is
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).
Note: The Command writes the parameters in NON-VOLATILE memory.
OK
Parameters
<fo>
Depending on the command or result code: first octet of GSM
03.40 SMS-DELIVER, SMS-SUBMIT (default 17),
SMS-STATUS-REPORT, or SMS-COMMAND (default 2) in integer
format. SMS status report is supported under text mode if <fo> is set to 49.
<vp>
Depending on SMS-SUBMIT <fo> setting: GSM 03.40
TP-Validity-Period either in integer format (default 167) or in time-string
format (refer <dt>)
<pid>
GSM 03.40 TP-Protocol-Identifier in integer format (default 0).
<dcs>
GSM 03.38 SMS Data Coding Scheme in Integer format.
130
2013-10-23
Mode
Max
Time
Response -
Reference
3GPP TS 27.005
4.2.16 AT+CSMS
AT+CSMS
Note
Test Command
AT+CSMS=?
Response
+CSMS: (list of supported <service>s)
OK
Parameter
See Write Command
Read Command
AT+CSMS?
Response
+CSMS: <service>,<mt>,<mo>,<bm>
OK
Parameters
See Write Command
Write Command
AT+CSMS=
<service>
Response
+CSMS: <mt>,<mo>,<bm>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<service>
0 GSM 03.40 and 03.41 (the syntax of SMS AT commands
is compatible with 3GPP TS 27.005 Phase 2 version 4.7.0; Phase 2+
features which do not require new Command syntax may be supported (e.g.
correct routing of messages with new Phase 2+ data coding schemes))
1
GSM 03.40 and 03.41 (the syntax of SMS AT
commands is compatible with 3GPP TS 27.005 Phase 2+
version; the requirement of <service> setting 1 is
mentioned under corresponding command descriptions)
<mt>
Mobile Terminated Messages:
0 Type not supported
1 Type supported
<mo>
Mobile Originated Messages:
0 Type not supported
1 Type supported
<bm>
Broadcast Type Messages:
131
2013-10-23
0
1
Response -
Reference
3GPP TS 27.005
Note
132
2013-10-23
Description
AT+STKTRS
AT+STKENVS
AT+STKCALL
AT+STKSMS
AT+STKSS
Trigger STK SS
AT+STKUSSD
AT+STKDTMF
+STKPCI
AT+STKMENU
AT+STKPCIS
Test Command
AT+STKTRS=?
Response
+STKTRS: <result_length>,<text_length>
OK
Parameter
See Write Command
Read Command
AT+STKTRS?
Response
OK
Write Command
Response
AT+STKTRS=<re OK
sult>[,<text>]
ERROR
133
2013-10-23
Parameter
<result> HEX String --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;
Saving NO_SAVE
Response -
Reference
Note
For more detail used, can refer AT+STKTR command
5.2.2 AT+STKENVS
AT+STKENVS
Test Command
Response
Response
OK
Parameter
See Write Command
Write Command
Response
AT+STKENVS=< OK
command>[,<data ERROR
134
2013-10-23
Parameter
<command> HEX String --specified in GSM11.14[13.1]
- 'D3' = Menu Selection;
- 'D6' =Event download;
<data> Hex String
If command is D3 --specified in GSM11.14[8.2]
-Item identifier of main menu
If command is D6 --specified in GSM11.14[11]
-event list
- '04' = User activity
- '05' = Idle screen available
- '07' = Language selection
>]
Parameter
Mode
Max
Time
Saving NO_SAVE
Response -
Reference
Note
For more detail used, can refer AT+STKENV command
Test Command
AT+STKCALL=?
Response
OK
Parameter
See Write Command
Write Command
AT+STKCALL=<
command>
Parameter
Mode
Response
OK
ERROR
Parameter
<command > stk call command
0
(Trigger modem to send STK CALLSETUP)
4
(Trigger modem to send STK CALLSETUP but icon cannot
be displayed)
16
(Proactive session terminated by user)
18
(No response from user)
32
(ME currently unable to process this command)
34
(User reject setup call)
50
(Command data not understood by ME)
Note: Above are the possible terminal response value needed to be
responded by application. Its modems responsibility to response for other
terminal response value
Saving NO_SAVE
135
2013-10-23
Note
According to spec 11.14 , 0x12 (No response from user) is not a possible
terminal response value for STK CALLSETUP. So we will translate
0x12(No response from user) to 0x20 (ME currently unable to process
this command) .
5.2.4 AT+STKSMS
AT+STKSMS
Test Command
AT+STKSMS=?
Response
OK
Parameter
See Write Command
Write Command
Response
AT+STKSMS=<co OK
mmand>
ERROR
Parameter
<command >
0
4
displayed)
Parameter
Mode
Saving NO_SAVE
Note
Above are the possible terminal response value needed to be responded
by application. Its modems responsibility to response for other terminal
response value
5.2.5 AT+STKSS
AT+STKSS
STK SS setup
STK SS setup
Test Command
AT+STKSS=?
Response
OK
Parameter
See Write Command
Write Command
Response
AT+STKSS=<com OK
mand>
ERROR
Parameter
<command >
0
4
stk ss command
(Trigger modem to send STK SS)
(Trigger modem to send STK SS but icon cannot be
136
2013-10-23
displayed)
50
Parameter
Mode
Saving NO_SAVE
Note
Above are the possible terminal response value needed to be responded
by application. Its modems responsibility to response for other terminal
response value.
5.2.6 AT+STKUSSD
AT+STKUSSD
Test Command
AT+STKUSSD=?
Response
OK
Parameter
See Write Command
Write Command
Response
AT+STKUSSD=<c OK
ommand>
ERROR
Parameter
<command >
0
4
displayed)
50
Parameter
Mode
stk ss command
(Trigger modem to send STK USSD)
(Trigger modem to send STK USSD but icon cannot be
(Command data not understood by ME)
Saving NO_SAVE
Note
Above are the possible terminal response value needed to be responded by
application.Its modems responsibility to response for other terminal
response value.
Test Command
Response
AT+STKDTMF=? OK
Write Command
Response
AT+STKDTMF=< OK
command>
ERROR
Parameter
137
2013-10-23
Saving NO_SAVE
Note
Above are the possible terminal response value needed to be responded by
application.Its modems responsibility to response for other terminal
response value.
5.2.8 +STKPCI
+STKPCI
Response -
138
2013-10-23
Reference
Note
For detail introduce, pleas refer to SIM800 Series_STK_Application Note.doc.
5.2.9 AT+STKMENU
AT+STKMENU
Test Command
AT+STKMENU
=?
Response
OK
Read Command
AT+STKMENU
?
Response
[+STKMENU:<index>,<id>,<text>]
[+STKMENU:<index>,<id>,<text>]
[+STKMENU:<index>,<id>,<text>]
[]
OK
Parameter
<index>: the menus index, begin 1
<id>: the item identifier
<text>: the content of item, code by EFADN
Response -
Reference
Note
When stkpci is off, read command response will null
5.2.10 AT+STKPCIS
AT+STKPCIS
Test Command
Response
AT+STKPCIS=? +STKPCIS: (0-1)
OK
Parameter
Read Command
AT+STKPCIS?
Response
+STKPCIS: <switch>
OK
Parameter
139
2013-10-23
Parameter
<switch>: the switch of STK URC
-0 the STK URC is off
-1 the STK URC is ON
Parameter Saving AT&W_SAVE
Mode
Max
Time
Response -
Reference
Note
140
2013-10-23
Description
AT+SIDET
AT+CPOWD
Power off
AT+SPIC
AT+CMIC
AT+CALA
AT+CALD
Delete alarm
AT+CADC
Read ADC
AT+CSNS
AT+CDSCB
AT+CMOD
AT+CFGRI
AT+CLTS
AT+CLDTMF
AT+CDRIND
AT+CSPN
AT+CCVM
AT+CBAND
AT+CHF
AT+CHFA
AT+CSCLK
AT+CENG
AT+SCLASS0
AT+CCID
Show ICCID
AT+CMTE
AT+CMGDA
AT+STTONE
AT+SIMTONE
AT+CCPD
AT+CGID
AT+MORING
AT+CMGHEX
AT+CCODE
AT+CIURC
141
2013-10-23
AT+CPSPWD
AT+EXUNSOL
AT+CGMSCLASS
AT+CDEVICE
AT+CCALR
AT+GSV
AT+SGPIO
AT+SPWM
AT+ECHO
AT+CAAS
AT+SVR
AT+GSMBUSY
AT+CEMNL
AT*CELLLOCK
AT+SLEDS
AT+CBUZZERRING
AT+CEXTERNTONE
AT+CNETLIGHT
AT+CWHITELIST
AT+CSGS
AT+CMICBIAS
AT+DTAM
AT+SJDR
AT+CPCMCFG
AT+CPCMSYNC
AT+CANT
Antenna detecting
AT+CAGCSET
6.2.1 AT+SIDET
Response
+SIDET: (list of supported <channel>s),(list of supported <gainlevel>s)
OK
Parameters
See Write Command
142
2013-10-23
Read Command
AT+SIDET?
Response
+SIDET: (<channel0>,<gainlevel0>),, (<channeln>,<gainleveln>)
OK
Parameters
See Write Command
Write Command
AT+SIDET=<ch
annel>,<gainleve
l>
Response
OK
ERROR
Parameters
<channel>
Response -
Reference
Note
Please refer to actual model for channel number.
<gainleveln> value of read command is related to <channel> specific.
6.2.2 AT+CPOWD
AT+CPOWD
Write Command
AT+CPOWD=
<n>
Power off
Power Off
Response
[NORMAL POWER DOWN]
Parameter
<n>
0
DOWN)
1
DOWN)
Response -
Reference
Note
6.2.3 AT+SPIC
AT+SPIC
Execution
Command
AT+SPIC
143
2013-10-23
OK
Parameters
<pin1>
<pin2>
<puk1>
<puk2>
Response -
Reference
Note
6.2.4 AT+CMIC
AT+CMIC
Test Command
AT+CMIC=?
Response
+CMIC: (list of supported <channel>s),(list of supported <gainlevel>s)
OK
Parameters
See Write Command
Read Command
AT+CMIC?
Response
+CMIC: (<channel0>,<gainlevel0>),,(<channeln>,<gainleveln>)
OK
Parameters
See Write Command
Write Command
AT+CMIC=<cha
nnel>,<gainlevel
>
Response
OK
ERROR
Parameters
<channel> 0 Main audio channel
1 Aux audio channel
<gainlevel> Int: 0 15
0 0dB
1 +1.5dB
2 +3.0 dB
3 +4.5 dB
4 +6.0 dB
5 +7.5 dB
6 +9.0 dB
144
2013-10-23
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 AUTO_SAVE
Mode
Max
Time
Response -
Reference
6.2.5 AT+CALA
Note
z Please refer to actual model for channel number.
z <gainleveln> value is related to <channel> specific.
z The default gain level of main audio channel is 10, the default gain
level of aux audio channel is 11.
Set Alarm Time
Response
+CALA: ("yy/mm/dd,hh:mm:ss","hh:mm:ss"),(1-5),(0-7)
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Read Command
AT+CALA?
Response
[+CALA: <time>,<n1>[,<recurr>]
[<CR><LF> +CALA: <time>,<n2>[,<recurr>] ] ]
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Write Command
AT+CALA=<ti
me>[,<n>
[,<recurr>]]
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Unsolicited Result Code
145
2013-10-23
AUTO_SAVE
Response -
Reference
Note
If user sets recurr function, the string of <time> should not enter "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
6.2.6 AT+CALD
AT+CALD
Delete Alarm
Delete Alarm
Test Command
AT+CALD=?
Response
+CALD: (list of supported <n>s)
OK
Parameter
See Write Command
Write Command
AT+CALD=<n>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<n>
Integer type value indicating the index of the alarm; default
is manufacturer specific (range from 1 to 5 now).
146
2013-10-23
Max
Time
Response -
Reference
Note
6.2.7 AT+CADC
AT+CADC
Read ADC
Read ADC
Test Command
AT+CADC=?
Response
+CADC: (list of supported <status>s),(list of supported <value>s)
OK
Parameters
<status>
<value>
Read Command
AT+CADC?
1 Success
0 Fail
Integer 0-2800
Response
+CADC: <status>,<value>
OK
Parameters
See Test Command
Response 2s
Reference
Note
6.2.8 AT+CSNS
AT+CSNS
Test Command
AT+CSNS=?
Response
+CSNS: (list of supported <mode>s)
OK
Parameter
See Write Command
Read Command
AT+CSNS?
Response
+CSNS: <mode>
OK
Parameter
See Write Command
147
2013-10-23
Write Command
AT+CSNS=<mo
de>
Response
OK
ERROR
Parameter
<mode>
0
2
4
Voice
Fax
Data
Response -
Reference
Note
6.2.9 AT+CDSCB
AT+CDSCB
Execution
Command
AT+CDSCB
Response
OK
Response -
Reference
Note
Please also refer to AT+CSCB.
6.2.10 AT+CMOD
AT+CMOD
Test Command
AT+CMOD=?
Response
+CMOD: (0)
OK
Parameter
See Write Command
Read Command
AT+CMOD?
Response
+CMOD: <mode>
OK
Parameter
See Write Command
148
2013-10-23
Response -
Reference
Note
6.2.11 AT+CFGRI
AT+CFGRI
Test Command
AT+CFGRI=?
Response
+CFGRI: (0,1)
OK
Parameter
See Write Command
Read Command
AT+CFGRI?
Response
+CFGRI: <status>
OK
Parameter
See Write Command
Write Command
AT+CFGRI=<st
atus>
Response
OK
ERROR
Parameter
<status>
1 On
0 Off
Response -
Reference
Note
6.2.12 AT+CLTS
AT+CLTS
149
2013-10-23
Test Command
AT+CLTS=?
Response
+CLTS: "yy/MM/dd,hh:mm:ss+/-zz"
OK
Read Command
AT+CLTS?
Response
+CLTS: <mode>
OK
Write Command
AT+CLTS=<mo
de>
Response
OK
ERROR
Parameter
<mode>
0
1
Disable
Enable
150
2013-10-23
AT&W_SAVE
Max
Time
Response
Reference
6.2.13 AT+CLDTMF
Note
Support for this Command will be network dependent.
Set AT+CLTS=1, it means user can receive network time updating
and use AT+CCLK to show current time.
Local DTMF Tone Generation
Response
+CLDTMF: (1-100),(0-9,A,B,C,D,*,#)
OK
Write Command
AT+CLDTMF=<
n>,<DTMF
string>
Response
OK
ERROR
Parameters
151
2013-10-23
<n>
A numeric parameter(1-100) which indicates the duration of all
DTMF tones in <DTMF -string> in 1/10 secs
<DTMF -string>
A string parameter (string should be included in
quotation marks) which has a max length of 20 chars of form <DTMF>,
separated by commas.
<DTMF>
A single ASCII chars in the set 0-9,#,*,A-D.
Execution
Command
AT+CLDTMF
Response
OK
Abort any DTMF tone currently being generated and any DTMF tone
sequence.
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
Reference
Note
6.2.14 AT+CDRIND
AT+CDRIND
Test Command
AT+CDRIND=?
Response
+CDRIND: (list of supported <n>s)
OK
Parameter
See Write Command
Read Command
AT+CDRIND?
Response
+CDRIND: <n>
OK
Parameter
See Write Command
Write Command
AT+CDRIND=<
n>
Response
OK
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
1 Enable
Unsolicited result code
When enabled, an unsolicited result code is returned after the connection
has been terminated
152
2013-10-23
+CDRIND: <type>
Parameter
<type>
Connection type
0 CSV connection
1 CSD connection
2 PPP connection
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
Reference
Note
6.2.15 AT+CSPN
AT+CSPN
Read Command
AT+CSPN?
Response
+CSPN: <spn>,<display mode>
OK
If error is related to ME functionality:
+CME ERROR: <err>
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
Response -
Reference
Note
CME errors occur if SIM is not inserted.
6.2.16 AT+CCVM
AT+CCVM
Test Command
AT+CCVM=?
Response
+CCVM: maximum length of field <vm number>, maximum length of
field <alpha string>
OK
Parameters
See Write Command
153
2013-10-23
Read Command
AT+CCVM?
Response
If voice mail number is not set:
OK
If voice mail number is set:
+CCVM: <vm number>[,<alpha string>]
OK
Parameters
See Write Command
Write Command
AT+CCVM=<vm
number>[,<alpha
string>]
Response
OK
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<vm number>
<alpha string>
Parameter
Mode
Max
Time
Saving AUTO_SAVE
Response -
Reference
Note
6.2.17 AT+CBAND
AT+CBAND
Test Command
AT+CBAND=?
Response
+CBAND: (list of supported <op_band>s)
OK
Parameter
See Write Command
Read Command
AT+CBAND?
Response
+CBAND: <op_band>[,<ALL_BAND>]
OK
Parameter
See Write Command
Write Command
AT+CBAND=<o
p_band>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
154
2013-10-23
Parameter
<op_band>
marks.
EGSM_MODE
PGSM_MODE
DCS_MODE
GSM850_MODE
PCS_MODE
EGSM_DCS_MODE
GSM850_PCS_MODE
EGSM_PCS_MODE
ALL_BAND
Parameter Saving AUTO_SAVE
Mode
Max
Time
Response -
Reference
Note
Radio settings are stored in non-volatile memory.
Response
+CHF: (list of supported <ind>s),(list of supported <state>s)
OK
Parameters
See Write Command
Read Command
AT+CHF?
Response
+CHF: <ind>,<state>
OK
Parameters
See Write Command
155
2013-10-23
Parameters
<ind>
0 Unsolicited result code disabled
1 Unsolicited result code enabled
(non-volatile)
<state>
0 Main audio channel
1 Aux audio channel
2
Main audio channel hand free mode
3
Aux audio channel hand free mode
4
PCM channel
Parameter Saving AT&W_SAVE
Mode
Max
Time
Response -
Reference
Note
This command is related to the actual module, <state> dont support power
off save
PCM channel is only supported by SIM800H&SIM800L.
Response
+CHFA:
(0
=
NORMAL_AUDIO,
1
=
AUX_AUDIO,2
=HANDFREE_AUDIO,
3
=AUX_HANDFREE_AUDIO,
4=PCM_AUDIO)
OK
Read Command
AT+CHFA?
Response
+CHFA: <n>
OK
Parameter
See Write Command
Write Command
AT+CHFA=<n>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<n>
0 Main audio channel
1 Aux audio channel
2 Main audio channel hand free mode
3 Aux audio channel hand free mode
4
PCM channel
156
2013-10-23
Response -
Reference
Note
z This Command swaps the audio channels among different channels.
z This command is related to the actual module.
z Main audio channel hand free mode is the same with main audio
channel; aux audio channel hand free mode is the same with aux audio
channel. Channel 2, 3 is virtual channel.
6.2.20 AT+CSCLK
AT+CSCLK
Test Command
AT+CSCLK=?
Response
+CSCLK: (list of supported <n>s)
OK
Parameter
See Write Command
Read Command
AT+CSCLK?
Response
+CSCLK: <n>
OK
Parameter
See Write Command
Write Command
AT+CSCLK=<n
>
Response
OK
ERROR
Parameter
<n>
0 Disable slow clock, module will not enter sleep mode.
1 Enable slow clock, it is controlled by DTR. When DTR is high,
module can enter sleep mode. When DTR changes to low
level, module can quit sleep mode.
2 Enable slow clock automatically. When there is no interrupt
(on air and hardware such as GPIO interrupt or data in serial
port), module can enter sleep mode. Otherwise, it will quit
sleep mode.
Response -
Reference
Note
157
2013-10-23
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.
6.2.21 AT+CENG Switch On or Off Engineering Mode
AT+CENG Switch On or Off Engineering Mode
Test Command
AT+CENG=?
Response
TA returns the list of supported modes.
+CENG: (list of supported <mode>s),(list of supported <Ncell>s)
OK
Parameters
See Write Command
Read Command
AT+CENG?
Response
Engineering Mode is designed to allow a field engineer to view and test the
network information received by a handset, when the handset is either in
idle mode or dedicated mode (that is: with a call active). In each mode, the
engineer is able to view network interaction for the "serving cell" (the cell
the handset is currently registered with) or for the neighboring cells.
TA returns the current engineering mode. The network information
including serving cell and neighboring cells are returned only when
<mode>=1 or <mode> = 2. <cell> carry with them corresponding network
interaction.
+CENG: <mode>,<Ncell>
[+CENG:
<cell>,"<arfcn>,<rxl>,<rxq>,<mcc>,<mnc>,<bsic>,<cellid>,<rla>,
<txp>,<lac>,<TA>"
<CR><LF>+CENG:
<cell>,"<arfcn>,<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>,
158
2013-10-23
<bsic>,<rxl>]
OK
Parameters
See Write Command
Write Command Response
AT+CENG=<mo Switch on or off engineering mode. It will report +CENG: (network
information) automatically if <mode>=2.
de>[,<Ncell>]
OK
ERROR
Parameters
<mode>
<Ncell>
<cell>
<arfcn>
<rxl>
<rxq>
<mcc>
<mnc>
<bsic>
<cellid>
<lac>
<rla>
<txp>
<TA>
0
1
2
Response -
Reference
Note
6.2.22 AT+SCLASS0
AT+SCLASS0
Test Command
Response
AT+SCLASS0=? +SCLASS0: (0, 1)
SIM800 Series_AT Command Manual_V1.02
159
2013-10-23
OK
Parameter
See Write Command
Read Command
AT+SCLASS0?
Response
+SCLASS0: <mode>
OK
Parameter
See Write Command
Response -
Reference
Note
6.2.23 AT+CCID
AT+CCID
Show ICCID
Show ICCID
Test Command
AT+CCID =?
Response
OK
Execution
Command
AT+CCID
Response
Ccid data [ex. 898600810906F8048812]
OK
Response 2s
Reference
Note
160
2013-10-23
6.2.24 AT+CMTE
Response
+CMTE: <mode>,<Temperature>
OK
Parameters
See Write Command
Response 2s
Reference
Note
When temperature is extremely high or low, product will power off.
URCs indicating the alert level "1" or "-1" are intended to enable the user to
take appropriate precautions, such as protecting the module from exposure
to extreme conditions, or saving or backing up data etc.
Level "2" or "-2" URCs are followed by immediate shutdown.
6.2.25 AT+CMGDA
AT+CMGDA
Test Command
AT+CMGDA=?
Response
+CMGDA: (list of supported <type>s)
OK
+CMS ERROR: <err>
Parameter
See Write Command
161
2013-10-23
<type>
1) If text mode:
"DEL READ"
Delete all read messages
"DEL UNREAD" Delete all unread messages
"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 NO_SAVE
Mode
Max
Time
Reference
Note
6.2.26 AT+STTONE
AT+STTONE
Test Command
AT+STTONE=?
Response
+STTONE: (list of supported <mode>s),(list of supported <tone>s),(list of
supported <duration>s)
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Write Command
AT+STTONE=<
mode>,<tone>,<
duration>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Unsolicited Result Code
The playing is stopped or completed.
+STTONE: 0
162
2013-10-23
Parameters
<mode>
Response -
Reference
Note
6.2.27 AT+SIMTONE
AT+SIMTONE
Test Command
Response
AT+SIMTONE= +SIMTONE: (0,1),(20-20000),(200-25500),(0,100-25500),(10-500000)
?
OK
Parameters
See Write Command
Write Command
AT+SIMTONE=
<mode>,<freque
ncy>,<periodOn
>,<periodOff>[,<
duration>]
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Unsolicited Result Code
The playing is stopped or completed.
+SIMTONE: 0
163
2013-10-23
Parameters
<mode>
<frequency>
<periodOn>
<periodOff>
<duration>
Response -
Reference
Note
6.2.28 AT+CCPD
AT+CCPD
Test Command
AT+CCPD=?
Response
+CCPD: (0,1)
OK
Parameter
See Write Command
Read Command
AT+CCPD?
Response
+CCPD: <mode>
OK
Parameter
See Write Command
Response -
Reference
Note
164
2013-10-23
6.2.29 AT+CGID
AT+CGID
Execution
Command
AT+CGID
Response
+GID: <gid1>,<gid2>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<gid1>
Integer type of SIM card group identifier 1
<gid2>
Integer type of SIM card group identifier 2
Response -
Reference
Note
If the SIM supports GID files, the GID values will be retuned. Otherwise
0xff is retuned.
6.2.30 AT+MORING
AT+MORING
Test Command
Response
AT+MORING=? +MORING: (0,1)
OK
Parameter
See Write Command
Read Command
AT+MORING?
Response
+MORING: <mode>
OK
Parameter
See Write Command
165
2013-10-23
Response -
Reference
Note
6.2.31 AT+CMGHEX
AT+CMGHEX
Test Command
AT+CMGHEX=
?
Read Command
AT+CMGHEX?
Response
+CMGHEX: <mode>
OK
Parameter
See Write Command
Write Command
AT+CMGHEX=
<mode>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<mode>
Response -
166
2013-10-23
Time
Reference
Note
Only be available in TEXT mode and AT+CSCS="GSM".
6.2.32 AT+CCODE
AT+CCODE
Test Command
AT+CCODE=?
Response
+CCODE: (0,1)
OK
Parameter
See Write Command
Read Command
AT+CCODE?
Response
+CCODE:<mode>
OK
Parameter
See Write Command
Write Command
AT+CCODE=<
mode>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<mode>
Response -
Reference
Note
6.2.33 AT+CIURC
AT+CIURC
Test Command
AT+CIURC=?
Response
+CIURC: (0,1)
OK
Parameter
See Write Command
Read Command
AT+CIURC?
Response
+CIURC:<mode>
167
2013-10-23
OK
Parameter
See Write Command
Write Command Response
AT+CIURC=<m OK
If error is related to ME functionality:
ode>
+CME ERROR: <err>
Parameter
<mode>
Response -
Reference
Note
When module is powered on and initialization procedure is over.
URC "Call Ready" will be presented if <mode> is 1.
6.2.34 AT+CPSPWD
AT+CPSPWD
Write Command
AT+CPSPWD=<
oldpwd>,<newp
wd>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<oldpwd>
<newpwd>
Response -
Reference
Note
Default value of <oldpwd> is "12345678".
If module is locked to a specific SIM card through AT+CLCK and
password lost or SIM state is PH-SIM PUK, user can use the super
password to unlock it.
It is not supported temporarily.
168
2013-10-23
Response
+EXUNSOL: (list of supported <exunsol>s)
OK
Parameters
See Write Command
Write Command
AT+EXUNSOL=
Response
OK
<exunsol>,<mod
e>
Parameter Saving
Mode
AT&W_SAVE
Max
Time
Response
Reference
Note
6.2.36 AT+CGMSCLASS
AT+CGMSCLASS
Test Command
AT+CGMSCLA
SS=?
Response
MULTISLOT CLASS: (2,4,8,9,10,12)
OK
Parameter
See Write Command
Read Command
AT+CGMSCLA
SS?
Response
MULTISLOT CLASS: <class>
169
2013-10-23
OK
Parameter
See Write Command
Write Command
AT+CGMSCLA
SS=<class>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<class>
Response -
Reference
Note
6.2.37 AT+CDEVICE
AT+CDEVICE
Read Command
AT+CDEVICE?
Response
Device Name: Current flash device type
OK
Parameter
Mode
Max
Time
Saving NO_SAVE
Response -
Reference
V.25ter
Note
6.2.38 AT+CCALR
AT+CCALR
Test Command
AT+CCALR=?
Response
+CCALR: (list of supported <mode>s)
OK
Parameter
<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
Read Command
Response
170
2013-10-23
AT+CCALR?
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
Reference
Note
Response
TA returns product information text
Example:
SIMCOM_Ltd
SIMCOM_SIM800H
Revision: 1308B01SIM800H32
OK
Parameter
Mode
Max
Time
Saving NO_SAVE
Response -
Reference
Note
6.2.40 AT+SGPIO
AT+SGPIO
Test Command
AT+SGPIO=?
Write Command
Response
AT+SGPIO=<ope OK
SIM800 Series_AT Command Manual_V1.02
171
2013-10-23
ration>,<GPIO>,
<function>,<level
>
Parameter
Mode
Max
Time
ERROR
Parameters
<Operation> 0 Set the GPIO function including the GPIO output .
1 Read the GPIO level. Please note that only when the gpio is
set as input, user can use parameter 1 to read the GPIO level, otherwise the
module will return "ERROR".
<GPIO>
The GPIO you want to be set. (It has relations with the
hardware, 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
Saving NO_SAVE
Response -
Reference
Note
6.2.41 AT+SPWM
AT+SPWM
Test Command
AT+SPWM=?
Response
+SPWM: (list of supported <index>s),(list of supported <freq>s),(list of
supported <level>s)
OK
Parameters
See Write Command
Write Command
AT+SPWM=<in
dex>,<freq>,<lev
el>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<index>
Integer type: the index number of PWM port, which value is
0-2; Current only support one channel,whether 0 or 1 or 2,the PWM port is
the same.
0: for buzzer (according to the hardware support or not).
1: corresponding to PWM_OUT0 in the hardware circuit
2: corresponding to PWM_OUT1 in the hardware circuit
< freq >
172
2013-10-23
<level>
Parameter
Mode
Saving NO_SAVE
Note
The PWM clock source is 4KHz, the equation of the final frequency is:
frequency = CLK/(PWM_CNT+1), where PWM_CNT = CLK/freq 1.
However, the equation can not be simplified. PWM_THRES should be less
than the PWM_CNT.
If freq euals 0, the output of PWM is in low state.
6.2.42 AT+ECHO
AT+ECHO
Test Command
AT+ECHO=?
Response
+ECHO: (0,1),(0-65535),(0-65535),(0-65535),(0-65535),(0,1)
OK
Parameters
See Write Command
Read Command
AT+ECHO?
Response
+ECHO: (<mic0>,<nlp0>, <aec0>,<nr0>, <ns0>),(<micn>,<nlpn>,
<aecn>,<nrn>, <nsn>)
OK
Parameters
See Write Command
Write Command
AT+ECHO=<mi
c>,<nlp>,<aec>,<
nr>,<ns>[,<state
>]
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
< mic >
audio channel
0 main audio handset channel
1 main audio handfree channel
<nlp>
nonlinear processing remove residual echo and background
noise
<aec>
acoustic echo cancellation
<nr>
noise reduction
<ns>
noise suppression
< state>
enable or disable to close echo algorithm
173
2013-10-23
0
1
Response -
Reference
Note
For this command, please refer to actual model.
The default state the echo echo algorithm be actived, and the read command
is not displayed.
6.2.43 AT+CAAS
AT+CAAS
Test Command
AT+CAAS=?
Response
+CAAS: (0-2)
OK
Parameter
See Write Command
Read Command
AT+CAAS?
Response
+CAAS: <mode>
OK
Parameter
See Write Command
Write Command
AT+CAAS=<mo
de>
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>
Parameter
<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.
174
2013-10-23
Mode
Max
Time
Response -
Reference
Note
For this command, please refer to actual model.
The headset detection is still worked when <mode> is set to 0.
6.2.44 AT+SVR
AT+SVR
Test Command
AT+SVR=?
Response
+SVR: (list of supported <voice_rate_coding>s)
OK
Parameter
See Write Command
Read Command
AT+SVR?
Response
+SVR: <voice_rate_coding>
OK
Parameter
See Write Command
175
2013-10-23
14:AMR-FR/FR/AMR-HR/HR
15:AMR-FR/EFR/FR/AMR-HR/HR
16:AMR-HR/AMR-FR/EFR/FR/HR
17: AMR-FR/AMR-HR/EFR/FR/HR
Parameter Saving AT&W_SAVE
Mode
Max
Time
Response -
Reference
Note
The parameter of AT+SVR is stored in non-volatile memory.
Response -
Reference
Note
The parameter is not saved if the module power down.
176
2013-10-23
Response
+CEMNL: (0-1),(1-11), ("0"-"999")
OK
Parameter
See Write Command
Read Command
AT+CEMNL?
Response
+CEMNL: <mode>[,<amount>,<emergency numbers>]
OK
Parameter
See Write Command
Write Command
AT+CEMNL=<
mode>[,<amount
>,<emergency
numbers>]
Response
OK
ERROR
Parameter
<mode> 0 disable
1 enable
<amount> Amount of emergency number to be set. Up to 11 emergency
numbers supported
<emergency numbers>
Emergency numbers to be set by user which range is 0-999
Response -
Reference
Note
6.2.47 AT*CELLLOCK
Response
*CELLLOCK: (list of supported <mode>s)[,(list of supported
<amount>s),(list of supported <locked arfcn list>s)[, (list of supported
<locked arfcn list>s) [, (list of supported <locked arfcn list>s)]]]
OK
Parameter
See Write Command
Read Command
Response
177
2013-10-23
AT*CELLLOC
K?
Write Command
AT*CELLLOC
K=<mode>[,<am
ount>,<locked
arfcn
list>[,<locked
arfcn list>]]
Response
OK
ERROR
Parameter
<mode>
0
Disable
1
Enable
<amout>
Amount of arfcn to be set. Up to 3 arfcn supported.
<locked arfcn list>
Arfcn needs to be locked by user.
Scope: (0-124), (128-251), (512-885) or (975-1023).
Response -
Reference
6.2.48 AT+SLEDS
Note
Response
+SLEDS: (1-3),(0,40-65535),(0,40-65535)
OK
Parameters
See Write Command
Read Command
AT+SLEDS?
Response
+SLEDS: <mode>,<timer_on>,<timer_off>
OK
Parameters
See Write Command
178
2013-10-23
,<timer_off>
Parameters
<mode>
1 set the timer period of net light while SIM800 series does not
register to the network
2 set the timer period net light while SIM800 series has already
registered to the network
3 set the timer period net light while SIM800 series is in the state of
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)
Response -
Reference
Note
The default value is :
<mode>,<timer_on>,<timer_off>
1,64,800
2,64,3000
3,64,300
6.2.49 AT+CBUZZERRING Use the Buzzer Sound as the Incoming Call Ring
AT+CBUZZERRING Use the Buzzer Sound as the Incoming Call Ring
Read Command
AT+CBUZZER
RING?
Response
+CBUZZERRING: <mode>
OK
Parameter
See Write Command
Write Command
AT+CBUZZER
RING=<mode>
Response
OK
ERROR
Parameter
<mode>
0 disable the function of using buzzer sound as the incoming call ring
1 enable the function of using buzzer sound as the incoming call ring
179
2013-10-23
Max
Time
Response -
Reference
Note
This buzzer function is depending on the hardware.
6.2.50 AT+CEXTERNTONE
Response
+CEXTERNTONE: (0,1)
OK
Parameter
See Write Command
Read Command
AT+CEXTERN
TONE?
Response
+CEXTERNTONE: <mode>
OK
Parameter
See Write Command
Response -
Reference
Note
180
2013-10-23
Parameter
See Write Command
Read Command
Response
AT+CNETLIGH +CNETLIGHT: <mode>
T?
OK
Parameter
See Write Command
Write Command Response
AT+CNETLIGH OK
T=<mode>
ERROR
Parameter
<mode>
0 close the net light
1 open the net light to shining
Parameter Saving AT&W_SAVE
Mode
Max
Time
Response -
Reference
Note
181
2013-10-23
Parameters
<mode>
0 disable
1 enable
<index>
The index of phone number, scope: 1-30
<phone number>
Phone number to be set
dex>,<phone
number>]
Parameter Saving
Mode
Max
Time
AUTO_SAVE
Response -
Reference
Note
6.2.53 AT+CSDT
AT+CSDT
Test Command
AT+CSDT=?
Response
+CSDT: (0-1)
OK
Parameter
See Write Command
Read Command
AT+CSDT?
Response
+CSDT: <mode>
OK
Parameter
See Write Command
Write Command
AT+CSDT=<mo
de>
Response
OK
ERROR
Parameter
<mode>
0 Switch off detecting SIM card
1 Switch on detecting SIM card
Response -
Reference
Note
User should select 8-pin SIM card holder to implement SIM card detection
182
2013-10-23
function.
After plug out simcard,User should wait 2 seconds ,then plug in simcard.
6.2.54 AT+CSMINS
AT+CSMINS
Test Command
AT+CSMINS=?
Response
+CSMINS: (list of supported <n>s)
OK
Parameter
See Write Command
Read Command
AT+CSMINS?
Response
+CSMINS: <n>,<SIM inserted>
OK
Parameters
See Write Command
Write Command
AT+CSMINS=<
n>
Response
OK
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Unsolicited Result Code
+CSMINS: <n>,<SIM inserted>
Parameters
<n>
A numeric parameter to show an unsolicited event code
indicating whether the SIM has been inserted or removed.
0
Disable
1
Enable
<SIM inserted>
A numeric parameter which indicates whether SIM
card has been inserted.
0
Not inserted
1
Inserted
Parameter Saving
Mode
AT&W_SAVE
Max
Time
Response
Reference
Note
183
2013-10-23
Test Command
AT+CSGS=?
Response
+CSGS: (0-1)
OK
Parameter
See Write Command
Read Command
AT+CSGS?
Response
+CSGS: <mode>
OK
Parameter
See Write Command
Write Command
AT+CSGS=<mo
de>
Response
OK
ERROR
Parameter
<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.
Response -
Reference
Note
6.2.56 AT+CMICBIAS
Response
+CMICBIAS: (0,1)
OK
Parameter
See Write Command
Read Command
AT+CMICBIAS
?
Response
+CMICBIAS: <mode>
OK
Parameter
See Write Command
184
2013-10-23
Write Command
AT+CMICBIAS
=<mode>
Response
OK
ERROR
Parameter
<mode>
0 turn off the micbias
1 turn on the micbias
Response -
Reference
Note
6.2.57 AT+DTAM
AT+DTAM
Test Command
AT+DTAM=?
Response
+DTAM: (0-2)
OK
Parameter
See Write Command
Read Command
AT+DTAM?
Response
+DTAM: <mode>
OK
Parameter
See Write Command
Response -
Reference
Note
This command takes effect only in call. TTS and record not in call only play
185
2013-10-23
locally no matter what the mode is. Setting takes effect before TTS or
record play.
6.2.58 AT+SJDR Set Jamming Detection Function
AT+SJDR
Test Command
AT+SJDR=?
Response
+SJDR: (0,1)
OK
Parameters
See Write Command
Read Command
AT+SJDR?
Response
+SJDR: <status>
or
+SJDR: <status>,<mode>,<var>,<display>,<result>
OK
Parameters
See Write Command
Write Command
Response
AT+SJDR=<status> OK
,<mode>[,<var>[,< ERROR
display>]]
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>
0 disable jamming detection
1 enable jamming detection
<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
186
2013-10-23
Saving NO_SAVE
Reference
Note
z When you query jamming detection status after enable jamming
detection mode, you will get the URC of the format below:
+SJDR:1,<mode>,<var>,<display>,<result>
<result>=0, means no jamming.
<result>=1, means jamming is detected.
<result>=2, means industrial interference is detected.
z +SJDR: INTERFERENCE DETECTED indicates industrial
interference which signifies unintentional radio link disturbances by
strong industrial radio sources.
z Jamming detection PIN is designed to indicate jamming by
outputting different level. When jamming is detected, the PIN will
output a high level, otherwise, it will output a low level. Jamming
detection PIN takes effect only in SIM800H/SIM800L/SIM800.The
Jamming detection PIN is defined as follows.
Module Type
SIM800H/SIM800L
PIN5
SIM800
PIN67
Response
+CPCMCFG: (0-1)
OK
187
2013-10-23
Parameter
See Write Command
Read Command
AT+CPCMCFG
?
Response
+CPCMCFG: <format>
OK
Parameter
See Write Command
Write Command
AT+CPCMCFG
=< format >
Response
OK
ERROR
Parameter
< format >
0
1
MSB
LSB
Response -
Reference
Note
The command is only supported by SIM800H&SIM800L.
6.2.60 AT+CPCMSYNC
AT+CPCMSYNC
Test Command
AT+CPCMSYN
C=?
Read Command
AT+CPCMSYN
C?
Response
+CPCMSYNC: <sync>, <length>
OK
Parameter
See Write Command
Write Command
AT+CPCMSYN
C=<sync>,<lengt
h>
Response
OK
ERROR
Parameter
<sync> 0
PCM short sync
1
PCM long sync
<length> 1-8
PCM sync length(1-8)
188
2013-10-23
Response -
Reference
Note
The <length> is only supported 1 when PCM sync is short sync.
The command is only supported by SIM800H&SIM800L.
Antenna Detecting
Response
+CANT:
(list
of
supported
<mode>s),(list
<UrcEnable>s),(list of supported <timer>s)
of
supported
OK
+CME ERROR: <err>
Parameter
See Write Command
Read Command
AT+CANT?
Response
+CANT: <mode>, <UrcEnable>, <timer>
OK
+CME ERROR: <err>
Parameter
See Write Command
189
2013-10-23
Parameter
<mode>
0
1
<UrcEnable>
0
1
<timer>
<status>
Response -
Reference
Note
Test Command
Response
AT+CAGCSET= +CAGCSET: (0,1)
?
OK
Parameter
See Write Command
Read Command
Response
AT+CAGCSET? +CAGCSET: <mode>
OK
Parameter
See Write Command
Write Command Response
AT+CAGCSET= OK
<mode>
ERROR
Parameter
<mode>
0 close AGC function
1 open the AGC function
190
2013-10-23
Response -
Reference
Note
191
2013-10-23
Description
AT+CGATT
AT+CGDCONT
AT+CGQMIN
AT+CGQREQ
AT+CGACT
AT+CGDATA
AT+CGPADDR
AT+CGCLASS
AT+CGEREP
AT+CGREG
AT+CGSMS
Response
+CGATT: (list of supported <state>s)
OK
Parameter
See Write Command
Read Command
AT+CGATT?
Response
+CGATT: <state>
OK
Parameter
See Write Command
192
2013-10-23
0 Detached
1 Attached
Other values are reserved and will result in an ERROR response to the
Write Command.
Parameter Saving NO_SAVE
Mode
Max
Time
Response 10 seconds
Reference
Note
Response
+CGDCONT: (range of supported <cid>s),<PDP_type>,,,(list of
supported<d_comp>s),(list of supported<h_comp>s)
[<CR><LF>+CGDCONT:
(range of supported <cid>s), <PDP_type>,,,(list ofsupported
<d_comp>s),(list of supported <h_comp>s) [...]]
OK
Parameters
See Write Command
Read Command
AT+CGDCONT
?
Response
+CGDCONT:
<cid>,<PDP_type>,<APN>,<PDP_addr>,<data_comp>,<head_comp>
[<CR><LF>+CGDCONT:
<cid>,<PDP_type>,<APN>,<PDP_addr>,<data_comp>,<head_comp>
[]]
OK
Parameters
See Write Command
Write Command
AT+CGDCONT
=<cid>[,<PDP_ty
pe>[,APN>[,<PD
P_addr>[,<d_co
mp>[,<h_comp>]
]]]]
Response
OK
ERROR
Parameters
<cid>
193
2013-10-23
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 AUTO_SAVE
Mode
Max
Time
Response -
Reference
Note
7.2.3 AT+CGQMIN
AT+CGQMIN
Test Command
Response
AT+CGQMIN=? +CGQMIN: <PDP_type>,(list of supported <precedence>s),(list of
supported <delay>s),(list of supported <reliability>s),(list of supported
<peak>s),(list of supported <mean>s)
[<CR><LF>+CGQMIN: <PDP_type>,(list of supported <precedence>
s),(list of supported <delay>s),(list of supported <reliability>s),(list of
supported <peak>s),(list of supported <mean>s)
[]]
OK
Parameters
See Write Command
194
2013-10-23
Read Command
AT+CGQMIN?
Response
+CGQMIN: <cid>,<precedence>,<delay>,>reliability>,<peak>,<mean>
[<CR><LF>+CGQMIN:
<cid>,<precedence>,<delay>,<reliability>,<peak>,<mean>
[]]
OK
Parameters
See Write Command
Write Command
AT+CGQMIN=<
cid>[,<precedenc
e>[,<delay>[,<rel
iability>[,<peak>
[,<mean>]]]]]
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<cid>
1..3 A numeric parameter which specifies a particular
PDP context definition (see +CGDCONT command)
<precedence>
0
QOS precedence class subscribed value
1..3
QOS precedence class
<delay>
0
QOS delay class subscribed value
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
Response -
Reference
Note
7.2.4 AT+CGQREQ
AT+CGQREQ
195
2013-10-23
Test Command
Response
AT+CGQREQ=? +CGQREQ: <PDP_type>,(list of supported <precedence>s),(list of
supported <delay>s),(list of supported <reliability>s),<list of supported
<peak>s),(list of supported <mean>s)
[<CR><LF>+CGQREQ: <PDP_type>,(list of supported <precedence>
s),(list of supported <delay>s),(list of supported <reliability>s),(list of
supported <peak>s),(list of supported <mean>s)
[]]
OK
Parameters
See Write Command
Read Command
AT+CGQREQ?
Response
+CGQREQ: <cid>,<precedence>,<delay>,>reliability>,<peak>,<mean>
[<CR><LF>+CGQREQ:
<cid>,<precedence>,<delay>,<reliability>,<peak>,<mean>
[]]
OK
Parameters
See Write Command
Write Command
AT+CGQREQ=c
id>[,<precedence
>[,<delay>[,<reli
ability>[,<peak>[
,<mean>]]]]]
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<cid>
196
2013-10-23
<mean>
Response -
Reference
Note
Response
+CGACT: (list of supported <state>s)
OK
Parameters
See Write Command
Read Command
AT+CGACT?
Response
+CGACT: <cid>,<state>[<CR><LF>+CGACT:<cid>,<state>]
OK
Parameters
See Write Command
197
2013-10-23
Time
Reference
Note
This command is used to test PDPs with network simulators. Successful
activation of PDP on real network is not guaranteed.
Refer to AT+CGDATA clarification for more information.
<cid>
Response -
Reference
Note
7.2.7 AT+CGPADDR
AT+CGPADDR
Test Command
Response
AT+CGPADDR= +CGPADDR: (list of defined <cid>s)
?
OK
Parameters
See Write Command
198
2013-10-23
Response -
Reference
Note
Write command returns address provided by the network if a connection has
been established.
7.2.8 AT+CGCLASS
AT+CGCLASS
Test Command
Response
AT+CGCLASS= +CGCLASS: (list of supported <class>s)
?
OK
Parameter
See Write Command
Read Command
Response
AT+CGCLASS? +CGCLASS: <class>
OK
Parameter
See Write Command
Write Command Response
AT+CGCLASS= OK
<class>
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<class>
199
2013-10-23
Response -
Reference
Note
It only supports Class B, CG and CC.
Response
+CGEREP: <mode>
OK
Parameters
See Write Command
200
2013-10-23
Parameters
<PDP_type> Packet Data Protocol type (see +CGDCONT
Command)
<PDP_addr> Packet Data Protocol address (see +CGDCONT
Command)
<cid> Context Id (see +CGDCONT Command)
Parameter Saving NO_SAVE
Mode
Max
Time
Response -
Reference
Note
Response
+CGREG: (list of supported <n>s)
OK
Parameters
See Write Command
Read Command
AT+CGREG?
Response
+CGREG: <n>,<stat>[,<lac>,<ci>]
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Write Command
AT+CGREG=[<
n>]
Response
OK
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
201
2013-10-23
<lac>
<ci>
Response -
Reference
Note
7.2.11 AT+CGSMS
AT+CGSMS
Test Command
AT+CGSMS=?
Response
+CGSMS: (list of currently available <service>s)
OK
Parameter
See Write Command
Read Command
AT+CGSMS?
Response
+CGSMS: <service>
OK
Parameter
See Write Command
202
2013-10-23
preference to be used
0 Packet Domain
1 Circuit switched
2
Response -
Reference
Note
203
2013-10-23
Description
AT+CIPMUX
AT+CIPSTART
AT+CIPSEND
AT+CIPQSEND
AT+CIPACK
AT+CIPCLOSE
AT+CIPSHUT
AT+CLPORT
AT+CSTT
AT+CIICR
AT+CIFSR
AT+CIPSTATUS
AT+CDNSCFG
AT+CDNSGIP
AT+CIPHEAD
AT+CIPATS
AT+CIPSPRT
AT+CIPSERVER
AT+CIPCSGP
AT+CIPSRIP
AT+CIPDPDP
AT+CIPMODE
AT+CIPCCFG
AT+CIPSHOWTP
AT+CIPUDPMODE
AT+CIPRXGET
AT+CIPSCONT
AT+CIPRDTIMER
AT+CIPSGTXT
204
2013-10-23
Test Command
AT+CIPMUX=?
Response
+CIPMUX: (0,1)
OK
Parameter
See Write Command
Read Command
AT+CIPMUX?
Response
+CIPMUX: <n>
OK
Parameter
See Write Command
Response -
Reference
Note
Only in IP initial state, AT+CIPMUX=1 is effective;
Only when multi IP connection and GPRS application are both shut down,
AT+CIPMUX=0 is effective.
205
2013-10-23
OK
Parameters
See Write Command
Write Command
1)If single IP
connection
(+CIPMUX=0)
AT+CIPSTART=
<mode>,<IP
address>,<port>
Or
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
ALREADY CONNECT
AT+CIPSTART= Response when connection is successful
<mode>,<domai CONNECT OK
n name>,<port> Otherwise
STATE: <state>
2)If
multi-IP
connection
CONNECT FAIL
(+CIPMUX=1)
2)If multi-IP connection
AT+CIPSTART= (+CIPMUX=1)
<n>,<mode>,<ad If format is right
OK,
dress>,<port>
otherwise response
AT+CIPSTART= If error is related to ME functionality:
<n>,<mode>,<do +CME ERROR <err>
Response when connection exists
main name>,
<port>
<n>,ALREADY CONNECT
If connection is successful
<n>,CONNECT OK
Otherwise
<n>,CONNECT FAIL
Parameters
<n>
number
<mode>
0..5
<IP address>
address
<port>
Remote server port
<domain name> A string parameter which indicates remote server domain
name
<state>
A string parameter which indicates the progress of
SIM800 Series_AT Command Manual_V1.02
206
2013-10-23
connecting
0
1
2
3
4
5
IP INITIAL
IP START
IP CONFIG
IP GPRSACT
IP STATUS
TCP CONNECTING/UDP CONNECTING/
SERVER LISTENING
6
CONNECT OK
7
TCP CLOSING/UDP CLOSING
8
TCP CLOSED/UDP CLOSED
9
PDP DEACT
In Multi-IP state:
0
IP INITIAL
1
IP START
2
IP CONFIG
3
IP GPRSACT
4
IP STATUS
5
IP PROCESSING
9
PDP DEACT
Parameter Saving NO_SAVE
Mode
Max
Time
Response -
Reference
Note
This command allows establishment of a TCP/UDP connection only when
the state is IP INITIAL or IP STATUS when it is in single state. In
multi-IP state, the state is in IP STATUS only. So it is necessary to process
"AT+CIPSHUT" before user establishes a TCP/UDP connection with this
command when the state is not IP INITIAL or IP STATUS.
When module is in multi-IP state, before this command is executed, it is
necessary to process "AT+CSTT, AT+CIICR, AT+CIFSR".
8.2.3 AT+CIPSEND
AT+CIPSEND
Test Command
Response
AT+CIPSEND=? 1) For single IP connection (+CIPMUX=0)
+CIPSEND: <length>
OK
2) For multi IP connection (+CIPMUX=1)
+CIPSEND: (0-5),<length>
207
2013-10-23
OK
Parameters
See Write Command
Read Command
AT+CIPSEND?
Response
1) For single IP connection (+CIPMUX=0)
+CIPSEND:<size>
OK
2) For multi IP connection (+CIPMUX=1)
+CIPSEND:<n>,<size>
OK
Parameters
<n>
<size>
a time
Write Command
1) If single IP
connection
(+CIPMUX=0)
AT+CIPSEND=<
length>
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:
2) If multi IP When +CIPQSEND=0
connection
SEND OK
(+CIPMUX=1)
When +CIPQSEND=1
AT+CIPSEND=< DATA ACCEPT:<length>
If sending fails:
n>[,<length>]
SEND FAIL
If multi IP connection is established (+CIPMUX=1)
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
<n>,SEND OK
When +CIPQSEND=1
DATA ACCEPT:<n>,<length>
If sending fails:
<n>,SEND FAIL
Parameters
<n>
208
2013-10-23
<length>
A numeric parameter which indicates the length of sending
data, it must be less than <size>
Execution
Command
AT+CIPSEND
response">", then
type data for send,
tap CTRL+Z to
send, tap ESC to
cancel
the
operation
Response
This Command is used to send changeable length data.
If single IP connection is established (+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
SEND OK
When +CIPQSEND=1
DATA ACCEPT:<length>
If sending fails:
SEND FAIL
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.
Response When +CIPQSEND=0 and the remote server no response, after 645
seconds, CLOSE will be reported.
Reference
Note
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.
8.2.4 AT+CIPQSEND
AT+CIPQSEND
Test Command
AT+CIPQSEND
=?
Response
+CIPQSEND: (0,1)
OK
Parameter
See Write Command
Read Command
Response
209
2013-10-23
AT+CIPQSEND
?
+CIPQSEND: <n>
OK
Parameter
See Write Command
Write Command
AT+CIPQSEND
=<n>
Response
OK
Parameter
<n>
0 Normal mode when the server receives TCP data, it will
responsd 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.
Response -
Reference
Note
8.2.5 AT+CIPACK
AT+CIPACK
Test Command
AT+CIPACK=?
Response
OK
Write Command
If in multi IP
connection
(+CIPMUX=1)
AT+CIPACK=<
n>
Response
+CIPACK: <txlen>, <acklen>, <nacklen>
OK
Parameters
<n>
<txlen>
<acklen>
<nacklen>
Execution
Response
Command
+CIPACK: <txlen>, <acklen>, <nacklen>
If in single IP
connection
OK
(+CIPMUX=0)
Parameters
AT+CIPACK
See Write Command
Parameter Saving NO_SAVE
Mode
Max
Time
Response -
210
2013-10-23
Reference
Note
8.2.6 AT+CIPCLOSE
AT+CIPCLOSE
Test Command
AT+CIPCLOSE
=?
Response
OK
Write Command
1) If single IP
connection
(+CIPMUX=0)
Response:
1) For single IP connection (+CIPMUX=0)
CLOSE OK
2) For multi IP connection (+CIPMUX=1)
<n>, CLOSE OK
AT+CIPCLOSE
=<n>
2) If multi IP
connection
(+CIPMUX=1)
AT+CIPCLOSE
=<id>, [<n>]
Parameters
<n>
0 Slow close
1 Quick close
<id>
A numeric parameter which indicates the connection number
Execution
Command
AT+CIPCLOSE
Response
If close is successfully:
CLOSE OK
If close fails:
ERROR
Response -
Reference
Note
AT+CIPCLOSE only closes connection at the status of TCP/UDP which
returns CONNECTING or CONNECT OK, otherwise it will return
ERROR, after the connection is closed, the status is IP CLOSE in single IP
mode
Response
If close is successful:
SHUT OK
211
2013-10-23
If close fails:
ERROR
Parameter Saving NO_SAVE
Mode
Max
Time
Response 65 seconds
Reference
Note
If this command is executed in multi-connection mode, all of the IP
connection will be shut.
User can close gprs pdp context by AT+CIPSHUT. After it is closed, the
status is IP INITIAL.
If "+PDP: DEACT" urc is reported which means the gprs is released by the
network, then user still needs to execute "AT+CIPSHUT" command to
make PDP context come back to original state.
Response
1) For single IP connection (+CIPMUX=0)
+CLPORT: ("TCP","UDP"),(0-65535)
OK
2) For multi IP connection (+CIPMUX=1)
+CLPORT: (0-5),("TCP","UDP"),(0-65535)
OK
Parameters
See Write Command
Read Command
AT+CLPORT?
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>
+CLPORT: 1,<TCP port>,<UDP port>
+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
212
2013-10-23
Response
OK
ERROR
Parameters
<n>
0..5
A numeric parameter which indicates the connection
number this used in multi IP connection
<mode>
A string parameter which indicates the connection type
"TCP"
TCP local port
"UDP"
UDP local port
<port>
0-65535 A numeric parameter which indicates the local port
0 is default value, a port can be dynamically allocated a port.
Response -
Reference
8.2.9 AT+CSTT
Note
This command will be effective when module is set as a Client
Start Task and Set APN, USER NAME, PASSWORD
Response
+CSTT: "APN","USER","PWD"
OK
Parameters
See Write Command
Read Command
AT+CSTT?
Response
+CSTT: <apn>,<user name>,<password>
OK
Parameters
See Write Command
Write Command
AT+CSTT=<apn
>,<user
name>,<passwor
d>
Response
OK
ERROR
Parameters
<apn>
name
<user name>
<password>
213
2013-10-23
Response -
Execution
Command
AT+CSTT
Response
OK
ERROR
Reference
Note
The write command and execution command of this command is valid only
at the state of IP INITIAL. After this command is executed, the state will be
changed to IP START.
8.2.10 AT+CIICR
AT+CIICR
Test Command
AT+CIICR=?
Response
OK
Execution
Command
AT+CIICR
Response
OK
ERROR
Response 85 seconds
Reference
Note
AT+CIICR only activates moving scene at the status of IP START, after
operating this Command is executed, the state will be changed to IP
CONFIG.
After module accepts the activated operation, if it is activated successfully,
module state will be changed to IP GPRSACT, and it responds OK,
otherwise it will respond ERROR.
8.2.11 AT+CIFSR
AT+CIFSR
Test Command
AT+CIFSR=?
Response
OK
Execution
Command
AT+CIFSR
Response
<IP address>
ERROR
Parameter
<IP address> a string parameter which indicates the IP address assigned
from GPRS or CSD.
214
2013-10-23
Response -
Reference
Note
Only after PDP context is activated, local IP Address can be obtained by
AT+CIFSR, otherwise it will respond ERROR. The active status are IP
GPRSACT, TCP/UDP CONNECTING, CONNECT OK, IP CLOSE.
8.2.12 AT+CIPSTATUS
AT+CIPSTATUS
Test Command
Response
AT+CIPSTATUS OK
=?
Write Command
If multi IP
connection mode
(+CIPMUX=1)
AT+CIPSTATU
S=<n>
Response
+CIPSTATUS: <n>,<bearer>, <TCP/UDP>, <IP address>, <port>,
<client state>
OK
Parameters
See Execution Command
Execution
Response
Command
1If in single connection mode (+CIPMUX=0)
AT+CIPSTATUS OK
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>
number
<bearer>
<server state>
<client state>
215
2013-10-23
<state>
connecting
REMOTE CLOSING
CLOSING
CLOSED
A string parameter which indicates the progress of
0
1
2
3
4
5
IP INITIAL
IP START
IP CONFIG
IP GPRSACT
IP STATUS
TCP CONNECTING/UDP CONNECTING
/SERVER LISTENING
6
CONNECT OK
7
TCP CLOSING/UDP CLOSING
8
TCP CLOSED/UDP CLOSED
9
PDP DEACT
In Multi-IP state:
0
IP INITIAL
1
IP START
2
IP CONFIG
3
IP GPRSACT
4
IP STATUS
5
IP PROCESSING
9
PDP DEACT
Parameter Saving NO_SAVE
Mode
Max
Time
Response -
Reference
Note
216
2013-10-23
OK
Parameter
See Write Command
Write Command
AT+CDNSCFG=
<pri_dns>
[,<sec_dns>]
Response
OK
ERROR
Parameters
<pri_dns>
A string parameter which indicates the IP address of the
primary domain name server
<sec_dns>
A string parameter which indicates the IP address of the
secondary domain name server
Response -
Reference
Note
Response
OK
Write Command
AT+CDNSGIP=
<domain name>
Response
OK
ERROR
If successful, return:
+CDNSGIP: 1, <domain name>,<IP1>[,<IP2>]
If fail, return:
+CDNSGIP:0,<dns error code>
Parameters
<domain name>
A string parameter which indicates the domain name
<IP1>
A string parameter which indicates the first IP address
corresponding to the domain name
<IP2>
A string parameter which indicates the second IP address
corresponding to the domain name
<dns error code>
A numeric parameter which indicates the error code
8
DNS COMMON ERROR
There are some other error codes as well.
Response -
217
2013-10-23
Time
Reference
Note
8.2.15 AT+CIPHEAD
AT+CIPHEAD
Test Command
AT+CIPHEAD=
?
Response
+CIPHEAD: (list of supported <mode>s)
OK
Parameter
See Write Command
Read Command
AT+CIPHEAD?
Response
+CIPHEAD: <mode>
OK
Parameter
See Write Command
Write Command
AT+CIPHEAD=
<mode>
Response
OK
ERROR
Parameter
<mode>
A numeric parameter which indicates whether an IP header
is added to the received data or not.
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>:
Response -
Reference
Note
8.2.16 AT+CIPATS
AT+CIPATS
Test Command
AT+CIPATS=?
Response
+CIPATS: (list of supported <mode>s),(list of supported <time>)
218
2013-10-23
OK
Parameters
See Write Command
Read Command
AT+CIPATS?
Response
+CIPATS: <mode>,<time>
OK
Parameters
See Write Command
Response -
Reference
Note
Response
+CIPSPRT: <send prompt>
OK
Parameter
See Write Command
219
2013-10-23
send prompt>
ERROR
Parameter
<send prompt> A numeric parameter which indicates whether to echo
prompt > after module issues AT+CIPSEND command.
0 It shows "send ok" but does not prompt echo > when sending is
successful.
1 It prompts echo > and shows "send ok" when sending is
successful.
2 It neither prompts echo > nor shows "send ok" when sending is
successful.
Response -
Reference
Note
8.2.18 AT+CIPSERVER
AT+CIPSERVER
Test Command
AT+CIPSERVE
R=?
Read Command
AT+CIPSERVE
R?
Response
+CIPSERVER: <mode>[,<port>,<channel id>,<bearer>]
OK
Parameters
See Write Command
Write Command
AT+CIPSERVE
R=<mode>[,<por
t>]
Response
OK
ERROR
Parameters
<mode>
0
Close server
1 Open server
<port>
1..65535 Listening port
<channel id> Channel id
<bearer>
GPRS bearer
Parameter Saving NO_SAVE
Mode
220
2013-10-23
Max
Time
Response -
Reference
Note
This command is allowed to establish a TCP server only when the state is IP
INITIAL or IP STATUS when it is in single state. In multi-IP state, the state
is in IP STATUS only.
Response
+CIPCSGP: <mode>, <apn>, <user name>, <password>[,<rate>]
OK
Parameters
See Write Command
Write Command
AT+CIPCSGP=<
mode>[,
(<apn>,<user
name>,
<password>),(<d
ial
number>,<user
name>,<passwor
d>,<rate>)]
Response
OK
ERROR
Parameters
<mode>
mode
221
2013-10-23
2 9600
3 14400
Parameter Saving NO_SAVE
Mode
Max
Time
Response -
Reference
Note
8.2.20 AT+CIPSRIP Show Remote IP Address and Port When Received Data
AT+CIPSRIP Show Remote IP Address and Port When Received Data
Test Command
AT+CIPSRIP=?
Response
+CIPSRIP: (list of supported <mode>s)
OK
Parameter
See Write Command
Read Command
AT+CIPSRIP?
Response
+CIPSRIP: <mode>
OK
Parameter
See Write Command
Write Command
AT+CIPSRIP=<
mode>
Response
OK
ERROR
Parameter
<mode>
port.
Response -
Reference
222
2013-10-23
Response
+CIPDPDP: <mode>, <interval>, <timer>
OK
Parameters
See Write Command
Write Command
AT+CIPDPDP=<
mode>[,<interval
>,<timer>]
Response
OK
ERROR
Parameters
<mode>
0 Not set detect PDP
1 Set detect PDP
<interval>
1<=interval<=180(s)
<timer>
1<=timer<=10
Response -
Reference
Note
If "+PDP: DEACT" urc is reported because of module not attaching to gprs
for a certain time or other reasons, user still needs to execute
"AT+CIPSHUT" command makes PDP context come back to original state.
8.2.22 AT+CIPMODE
AT+CIPMODE
Test Command
Response
AT+CIPMODE= +CIPMODE: (0-NORMAL MODE,1-TRANSPARENT MODE)
?
OK
223
2013-10-23
Parameter
See Write Command
Read Command
Response
AT+CIPMODE? +CIPMODE: <mode>
OK
Parameter
See Write Command
Write Command Response
AT+CIPMODE= OK
<mode>
ERROR
Parameter
<mode>
0 Normal mode
1 Transparent mode
Response -
Reference
Note
Response
+CIPCCFG:
(NmRetry:3-8),(WaitTm:2-10),(SendSz:1-1460),(esc:0,1) ,(Rxmode:0,1),
(RxSize:50-1460),(Rxtimer:20-1000)
OK
Parameters
See Write Command
Read Command
AT+CIPCCFG?
Response
+CIPCCFG:
<NmRetry>,<WaitTm>,<SendSz>,<esc>,<Rxmode>,<RxSize>,<Rxtime
r>
OK
Parameters
See Write Command
224
2013-10-23
itTm>,<SendSz>,
<esc>[,<Rxmode
>,<RxSize>,<Rxt
imer>]
Parameters
<NmRetry>
Number of retries to be made for an IP packet.
<WaitTm>
Number of 200ms intervals to wait for serial input before
sending the packet.
<SendSz>
Size in bytes of data block to be received from serial port
before sending.
<esc>
Whether turn on the escape sequence, default is TRUE.
0
Turn off the escape sequence
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
Response -
Reference
Note
This command will be effective only in single connection mode
(+CIPMUX=0)
Test Command
Response
AT+CIPSHOWTP +CIPSHOWTP: (list of supported <mode>s)
=?
OK
Parameter
See Write Command
Read Command
Response
AT+CIPSHOWTP +CIPSHOWTP: <mode>
?
OK
Parameter
See Write Command
Write Command
Response
AT+CIPSHOWTP OK
=<mode>
ERROR
Parameter
225
2013-10-23
<mode>
A numeric parameter which indicates whether to display
transfer protocol in IP header to received data or not
0 Not display transfer protocol
1 Display transfer protocol, the format is "+IPD,
<data size>,<TCP/UDP>:<data>"
Parameter
Mode
Saving NO_SAVE
Note
This command will be effective only in single connection mode
(+CIPMUX=0)
Only when +CIPHEAD is set to 1, the setting of this command will work..
8.2.25 AT+CIPUDPMODE
AT+CIPUDPMODE
Test Command
Response
AT+CIPUDPMOD 1) For single IP connection (+CIPMUX=0)
E=?
+CIPUDPMODE: (0-2),("(0-255).(0-255).(0-255).(0-255)"),(1-65535)
OK
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
Read Command
Response
AT+CIPUDPMOD 1) For single IP connection (+CIPMUX=0)
E?
+CIPUDPMODE: <mode> [,<IP address>,<Port>]
OK
2) For multi IP connection (+CIPMUX=1)
+CIPUDPMODE: 0, <mode> [,<IP address>,<Port>]
+CIPUDPMODE: 1,<mode> [,<IP address>,<Port>]
+CIPUDPMODE: 2,<mode> [,<IP address>,<Port>]
+CIPUDPMODE: 3,<mode> [,<IP address>,<Port>]
+CIPUDPMODE: 4,<mode> [,<IP address>,<Port>]
+CIPUDPMODE: 5,<mode> [,<IP address>,<Port>]
OK
Parameter
See Write Command
226
2013-10-23
Write Command
1) For single IP
connection
(+CIPMUX=0)
AT+CIPUDPMOD
E=<mode>[,<IP
address>,<Port>]
2) For multi IP
connection
(+CIPMUX=1)
AT+CIPUDPMOD
E=<n>,<mode>[,<I
P
address>,<Port>]
Parameter Saving
Mode
Response
OK
ERROR
<n>
number
<mode>
NO_SAVE
Note
Response
OK
ERROR
227
2013-10-23
(+CIPMUX=0)
AT+CIPRXGET
=<mode>[,<reqle
ngth >]
2) If multi IP
connection
(+CIPMUX=1)
AT+CIPRXGET
=<mode>[,<id>,<
reqlength >]
228
2013-10-23
3
Similar to mode 2, but in HEX mode, which means the
module can get 730 bytes maximum at a time.
4
Query how many data are not read with a given ID.
<id>
A numeric parameter which indicates the connection number
<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
Time
Response -
Reference
Note
To enable this function, parameter <mode> must be set to 1 before
connection.
Response
TA returns TCPIP Application Context, which consists of the following
AT Command parameters.
+CIPSCONT: <mode0>
+CIPCSGP: <mode>
Gprs Config APN: <apn>
Gprs Config UserId: <user name>
Gprs Config Password: <password>
+CIPHEAD: <mode>
+CIPSHOWTP: <mode>
+CIPSRIP: <mode>
+CIPATS: <mode>,<time>
+CIPSPRT: <send prompt>,<notshowsendok>
+CIPQSEND: <n>
+CIPMODE: <mode>
+CIPCCFG:
<NmRetry>,<WaitTm>,<SendSz>,<esc>,<Rxmode>,<RxSize>,<Rxti
mer>
+CIPMUX: <n>
+CIPDPDP: <mode>, <interval>, <timer>
+CIPRXGET: <mode>
+CIPRDTIMER: <rdsigtimer>,<rdmuxtimer>
OK
229
2013-10-23
Parameters
<mode0>
Response
Module saves current TCPIP Application Contexts to NVRAM. When
system is rebooted, the parameters will be loaded automatically.
OK
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
Reference
Note
8.2.28 AT+CIPRDTIMER
AT+CIPRDTIMER
Test Command
AT+CIPRDTIM
ER=?
Response
+CIPRDTIMER: (100-4000),(100-7000)
OK
Parameter
See Write Command
Read Command
AT+CIPRDTIM
ER?
Response
+CIPRDTIMER: <rdsigtimer>,<rdmuxtimer>
OK
Parameter
See Write Command
Write Command
AT+CIPRDTIM
ER=<rdsigtimer
>,<rdmuxtimer>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<rdsigtimer> remote delay timer of single connection.
<rdmuxtimer> remote delay timer of multi-connections.
230
2013-10-23
Max
Time
Response -
Reference
Note
This command is used to shorten the disconnect time locally when the
remote server has been disconnected.
8.2.29 AT+CIPSGTXT
AT+CIPSGTXT
Test Command
AT+CIPSGTXT
=?
Response
+CIPSGTXT: (0,1)
OK
Parameter
See Write Command
Write Command
AT+CIPSGTXT
=<mode>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<mode> 0 select first PDP context
1 select second PDP context
Response -
Reference
Note
This command is used to select pdp context, only for multi IP connection
(+CIPMUX=1).
231
2013-10-23
Description
AT+SAPBR
Test Command
AT+SAPBR=?
Response
+SAPBR: (0-4),(1-3), "ConParamTag","ConParamValue"
OK
Parameters
See Write Command
Write Command
AT+SAPBR=<c
md_type>,<cid>[
,<ConParamTag
>,<ConParamVa
lue>]
Response
OK
If<cmd_type> = 2
+SAPBR: <cid>,<Status>,<IP_Addr>
OK
If <cmd_type>=4
+SAPBR:
<ConParamTag>,<ConParamValue>
OK
Unsolicited Result Code
+SAPBR <cid>: DEACT
Parameters
<cmd_type>
0
1
2
3
4
<cid>
<Status>
Close bearer
Open bearer
Query bearer
Set bearer parameters
Get bearer parameters
Bearer is connecting
232
2013-10-23
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
Parameter Saving NO_SAVE
Mode
Max
Time
Reference
Note
This command is applied to activate some applications such as HTTP, FTP.
233
2013-10-23
Description
AT+CIPPING
Ping request
AT+CIPCTL
AT+CIPFLT
AT+CIPPING
PING Request
Test Command
AT+CIPPING=?
Response
+CIPPING: (list of supported <retryNum>s),(list of supported
<dataLen>s),(list of supported <timeout>s),(list of supported <ttl>s)
OK
Parameters
See Write Command
Read Command
AT+CIPPING?
Response
+CIPPING: <retryNum>,<dataLen>,<timeout>,<ttl>
OK
Parameters
See Write Command
Write Command
AT+CIPPING=<IP
addr>[,<retryNum
>[,<dataLen>[,<ti
meout>[,<ttl>]]]]
Response
+CIPPING: <replyId>,<Ip Address>,<replyTime>,<ttl>[<CR><LF>
+CIPPING: <replyId>,<Ip Address>,<replyTime>,<ttl>
[...]]
OK
or
ERROR
or
+CME ERROR: <err>
234
2013-10-23
Parameters
<IPaddr>
Saving NO_SAVE
Note
z Before sending PING Request the GPRS context must be activated.
z When the Echo Request timeout expires (no reply received on
time), the response will contains <replyTime> setting to 600 and
<ttl> setting to 255.
z When executing this command, if PDP context is deactivated for
some reasons, such as out of service, etc.,the +PDP: DEACT
URC is reported and the command will end immediately.
AT+CIPCTL
Test Command
AT+CIPCTL=?
Response
+CIPCTL: (list of supported <mode>s)
OK
Parameters
See Write Command
Read Command
AT+CIPCTL?
Response
+CIPCTL: <mode>
235
2013-10-23
OK
Parameters
See Write Command
Write Command
Response
AT+CIPCTL=<mod OK
or
e>
ERROR
or
+CME ERROR: <err>
Parameters
<mode>
Parameter
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.
Saving NO_SAVE
Reference
Note
The value of <mode> is stored in non volatile memory.
Response
+CIPFLT: (list of supported <action>s),(list of supported <item>s)
OK
Parameter
See Write Command
Read Command
AT+CIPFLT?
Response
+CIPFLT: <item>,<ipAddr>,<mask>
[<CR><LF>+CIPFLT: <item>,<ipAddr>,<mask>
[]]
OK
Parameter
See Write Command
236
2013-10-23
Write Command
AT+CIPFLT=<actio
n>[,<item>][,
<ipAddr>,<mask>]
Response
OK
or
ERROR
or
+CME ERROR: <err>
Parameter
<action>
0
1
2
<item>
1-20
<ipAddr>
<mask>
Parameter
Mode
Saving NO_SAVE
Reference
Note
z When a packet comes from the IP address coming_IP, All rules
will be scanned to match the following criteria:
<coming_IP> & <mask> = <ipAddr> & <mask>
If the criteria is matched, the IP packet will be accepted and the rule
scan is finished. If the criteria is not matched, the IP packet will be
ignored.
z The rule is stored in non volatile memory.
237
2013-10-23
11.1 Overview
Command
Description
AT+HTTPINIT
AT+HTTPTERM
AT+HTTPPARA
AT+HTTPDATA
AT+HTTPACTION
AT+HTTPREAD
AT+HTTPSCONT
AT+HTTPSTATUS
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Response -
Reference
Note
HTTPINIT should first be executed to initialize the HTTP service.
238
2013-10-23
11.2.2 AT+HTTPTERM
AT+HTTPTERM
Test Command
AT+HTTPTER
M=?
Response
OK
Execution
command
AT+HTTPTER
M
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Response -
Reference
Note
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<HTTPParamTag>
HTTP Parameter
239
2013-10-23
240
2013-10-23
Max
Time
Response -
Reference
Note
Not all the HTTP Server supports "BREAK" and "BREAKEND"
parameters
Response -
Reference
Note
It is strongly recommended to set enough time to input all data with the
length of <size>.
11.2.5 AT+HTTPACTION
AT+HTTPACTION
Test Command
AT+HTTPACTI
ON=?
Response
+HTTPACTION: (0-2)
OK
241
2013-10-23
Parameter
See Write Command
Write Command
AT+HTTPACTI
ON=<Method>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Unsolicited Result Code
+HTTPACTION: <Method>,<StatusCode>,<DataLen>
Parameter
<Method>
242
2013-10-23
<DataLen>
Response About 5 seconds in test, dependence on network status and the size of
request website
Reference
Note
11.2.6 AT+HTTPREAD
AT+HTTPREAD
Test Command
AT+HTTPREA
D=?
243
2013-10-23
If<byte_size> is bigger than the data size received, module will only return
actual data size.
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<data>
<start_address>
<byte_size>
<data_len>
Execution
Command
AT+HTTPREA
D
Response
+HTTPREAD:<date_len>
<data>
OK
Read all data when AT+HTTPACTION=0 or AT+HTTPDATA is executed.
If error is related to ME functionality:
+CME ERROR: <err>
Response -
Reference
Note
Response
TA returns HTTP Application Context, which consists of the following
AT Command parameters.
+HTTPSCONT:<mode>
CID:<value>
URL: <value>
UA: <value>
PROIP: <value>
PROPORT: <value>
REDIR: <value>
BREAK: <value>
244
2013-10-23
BREAKEND: <value>
OK
Parameters
<mode>
Response
TA saves HTTP Application Context which consists of following AT
Command parameters, and when system is rebooted, the parameters will
be loaded automatically.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
Parameter Saving
Mode
Max
Time
NO_SAVE
Response -
Reference
Note
11.2.8 AT+HTTPSTATUS
AT+HTTPSTATUS
Test Command
AT+HTTPSTAT
US=?
Response
OK
Read Command
AT+HTTPSTAT
US?
Response
+HTTPSTATUS: <mode>,<status>,<finish>,<remain>
OK
If error is related to ME functionality:
+CME ERROR: <err>
245
2013-10-23
Parameter:
<mode>
GET
POST
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
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
246
2013-10-23
12.1 Overview
Command
Description
AT+FTPPORT
AT+FTPMODE
AT+FTPTYPE
AT+FTPPUTOPT
AT+FTPCID
AT+FTPREST
AT+FTPSERV
AT+FTPUN
AT+FTPPW
AT+FTPGETNAME
AT+FTPGETPATH
AT+FTPPUTNAME
AT+FTPPUTPATH
AT+FTPGET
Download file
AT+FTPPUT
AT+FTPSCONT
AT+FTPDELE
AT+FTPSIZE
AT+FTPSTATE
AT+FTPEXTPUT
AT+FTPMKD
AT+FTPRMD
AT+FTPLIST
247
2013-10-23
Test Command
AT+FTPPORT=
?
Response
OK
Read Command
AT+FTPPORT?
Response
+FTPPORT: <value>
OK
Parameter
See Write Command
Write Command
AT+FTPPORT=
<value>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<value>
Response -
Reference
Note
Numbers above 65535 are illegal as the port identification fields are 16 bits
long in the TCP header.
12.2.2 AT+FTPMODE
AT+FTPMODE
Test Command
Response
AT+FTPMOD=? OK
Read Command
Response
AT+FTPMODE? +FTPMODE: <value>
OK
Parameter
See Write Command
Write Command Response
AT+FTPMOD=< OK
If error is related to ME functionality:
value>
+CME ERROR: <err>
248
2013-10-23
Parameter
<value>
Response -
Reference
Note
12.2.3 AT+FTPTYPE
AT+FTPTYPE
Test Command
AT+FTPTYPE=
?
Response
OK
Read Command
AT+FTPTYPE?
Response
+FTPTYPE: <value>
OK
Parameter
See Write Command
Write Command
AT+FTPTYPE=
<value>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<value>
Response -
Reference
Note
When this value is set to A, all the data sent by the stack to the FTP server is
made of 7 bits characters (NVT-ASCII: the MSB is set to 0). As a
consequence binary data containing 8 bits characters will be corrupted
during the transfer if the FTPTYPE is set to A.
249
2013-10-23
Test Command
Response
AT+FTPPUTOP OK
T =?
Read Command
Response
AT+FTPPUTOP +FTPPUTOPT: <value>
T?
OK
Parameter
See Write Command
Write Command Response
AT+FTPPUTOP OK
If error is related to ME functionality:
T =<value>
+CME ERROR: <err>
Parameter
<value>
Response -
Reference
Note
12.2.5 AT+FTPCID
AT+FTPCID
Test Command
AT+FTPCID=?
Response
OK
Parameter
See Write Command
Read Command
AT+FTPCID?
Response
+FTPCID: <value>
OK
Parameter
See Write Command
250
2013-10-23
Parameter
<value>
Response -
Reference
Note
Response
OK
Read Command
AT+FTPREST?
Response
+FTPREST: <value>
OK
Parameter
See Write Command
Write Command
AT+FTPREST=
<value>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<value>
Response -
Reference
Note
Response
OK
251
2013-10-23
Read Command
AT+FTPSERV?
Response
+FTPSERV: <value>
OK
Parameter
See Write Command
Write Command
AT+FTPSERV=
<value>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<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
Response -
Reference
Note
12.2.8 AT+FTPUN
AT+FTPUN
Test Command
AT+FTPUN=?
Response
OK
Parameter
See Write Command
Read Command
AT+FTPUN?
Response
+FTPUN: <value>
OK
Parameter
See Write Command
252
2013-10-23
Parameter
<value>
Response -
Reference
Note
Response
OK
Parameter
See Write Command
Read Command
AT+FTPPW?
Response
+FTPPW: <value>
OK
Parameter
See Write Command
Write Command
AT+FTPPW=<v
alue>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<value>
Response -
Reference
Note
12.2.10 AT+FTPGETNAME
AT+FTPGETNAME
253
2013-10-23
Test Command
Response
AT+FTPGETNA OK
ME=?
Read Command
Response
AT+FTPGETNA +FTPGETNAME: <value>
ME?
OK
Parameter
See Write Command
Write Command Response
AT+FTPGETNA OK
If error is related to ME functionality:
ME =<value>
+CME ERROR: <err>
Parameter
<value>
Response -
Reference
Note
12.2.11 AT+FTPGETPATH
AT+FTPGETPATH
Test Command
Response
AT+FTPGETPA OK
TH=?
Read Command
Response
AT+FTPGETPA +FTPGETPATH: <value>
TH?
OK
Parameter
See Write Command
Write Command Response
AT+FTPGETPA OK
If error is related to ME functionality:
TH=<value>
+CME ERROR: <err>
254
2013-10-23
Parameter
<value>
Response -
Reference
Note
12.2.12 AT+FTPPUTNAME
AT+FTPPUTNAME
Test Command
Response
AT+FTPPUTNA OK
ME=?
Read Command
Response
AT+FTPPUTNA +FTPPUTNAME: <value>
ME?
OK
Parameter
See Write Command
Write Command Response
AT+FTPPUTNA OK
If error is related to ME functionality:
ME=<value>
+CME ERROR: <err>
Parameter
<value>
Response -
Reference
Note
12.2.13 AT+FTPPUTPATH
AT+FTPPUTPATH
Test Command
AT+FTPPUTPA
TH=?
Response
OK
255
2013-10-23
Read Command
AT+FTPPUTPA
TH?
Response
+FTPPUTPATH: <value>
OK
Parameter
See Write Command
Write Command
AT+FTPPUTPA
TH=<value>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<value>
Response -
Reference
Note
Response
OK
Write Command
AT+FTPGET=<
mode>[,<reqleng
th>]
Response
If mode is 1 and it is a successful FTP get session:
OK
+FTPGET:1,1
If data transfer finished:
+FTPGET:1,0
If mode is 1 and it is a failed FTP get session:
OK
+FTPGET:1,<error>
If mode is 2:
+FTPGET:2,<cnflength>
012345678
OK
If error is related to ME functionality:
256
2013-10-23
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
Parameter Saving NO_SAVE
Mode
Max
Time
Reference
Note
When "+FTPGET:1,1" is shown, then use AT+FTPGET:2,<reqlength> to
read data. If the module still has unread data, "+FTPGET:1,1" will be
shown again in a certain time.
Response
OK
Write Command
AT+FTPPUT=<
mode>[,<reqleng
th>]
Response
If mode is 1 and it is a successful FTP get session:
OK
+FTPPUT:1,1,<maxlength>
257
2013-10-23
//Input data
OK
If mode is 2 and <reqlength> is 0, it will respond OK, and FTP session will
be closed
OK
If data transfer finished.
+FTPPUT:1,0
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<mode>
<reqlength>
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 NO_SAVE
Mode
Max
Time
Reference
Note
When "+FTPPUT:1,1,<maxlength>" is shown, then use "AT+FTPPUT=2,
<reqlength>" to write data.
Response
TA returns FTP Application Context, which consists of the following AT
Command parameters.
+FTPSCONT:<mode>
+FTPSERV: <value>
+FTPPORT: <value>
258
2013-10-23
+FTPUN: <value>
+FTPPW: <value>
+FTPCID: <value>
+FTPMODE: <value>
+FTPTYPE: <value>
+FTPPUTOPT: <value>
+FTPREST: <value>
+FTPGETNAME: <value>
+FTPGETPATH: <value>
+FTPPUTNAME: <value>
+FTPPUTPATH: <value>
+FTPTIMEOUT: <value>
OK
Parameter
<mode>
Response
TA saves FTP Application Context which consist of following AT
Command parameters, and when system is rebooted, the parameters will
be loaded automatically.
OK
Parameter Saving
Mode
NO_SAVE
Max
Time
Response
Reference
Note
12.2.17 AT+FTPDELE
AT+FTPDELE
Test Command
AT+FTPDELE=?
Response
OK
Parameter
Execution
Command
AT+FTPDELE
Response
If successed:
OK
+FTPDELE:1,0
259
2013-10-23
If failed:
OK
+FTPDELE:1,<error>
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<error>
Parameter
Mode
Max
Time
See "AT+FTPGET"
Saving NO_SAVE
Response 60 seconds(In case no response is received from server)
Reference
Note
The file to be deleted is specified by the "AT+FTPGETNAME" and
"AT+FTPGETPATH" commands.
12.2.18 AT+FTPSIZE
AT+FTPSIZE
Test Command
AT+FTSIZE=?
Execution
Command
AT+FTPSIZE
Response
If successed:
OK
+FTPSIZE:1,0,<size>
If failed:
OK
+FTPSIZE:1,<error>,<0>
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<error>
<size>
Parameter
Mode
Max
Time
See "AT+FTPGET"
The file size. Unit: byte
Saving NO_SAVE
Response 60 seconds(In case no response is received from server)
260
2013-10-23
Reference
Note
The file is specified by
"AT+FTPGETPATH" commands.
12.2.19 AT+FTPSTATE
AT+FTPSTATE
the
"AT+FTPGETNAME"
and
Test Command
Response
AT+FTPSTATE=? OK
Parameter
Execution
Command
AT+FTPSTATE
Response
+FTPSTATE:<state>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<state>
0 idle
1 in the FTP session, including FTPGET, FTPPUT, FTPDELE and
FTPSIZE operation.
Parameter
Mode
Max
Time
Saving NO_SAVE
Response -
Reference
Note
Response
If mode is 0 or 1
OK
If mode is 2
+FTPEXTPUT: <address>,<len>
If error is related to ME functionality:
+CME ERROR: <err>
261
2013-10-23
Parameter
<mode>
0 use default FTPPUT method
1 use extend FTPPUT method
2 download data which neet to PUT to RAM
<pos> data offset address 0-300k
<len> data length 0-300k
<timeout> timeout value of serial port 1000ms-1000000ms
Parameter
Mode
Max
Time
Saving NO_SAVE
Response 60 seconds(In case no response is received from server)
Reference
Note
When extend FTPPUT mode is activated, input data then execute
AT+FTPPUT=1 to transmit, after session is complete, if successful, it
returns +FTPPUT: 1,0, otherwise it returns +FTPPUT: 1,<error>,
<error> see AT+FTPGET.
12.2.21 AT+FTPMKD
AT+FTPMKD
Test Command
AT+FTPMKD=?
Response
OK
Execution
Command
AT+FTPMKD
Response
If success:
OK
+FTPMKD: 1,0
If failed:
OK
+FTPMKD: 1,<error>
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<error>
Parameter
Mode
Max
Time
Reference
See AT+FTPGET
Saving NO_SAVE
Response 60 seconds(In case no response is received from server)
Note
The created folder is specified by the AT+FTPGETPATH command.
262
2013-10-23
12.2.22 AT+FTPRMD
AT+FTPRMD
Test Command
AT+FTPRMD=?
Response
OK
Execution
Command
AT+FTPRMD
Response
If success:
OK
+FTPRMD: 1,0
If failed:
OK
+FTPRMD: 1,<error>
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<error>
Parameter
Mode
Max
Time
See AT+FTPGET
Saving NO_SAVE
Response 60 seconds(In case no response is received from server)
Reference
Note
The removed folder is specified by the AT+FTPGETPATH command.
Response
OK
Write Command
AT+FTPLIST=<m
ode>[,<reqlength>
]
Response
If mode is 1 and it is a successful FTP get session:
OK
+FTPLIST: 1,1
If data transfer is finished:
+FTPLIST: 1,0
If mode is 1 and it is a failed FTP get session:
OK
+FTPLIST: 1,<error>
263
2013-10-23
If mode is 2:
+FTPLIST: 2,<cnflength>
012345678
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<mode>
1 For opening FTP get file list session
2 For reading FTP file list
<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 <reqlength>. 0 indicates that no data can be read.
<error> See AT+FTPGET
Parameter
Mode
Max
Time
Reference
Saving NO_SAVE
Response 60 seconds(In case no response is received from server)
Note
When +FTPLIST: 1,1 is shown, AT+FTPLIST: 2,<reqlength> can be
used to read data. If the module still has unread data, +FTPLIST: 1,1
will be shown again in a certain time.
264
2013-10-23
13.1 Overview
Command
Description
AT+CIPGSMLOC
AT+CIPGSMLOC
Test Command
Response
AT+CIPGSMLOC= +CIPGSMLOC: (1,2),(1-3)
?
OK
Parameter
See Write Command
Write Command
Response
AT+CIPGSMLOC= If <type>=1:
<type>,<cid>
+CIPGSMLOC:<locationcode>[,<longitude>,<latitude>,<date>,<ti
me>]
OK
If <type>=2:
+CIPGSMLOC:<locationcode>[,<date>,<time>]
OK
If error is related to ME functionality:
+CME ERROR:<err>
Parameter
<type>
<cid>
<locationcode> 0
Success
If the operation failed, the location code is not 0, such as:
404 Not Found
265
2013-10-23
<longitude>
<latitude>
<date>
<time>
Parameter
Mode
Saving NO_SAVE
Reference
Note
266
2013-10-23
2.
3.
4.
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.
SIM800 series supports to retrieve and delete the Email via POP3 protocol, the Email
may be with attachments.
SIM800 series supports all of POP3 commands but APOP. By these POP3 commands,
you can get the specific Emails size and unique-id.
SIM800 series does not support that SMTP and POP3 operations are executed at the
same time.
14.1 Overview
Command
Description
AT+EMAILCID
AT+EMAILTO
AT+SMTPSRV
AT+SMTPAUTH
AT+SMTPFROM
AT+SMTPRCPT
AT+SMTPSUB
AT+SMTPBODY
AT+SMTPFILE
AT+SMTPSEND
AT+SMTPFT
AT+SMTPCS
AT+POP3SRV
AT+POP3IN
AT+POP3NUM
AT+POP3LIST
AT+POP3UIDL
AT+POP3CMD
AT+POP3READ
AT+POP3DEL
AT+POP3RSET
AT+POP3OUT
267
2013-10-23
AT+EMAILCID
Test Command
AT+EMAILCID=?
Response
+EMAILCID: (range of supported <cid>s)
OK
Parameters
See Write Command
Read Command
AT+EMAILCID?
Response
+EMAILCID: <cid>
OK
Parameters
See Write Command
Write Command
Response
AT+EMAILCID=<c
id>
OK
If error is related to ME functionality:
ERROR
Parameters
<cid>
bearer profile identifier refer to AT+SAPBR
Parameter
Mode
Saving NO_SAVE
Reference
Note
14.2.2 AT+EMAILTO
AT+EMAILTO
Test Command
AT+EMAILTO=?
268
2013-10-23
Read Command
AT+EMAILTO?
Response
+EMAILTO: <timeout>
OK
Parameter
See Write Command
Write Command
AT+EMAILTO=<ti
meout>
Response
OK
If error is related to ME functionality:
ERROR
Parameter
<timeout> The timeout value of SMTP/POP3 server response, in 1
second unit.
10-120 Default: 30(seconds)
Parameter
Mode
Saving NO_SAVE
Reference
Note
14.2.3 AT+SMTPSRV
AT+SMTPSRV
Test Command
AT+SMTPSRV=?
Read Command
AT+SMTPSRV?
Response
+SMTPSRV: <smtpServer>,<smtpPort>
OK
Parameter
See Write Command
Write Command
AT+SMTPSRV=
<smtpServer>[,<sm
tpPort>]
Response
OK
If error is related to ME functionality:
ERROR
269
2013-10-23
Parameter
<smtpServer>
Saving NO_SAVE
Reference
Note
14.2.4 AT+SMTPAUTH
AT+SMTPAUTH
Test Command
Response
AT+SMTPAUTH=? +SMTPAUTH: (range of supported<authType>s),<userNameLength>,<passwordLength>
OK
Parameter
See Write Command
Read Command
AT+SMTPAUTH?
Response
+SMTPAUTH: <authType>,<username>,<password>
OK
Parameter
See Write Command
Write Command
AT+SMTPAUTH=<
authType>[,<userNa
me>,<password>]
Response
OK
If error is related to ME functionality:
ERROR
Parameter
<authType>
0
270
2013-10-23
Saving NO_SAVE
Reference
Note
14.2.5 AT+SMTPFROM
AT+SMTPFROM
Test Command
AT+SMTPFROM=
?
Response
+SMTPFROM: <senderAddressLength>,<senderNameLength>
OK
Parameter
See Write Command
Read Command
AT+SMTPFROM?
Response
+SMTPFROM: <senderAddress>,<senderName>
OK
Parameter
See Write Command
Write Command
AT+SMTPFROM=
<senderAddress>[,<s
enderName>]
Response
OK
If error is related to ME functionality:
ERROR
Parameter
<senderAddress>
<senderAddressLength>
<senderName>
<senderNameLength>
Parameter
Mode
Saving NO_SAVE
Reference
Note
271
2013-10-23
14.2.6 AT+SMTPRCPT
AT+SMTPRCPT
Test Command
Response
AT+SMTPRCPT=? +SMTPRCPT: (range of supported <rcptType>s),(range of supported
<index>s),<rcptAddressLength>,<rcptNameLength>
OK
Parameter
See Write Command
Read Command
AT+SMTPRCPT?
Response
[+SMTPRCPT: <rcptType>,<index>,<rcptAddress>,<rcptName>
[<CR><LF>+SMTPRCPT: <rcptType>,<index>,<rcptAddress>,
<rcptName>[]]]
OK
Parameter
See Write Command
Write Command
AT+SMTPRCPT=<
rcptType>[,<index>
[,<rcptAddress>[,<r
cptName>]]]
Response
OK
If error is related to ME functionality:
ERROR
Parameter
<rcptType>
Parameter
Mode
Saving NO_SAVE
Reference
Note
z If only <rcptType> is given,it will delete all items of <rcptType>
z If only <rcptType> and <index> are given,it will delete the <index>
item of <rcptType>.
272
2013-10-23
14.2.7 AT+SMTPSUB
AT+SMTPSUB
Test Command
AT+SMTPSUB=?
Read Command
AT+SMTPSUB?
Response
+SMTPSUB: <subject>
OK
Parameter
See Write Command
Write Command
Response
AT+SMTPSUB=<su OK
If error is related to ME functionality:
bject>
ERROR
Parameter
<subject>
Saving NO_SAVE
Reference
Note
If the Email charset is not ASCII,<subject> must be in hexadecimal
format.
14.2.8 AT+SMTPBODY
AT+SMTPBODY
Test Command
Response
AT+SMTPBODY=? +SMTPBODY: <bodyLength>
OK
Parameter
See Write Command
273
2013-10-23
Write Command
AT+SMTPBODY=<
length>
,then type data as
Email body. When
bodys length equal
length, command is
over!
Parameter
Mode
Response
DOWNLOAD
OK
If error is related to ME functionality:
ERROR
Parameter
<length>
Saving NO_SAVE
Reference
Note
z If the Email charset is not ASCII, the body of Email must be in
hexadecimal format.
z After urc string DOWNLOAD, User can input emails body!
14.2.9 AT+SMTPFILE
AT+SMTPFILE
Test Command
AT+SMTPFILE=?
Response
+SMTPFILE: (range of <fileType>s),<fileNameLength>,(range of
<encodeType>s)
OK
Parameter
See Write Command
Read Command
AT+SMTPFILE?
Response
+SMTPFILE: <fileType>,<fileName>,<encodeType>
OK
Parameter
See Write Command
Write Command
AT+SMTPFILE=<fi
leType>[,<fileName>
,<encodeType>]
Response
OK
If error is related to ME functionality:
ERROR
Parameter
<fileType>
The type of the Email attachment.
0 no attachment
1
attach a txt file
274
2013-10-23
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
Mode
Saving NO_SAVE
Reference
Note
z If a txt file (<fileType>=1) is attached, <encodeType> must be 0.
z If a binary file (<fileType>=2) is attached, <encodeType> must be
1.
14.2.10 AT+SMTPSEND
AT+SMTPSEND
Test Command
AT+SMTPSEND=?
Response
OK
Parameter
275
2013-10-23
68
Parameter
Mode
Bad recipient.
Saving NO_SAVE
Reference
Note
14.2.11 AT+SMTPFT
AT+SMTPFT
Test Command
AT+SMTPFT=?
Response
OK
Parameter
See Write Command
Write Command
Response
AT+SMTPFT=<req When the URC below is reported, the attachment can be transferred:
Length>
+SMTPFT: 1,<maxLength>
If <reqLength> is not 0 and send data successfully:
+SMTPFT: 2,<cnfLength>
......
//Input data
OK
If <reqLength> is not 0 and send data unsuccessfully:
+SMTPFT: 2,<cnfLength>
......
//Input data
ERROR
If <reqLength> is 0,it indicates that transferring the attachment have
finished:
OK
If error is related to ME functionality:
ERROR
If some error occur:
+SMTPSEND: <code>
Parameter
<reqLength>
<cnfLength>
276
2013-10-23
<maxLength>
<code>
Parameter
Mode
Saving NO_SAVE
Reference
Note
z <reqLength> can not be greater than <maxLength>.
z When +SMTPFT: 1,<maxLength> is reported, then use
AT+SMTPFT=<reqLength> to send data.
14.2.12 AT+SMTPCS
AT+SMTPCS
Test Command
AT+SMTPCS=?
Response
+SMTPCS: <charsetLength>
OK
Parameter
See Write Command
Read Command
AT+SMTPCS?
Response
+SMTPCS: <charset>
OK
Parameter
See Write Command
Write Command
Response
AT+SMTPCS=<cha OK
If error is related to ME functionality:
rset>
ERROR
Parameter
<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
Mode
Saving NO_SAVE
277
2013-10-23
Reference
Note
14.2.13 AT+POP3SRV
AT+POP3SRV
Test Command
AT+POP3SRV=?
Read Command
AT+POP3SRV?
Response
+POP3SRV: <pop3Server>,<userName>,<password>,<pop3Port>
OK
Parameter
See Write Command
Write Command
AT+POP3SRV=<po
p3Server>,<userNa
me>,<password>[,<p
op3Port>]
Response
OK
If error is related to ME functionality:
ERROR
Parameter
<pop3Server>
Saving NO_SAVE
Reference
Note
278
2013-10-23
14.2.14 AT+POP3IN
AT+POP3IN
Test Command
AT+POP3IN=?
Response
OK
Parameter
Saving NO_SAVE
Reference
Note
14.2.15 AT+POP3NUM
AT+POP3NUM
Test Command
AT+POP3NUM=?
Response
OK
Parameter
279
2013-10-23
Saving NO_SAVE
Reference
Note
14.2.16 AT+POP3LIST
AT+POP3LIST
Test Command
AT+POP3LIST=?
Response
+POP3LIST: (range of supported <msgNumber>s)
OK
Parameter
See Write Command
Write Command
Response
AT+POP3LIST=<m OK
If error is related to ME functionality:
sgNumber>
ERROR
If POP3 server issues a positive response:
+POP3LIST: 1,<msgNumber>,<size>
If POP3 server issues a negative response:
+POP3LIST: 0
280
2013-10-23
Saving NO_SAVE
Reference
Note
14.2.17 AT+POP3UIDL
AT+POP3UIDL
Test Command
AT+POP3UIDL=?
Response
+POP3UIDL: (range of supported <msgNumber>s)
OK
Parameter
See Write Command
Write Command
AT+POP3UIDL=<
msgNumber>
Response
OK
If error is related to ME functionality:
ERROR
If POP3 server issues a positive response:
+POP3UIDL: 1,<msgNumber>,<uid>
If POP3 server issues a negative response:
+POP3UIDL: 0
If some error occur:
+POP3OUT: <code>
Parameter
<msgNumber > The message number of Email .
<UID>
The Email unique-id, the unique-id is an arbitrary
281
2013-10-23
<code>
1
61
62
63
64
Parameter
Mode
Saving NO_SAVE
Reference
Note
14.2.18 AT+POP3CMD
AT+POP3CMD
Test Command
AT+POP3CMD=?
Response
+POP3CMD: (range of supported <cmdType>s),(range of supporte
d<msgNumber>s),(range of supported <lineNumber>s)
OK
Parameter
See Write Command
Write Command
AT+POP3CMD=<c
mdType>[,<msgNum
ber>[,lineNumber]]
Response
OK
If error is related to ME functionality:
ERROR
If POP3 server issues a positive response:
+POP3CMD: 1
If POP3 server issues a negative response:
+POP3CMD: 0
If some error occur:
+POP3OUT: <code>
Parameter
<cmdType>
The values that supported POP3 user command
1
List command
The List command returns a multi-line scan listing. For
each message on the maildrop list of the server the POP3
service returns a line containing the message number and its
size in bytes. A final dotline will be printed at the end of the
scan listing. If there are no messages on the maildrop list of
the server, the POP3 service returns a positive response, i.e. It
282
2013-10-23
does not issue an error response, but the scan listing will be
empty. In either case,each scan listing will be finished by
so-called 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 uniqueid 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 messages
body from the POP3 servers 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
messages 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 servers 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
283
2013-10-23
64
Parameter
Mode
Saving NO_SAVE
Reference
Note
After sending these POP3 commands and POP3 server issuing a positive
response, you can get the response by AT+POP3READ.
14.2.19 AT+POP3READ
AT+POP3READ
Test Command
AT+POP3READ=?
Response
+POP3READ: (range of supported <reqLength>s)
OK
Parameter
See Write Command
Write Command
AT+POP3READ=<
reqLength>
Response
If the data of response not to be read completely:
+POP3READ: 1,<cnfLength>
If the data of response to be read completely:
+POP3READ: 2,<cnfLength>
If some data need to be read,the URC below is reported:
+POP3READ: 3,<dataLength>
If error is related to ME functionality:
ERROR
If some error occur:
+POP3OUT: <code>
Parameter
<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 <reqLength>. 0 indicates that no data can be
read.
<dataLength> Received number of data bytes.
<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
69
Read data timeout
Parameter
Saving NO_SAVE
284
2013-10-23
Mode
Max Response Time
Reference
Note
z Other AT commands (but AT+POP3OUT) can not be executed
until the data of response are read completely.
z If <confLength> is less than <reqLength>, you should wait for a
URC +POP3READ: 3,<dataLength> reported. Then you may
continue to read data by AT+POP3READ.
z If the module has some unread data, the URC +POP3READ:
3,<dataLength> is reported every once in a while. After so
me time, these data are not still read, the module will quit th
e POP3 process.
14.2.20 AT+POP3DEL
AT+POP3DEL
Test Command
AT+POP3DEL=?
Write Command
AT+POP3DEL=<m
sgNumber>
Response
OK
If error is related to ME functionality:
ERROR
If POP3 server issues a positive response:
+POP3DEL: 1
If POP3 server issues a negative response:
+POP3DEL: 0
If some error occur:
+POP3OUT: <code>
Parameter
<msgNumber>
The message number of Email
<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
Mode
Saving NO_SAVE
285
2013-10-23
Reference
Note
The POP3 server marks the Email as deleted. Any future reference to the
message-number associated with the Email in a POP3 command
generates an error. The POP3 server does not actually delete the Email
until the POP3 client logs out POP3 server and closes the session
normally.
14.2.21 AT+POP3RSET
AT+POP3RSET
Test Command
AT+POP3RSET=?
Response
OK
Parameter
Saving NO_SAVE
Reference
Note
286
2013-10-23
14.2.22 AT+POP3OUT
AT+POP3OUT
Test Command
AT+POP3OUT=?
Saving NO_SAVE
Reference
Note
287
2013-10-23
15.1 Overview
Command
Description
AT+CMMSCURL
AT+CMMSPROTO
AT+CMMSCID
AT+CMMSSENDCFG
AT+CMMSEDIT
AT+CMMSDOWN
AT+CMMSDELFILE
AT+CMMSSEND
AT+CMMSRECP
Add recipients
AT+CMMSCC
AT+CMMSBCC
AT+CMMSDELRECP
Delete recipients
AT+CMMSDELCC
AT+CMMSDELBCC
AT+CMMSRECV
Receive MMS
AT+CMMSVIEW
AT+CMMSREAD
AT+CMMSRDPUSH
AT+CMMSUA
AT+CMMSPROFILE
AT+CMMSTIMEOUT
AT+CMMSSTATUS
AT+CMMSINIT
AT+CMMSTERM
AT+CMMSSCONT
288
2013-10-23
AT+CMMSCURL
Test Command
Response
AT+CMMSCURL= +CMMSCURL: URL
?
OK
Parameter
See Write Command
Read Command
AT+CMMSCURL?
Response
+CMMSCURL: <mmscurl>
OK
Parameter
See Write Command
Write Command
Response
AT+CMMSCURL= OK
or
<mmscurl>
ERROR
or
+CME ERROR: <err>
Parameter
<mmscurl>
Parameter
Mode
Saving AT+CMMSSCONT
Reference
Note
15.2.2 AT+CMMSPROTO
AT+CMMSPROTO
Test Command
Response
AT+CMMSPROTO +CMMSPROTO: (0-255).(0-255).(0-255).(0-255),(1-65535)
=?
OK
Parameters
See Write Command
289
2013-10-23
Read Command
Response
AT+CMMSPROTO +CMMSPROTO: <Gateway>,<Port>
?
OK
Parameters
See Write Command
Write Command
AT+CMMSPROTO
=<Gateway>,<Port
>
Response
OK
or
ERROR
or
+CME ERROR: <err>
Parameters
<Gateway>
<Port>
Parameter
Mode
Saving AT+CMMSSCONT
Reference
Note
15.2.3 AT+CMMSCID
AT+CMMSCID
Test Command
AT+CMMSCID=?
Response
+CMMSCID: (1-3)
OK
Parameter
See Write Command
Read Command
AT+CMMSCID?
Response
+CMMSCID: <value>
OK
Parameter
See Write Command
Write Command
Response
AT+CMMSCID=<v OK
or
alue>
ERROR
or
290
2013-10-23
Parameter
<value> network parameters, refer to AT+SAPBR
Parameter
Mode
Saving AT+CMMSSCONT
Reference
Note
15.2.4 AT+CMMSSENDCFG
AT+CMMSSENDCFG
Test Command
Response
AT+CMMSSENDC +CMMSSENDCFG: (0-6), (0-3),(0,1), (0,1),(0-2),(0-4),(1-2),(0,1)
FG=?
OK
Parameter
See Write Command
Read Command
Response
AT+CMMSSENDC +CMMSSENDCFG:
FG?
<valid>,<pri>,<sendrep>,<readrep>,<visible>,<class>,<subctrl>,<no
tifrspcheck>
OK
Parameter
See Write Command
Write Command
AT+CMMSSENDC
FG=<valid>[,<pri>[
,<sendrep>[,<readre
p>[,<visible>[,<class
>[,<subctrl>
[,<notifrspcheck>]]]
]]]]
Response
OK
or
ERROR
or
+CME ERROR: <err>
Parameter
<valid> The valid time of sent MMS
0 1 hour
1 12 hours
2 24 hours
291
2013-10-23
3 2 days
4 1 week
5 maximum
6 Not set (default)
<pri>
Priority
0 lowest
1 normal
2 highest
3 Not Set (default)
<sendrep> Whether it need deliver report
0 No (default)
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
Mode
Saving AT+CMMSSCONT
Reference
Note
15.2.5 AT+CMMSEDIT
AT+CMMSEDIT
292
2013-10-23
Test Command
Response
AT+CMMSEDIT=? +CMMSEDIT: (0,1)
OK
Parameter
See Write Command
Read Command
AT+CMMSEDIT?
Response
+CMMSEDIT: <mode>
OK
Parameter
See Write Command
Write Command
Response
AT+CMMSEDIT=< OK
or
mode>
ERROR
or
+CME ERROR: <err>
Parameter
<mode> Whether it allows to edit MMS
0
Not allow to edit MMS
1
Allow to edit MMS
Parameter
Mode
Saving NO_SAVE
Reference
Note
It includes adding and deleting receipt, downloading and deleting files,
downloading title to edit MMS.
15.2.6 AT+CMMSDOWN
AT+CMMSDOWN
Test Command
AT+CMMSDOWN
=?
Response
+CMMSDOWN: "PIC", (1-307200), (5000-),"NAME"
+CMMSDOWN: "TEXT", (1-15360), (2000-),"NAME"
+CMMSDOWN: "TITLE", (1-40), (2000-)
OK
Write Command
AT+CMMSDOWN
=<type>,<size>,<tim
e>[,<name>]
Response
CONNECT
or
ERROR
293
2013-10-23
or
+CME ERROR: <err>
Parameters
<type>
<size>
<time>
<name>
Parameter
Mode
Saving NO_SAVE
Decided by <time>
Reference
Note
z It is strongly recommended to set the time long enough to download
all the file data and make sure that the real size of the file to
download is not bigger than <size>.
z The maximum size of <name> is 40 Bytes and only ASCII code is
recognized for <name>.
15.2.7 AT+CMMSDELFILE
AT+CMMSDELFILE
Test Command
AT+CMMSDELFI
LE=?
Response
OK
Write Command
AT+CMMSDELFI
LE=<fileIndex>
Response
OK
or
ERROR
or
+CME ERROR: <err>
Parameter
<fileIndex>
294
2013-10-23
Parameter
Mode
Saving NO_SAVE
Reference
Note
This command is valid when it is allowed to edit MMS
15.2.8 AT+CMMSSEND
AT+CMMSSEND
Test Command
AT+CMMSSEND=
?
Write Command
AT+CMMSSEND=
<address>
Response
OK
or
ERROR
or
+CME ERROR: <err>
Parameter
<address> a string parameter which indicates address of recipients.
Saving NO_SAVE
AT+CMMSTIMEOUT
Reference
Note
It is not allowed to input <address> when it not allowed to edit MMS
15.2.9 AT+CMMSRECP
AT+CMMSRECP
Test Command
AT+CMMSRECP=
?
Add recipients
Add recipients
Response
+CMMSRECP: "ADDRESS"
OK
295
2013-10-23
Read Command
AT+CMMSRECP?
Response
+CMMSRECP: the list of <addr>s
OK
Parameter
See Write Command
Write Command
AT+CMMSRECP=
<addr>
Response
OK
or
ERROR
or
+CME ERROR: <err>
Parameter
<addr>
Parameter
Mode
Saving NO_SAVE
Reference
Note
The maximum of recipients is 20 and this command is valid only when it
is allowed to edit MMS
15.2.10 AT+CMMSCC
AT+CMMSCC
Test Command
AT+CMMSCC=?
Response
+CMMSCC: "ADDRESS"
OK
Read Command
AT+CMMSCC?
Response
+CMMSCC: the list of <addr>s
OK
Parameter
See Write Command
Write Command
Response
AT+CMMSCC=<ad OK
or
dr>
ERROR
or
296
2013-10-23
Parameter
<addr>
Parameter
Mode
Saving NO_SAVE
Reference
Note
The maximum of copy recipients is 20 and this command is valid only
when it is not allowed to edit MMS
15.2.11 AT+CMMSBCC
AT+CMMSBCC
Test Command
AT+CMMSBCC=?
Response
+CMMSBCC: "ADDRESS"
OK
Read Command
AT+CMMSBCC?
Response
+CMMSBCC: the list of <addr>s
OK
Parameter
See Write Command
Write Command
AT+CMMSBCC=<
addr>
Response
OK
or
ERROR
or
+CME ERROR: <err>
Parameter
<addr>
Parameter
Mode
Saving NO_SAVE
Reference
Note
297
2013-10-23
15.2.12 AT+CMMSDELRECP
AT+CMMSDELRECP
Delete recipients
Delete recipients
Test Command
Response
AT+CMMSDELRE +CMMSDELRECP: "ADDRESS"
CP=?
OK
Write Command
Response
AT+CMMSDELRE OK
or
CP=<addr>
ERROR
or
+CME ERROR: <err>
Parameter
<addr>
Saving NO_SAVE
Reference
Note
This command is valid when it is allowed to edit MMS
15.2.13 AT+CMMSDELCC
AT+CMMSDELCC
Test Command
Response
AT+CMMSDELCC +CMMSDELCC: "ADDRESS"
=?
OK
Write Command
Response
AT+CMMSDELCC OK
or
=<addr>
ERROR
or
298
2013-10-23
Parameter
<addr>
Saving NO_SAVE
Reference
Note
This command is valid when it is allowed to edit MMS
15.2.14 AT+CMMSDELBCC
AT+CMMSDELBCC
Test Command
Response
AT+CMMSDELBC +CMMSDELBCC: "ADDRESS"
C=?
OK
Write Command
Response
AT+CMMSDELBC OK
or
C=<addr>
ERROR
or
+CME ERROR: <err>
Parameter
<addr>
Saving NO_SAVE
Reference
Note
This command is valid when it is allowed to edit MMS
299
2013-10-23
15.2.15 AT+CMMSRECV
AT+CMMSRECV
Receive MMS
Receive MMS
Test Command
Response
AT+CMMSRECV= +CMMSRECV: (range of <index>)
?
OK
Write Command
Response
AT+CMMSRECV= +CMMSRECV:
<index>
"<sender>","<time>","<subject>",<size><CR><LF>
list of <fileIndex,name,type,filesize><CR><LF>
OK
or
ERROR
or
+CME ERROR: <err>
Parameters
<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
Mode
Saving NO_SAVE
AT+CMMSTIMEOUT
Reference
Note
z This command is valid only when it is not allowed to edit MMS and
the buffer for MMS will be clear up. So it is recommended to save
the MMS in the buffer before receiving MMS.
300
2013-10-23
z
z
15.2.16 AT+CMMSVIEW
AT+CMMSVIEW
Test Command
AT+CMMSVIEW=
?
The received MMS is just saved in the buffer but not saved in the
flash.
The maximum number of inclosure is 10.
301
2013-10-23
Parameter
Mode
Saving NO_SAVE
Reference
Note
15.2.17 AT+CMMSREAD
<name>
<datSize>
Parameter
Mode
Saving NO_SAVE
5s
Reference
Note
If the file type is text, the character set of the output text is Unicode little
endian without the header FF FE.
15.2.18 AT+CMMSRDPUSH
Response
+CMMSRDPUSH: (range of <index>)
OK
302
2013-10-23
Write Command
AT+CMMSRDPUS
H=<index>
Response
+CMMSRDPUSH:
2,<sender>,<subject>,<transaction>,<location>,<time>,<
class>,<size>
OK
or
+CMMSRDPUSH: 6, <receiver>,<time>,<status>
OK
or
+CMMSRDPUSH: 255
OK
or
+CME ERROR: <err>
Parameters
The first parameter of the response should be 2 or 6, or the other type of
the MMS PDU.
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
<status>
The status of the sent MMS
0
Expired
1
Retrieved
2
Rejected
3
Defered
4
Unrecognized
303
2013-10-23
Parameter
Mode
Saving NO_SAVE
5s
Reference
Note
z This command is valid only when it is not allowed to edit MMS and
the buffer for MMS will be clear up. So it is recommended to save
the MMS in the buffer before receiving MMS.
z The received MMS is just saved in the buffer but not saved in the
flash.
15.2.19 AT+CMMSUA
AT+CMMSUA
Test Command
AT+CMMSUA=?
Response
+CMMSUA: "UserAgent"
OK
Parameter
See Write Command
Read Command
AT+CMMSUA?
Response
+CMMSUA: <UA>
OK
Parameter
See Write Command
Write Command
AT+CMMSUA=<U
A>
Response
OK
or
ERROR
or
+CME ERROR: <err>
Parameter
<UA>
Parameter
Mode
Saving AT+CMMSSCONT
Reference
Note
304
2013-10-23
15.2.20 AT+CMMSPROFILE
AT+CMMSPROFILE
Test Command
AT+CMMSPROFI
LE=?
Response
+CMMSPROFILE: "UserAgentProfile"
OK
Parameter
See Write Command
Read Command
AT+CMMSPROFI
LE?
Response
+CMMSPROFILE: <UAProfile>
OK
Parameter
See Write Command
Write Command
AT+CMMSPROFI
LE=<UAProfile>
Response
OK
or
ERROR
or
+CME ERROR: <err>
Parameter
<UAProfile>
Parameter
Mode
Saving AT+CMMSSCONT
Reference
Note
15.2.21 AT+CMMSTIMEOUT
AT+CMMSTIMEOUT
Test Command
Response
AT+CMMSTIMEO +CMMSTIMEOUT: (10-1000),(10-1000)
UT=?
OK
Parameters
See Write Command
305
2013-10-23
Read Command
Response
AT+CMMSTIMEO +CMMSTIMEOUT: <Send timeout>,<Recv timeout>
UT?
OK
Parameters
See Write Command
Write Command
AT+CMMSTIMEO
UT=<Send
timeout>,<Recv
timeout>>
Response
OK
or
ERROR
or
+CME ERROR: <err>
Parameters
<Send timeout>
<Recv timeout>
Parameter
Mode
Saving AT+CMMSSCONT
Reference
Note
15.2.22 AT+CMMSSTATUS
AT+CMMSSTATUS
Test Command
AT+CMMSSTATU
S=?
Read Command
AT+CMMSSTATU
S
Response
+CMMSSTATUS:<status>
OK
or
ERROR
or
+CME ERROR: <err>
Parameter
<status>
status of MMS action
MMS_IDLE
MMS_DOWNLOADING
MMS_DOWNLOADED
306
2013-10-23
MMS_SENDING
MMS_RECEIVING
MMS_RECEIVED
MMS_READING
MMS_READING_PUSH
Parameter
Mode
Saving NO_SAVE
Reference
Note
15.2.23 AT+CMMSINIT
AT+CMMSINIT
Test Command
AT+CMMSINIT=?
Saving NO_SAVE
Reference
Note
When first entering the MMS function, this command must be executed.
15.2.24 AT+CMMSTERM
AT+CMMSTERM
Test Command
Response
AT+CMMSTERM= OK
?
307
2013-10-23
Parameter
No Parameter
Execution Command Response
AT+CMMSTERM OK
or
ERROR
or
+CME ERROR: <err>
No Parameter
Parameter
Mode
Saving NO_SAVE
Reference
Note
When exiting the MMS function, this command must be executed.
15.2.25 AT+CMMSSCONT
308
2013-10-23
Saving NO_SAVE
Reference
Note
309
2013-10-23
16.1 Overview
Command
Description
AT+DDET
Response
+DDET: (0,1) ,(0-10000),(0,1)
OK
Parameter
See Write Command
Read Command
AT+DDET?
Response
+DDET: <mode>,<interval>,<reportMode>
OK
Parameters
See Write Command
Write Command
AT+DDET=<mo
de>[,<interval>][
,<reportMode>]
Response
OK
ERROR
Unsolicited Result Code
1)If <reoportMode> is set to 0
+DTMF: <key>
2)If reportMode is set to 1
+DTMF: <key>,<last time>
310
2013-10-23
Parameters
<mode> disable or enable DTMF detection control
0 disable
1 enable
< interval > the min interval between two same key URC. The range is
0-10000,the default value is 0. unit is ms.
< reportMode > URC report mode
0 key value reported only
1 key value and last time are reported, the last time is in ms
<key> keytone detected, 1-9,*,#,A,B,C,D
<last time> keytone last time in ms
Parameter Saving AT&W_SAVE
Mode
Max
Time
Response -
Reference
Note
The parameters <interval> and <reportMode> can not power off save
311
2013-10-23
Description
AT+CREC
Record operation
AT+CRECORD
AT+CREC
record operation
record operation
Test Command
AT+CREC=?
Response
+CREC: (1-n),(1-10)
OK
Parameter
See Write Command
Read Command
AT+CREC?
Response
+CREC: <status>
OK
Parameter
<status>
0 idle state
1 recording state
2 playing state
312
2013-10-23
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
AT+CREC=8
+CREC: 8,<len>
OK
9) mode=9, create record file directory.
AT+CREC=9,<location>
OK
If error is related to ME functionality:
+CME ERROR: <err>
<err> 5000 Be recoding
5001 Be playing
5002 Audio busy
5003 No space
5004 Format error
5005 File operation failure
5006 File is null
5007 File size is error
5008 File is not exist
Parameter
313
2013-10-23
314
2013-10-23
Response -
Reference
Note
z Record willl overwrite the recored file with the same ID
z High priority event will stop recording and save record file.URC will
report +CREC: n,<id>,<form>,<time>,<len>
z About 40K FAT space will remain for system use.
z Call setup will stop the record. If record in call, call release will stop
record too.
z Record in call only record remote input, the setting of input path dont
take effect
z Play in call only support low quality WAV record file.
z Location relative setting only take effect when SD is support and
plugged in
z When DDET is set to 1, record is not allowed in call
17.2.2 AT+CRECORD
Response
+CRECORD: (0,1)
OK
Parameters
See Write Command
Write Command
AT+CRECORD
=<mode>[,<inter
val>][,<crcmode
>]
Response
OK
or
+CRECORD:<data>
or
ERROR
315
2013-10-23
Parameter
<data> UART data output in specified form, which is deciede by
<crcmode>
<mode>
0 stop record
1 start record
<interval> UART data output interval, the range is 1-50, the default value
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 NO_SAVE
Mode
Max
Time
Response -
Reference
Note
z When AT+CRECORD is set to 1, data mode will be entered and 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.
z AMR 4.75K is supported only
z AMR file head #*AMR\n is not outputed
316
2013-10-23
Description
AT+CTTS
TTS operation
AT+CTTSPARAM
TTS Operation
TTS Operation
Test Command
AT+CTTS=?
Response
OK
No prameter
Read Command
AT+CTTS?
Response
+CTTS: <status>
OK
Parameter
<status>
Write Command
AT+CTTS=<mo
de>[,<text>]
0 idle mode
1 play mode
Response
if<mode>=0response
OK
if<mode>=1 or 2response:
OK
+CTTS:0
317
2013-10-23
Response -
Reference
Note
z Call setup will stop the current tts play
z TTS can play in call, but call release will stop the tts play
z TTS play is not allowed when alert or ring
18.2.2 AT+CTTSPARAM
AT+CTTSPARAM
Test Command
Response
AT+CTTSPARAM= +CTTSPARAM: (0-100),(0-3),(1-100),(1-100),(0,1)
?
OK
Parameter
See Write Command
Read Command
Response
AT+CTTSPARAM? +CTTSPARAM: <volume>,<mode>,<pitch>,<speed>,<channel>
OK
Parameter
See Write Command
Write Command
AT+CTTSPARAM=
<volume>,<mode>,
<pitch>,<speed>[,<c
hannel>]
Parameter
Response
OK
If error is related to MS functionality, response
+CME ERROR: <err>
Parameter
<volume> TTS playing volume, the range is 0-100,the default is 50.
<mode> TTS playing mode, the range is 0-3
0
auto read digit, and read digit based on number rule first
1
auto read digit, and read digit based on telegram rule first
2
read digit based on telegram rule
3
read digit based on number rule
<pitch>
TTS playing pitch, the range is 1-100,the default is 50.
<speed> TTS playing speed, the range is 1-100,the default is 50.
<channel>
TTS play channel. The default value of
SIM800V/800W/840W/840V is 1, default value of others is 0.
0
main channel
1
aux channel
Saving NO_SAVE
318
2013-10-23
Mode
Max Response Time
Reference
Note
TTS play channel setting take no effect in call. TTS play channel depend
on CHFA when in call.
319
2013-10-23
Meaning
phone failure
no connection to phone
10
11
12
13
SIM failure
14
SIM busy
15
SIM wrong
16
incorrect password
17
18
20
memory full
21
invalid index
22
not found
23
memory failure
24
25
26
27
30
no network service
31
network timeout
32
320
2013-10-23
40
41
42
43
44
45
46
47
99
resource limitation
100
unknown
103
Illegal MS
106
Illegal ME
107
111
112
113
132
133
134
148
149
150
160
161
171
172
173
174
175
176
177
178
179
180
181
182
183
184
321
2013-10-23
185
It is in edit mode
186
187
188
189
190
191
Not M-Notification.ind
192
193
Unknown
753
754
755
invalid File Id
756
757
758
759
765
766
Unsupported mode
767
Operation failed
768
769
770
771
772
773
791
792
793
794
795
796
797
CFUN state is 0 or 4
796
810
No Error
811
Unrecognized Command
812
813
Syntax Error
814
Unspecified Error
322
2013-10-23
815
816
Action Already
817
Not At Cmd
818
819
Abort Cops
820
No Call Disc
821
BT SAP Undefined
822
823
824
Meaning
Unassigned(unallocated) number
No route to destination
Channel unacceptable
10
Call barred
11
Reserved
16
17
User busy
18
No user responding
19
21
22
Number changed
25
Pre-emption
26
27
28
29
Facility rejected
30
323
2013-10-23
32
Normal, unspecified
34
No circuit/channel available
38
41
Temporary failure
42
43
44
47
49
50
55
57
58
63
65
68
69
70
79
81
87
88
Incompatible destination
91
95
96
97
98
99
100
101
102
111
127
Interworking, unspecified
128
129
324
2013-10-23
130
143
144
145
159
160
161
Command unsupported
175
176
192
SC busy
193
No SC subscription
194
SC system failure
195
196
197
SM Rejected-Duplicate SM
198
199
208
209
210
Error in MS
211
212
213
224
CP retry exceed
225
RP trim timeout
226
255
300
ME failure
301
SMS reserved
302
303
304
305
310
311
312
325
2013-10-23
313
SIM failure
314
SIM busy
315
SIM wrong
316
317
318
320
memory failure
321
322
memory full
323
324
325
330
331
no network
332
network timeout
340
no cnma ack
500
Unknown
512
SMS no error
513
514
515
ME storage failure
516
517
518
519
520
521
522
523
524
Reserved MTI
525
526
527
528
529
530
GPRS is suspended
531
ME storage full
532
326
2013-10-23
Description
AT Command
+CCWA:
<number>,<type>,<class>[,<a
lpha>]
AT+CCWA=1
+CLIP:
<number>,<type>,<subaddr>,
<satype>,<alphaId>,<CLI
validity>
+CRING: <type>
+CREG: <stat>[,<lac>,<ci>]
+CCWV
AT+CLIP=1
AT+CRC=1
AT+CREG=<n>
AT+CCWE=1
+CMTI: <mem3>,<index>
AT+CNMI
<mt>=1
+CMT:
<length><CR><LF><pdu>
AT+CNMI
<mt>=2 (PDU
mode)
+CMT:
<oa>,<scts>[,<tooa>,<fo>,<pi
d>,<dcs>,<sca>,<tosca>,
<length>]<CR><LF><data>
AT+CNMI
<mt>=2 (text
mode)
+CBM:
<length><CR><LF><pdu>
AT+CNMI
<bm>=2 (PDU
mode enabled):
+CBM:
<sn>,<mid>,<dcs>,<page>,<p
ages><CR><LF><data>
AT+CNMI
<bm>=2 (text
mode enabled):
+CDS:
<length><CR><LF><pdu>
AT+CNMI
<ds>=1 (PDU
mode enabled):
+CDS:
<fo>,<mr>[,<ra>][,<tora>],<s
cts>,<dt>,<st>
AT+CNMI
<ds>=1 (text mode
enabled):
327
2013-10-23
+COLP:
<number>,<type>[,<subaddr>
,<satype>,<alphaId>]
+CSSU:<code2>
+CSSI:<code1>[,<index>]
AT+COLP=1
AT+CSSN=<n>[,<
m>]<m>=1
AT+CSSN=<n>[,<
m>]<n>=1
+CLCC:
<id1>,<dir>,<stat>,<mode>,<
mpty>[,<number>,<type
>,<alphaID>]
[<CR><LF>+CLCC:
<id2>,<dir>,<stat>,<mode>,<
mpty>
[,<number>,<type>,<alphaID
>][...]]
AT+CLCC=1
*PSNWID: "<mcc>",
"<mnc>", "<full network
name>",<full network name
CI>, "<short network
name>",<short network name
CI>
AT+CLTS=1
*PSUTTZ:
<year>,<month>,<day>,<hour
>,<min>,<sec>, "<time
zone>",<dst>
DST: <dst>
+CSMINS: <n>,<SIM
inserted>
AT+CSMINS=1
+CDRIND: <type>
AT+CDRIND=1
+CHF: <state>
AT+CHF=1
+CENG:
<cell>,"<arfcn>,<rxl>,<rxq>,
<mcc>,<mnc>,<bsic>,<cellid
>,<rla>,<txp>,<lac>,<TA>"
AT+CENG=<mod
e>[,<Ncell>]
<mode>=2
+CENG:
<cell>,<mcc>,<mnc>,<lac>,<
cellid>,<bsic>,<rxl>
AT+CENG=<mod
e>[,<Ncell>]
<mode>=3
MO RING
328
2013-10-23
AT+MORING=1
MO CONNECTED
AT+MORING=1
+CPIN:<code>
AT+CPIN
+CSQN: <rssi>,<ber>
+SIMTONE: 0
+STTONE: 0
AT+EXUNSOL="
SQ",1
AT+SIMTONE
AT+STTONE
+CR: <serv>
AT+CR=1
+CUSD:
<m>[<str_urc>[<dcs>]]
AT+CUSD=1
RING
+CMTE: <n>
UNDER-VOLTAGE
POWER DOWN
UNDER-VOLTAGE
WARNNING
OVER-VOLTAGE POWER
DOWN
OVER-VOLTAGE
WARNNING
CHARGE-ONLY MODE
RDY
Call Ready
+CFUN: <fun>
AT+CMTE=1
under-voltage warning
Over-voltage automatic power down.
over-voltage warning
The module is charging by charger.
(require hardware support)
Power on procedure is completed, and
the module is ready to operate at fixed
baud rate. (This URC does not appear
when auto-bauding function is active).
Module is powered on and phonebook
initialization procedure is over.
Phone functionality indication (This
329
AT+IPR=<rate>
<rate> is not 0
AT+CIURC=1
AT+IPR=<rate>
2013-10-23
<rate> is not 0
[<n>,]CONNECT OK
AT+CIPSTART
CONNECT
[<n>,]CONNECT FAIL
AT+CIPSTART
[<n>,]ALREADY
CONNECT
AT+CIPSTART
[<n>,]SEND OK
[<n>,]CLOSED
AT+CIPSRIP=1
+IPD, <data
size>,<TCP/UDP>:<data>
AT+CIPHEAD
AT+CIPSHOWTP
+RECEIVE,<n>,<length>
+CDNSGIP: 1,<domain
name>,<IP>,<IP2>
DNS successful
+CDNSGIP:0,<dns error
code>
DNS failed
+PDP DEACT
+HTTPACTION:
<Method>,<StatusCode>,<Da
taLen>
AT+HTTPACTIO
N=<Method>
+FTPGET:1,<res>
FTPGET session
AT+FTPGET=1
+FTPPUT:1,1,<maxlength>
AT+FTPPUT
+FTPPUT:1,<res>
AT+FTPPUT
+FTPDELE:1,<res>
AT+FTPDELE
+FTPSIZE:1,<res>,<size>
AT+FTPSIZE
+FTPMKD:1,<res>
AT+FTPMKD
+FTPRMD:1,<res>
AT+FTPRMD
+FTPLIST:1,<res>
AT+FTPLIST
330
AT+CDNSGIP
2013-10-23
20 AT Commands Examples
20.1 Profile Commands
Demonstration
Syntax
Expect Result
AT
OK
ATI
SIM800 R11.08
OK
Display
product
identification
information: the manufacturer, the
product name and the product revision
information.
AT+GSV
SIMCOM_Ltd
SIMCOM_SIM800H
Revision:
1308B01SIM800H32
OK
AT&V
AT+CMEE=?
+CMEE: (0-2)
AT+CMEE?
OK
+CMEE: 1
AT+CSCS=?
AT+CSCS="TEST"
AT+CMEE=2
AT+CSCS="TEST"
ATE0&W
AT
[Reset the board]
AT
331
OK
+CSCS:
("IRA","GSM","UCS2","HE
X","PCCP","PCDN","88591")
OK
ERROR
OK
+CME ERROR:
input value
invalid
OK
[No echo]
OK
[No echo]
OK
2013-10-23
ATE1&W
AT
Set the ME to minimum functionality
[No echo]
OK
[Echo on]
OK
AT+IPR
+IPR:0
AT+CFUN=0
OK
OK
AT+IPR = 115200
AT+IPR?
AT+CFUN=0
OK
OK
+CPIN: NOT READY
AT+CFUN?
+CFUN:1
OK
Syntax
Expect Result
AT+CPBS=?
+CPBS:
("SM","ME","ON")
AT+CPBS="SM"
OK
OK
AT+CPBR=?
+CPBR: (1-250),40,14
AT+CPBR=1,10
OK
[a listing
contents]
of
phonebook
of
phonebook
OK
Write an entry to the current phonebook.
AT+CPBW=,"13918
18xxxx",129,"Daniel"
AT+CPBR=1,10
332
OK
[a listing
contents]
2013-10-23
OK
Find an entry in the current phonebook
using a text search.
AT+CPBF="Daniel"
+CPBF:5,
"13918186089",129,"Daniel"
OK
AT+CPBW=2
AT+CPBR=1,10
OK
[a listing
contents]
of
phonebook
OK
Syntax
Expect Result
AT+COPS?
+COPS: 0,0,"CHINA
MOBILE"
OK
AT+COPN
+COPN: "20201",
"COSMO"
[skip a bit]
+COPN:
"901012","Maritime Comm
Partner AS"
OK
AT+IPR?
AT+CFUN=0
[wait for deregister]
ATD6241xxxx;
AT+CFUN=1
Request the IMSI
AT+CIMI
+IPR: 0
OK
OK
ERROR
OK
460008184101641
OK
Syntax
Expect Result
ATD6241xxxx;
OK
MS makes a voice call
Hang up a call
ATH
OK
333
2013-10-23
Call dropped
Make a voice call using the last number
facility. The initial call is established and
then cancelled. The second call is made
using the previous dial string.
ATD6241xxxx;
ATH
ATDL
OK
OK
OK
ATA
ATH
RING
RING
OK[accept call]
OK[hang up call]
AT+CHLD=<N>
Return
value:(0,1,1x,2,2x,3,4)
AT+CCWA=1,1
ATD6241xxxx;
<RX incoming call>
OK
OK
RING
+CCWA: "62418148 ",
129,1,""
OK
<waiting call active>
ATD6241xxxx;
<RX incoming call>
ATD6241xxxx;
AT+CHLD=1
AT+CHLD=2
AT+CHLD=1
AT+CHLD=21
AT+CLCC
334
RING
+CCWA: "1391818
6089",129,1,""
OK
<waiting call active other
call on hold>
OK
<incoming call terminated,
dialed number now active>
OK
RING
+CCWA: "1391818
6089",129,1,""
OK
<incoming call activated,
original on hold>
OK
<original call activated,
incoming call held>
+CLCC:1,0,0,0,0,"62
2013-10-23
AT+CHLD=22
AT+CHLD=12
418148",129,""
+CLCC:2,1,1,0,0, "139
18186089",129, ""
OK
<Note incoming call held
flag set>
OK
<original call held, incoming
call active>
OK
<terminate incoming call>
<terminate original call>
AT+CHLD=11
Send busy status to incoming waiting
caller.
Establish a voice call from EVB, receive
an incoming call (incoming call accepts
waiting status), send busy status to
waiting mobile. Note call waiting must
have been previously enabled for this
demonstration to work.
ATD6241xxxx;
ATD6241xxxx;
AT+CHLD=0
AT+CHLD=0
OK
RING
+CCWA: "1391818
6089",129,1,""
OK
OK
<incoming call sent busy
msg, current call retained>
OK
RING
+CCWA: "1391818
6089",129,1,""
OK
<incoming call actived,
original on hold>
OK
<incoming call actived,
current call
terminate>
Syntax
Expect Result
DTMF tones
AT+CLDTMF=2,
"1,2,3,4,5"
OK
335
2013-10-23
Syntax
Expect Result
AT+CMGF=1
OK
AT+CSCS="GSM"
OK
AT+CMGS="+861391
818xxxx"
>This is a test
<Ctrl+Z>
+CMGS:34
OK
+CMTI: "SM",1
AT+CMGR=1
AT+CMGR=1
AT+CMGS="+861391
818xxxx"
>Test again<Ctrl+Z>
+CMGS:35
OK
+CMTI: "SM",2
AT+CMGL="ALL"
+CMGL:
1,
"REC
READ","+8613918186089",
"", "02/01/30,20:40:31+00"
This is a test
+CMGL:
2,
"REC
UNREAD"," ",
"+8613918186089", ""
,"02/01/30,20:45:12+00"
Test again
OK
AT+CMGD=1
336
OK
2013-10-23
AT+CMGL="ALL"
AT+CSMP=17,167,2,
25
AT+CSCS="UCS2"
OK
AT+CMGS="0031003
300390031003800310
038003x003x003x003
x"
>4E014E50<Ctrl+Z>
+CMGS:36
Demonstration
Syntax
Expect Result
OK
OK
Setup
dial
up
connection with *99#
Run internet explorer
ATD*99#
CONNECT
ATD*99***1#
CONNECT
AT+CGATT?
+CGATT:1
AT+CGATT=0
OK
OK
AT+CGATT?
+CGATT: 0
OK
337
2013-10-23
AT+CGCLASS?
+CGCLASS:B
OK
AT+CGDCONT=1,
"IP","CMNET"
ATD*99#
OK
AT+CGDCONT=1,
"IP","CMNET"
ATD*99#
OK
+++
OK
ATH
OK
AT+CGDCONT=1,
"IP","CMNET"
ATD*99#
OK
+++
OK
ATO
CONNECT
CONNECT
CONNECT
CONNECT
*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
And is decided in "requested QOS and "minimum acceptable QOS.
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.
Overwrite the precedence class of
QOS of CID 1 and sets the QOS of
CID 1 to be present
AT+CGQREQ=1,0,0,3
,0,0
OK
AT+CGQREQ?
+CGQREQ: 1,0,0,3,0,0
+CGQREQ: 2,0,0,3,0,0
+CGQREQ: 3,0,0,3,0,0
OK
AT+CGQREQ=1
338
OK
2013-10-23
AT+CGACT=1,1
OK
AT+CGACT=1,3
AT+CGDATA="PPP",
1
CONNECT
20.10 IP Commands
Please refer to SIM800 Series_IP_Application Note.doc. Charpter 1 describles how to config
bearer contexts of HTTP and FTP applications
Syntax
Expect Result
Ping Request
AT+CGATT?
+CGATT: 1
AT+CSTT=CMNET
OK
OK
AT+CIICR
OK
339
2013-10-23
AT+CIFSR
10.78.245.128
AT+CIPPING=www.
google.cn
+CIPPING:1,"203.208.37.99
",70,239
+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
IP Filter Setting
AT+CIPFLT=1,1,198
.211.19.12,255.255.
0.0
OK
AT+CIPFLT=1,,10.4
3.21.69,255.0.0.0
OK
AT+CIPFLT=0,1
OK
AT+CIPFLT=2
OK
OK
AT+CIPCTL=1
OK
AT+CIPCTL=2
OK
Syntax
Expect Result
AT+SAPBR=3,1,"Con
type","GPRS"
OK
AT+SAPBR=3,1,"AP
N","CMNET"
OK
AT+SAPBR =1,1
OK
AT+SAPBR=2,1
+SAPBR: 1,1,"10.89.193.1"
340
2013-10-23
OK
Get location
AT+CIPGSMLOC=1,
1
AT+CIPGSMLOC=2,
1
+CIPGSMLOC:
0,121.354848,31.221402,201
1/01/26,02:41:06
OK
+CIPGSMLOC:
0,2011/01/26,03:12:58
OK
AT+SAPBR=0,1
OK
Syntax
Expect Result
Initialization
AT+CMMSINIT
OK
Configuration
AT+CMMSCURL=m
msc.monternet.com
OK
AT+CMMSCID=1
OK
AT+CMMSPROTO=
10.0.0.172,80
OK
Send MMS
AT+CMMSSENDCF
G=6,3,0,0,2,4
OK
AT+SAPBR=3,1,"Con
type","GPRS"
OK
AT+SAPBR=3,1,"AP
N","CMWAP"
AT+SAPBR=1,1
OK
AT+SAPBR=2,1
+SAPBR: 1,1,"10.89.193.1"
OK
AT+CMMSEDIT=1
OK
AT+CMMSDOWN=
PIC,12963,20000
CONNECT
... ...
341
OK
2013-10-23
OK
AT+CMMSDOWN=
TITLE,3,5000
AT+CMMSRECP=1
3918181818
Receive MMS
When
received
a
MMS
push
message,UART will output message,such
as +CMTI: "SM",3,"MMS PUSH"
CONNECT
... ...
OK
OK
AT+CMMSSEND
OK
AT+CMMSEDIT=0
OK
AT+CMMSRECV=3
+CMMSRECV:
"+8613818181818",
"2008-05-02, 03:38:12","",
26670
1, "image0.jpg",7,26625
AT+CMGD=3
OK
OK
AT+CMMSEDIT=0
OK
AT+CMMSRECV=1
+CMMSRECV:
"+85266097746","2009-04-1
5,10:41:21","",49
1,"text0.txt",4,7
AT+CMGD=1
OK
OK
AT+CMMSREAD=1
+CMMSREAD:
"image0.jpg", 26625
OK
AT+CMMSTERM
OK
Demonstration
Syntax
Expect Result
AT+DDET=1,0,0
//start DDET, interval
is 0, report mode is 0
OK
ATD***********;
OK
If module detected DTMF,
342
2013-10-23
ATA
OK
If module detected DTMF,
URC will be reported via
serial port
+DTMF:1
//report DTMF value
+DTMF:2
+DTMF:3
+DTMF:4
AT+DDET=1,1000,1
//start DDET, interval
is 1000ms, report
mode is 1
OK
ATD***********;
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 value
and last time
+DTMF:2,300
+DTMF:3,200
ATA
343
OK
If module detected DTMF,
URC will be reported via
2013-10-23
serial port
+DTMF:1,160
//report DTMF value
and last time
+DTMF:2,300
+DTMF:3,200
Syntax
Expect Result
Start record
AT+CREC=1,1,0
//start record
OK
// the record id is 1, format is
AMR
Stop record
AT+CREC=2
//stop record
OK
+CREC: 2,1,0,15,16386
//a URC will reported after
stop, which indicate the
format,record id, times in
seconds, length in bytes
Delete record
AT+CREC=3,1
//delete record with id
1
OK
AT+CREC=4,1,0,80
//play record file,
channel is 0, the
volume is 80
OK
AT+CREC=5
//stop play record file
+CREC: 0
OK
//URC is reported to show
statues IDLE
AT+CREC
//get record status
+CREC:2
OK
//Rrecording ,delete and
other play operations are not
allowed when playing
AT+CREC=7
//list record file list
+CREC: 7,1,7728,0
+CREC: 7,2,53820,1
OK
344
2013-10-23
AT+CREC=6,1,200,0
//get 200 bytes from
record file with offset 0
to file head
+CREC: 6,1,200
2321414D520A04923231D8
28E7B0E222B6D0B604941
AEC23377C8A442AFC934
40450E0133334D31577CB8
E88FE0450A54AD57AC23
086C24529FC0422434276A
B0E88DCF481E23A0419F0
50336489D54CB57224B004
2119466B5B5521D542FF35
4204C0422385A00B20DBC
67DC322049D87084889706
30CECBFE40004C0892EF5
914BD62A234C0B5804334
110F8818197ECA9D7F02E
046EDAD5EBA75928D948
FBB19E046EAF1C3A90168
351C302DF8804460C1409B
18966E0187F88B404CA88F
4F891BFE72BCF45D7
OK
//data in Hex format
AT+CREC=8
//query free memory
space
+CREC: 8,938600
AT+CREC=9,0
//create record file
directory on system
FAT
OK
Demonstration
Syntax
Expect Result
AT+CTTS=1,"6B228F
CE4F7F75288BED97
F3540862107CFB7E
DF"
// text in UCS2 coding
formatcontext of the
OK
//speech synthetized
successfully, played locally.
+CTTS:0
//speech played over Note:
User
needs
to
wait
OK
//the free memory space is
938600 bytes
345
2013-10-23
text is
AT+CTTS=2,"hello
"
// text in ASIIC coding
format.Chinese
in
GBK coding format.
OK
//speech synthetized
Successfully played locally.
+CTTS:0
//speech played over. Note:
User
needs
to
wait
thisresponse to play next
speech!
AT+CTTS=0
//Stop
playing
synthetic speech
OK
//speech played over.
AT+CTTSPARAM=5
0, 0,50,25,1
// set params of the
TTS playing
OK
// set params over.
346
2013-10-23
SIM800H/L,SIM800W,SIM800
AT+CSDT=?
+CSDT: (0-1)
OK
AT+CSDT?
+CSDT: <mode>
OK
AT+CSDT= <mode>
OK
ERROR
21.2 AT+CSMINS
SIM800V
SIM800H/L,SIM800W,SIM800
AT+CSMINS=?
+CSMINS: (list of supported <n>s)
OK
AT+CSMINS?
+CSMINS: <n>,<SIM inserted>
OK
AT+CSMINS=<n>
OK
ERROR
21.3 AT+SGPIO
SIM800V,SIM800W
SIM800H/L,SIM800
AT+SGPIO=?
+SGPIO: (0-1),(1-11),(0-1),(0-1)
AT+SGPIO=?
+SGPIO: (0-1),(1-3),(0-1),(0-1)
347
2013-10-23
OK
OK
21.4 AT+CBAND
SIM800W, SIM800V
SIM840W,SIM840V, SIM800H/L,SIM800
AT+CBAND=?
+CBAND:
(EGSM_MODE,DCS_MODE,EGSM_DCS
_MODE,ALL_BAND)
AT+CBAND=?
+CBAND:
(EGSM_MODE,DCS_MODE,GSM850_MOD
E,PCS_MODE,EGSM_DCS_MODE,GSM850
_PCS_MODE,EGSM_PCS_MODE,ALL_BAN
D)
OK
OK
Difference:
SIM800,SIM840W,SIM840V, SIM800H/L support Quad-band.
21.5 AT+CTTSPARAM
SIM800W, SIM800V, SIM840W,SIM840V
, SIM800H/L,SIM800
AT+CTTSPARAM?
+CTTSPARAM: 50,0,50,50,1
AT+CTTSPARAM?
+CTTSPARAM: 50,0,50,50,0
OK
OK
Difference:
Default value of output channel is different
21.6 AT+CHFA
SIM800W, SIM800V, SIM840W,SIM840V
, SIM800H/L,SIM800
AT+CHFA=?
+CHFA: (0 = NORMAL_AUDIO, 1 =
AUX_AUDIO)
AT+CHFA=?
+CHFA: (0 = NORMAL_AUDIO, 1 =
AUX_AUDIO, 2 = HANDFREE_AUDIO,
3 = AUX_HANDFREE_AUDIO, 4 =
PCM_AUDIO)
OK
OK
Difference:
348
2013-10-23
z
z
In SIM800H/L,channel 2 is the same with channel 0, channel 3 is the same with channel
1.channel 4 is multiplexed
Only channel 0 and 2 are available in SIM800.
349
2013-10-23
Contact us:
Shanghai SIMCom wireless solutions Ltd.
Address: Building A, SIM Technology Building, No. 633 Jinzhong Road, Shanghai,
P. R. China 200335
Tel: +86 21 3252 3300
Fax: +86 21 3252 2030
URL: www.sim.com/wm
350
2013-10-23