Sim800 Series Anual v101 Arduino
Sim800 Series Anual v101 Arduino
Manual_V1.01
Document Title:
Version:
1.01
Date:
2013-07-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-07-23
Contents
Version History.........................................................................................13
1 Introduction............................................................................................16
1.1 Scope of the document .......................................................................................16
1.2 Related documents..............................................................................................16
1.3 Conventions and abbreviations ..........................................................................16
1.4 AT Command syntax ..........................................................................................16
1.4.1 Basic syntax ...................................................................................................................17
1.4.2 S Parameter syntax.........................................................................................................17
1.4.3 Extended Syntax.............................................................................................................17
1.4.4 Combining AT commands on the same Command line.................................................17
1.4.5 Entering successive AT commands on separate lines.....................................................18
2013-07-23
2013-07-23
2013-07-23
2013-07-23
2013-07-23
2013-07-23
8.2.20 AT+CIPSRIP Show Remote IP Address and Port When Received Data ................197
8.2.21 AT+CIPDPDP Set Whether to Check State of GPRS Network Timing ..................198
8.2.22 AT+CIPMODE Select TCPIP Application Mode....................................................198
8.2.23AT+CIPCCFG Configure Transparent Transfer Mode ............................................199
8.2.24 AT+CIPSHOWTP Display Transfer Protocol in IP Head When Received Data.....200
8.2.25 AT+CIPUDPMODE UDP Extended Mode.............................................................201
8.2.26 AT+CIPRXGET Get Data from Network Manually ...............................................202
8.2.27 AT+CIPSCONT Save TCPIP Application Context .................................................204
8.2.28 AT+CIPRDTIMER Set Remote Delay Timer ........................................................204
8.2.29 AT+CIPSGTXT Select GPRS PDP context ...........................................................205
2013-07-23
10
2013-07-23
record operation....................................................................................279
11
2013-07-23
12
2013-07-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
13
2013-07-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
20.17 RECORD
Commands
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
Modify description of
time
max response
3.2.25 AT+CPBR
Modify description of
time
max response
4.2.1 CMGD
Modify description of
time
max response
4.2.3 CMGL
Modify description of
time
max response
14
2013-07-23
6.2.25 CMGDA
Modify description of
time
max response
15.2.8 AT+CMMSSEND
Modify description of
time
max response
15.2.15 AT+CMMSRECV
Modify description of
time
max response
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
15
2013-07-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.
16
2013-07-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>
17
2013-07-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.
18
2013-07-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.
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.
If one AT command has not the item of Parameter Saving Mode, it means this AT command
doesnt save the parameter or havent parameter.
SIM800 Series_AT Command Manual_V1.01
19
2013-07-23
20
2013-07-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
21
BEFORE
AUTOMATICALLY
2013-07-23
PROGRESS
ATZ
AT&C
AT&D
AT&F
AT&V
AT&W
AT+GCAP
AT+GMI
AT+GMM
AT+GMR
REQUEST TA REVISION
RELEASE
AT+GOI
AT+GSN
AT+ICF
AT+IFC
AT+IPR
AT+HVOIC
IDENTIFICATION
OF
SOFTWARE
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
22
2013-07-23
<value>>0
When TA returns to Command mode after call release
OK
Response in case of voice call, if successfully connected
OK
Response if no connection
NO CARRIER
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
23
2013-07-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
24
2013-07-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:
25
2013-07-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
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
If busy and (parameter setting ATX3 or ATX4)
BUSY
26
2013-07-23
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.
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
27
2013-07-23
2.2.7 ATE
ATE
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
dialing context.
Set Command Echo Mode
Execution
Command
ATE<value>
Response
This setting determines whether or not the TA echoes characters received
from TE during Command state.
OK
Parameter
<value>
28
2013-07-23
Reference
V.25ter
2.2.8 ATH
ATH
Note
Execution
Command
ATH
Max
Time
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
OK
Reference
V.25ter
Note
Response
OK
Parameter
<value>
0..9
Volume
Note
No effect in GSM
Execution
Command
Response
OK
29
2013-07-23
ATM<value>
Reference
V.25ter
Parameter
<value>
0..9
Mode
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.
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.
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
Reference
V.25ter
Note
30
2013-07-23
Execution
Command
ATP
Response
OK
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
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
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.
31
2013-07-23
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
Reference
V.25ter
2.2.18 ATS4
ATS4
Note
Default 13 = CR. It only supports default value.
Set Response Formatting Character
Read Command
ATS4?
Response
<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
Reference
Note
32
2013-07-23
V.25ter
2.2.19 ATS5
ATS5
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
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
Note
No effect in GSM
33
2013-07-23
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
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.
34
2013-07-23
Mode
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
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
Reference
V.25ter
Note
Response
OK
Reference
V.25ter
Note
No effect in GSM
2.2.25 ATV
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
35
2013-07-23
Parameter
<value>
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
36
2013-07-23
Parameter
<value>
0 CONNECT result code only returned, dial tone and busy
detection are both disabled.
1 CONNECT<text> result code only returned, dial tone and
busy detection are both disabled.
2 CONNECT<text> result code returned, dial tone
detection is enabled, busy detection is disabled.
3 CONNECT<text> result code returned, dial tone
detection is disabled, busy detection is enabled.
4 CONNECT<text> result code returned, dial tone and
busy detection are both enabled.
Parameter Saving AT&W_SAVE
Mode
Reference
V.25ter
2.2.27 ATZ
Note
Response
TA sets all current parameters to the user defined profile.
OK
ERROR
Parameter
<value>
Reference
V.25ter
Restore profile 0
Note
Execution
Command
AT&C[<value>]
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
Parameter
<value>
37
2013-07-23
Mode
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>
Note
Response
TA sets all current parameters to the manufacturer defined profile.
OK
Parameter
<value>
Reference
V.25ter
Note
Response
TA returns the current parameter setting.
<current configurations text>
OK
38
2013-07-23
ERROR
Parameter
<n>
0 Responses in numeric format
Reference
V.25ter
Note
Response
TA stores the current parameter setting in the user defined profile.
OK
ERROR
Parameter
<n>
Reference
V.25ter
Note
The user defined profile is stored in non volatile memory.
Parameter name
Displayedby &V
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>
39
2013-07-23
AT+CMEE
<n>
AT+CSCLK
<n>
AT+CIURC
<mode>
AT+CFGRI
<mode>
AT+CMTE
<mode>
AT+STKPCIS
<switch>
AT+CMGF
<mode>
AT+CNMI
<mode>,<mt>,<bm>,<ds>,<bfr>
AT+CSCS
<chest>
AT+VTD
<n>
AT+CALS
<n>
AT+CEXTHS
<mode>
AT+CEXTBUT
<mode>
AT+CHF
<ind>
AT+CAAS
<mode>
AT+CBUZZERRING
<mode>
AT+DDET
<n>
AT+MORING
<mode>
AT+SVR
<voice_rate_coding>
AT+CCPD
<mode>
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.
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
40
2013-07-23
OK
Parameter
<name>
Reference
V.25ter
Note
2.2.34 AT+GMI
AT+GMI
Test Command
AT+GMI=?
Response
OK
Parameter
Execution
Command
AT+GMI
TA reports one or more lines of information text which permit the user to
identify the manufacturer.
SIMCOM_Ltd
OK
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>
Reference
V.25ter
Note
2.2.36 AT+GMR
AT+GMR
41
2013-07-23
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>
OK
Parameter
<revision>
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>
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>
OK
42
2013-07-23
Parameter
<sn>
IMEI of the telephone(International Mobile station Equipment
Identity)
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>
Reference
V.25ter
1
2
3
4
5
6
0
1
3
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.
43
2013-07-23
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
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
44
2013-07-23
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
Reference
V.25ter
Note
Factory setting is AT+IPR=0auto-bauding.
2.2.41.1 Auto-bauding
Synchronization between DTE and DCE ensure that DTE and DCE are correctly synchronized and
the baud rate used by the DTE is detected by the DCE (= ME). To allow the baud rate to be
synchronized, simply issue an "AT" string. This is necessary when you start up the module while
auto-bauding is enabled. It is recommended to wait 3 to 5 seconds before sending the first AT
character. Otherwise undefined characters might be returned.
If you want to use auto-bauding and auto-answer at the same time, you can easily enable the
DTE-DCE synchronization, when you activate auto-bauding first and then configure the
auto-answer mode.
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" or "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
45
2013-07-23
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
Disconnect existing voice call by local TE from Command line and
terminate call with existing PPP or CSD connection on.
OK
Reference
V.25ter
Note
46
2013-07-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
REQUEST TA REVISION
RELEASE
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
47
IDENTIFICATION
NUMBER
OF
SOFTWARE
IDENTIFICATION
2013-07-23
AT+CRC
SET CELLULAR
INDICATION
RESULT
CODES
FOR
INCOMING
AT+CREG
NETWORK REGISTRATION
AT+CRLP
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
CALL
Test Command
AT+CACM=?
Response
OK
Read Command
AT+CACM?
Response
TA returns the current value of ACM.
+CACM: <acm>
48
2013-07-23
OK
If error is related to ME functionality:
+CME ERROR: <err>
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>
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
49
2013-07-23
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
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
50
2013-07-23
Execution
Command
AT+CAOC
Response
+CAOC: <ccm>
OK
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
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)
51
2013-07-23
<name>
<ce>
12
14
68
70
71
75
0
4
0
1
2
3
Parameter Saving
Mode
AT&W_SAVE
Reference
3GPP TS 27.007
[14]
Note
GSM 02.02[1]: lists the allowed combinations of the sub parameters.
3.2.5 AT+CCFC
AT+CCFC
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
me]]]]]]
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 <reads> 0
3)
For registered call forwarding numbers:
when <mode>=2 and command successful:
+CCFC: <status>,<class1>
[,<number>,<type>[,<subaddr>,<satype>[,<time>]]]
[<CR><LF>+CCFC: <status>,<class2>
[,<number>,<type>[,<subaddr>,<satype>[,<time>]]][]
OK
If no call forwarding numbers are registered (and therefore all classes are
inactive):
52
2013-07-23
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>
0 Not active
1 Active
Max
Time
Response 15s
Reference
3GPP TS 27.007
Note
53
2013-07-23
Test Command
AT+CCWA=?
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>
<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)
54
2013-07-23
<status>
7
0
1
Default(1+2+4)
Not active
Enable
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
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
55
2013-07-23
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
28
29
(facility rejected)
30
31
(normal, unspecified)
34
38
41
(temporary failure)
42
43
44
47
56
2013-07-23
49
50
55
57
58
63
68
65
69
70
available)
Reference
3GPP TS 27.007
[13]
3.2.8 AT+CGMI
AT+CGMI
79
81
87
88
(incompatible destination)
91
95
96
97
98
99
100
(conditional IE error)
101
102
111
127
(interworking, unspecified)
Note
Test Command
AT+CGMI=?
Response
OK
Execution
Command
Response
TA returns manufacturer identification text.
57
2013-07-23
AT+CGMI
<manufacturer>
OK
Parameter
<manufacturer>
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>
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>
Reference
3GPP TS 27.007
[13]
3.2.11 AT+CGSN
AT+CGSN
Note
58
2013-07-23
Test Command
AT+CGSN=?
Response
OK
Execution
Command
AT+CGSN
Response
see +GSN
<sn>
OK
Parameter
<sn>
International mobile equipment identity (IMEI)
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
59
2013-07-23
AT&W_SAVE
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>
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
Response
60
2013-07-23
AT+CHLD=?
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)
Max
Time
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>
61
2013-07-23
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<IMSI>
International Mobile Subscriber Identity (string without
double quotes)
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>
[,<number>,<type>,<alphaID>][...]]]
62
2013-07-23
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
Reference
3GPP TS 27.007
[13][14]
Note
3.2.17 AT+CLCK
AT+CLCK
Facility Lock
Facility Lock
Test Command
AT+CLCK=?
Response
+CLCK: (list of supported <fac>s)
OK
Parameter
See Write Command
Write Command
Response
63
2013-07-23
64
2013-07-23
7 All classes
0 Not active
1 Active
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
1
<m>
0
1
2
65
2013-07-23
15s
Reference
Note
3.2.19 AT+CLIR
AT+CLIR
Test Command
AT+CLIR=?
Response
+CLIR: (list of supported <n>s)
OK
Parameter
See Write Command
Read Command
AT+CLIR?
Response
+CLIR: <n>, <m>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
66
2013-07-23
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
Max Response
Time
15s
Reference
Note
3.2.20 AT+CMEE
AT+CMEE
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
67
2013-07-23
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
Reference
3GPP TS 27.007
[13]
Note
Response
+COLP: (list of supported <n>s)
OK
Parameter
See Write Command
Read Command
AT+COLP?
Response
+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>
68
2013-07-23
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)
alphanumeric representation of <number> corresponding to the entry
found in phone book.
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)]
69
2013-07-23
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?).
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>
70
2013-07-23
number
Max
Time
Response
Reference
3GPP TS 27.007
[14]
3.2.23 AT+CPAS
AT+CPAS
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>
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)
Reference
3GPP TS 27.007
[13]
Note
Response
+CPBF: maximum length of field <nlength>,maximum length of field
<tlength>
OK
71
2013-07-23
Reference
Note
3GPP TS 27.007
[13]
72
2013-07-23
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>...
<index2> from the current phone book memory storage selected with
x1>[,<index2>]
+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.
Max
Time
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)
73
2013-07-23
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
Parameters
<storage>
<used>
<total>
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
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.
74
2013-07-23
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
location in the phone book.
OK
Parameters
<nlength>
<tlength>
<index>
<number>
<type>
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
Response
75
2013-07-23
AT+CPIN?
OK
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
Max
Time
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
76
2013-07-23
Parameters
<fac>
<pwdlength>
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
Max
Time
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>
77
2013-07-23
OK
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
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
Parameter
See Write Command
Write Command
Response
78
2013-07-23
AT+CRC=[<mod
e>]
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>]
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.
79
2013-07-23
OK
Parameters
<n>
AT&W_SAVE
Reference
3GPP TS 27.007
[13]
Note
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
80
2013-07-23
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.
Reference
3GPP TS 27.007
[13]
3.2.34 AT+CRSM
AT+CRSM
Note
Test Command
AT+CRSM=?
Response
OK
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
178
192
214
220
READ BINARY
READ RECORD
GET RESPONSE
UPDATE BINARY
UPDATE RECORD
81
2013-07-23
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)
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)
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):
82
2013-07-23
0...7
As RXQUAL values in the table in GSM 05.08 [20]
subclause 7.2.4
99
Not known or not detectable
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
See Write Command
Write Command
Response
AT+FCLASS=<cl TA sets a particular mode of operation (data fax). This causes the TA to
process information in a manner suitable for that type of information
ass>
OK
Parameter
<class>
0 data
1 fax class 1 (TIA-578-A)
Reference
Note
3GPP TS 27.007
[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>
83
2013-07-23
OK
Parameter
<manufacturer Id>
Reference
EIA/TIA-578-D
3.2.38 AT+FMM
AT+FMM
The ID of manufacturer
Note
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>
Reference
EIA/TIA-578-D
3.2.39 AT+FMR
AT+FMR
The ID of model
Note
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.
Reference
EIA/TIA-578-D
Note
84
2013-07-23
3.2.40 AT+VTD
AT+VTD
Tone Duration
Tone Duration
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
Reference
3GPP TS 27.007
[13]
Note
3.2.41 AT+VTS
AT+VTS
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:
85
2013-07-23
Response
Reference
3GPP TS 27.007
[13]
3.2.42 AT+CMUX
AT+CMUX
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>
86
2013-07-23
4 57600 bits/t
5 115200 bit/s
6 230400 bits/t
7 460800 bits/t
Proprietary values, available if MUX NEW PORT
SPEED FTR is activated
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>
Reference
3GPP TS 27.007
[13]
3.2.43 AT+CNUM
AT+CNUM
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
2
3GPP TS 27.007 and 005
2
3
3GPP TS 27.007 and 005
3
4
3GPP TS 27.007 and 005
4
Subscriber Number
Subscriber Number
87
2013-07-23
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
Reference
3GPP TS 27.007
[13]
Note
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>[]]
88
2013-07-23
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)
Max
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.45 AT+COPN
AT+COPN
Immediately
Note
Test Command
AT+COPN=?
Response
OK
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)
89
2013-07-23
Max
Time
Response
Reference
3GPP TS 27.007
[13]
3.2.46 AT+CFUN
AT+CFUN
Immediately
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:
+CME ERROR: <err>
Parameters
<fun>
<rst>
Reference
3GPP TS 27.007
[13]
0
1
4
1
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.
90
2013-07-23
3.2.47 AT+CCLK
AT+CCLK
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
GMT+2 hours equals to "10/05/06,00:01:52+08".
Parameter Saving
Mode
AUTO_SAVE
Reference
3GPP TS 27.007
[13]
Note
3.2.48 AT+CSIM
AT+CSIM
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>
91
2013-07-23
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>.
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)
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>
Reference
3GPP TS 27.007
[13]
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.
92
2013-07-23
3.2.50 AT+CALS
AT+CALS
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
AT+CALS?
Response
+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
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
Response
93
2013-07-23
AT+CRSL?
+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:
+CME ERROR: <err>
Parameter
<level>
Parameter
Mode
Saving AUTO_SAVE
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>
94
2013-07-23
Parameter
<level>
0-100 Integer type value with manufacturer specific range
(smallest value represents the lowest sound level).
Parameter
Mode
Saving AUTO_SAVE
Reference
3GPP TS 27.007
[13]
Note
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
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
Response
95
2013-07-23
AT+CPUC?
+CPUC: <currency>,<ppu>
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>
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>
96
2013-07-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
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>
<bcl>
vent
<voltage>
Charge status
0 ME is not charging
1 ME is charging
2 Charging has finished
Battery connection level
1...100 battery has 1-100 percent of capacity remaining
Battery voltage(mV)
97
2013-07-23
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)
Reference
GSM 03.38 [25]
3.2.58 AT+CSSN
AT+CSSN
Note
Test Command
AT+CSSN=?
Response
+CSSN: (list of supported <n>s),(list of supported <m>s)
OK
Parameters
98
2013-07-23
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
<index> Closed user group index
<code2> 0
This is a forwarded call
1 This is a CUG call (also <index> present) (MT call
setup)
2 Call has been put on hold (during a voice call)
3 Call has been retrieved (during a voice call)
4 Multiparty call entered (during a voice call)
5
Call on hold has been released (this is not a SS
notification) (during a voice call)
6
Forward check SS message received (can be received
whenever)
7
Call is being connected (alerting) with the remote party
99
2013-07-23
Note
100
2013-07-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
101
2013-07-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
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
102
2013-07-23
OK
Parameter
<mode>
0 PDU mode
1 Text mode
Note
Response
+CMGL: (list of supported <stat>s)
OK
Parameter
See Write Command
103
2013-07-23
[<CR><LF>+CMGL: <index>,<stat>,<da/oa>
[,<alpha>][,<scts>][,<tooa/toda>,<length>]<CR><LF><data>[...]]
for SMS-STATUS-REPORTs:
+CMGL: <index>,<stat>,<fo>,<mr>[,<ra>][,<tora>],<scts>,<dt>,<st>
[<CR><LF>+CMGL: <index>,<stat>,<fo>,<mr>
[,<ra>][,<tora>],<scts>,<dt>,<st>[...]]
for SMS-COMMANDs:
+CMGL: <index>,<stat>,<fo>,<ct>[<CR><LF>
+CMGL: <index>,<stat>,<fo>,<ct>[...]]
for CBM storage:
+CMGL:<index>,<stat>,<sn>,<mid>,<page>,<pages>
<CR><LF><data>
<CR><LF>+CMGL: <index>,<stat>,<sn>,<mid>,<page>,<pages>
<CR><LF><data>[...]]
OK
2) If PDU mode (+CMGF=0) and Command successful:
+CMGL:<index>,<stat>[,<alpha>],<length>
<CR><LF><pdu><CR><LF>
+CMGL: <index>,<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; used character set should be the one selected with Command Select
TE Character Set +CSCS (see definition of this Command in 3GPP TS
27.007)
<da>
GSM 03.40 TP-Destination-Address Address-Value field in
string format; BCD numbers (or GSM default alphabet characters) are
converted to characters of the currently selected TE character set (refer
Command+CSCS in 3GPP TS 27.007); type of address given by <toda>
<data>
In the case of SMS: GSM 03.40 TP-User-Data in text mode
responses; format:
- 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
104
2013-07-23
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
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
- if <dcs> indicates that 8-bit or UCS2 data coding scheme is
used: ME/TA converts each 8-bit octet into two IRA character
long hexadecimal number
<length>
Integer type value indicating in the text mode (+CMGF=1)
the length of the message body <data> (or <cdata>) in characters; or in
PDU mode (+CMGF=0), the length of the actual TP data unit in octets (i.e.
the RP layer SMSC address octets are not counted in the length)
<index>
Integer type; value in the range of location numbers supported
by the associated memory
<oa>
GSM 03.40 TP-Originating-Address Address-Value field in
string format; BCD numbers (or GSM default alphabet characters) are
converted to characters of the currently selected TE character set (refer
Command +CSCS in 3GPP TS 27.007); type of address given by <tooa>
<pdu>
In the case of SMS: GSM 04.11 SC address followed by
GSM 03.40 TPDU in hexadecimal format: ME/TA converts each octet of
TP data unit 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 TPDU in hexadecimal format.
<scts>
GSM 03.40 TP-Service-Center-Time-Stamp in time-string
format (refer <dt>)
<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>)
105
2013-07-23
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
Max
Time
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:
+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>
106
2013-07-23
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
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
- if <dcs> indicates that 8-bit or UCS2 data coding scheme is
used: ME/TA converts each 8-bit octet into two IRA character
long hexadecimal number
<dcs>
Depending on the Command or result code: GSM 03.38 SMS
107
2013-07-23
Data Coding Scheme (default 0), or Cell Broadcast Data Coding Scheme in
integer format
<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
<length>
integer type value indicating in the text mode (+CMGF=1)
the length of the message body <data> (or <cdata>) in characters; or in
PDU mode (+CMGF=0), the length of the actual TP data unit in octets (i.e.
the RP layer SMSC address octets are not counted in the length)
<mid>
GSM 03.41 CBM Message Identifier in integer format
<oa>
GSM 03.40 TP-Originating-Address Address-Value field in
string format; BCD numbers (or GSM default alphabet characters) are
converted characters of the currently selected TE character set (specified by
+CSCS in 3GPP TS 27.007); type of address given by <tooa>
<pdu>
In the case of SMS: GSM 04.11 SC address followed by
GSM 03.40 TPDU in hexadecimal format: ME/TA converts each octet of
TP data unit 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 TPDU in hexadecimal format.
<pid>
GSM 03.40 TP-Protocol-Identifier in integer format
(default 0)
<sca>
GSM 04.11 RP SC 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 <tosca>
<scts>
GSM 03.40 TP-Service-Centre-Time-Stamp in time-string
format (refer <dt>)
<stat>
0 "REC UNREAD"
Received unread messages
1 "REC READ"
Received read messages
2 "STO UNSENT"
Stored unsent messages
3 "STO SENT"
Stored sent messages
4 "ALL"
All messages
<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>)
<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>)
Max
Response 5s
108
2013-07-23
Time
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:
+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
Max
Time
Response 60s
Reference
Note
109
2013-07-23
3GPP TS 27.005
In text mode, the maximum length of an SMS depends on the used coding
scheme: It is 640 characters if the 7 bit GSM coding scheme is used.
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
27.007); type of address given by <toda>
<tooa>
GSM 04.11 TP-Originating-Address Type-of-Address octet
in integer format (default refer <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)
129 Unknown type(IDSN format number)
161 National number type(IDSN format)
145 International number type(ISDN format)
177 Network specific number(ISDN format)
<length>
Integer type value (not exceed 160 bytes) indicating in the
text mode (+CMGF=1) the length of the message body <data> (or
<cdata>) in characters;
or in PDU mode (+CMGF=0), the length of the actual TP
If writing is successful:
+CMGW: <index>
OK
If error is related to ME functionality:
+CMS ERROR: <err>
110
2013-07-23
data unit in octets (i.e. the RP layer SMSC address octets are
not counted in the length)
<stat>
in the text mode (+CMGF=1):
"STO UNSENT" Stored unsent messages
"STO SENT"
Stored sent messages
in PDU mode (+CMGF=0):
0 Received unread messages
1 Received read messages
2 Stored unsent messages
3 Stored sent messages
<pdu>
In the case of SMS: GSM 04.11 SC address followed by
GSM 03.40 TPDU in hexadecimal format: ME/TA converts each octet of
TP data unit 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 TPDU in hexadecimal format.
<index>
Index of message in selected storage <mem2>
Execution
Command
AT+CMGW
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>
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
111
2013-07-23
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
Max
Time
Response 60s
Reference
3GPP TS 27.005
4.2.8 AT+CNMI
AT+CNMI
Note
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
112
2013-07-23
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.
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.
113
2013-07-23
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>
2. Indicates that new cell broadcast message has been received
If <bm>=2 (PDU mode enabled):
+CBM: <length><CR><LF><pdu>
If <bm>=2 (text mode enabled):
+CBM: <sn>, <mid>, <dcs>, <page>, <pages><CR><LF><data>
3. Indicates that new SMS status report has been received
If <ds>=1 (PDU mode enabled):
+CDS: <length><CR><LF><pdu>
If <ds>=1 (text mode enabled):
+CDS: <fo>, <mr>[, <ra>][, <tora>], <scts>, <dt>, <st>
Parameter Saving AT&W_SAVE
Mode
Reference
3GPP TS 27.005
Note
114
2013-07-23
4.2.9 AT+CPMS
AT+CPMS
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
ERROR
Parameters
<mem1>
115
2013-07-23
<usedx>
<totalx>
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
Execution
Command
AT+CRES
Max
Time
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)
116
2013-07-23
OK
Parameter
See Write Command
Write Command Response
AT+CSAS=<prof Execution command saves active message service settings to a non-volatile
memory. Settings specified in commands Service Centre Address +CSCA
ile>
and Set Message Parameters +CSMP are saved. Certain settings may not be
supported by the storage (e.g. (U)SIM SMS parameters) and therefore can
not be saved.
OK
ERROR
Parameter
<profile>
Execution
Command
AT+CSAS
0
1
2
3
Response
Same as AT+CSAS=0
OK
If error is related to ME functionality:
+CMS ERROR <err>
Max
Time
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
117
2013-07-23
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
marks)
Service center address alpha data
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:
118
2013-07-23
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>)
(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".
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
Response
TA determines whether detailed header information is shown in text mode
119
2013-07-23
ow>]
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
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
120
2013-07-23
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:
0 Type not supported
121
2013-07-23
1
Reference
3GPP TS 27.005
Type supported
Note
122
2013-07-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
OK
=<result>[,<text>] ERROR
123
2013-07-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;
<text> Hex String
If response to GET INPUT or GET INKEY
--specified in
GSM11.14[12.15]
-text string, the first 2 char is Data coding scheme
If response to SELECT ITEM --specified in GSM11.134[12.10]
-Identifier of item chosen
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
AT+STKENVS
=<command>[,<d
ata>]
Response
OK
ERROR
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
124
2013-07-23
Reference
Note
For more detail used, can refer AT+STKENV command
Test Command
Response
AT+STKCALL =? OK
Parameter
See Write Command
Write Command
Response
AT+STKCALL =< OK
command>
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
Reference
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
AT+STKSMS =<
command>
Response
OK
ERROR
Parameter
<command >
125
2013-07-23
0
4
displayed)
Reference
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
AT+STKSS =<
command>
Response
OK
ERROR
Parameter
<command >
0
4
displayed)
50
Reference
stk ss command
(Trigger modem to send STK SS)
(Trigger modem to send STK SS but icon cannot be
(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.
5.2.6 AT+STKUSSD
AT+STKUSSD
Test Command
AT+STKUSSD =?
Response
OK
Parameter
See Write Command
Write Command
Response
AT+STKUSSD =< OK
command>
ERROR
Parameter
<command >
0
4
displayed)
stk ss command
(Trigger modem to send STK USSD)
(Trigger modem to send STK USSD but icon cannot be
126
2013-07-23
50
Reference
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
AT+STKDTMF
=< command>
Response
OK
ERROR
Parameter
<command > stk DTMF command
0
(Trigger modem to send STK DTMF)
4
(Trigger modem to send STK DTMF but icon cannot be
displayed)
32
(ME currently unable to process command)
Reference
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
127
2013-07-23
Parameter
<pci_type>
-0 The SAT command is handled by TE.
-1 The SAT command is handled by ME.
-2 No other command (end of session)
<proactive command>
-DISPLAY TEXT,<Command Qualifier>,<text string>
-GET INKEY, <Command Qualifier>,<text string>
-GET INPUT, <Command Qualifier>,<text string>,<Min length>,<Max
length>
-PLAY TONE,<alpha id>,<tone>,< Time unit >,< Time interval>
-SET UP MENU,<the number of item >,<alpha id>
-SELECT ITEM, <the number of item >,<alpha id>
-ITEM,<index>,<id>,<item string>
-SEND SHORT MESSAGE,<alpha id>,<addr>,<sms tpdu>
-SEND SS,<alpha id>,<ss string>
-SEND USSD,<alpha id>,<ussd string>
-SETUP CALL,<alpha id>,<addr>
-SET UP IDLE MODE TEXT,<text string>
-SEND DTMF,<alpha id>,<dtmf string>.
If <alpha id> = 0, the alpha id is null
If <addr> = 0, the addr is null
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
Reference
Note
128
2013-07-23
Test Command
Response
AT+STKPCIS=? +STKPCIS: (0-1)
OK
Parameter
Read Command
AT+STKPCIS?
Response
+STKPCIS: <switch>
OK
Parameter
Write Command
AT+STKPCIS
=<switch>
Response
OK
ERROR
Parameter
<switch>: the switch of STK URC
-0 the STK URC is off
-1 the STK URC is ON
Note
129
2013-07-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+CEXTHS
AT+CEXTBUT
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
130
2013-07-23
AT+MORING
AT+CMGHEX
AT+CCODE
AT+CIURC
AT+CPSPWD
AT+EXUNSOL
ENABLE OR
INDICATIONS
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
DISABLE
PROPRIETARY
UNSOLICITED
6.2.1 AT+SIDET
Response
+SIDET: (list of supported <channel>s),(list of supported <gainlevel>s)
OK
Parameters
See Write Command
131
2013-07-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>
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>
Reference
Execution
Command
AT+SPIC
Power Off
Response
[NORMAL POWER DOWN]
Parameter
<n>
0
DOWN)
1
DOWN)
Note
6.2.3 AT+SPIC
AT+SPIC
Power off
132
2013-07-23
<puk2>
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=
<channel>,<gainl
evel>
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
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
133
2013-07-23
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=
<time>[,<n>
[,<recurr>]]
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Unsolicited Result Code
Indicate the index of expired alarm.
+CALV: <n>
Parameters
<time>
A string parameter(string should be included in quotation marks)
which indicates the time when alarm arrives. The format is
"yy/MM/dd,hh:mm:ss" where characters indicate the last two digits of year,
month, day, hour, minute, second.
<n>
Index of the alarm (range 1 to 5 for now).
<recurr> "0", "1"---"7" String type value indicating day of week for the
alarm in one of the following formats:
"<1..7>[,<1..7>[]]" Set a recurrent alarm for one or more
days in the week. The digits 1 to 7 correspond to the days in the
week, Monday (1), , Sunday (7).
134
2013-07-23
AUTO_SAVE
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).
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
135
2013-07-23
Parameters
See Test Command
Max
Time
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
Write Command
AT+CSNS=<mo
de>
Response
OK
ERROR
Parameter
<mode>
0
2
4
Reference
Note
6.2.9 AT+CDSCB
AT+CDSCB
Voice
Fax
Data
Execution
Command
AT+CDSCB
Response
Reference
Note
Please also refer to AT+CSCB.
OK
136
2013-07-23
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
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
137
2013-07-23
Reference
Note
6.2.12 AT+CLTS
AT+CLTS
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=
<mode>
Response
OK
ERROR
Parameter
<mode>
0
1
Disable
Enable
138
2013-07-23
<mcc>
String type; mobile country code
<mnc>
String type; mobile network code
<full network name> String type; name of the network in full length.
<full network name CI> Integer type; indicates whether to add CI.
0
The MS will not add the initial letters of the Country's
Name to the text string.
1
The MS will add the initial letters of the Country's
Name and a separator (e.g. a space) to the text string.
<short network name> String type; abbreviated name of the network
<short network name CI> Integer type; indicates whether to add CI.
0
The MS will not add the initial letters of the Country's
Name to the text string.
1
The MS will add the initial letters of the Country's
Name and a separator (e.g. a space) to the text string.
<year>
4 digits of year (from network)
<month>
Month (from network)
<day>
Day (from network)
<hour>
Hour (from network)
<min>
Minute (from network)
<sec>
Second (from network)
<time zone> String type; network time zone. If the network time zone
has been adjusted for Daylight Saving Time, the network shall indicate
this by including the <dst> (Network Daylight Saving Time)
<dst>
Network Daylight Saving Time; the content of this
indicates the value that used to adjust the network time zone
0 No adjustment for Daylight Saving Time
1 +1 hour adjustment for Daylight Saving
2 +2 hours adjustment for Daylight Saving Time
3 Reserved
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
Response
OK
ERROR
139
2013-07-23
string>
Parameters
<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.
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
+CDRIND: <type>
Parameter
<type>
Connection type
140
2013-07-23
0
1
2
Reference
Note
6.2.15 AT+CSPN
AT+CSPN
CSV connection
CSD connection
PPP connection
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
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
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
Response
OK
141
2013-07-23
number>[,<alpha
string>]
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<vm number>
<alpha string>
Parameter
Mode
Saving AUTO_SAVE
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>
Parameter
<op_band>
marks.
EGSM_MODE
PGSM_MODE
DCS_MODE
GSM850_MODE
PCS_MODE
EGSM_DCS_MODE
GSM850_PCS_MODE
EGSM_PCS_MODE
142
2013-07-23
ALL_BAND
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
Note
This command is related to the actual module.
143
2013-07-23
Test Command
AT+CHFA=?
Response
+CHFA: (0 = NORMAL_AUDIO, 1 = AUX_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
Reference
Note
This Command swaps the audio channels among different channels.
This command is related to the actual module.
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
144
2013-07-23
Note
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>,
<bsic>,<rxl>]
OK
145
2013-07-23
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>
Reference
Note
6.2.22 AT+SCLASS0
AT+SCLASS0
0
1
2
Test Command
Response
AT+SCLASS0=? +SCLASS0: (0, 1)
OK
Parameter
See Write Command
Read Command
AT+SCLASS0?
Response
+SCLASS0: <mode>
146
2013-07-23
OK
Parameter
See Write Command
Write Command Response
AT+SCLASS0=< OK
mode>
ERROR
Parameter
<mode>
0 Disable to store Class 0 SMS to SIM when module receives
Class 0 SMS
1 Enable to store Class 0 SMS to SIM when module receives
Class 0 SMS
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
Max
Time
Response 2s
Reference
6.2.24 AT+CMTE
Note
Response
+CMTE: <mode>,<Temperature>
OK
Parameters
See Write Command
147
2013-07-23
Parameters
<mode>
0 Disable temperature detection
1 Enable temperature detection
<Temperature>
range from -40.00 to 90.00
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
148
2013-07-23
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
Parameters
<mode>
149
2013-07-23
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>,<frequ
ency>,<periodO
n>,<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
Parameters
<mode>
<frequency>
<periodOn>
<periodOff>
<duration>
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
150
2013-07-23
AT&W_SAVE
Reference
Note
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
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
151
2013-07-23
Parameter
See Write Command
Write Command Response
AT+MORING=< OK
If error is related to ME functionality:
mode>
+CME ERROR: <err>
Parameter
<mode>
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>
152
2013-07-23
Parameter
<mode>
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>
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>
153
2013-07-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>
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>
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.
Response
+EXUNSOL: (list of supported <exunsol>s)
OK
Parameters
See Write Command
154
2013-07-23
Write Command
AT+EXUNSOL=
Response
OK
<exunsol>,<mod
e>
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>
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>
Reference
Note
155
2013-07-23
6.2.37 AT+CDEVICE
AT+CDEVICE
Read Command
AT+CDEVICE?
Response
Device Name: Current flash device type
OK
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
AT+CCALR?
Response
ME returns the status of result code presentation and an integer <n>
which shows whether the module is currently ready for phone call.
+CCALR: <mode>
OK
Parameter
See Test Command
Reference
Note
Response
TA returns product information text
Example:
SIMCOM_Ltd
SIMCOM_SIM800H
Revision: 1308B01SIM800H32
156
2013-07-23
OK
Reference
Note
6.2.40 AT+SGPIO
AT+SGPIO
Test Command
AT+SGPIO=?
Response
+SGPIO: (0-1),(1-3),(0-1),(0-1)
OK
Parameters
See Write Command
Write Command
AT+SGPIO=<ope
ration>,<GPIO>,
<function>,<level
>
Response
OK
Reference
Note
6.2.41 AT+SPWM
AT+SPWM
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
Test Command
AT+SPWM=?
Response
+SPWM: (list of supported <index>s),(list of supported <period>s),(list of
supported <level>s)
OK
Parameters
See Write Command
Write Command
AT+SPWM=<in
Response
OK
157
2013-07-23
dex>,<period>,<l
evel>
<level>
Reference
Note
The PWM clock source is 4KHz, the equation of the final frequency is:
frequency = CLK/(PWM_CNT+1), where PWM_CNT = CLK/period 1.
However, the equation can not be simplified.
If freq equals 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
158
2013-07-23
<nlp>
noise
<aec>
<nr>
<ns>
< state>
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
159
2013-07-23
Note
For this command, please refer to actual model.
The headset detection is still worked when <mode> is set to 0. In other
word, if "AT+CEXTHS=1" is set, the unsolicited event code (indicating
whether the headset has been attached/detached) will be sent to the terminal.
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
160
2013-07-23
10:AMR-HR/AMR-FR/FR
11:AMR-HR/HR/AMR-FR
12:AMR-FR/AMR-HR
13:AMR-FR/FR/AMR-HR
14:AMR-FR/FR/AMR-HR/HR
15:AMR-FR/EFR/FR/AMR-HR/HR
16:AMR-HR/AMR-FR/EFR/FR/HR
17: AMR-FR/AMR-HR/EFR/FR/HR
Parameter Saving
Mode
AT&W_SAVE
Reference
Note
The parameter of AT+SVR is stored in non-volatile memory.
Reference
Note
The parameter is not saved if the module power down.
161
2013-07-23
Test Command
AT+CEMNL=?
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 Saving
Mode
AUTO_SAVE
Reference
Note
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
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
AT*CELLLOC
K?
Response
*CELLLOCK: <mode>[,<amount>,<locked arfcn list>[,<locked arfcn
list>]]
OK
162
2013-07-23
Parameter
See Write Command
Write Command
AT*CELLLOC
K=<mode>[,<am
ount>,<locked
arfcn
list>[,<locked
arfcn list>]]
Reference
6.2.48 AT+SLEDS
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).
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
163
2013-07-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)
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
Note
This buzzer function is depending on the hardware.
164
2013-07-23
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
Note
Note
165
2013-07-23
Response
OK
ERROR
Parameters
<mode>
0 disable
1 enable
<index>
The index of phone number, scope: 1-30
<phone number>
Phone number to be set
Parameter Saving
Mode
AUTO_SAVE
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>
166
2013-07-23
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
Note
User should select 8-pin SIM card holder to implement SIM card detection
function.
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
167
2013-07-23
<SIM inserted>
A numeric parameter which indicates whether SIM
card has been inserted.
0
Not inserted
1
Inserted
Parameter Saving
Mode
AT&W_SAVE
Reference
Note
6.2.55 AT+CSGS
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.
Note
168
2013-07-23
Parameter
See Write Command
Read Command
AT+CMICBIAS
?
Response
+CMICBIAS: <mode>
OK
Parameter
See Write Command
Write Command
AT+CMICBIAS
=<mode>
Response
OK
ERROR
Parameter
<mode>
0 re-open the micbias
1 close the micbias
Reference
Note
169
2013-07-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
170
2013-07-23
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>
171
2013-07-23
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
172
2013-07-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
Note
7.2.4 AT+CGQREQ
AT+CGQREQ
Test Command
Response
AT+CGQREQ=? +CGQREQ: <PDP_type>,(list of supported <precedence>s),(list of
SIM800 Series_AT Command Manual_V1.01
173
2013-07-23
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>
174
2013-07-23
0
1..18
31
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
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.
175
2013-07-23
<cid>
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
Write Command Response
AT+CGPADDR= +CGPADDR: <cid>,<PDP_addr>
<cid>
[<CR><LF>+CGPADDR: <cid>,<PDP_addr>[]]
OK
ERROR
Parameters
<cid>
A numeric parameter which specifies a particular PDP context
definition (see +CGDCONT Command)
<PDP_addr> String type, IP address
Format: "<n>.<n>.<n>.<n>" where <n>=0..255
176
2013-07-23
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>
Note
It only supports Class B, CG and CC.
177
2013-07-23
Test Command
Response
AT+CGEREP=? +CGEREP: (list of supported <mode>s)
OK
Parameters
See Write Command
Read Command
AT+CGEREP?
Response
+CGEREP: <mode>
OK
Parameters
See Write Command
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
178
2013-07-23
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
allowed to attach for GPRS if requested by the user.
1 Registered, home network.
2 Not registered, but MT is currently trying to attach or
searching an operator to register to. The GPRS service is
enabled, but an allowable PLMN is currently not available. The
UE will start a GPRS attach as soon as an allowable PLMN is
available.
3 Registration denied,The GPRS service is disabled, the UE is
not allowed to attach for GPRS if it is requested by the user.
4 Unknown
5 Registered, roaming
<lac>
String type (string should be included in quotation marks); two
byte location area code in hexadecimal format (e.g. "00C3"
equals 195 in decimal)
<ci>
String type (string should be included in quotation marks); two
bytes cell ID in hexadecimal format
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>
179
2013-07-23
OK
Parameter
See Write Command
Write Command Response
AT+CGSMS=<se OK
If error is related to ME functionality:
rvice>
+CME ERROR: <err>
Parameter
<service>
A numeric parameter which indicates the service or service
preference to be used
0 Packet Domain
1 Circuit switched
2
Note
180
2013-07-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
181
2013-07-23
AT+CIPRDTIMER
AT+CIPSGTXT
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
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.
182
2013-07-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
connecting
SIM800 Series_AT Command Manual_V1.01
183
2013-07-23
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
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>
OK
Parameters
See Write Command
Read Command
AT+CIPSEND?
Response
1) For single IP connection (+CIPMUX=0)
184
2013-07-23
+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>
A numeric parameter which indicates the connection number
<length>
A numeric parameter which indicates the length of sending
data, it must be less than <size>
Execution
Command
Response
This Command is used to send changeable length data.
185
2013-07-23
AT+CIPSEND
response">", then
type data for send,
tap CTRL+Z to
send, tap ESC to
cancel
the
operation
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
AT+CIPQSEND
?
Response
+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.
186
2013-07-23
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
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)
Parameters
<n>
0 Slow close
1 Quick close
<id>
A numeric parameter which indicates the connection number
187
2013-07-23
AT+CIPCLOSE
=<id>, [<n>]
Execution
Command
AT+CIPCLOSE
Response
If close is successfully:
CLOSE OK
If close fails:
ERROR
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
If close fails:
ERROR
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
188
2013-07-23
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
See Write Command
Write Command
1) For single IP
connection
(+CIPMUX=0)
AT+CLPORT=<
mode>,<port>
2) For multi IP
connection
(+CIPMUX=1)
AT+CLPORT=<
n>,<mode>,<por
t>
Response
OK
ERROR
Reference
Note
This command will be effective when module is set as a Client
8.2.9 AT+CSTT
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
+CSTT: "APN","USER","PWD"
OK
Parameters
See Write Command
Read Command
AT+CSTT?
Response
+CSTT: <apn>,<user name>,<password>
189
2013-07-23
OK
Parameters
See Write Command
Write Command
AT+CSTT=<apn
>,<user
name>,<passwor
d>
Response
OK
ERROR
Parameters
<apn>
name
<user name>
<password>
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
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
190
2013-07-23
Parameter
<IP address> a string parameter which indicates the IP address assigned
from GPRS or CSD.
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>
191
2013-07-23
<state>
connecting
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
Reference
Note
192
2013-07-23
<pri_dns>
[,<sec_dns>]
ERROR
Reference
Note
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
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.
Reference
Note
8.2.15 AT+CIPHEAD
AT+CIPHEAD
Test Command
AT+CIPHEAD=
?
Read Command
Response
193
2013-07-23
AT+CIPHEAD?
+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>:
Reference
Note
8.2.16 AT+CIPATS
AT+CIPATS
Test Command
AT+CIPATS=?
Response
+CIPATS: (list of supported <mode>s),(list of supported <time>)
OK
Parameters
See Write Command
Read Command
AT+CIPATS?
Response
+CIPATS: <mode>,<time>
OK
Parameters
See Write Command
194
2013-07-23
<time>
1..100
A numeric parameter which indicates the seconds
after which the data will be sent
Reference
Note
Response
+CIPSPRT: <send prompt>
OK
Parameter
See Write Command
Note
8.2.18 AT+CIPSERVER
AT+CIPSERVER
Test Command
AT+CIPSERVE
R=?
195
2013-07-23
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
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
Response
OK
ERROR
Parameters
<mode>
mode
196
2013-07-23
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.
197
2013-07-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
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)
?
198
2013-07-23
OK
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>
Reference
0 Normal mode
1 Transparent mode
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
Write Command
AT+CIPCCFG=
<NmRetry>,<Wa
itTm>,<SendSz>,
<esc>[,<Rxmode
>,<RxSize>,<Rxt
Response
OK
ERROR
Parameters
<NmRetry>
<WaitTm>
199
2013-07-23
imer>]
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
<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>"
Reference
Note
This command will be effective only in single connection mode
(+CIPMUX=0)
200
2013-07-23
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
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
Response
OK
ERROR
<n>
number
<mode>
201
2013-07-23
E=<n>,<mode>[,<I
P
address>,<Port>]
Reference
Note
Response
OK
ERROR
1)For single IP connection
If AT+CIPSRIP=1 is set, IP address and port are contained.
if <mode>=1
+CIPRXGET: 1[,<IP ADDRESS>:<PORT>]
if <mode>=2
+CIPRXGET: 2,<reqlength>,<cnflength>[,<IP ADDRESS>:<PORT>]
1234567890
OK
if <mode>=3
+CIPRXGET: 3,<reqlength>,<cnflength>[,<IP ADDRESS>:<PORT>]
5151
OK
if <mode>=4
+CIPRXGET: 4, <cnflength>
202
2013-07-23
OK
2)For multi IP connection
If AT+CIPSRIP=1 is set, IP address and port is contained.
if <mode>=1
+CIPRXGET: 1,<id>[,<IP ADDRESS>:<PORT>]
if <mode>=2
+CIPRXGET:
2,<id>,<reqlength>,<cnflength>[,<IP
ADDRESS>:<PORT>]
1234567890
OK
if <mode>=3
+CIPRXGET:
3,<id>,<reqlength>,<cnflength>[,<IP
ADDRESS>:<PORT>]
5151
OK
if <mode>=4
+CIPRXGET: 4, <id>,<cnflength>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<mode>
0
Disable getting data from network manually, the module is
set to normal mode, data will be pushed to TE directly.
1
Enable getting data from network manually.
2
The module can get data, but the length of output data can
not exceed 1460 bytes at a time.
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.
Reference
Note
To enable this function, parameter <mode> must be set to 1 before
connection.
203
2013-07-23
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
Parameters
<mode0>
Response
Module saves current TCPIP Application Contexts to NVRAM. When
system is rebooted, the parameters will be loaded automatically.
OK
Reference
Note
8.2.28 AT+CIPRDTIMER
AT+CIPRDTIMER
204
2013-07-23
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.
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
Reference
Note
This command is used to select pdp context, only for multi IP connection
(+CIPMUX=1).
205
2013-07-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
206
2013-07-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
Reference
Note
This command is applied to activate some applications such as HTTP, FTP.
207
2013-07-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>
208
2013-07-23
Parameters
<IPaddr>
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>
OK
Parameters
See Write Command
209
2013-07-23
Write Command
Response
AT+CIPCTL=<mod OK
or
e>
ERROR
or
+CME ERROR: <err>
Parameters
<mode>
Reference
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.
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
Write Command
AT+CIPFLT=<actio
n>[,<item>][,
<ipAddr>,<mask>]
Response
OK
or
ERROR
or
+CME ERROR: <err>
Parameter
<action>
2013-07-23
2
<item>
1-20
<ipAddr>
<mask>
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.
211
2013-07-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>
Reference
Note
HTTPINIT should first be executed to initialize the HTTP service.
11.2.2 AT+HTTPTERM
AT+HTTPTERM
Test Command
AT+HTTPTER
M=?
212
2013-07-23
Execution
command
AT+HTTPTER
M
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
Note
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<HTTPParamTag>
HTTP Parameter
213
2013-07-23
"PROIP"
"PROPORT"
"REDIR"
"BREAK"
"BREAKEND"
"TIMEOUT"
"CONTENT"
<HTTPParamValue>
Reference
Note
Not all the HTTP Server supports "BREAK" and "BREAKEND"
parameters
214
2013-07-23
Parameters
See Write Command
Write Command Response
AT+HTTPDATA DOWNLOAD
=<size>,<time>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<size>
Size in bytes of the data to POST.
1-319488 (bytes)
0 means delete all the content.
<time>
1000-120000 (millisecond) Maximum time in milliseconds to
input data.
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
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>
215
2013-07-23
<DataLen>
200 OK
201 Created
202 Accepted
203 Non-Authoritative Information
204 No Content
205 Reset Content
206 Partial Content
300 Multiple Choices
301 Moved Permanently
302 Found
303 See Other
304 Not Modified
305 Use Proxy
307 Temporary Redirect
400 Bad Request
401 Unauthorized
402 Payment Required
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Authentication Required
408 Request Time-out
409 Conflict
410 Gone
411 Length Required
412 Precondition Failed
413 Request Entity Too Large
414 Request-URI Too Large
415 Unsupported Media Type
416 Requested range not satisfiable
417 Expectation Failed
500 Internal Server Error
501 Not Implemented
502 Bad Gateway
503 Service Unavailable
504 Gateway Time-out
505 HTTP Version not supported
600 Not HTTP PDU
601 Network Error
602 No memory
603 DNS Error
604 Stack Busy
the length of data got
216
2013-07-23
Max
Time
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=?
Response
+HTTPREAD:<date_len>
<data>
OK
Read all data when AT+HTTPACTION=0 or AT+HTTPDATA is executed.
217
2013-07-23
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>
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
Mode
Saving AUTO_SAVE
Reference
Note
218
2013-07-23
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>
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
219
2013-07-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
220
2013-07-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>
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>
Parameter
<value>
Reference
Note
221
2013-07-23
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>
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.
222
2013-07-23
Parameter
<value>
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
Note
Response
OK
Read Command
AT+FTPREST?
Response
+FTPREST: <value>
OK
Parameter
See Write Command
223
2013-07-23
Write Command
AT+FTPREST=
<value>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<value>
Reference
Note
Response
OK
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
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>
224
2013-07-23
OK
Parameter
See Write Command
Write Command Response
AT+FTPUN=<va OK
lue>
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<value>
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>
Reference
Note
12.2.10 AT+FTPGETNAME
AT+FTPGETNAME
225
2013-07-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>
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>
Parameter
<value>
Reference
Note
226
2013-07-23
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>
Reference
Note
12.2.13 AT+FTPPUTPATH
AT+FTPPUTPATH
Test Command
AT+FTPPUTPA
TH=?
Response
OK
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>
227
2013-07-23
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:
+CME ERROR: <err>
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
228
2013-07-23
75
76
77
78
79
Max
Time
Passive error
Active error
Operate error
Upload error
Download error
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>
If mode is 1 and it is a failed FTP get session:
OK
+FTPPUT:1,<error>
If mode is 2 and <reqlength> is not 0
+FTPPUT:2,<cnflength>
//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>
229
2013-07-23
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"
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>
+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
230
2013-07-23
Parameter Saving
Mode
AUTO_SAVE
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
If failed:
OK
+FTPDELE:1,<error>
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<error>
Max
Time
See "AT+FTPGET"
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
231
2013-07-23
+FTPSIZE:1,0,<size>
If failed:
OK
+FTPSIZE:1,<error>,<0>
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<error>
<size>
Max
Time
See "AT+FTPGET"
The file size. Unit: byte
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.
Reference
Note
232
2013-07-23
Test Command
Response
AT+FTPEXTPUT OK
=?
Write Command
AT+FTPEXTPUT
=<mode>[,<pos>,<
len>,<timeout>]
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>
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
Max
Time
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>
233
2013-07-23
Parameter
<error>
Max
Time
See AT+FTPGET
Reference
Note
The created folder is specified by the AT+FTPGETPATH command.
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>
Max
Time
See AT+FTPGET
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
234
2013-07-23
235
2013-07-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
236
2013-07-23
<longitude>
<latitude>
<date>
<time>
Reference
Note
237
2013-07-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
238
2013-07-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
Reference
Note
14.2.2 AT+EMAILTO
AT+EMAILTO
Test Command
AT+EMAILTO=?
Read Command
AT+EMAILTO?
Response
+EMAILTO: <timeout>
OK
239
2013-07-23
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)
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
Parameter
<smtpServer>
<smtpPort>
1-65535
240
2013-07-23
<smtpServerLength>
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
Reference
Note
14.2.5 AT+SMTPFROM
AT+SMTPFROM
241
2013-07-23
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>
Reference
Note
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
242
2013-07-23
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>
Reference
14.2.7 AT+SMTPSUB
AT+SMTPSUB
Test Command
AT+SMTPSUB=?
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>.
Set the Email Subject
Set the Email Subject
Response
+SMTPSUB: <subjectLength>
OK
Parameter
See Write Command
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
243
2013-07-23
Parameter
<subject>
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
Write Command
AT+SMTPBODY=<
length>
,then type data as
Email body. When
bodys length equal
length, command is
over!
Reference
Response
DOWNLOAD
OK
If error is related to ME functionality:
ERROR
Parameter
<length>
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
244
2013-07-23
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
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
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
245
2013-07-23
14.2.11 AT+SMTPFT
Note
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
246
2013-07-23
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=?
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
247
2013-07-23
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>.
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>
248
2013-07-23
<passwordLength>
Reference
14.2.14 AT+POP3IN
AT+POP3IN
Test Command
AT+POP3IN=?
Note
Note
14.2.15 AT+POP3NUM
AT+POP3NUM
Test Command
AT+POP3NUM=?
Response
OK
Parameter
249
2013-07-23
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
If some error occur:
+POP3OUT: <code>
Parameter
250
2013-07-23
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
server-determined string, consisting of 1 to 70 characters in
the range 0x21 to 0x7E,which uniquely identifies a message
within a maildrop and which persists across sessions.
<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
251
2013-07-23
64
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
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
252
2013-07-23
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
64 Timeout of POP3 server response
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
253
2013-07-23
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
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.
254
2013-07-23
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
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
255
2013-07-23
Parameter
Note
14.2.22 AT+POP3OUT
AT+POP3OUT
Test Command
AT+POP3OUT=?
256
2013-07-23
Reference
Note
257
2013-07-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
258
2013-07-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
259
2013-07-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
+CME ERROR: <err>
260
2013-07-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
3 2 days
4 1 week
5 maximum
6 Not set (default)
<pri>
Priority
0 lowest
261
2013-07-23
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
Test Command
Response
AT+CMMSEDIT=? +CMMSEDIT: (0,1)
OK
Parameter
See Write Command
262
2013-07-23
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
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
or
+CME ERROR: <err>
Parameters
<type>
<size>
263
2013-07-23
<time>
<name>
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>
Reference
Note
This command is valid when it is allowed to edit MMS
15.2.8 AT+CMMSSEND
AT+CMMSSEND
Test Command
AT+CMMSSEND=
?
264
2013-07-23
Write Command
AT+CMMSSEND=
<address>
Response
OK
or
ERROR
or
+CME ERROR: <err>
Parameter
<address> a string parameter which indicates address of recipients.
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
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>
265
2013-07-23
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
+CME ERROR: <err>
Parameter
<addr>
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
266
2013-07-23
OK
Parameter
See Write Command
Write Command
AT+CMMSBCC=<
addr>
Response
OK
or
ERROR
or
+CME ERROR: <err>
Parameter
<addr>
Reference
Note
The maximum of secret recipients is 20 and this command is valid only
when it is allowed to edit MMS
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>
Note
This command is valid when it is allowed to edit MMS
267
2013-07-23
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
+CME ERROR: <err>
Parameter
<addr>
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>
268
2013-07-23
AT+CMMSDELBC Response
C
OK
Reference
Note
This command is valid when it is allowed to edit MMS
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
Max Response Time
AT+CMMSTIMEOUT
Reference
Note
269
2013-07-23
z
z
15.2.16 AT+CMMSVIEW
AT+CMMSVIEW
Test Command
AT+CMMSVIEW=
?
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.
The received MMS is just saved in the buffer but not saved in the
flash.
The maximum number of inclosure is 10.
270
2013-07-23
8
9
10
Reference
image/tif
image/png
smil
Note
15.2.17 AT+CMMSREAD
<name>
<datSize>
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
271
2013-07-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
272
2013-07-23
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
Reference
Saving AT+CMMSSCONT
Note
15.2.20 AT+CMMSPROFILE
AT+CMMSPROFILE
273
2013-07-23
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
Reference
Saving AT+CMMSSCONT
Note
15.2.21 AT+CMMSTIMEOUT
AT+CMMSTIMEOUT
Test Command
Response
AT+CMMSTIMEO +CMMSTIMEOUT: (10-1000),(10-1000)
UT=?
OK
Parameters
See Write Command
Read Command
Response
AT+CMMSTIMEO +CMMSTIMEOUT: <Send timeout>,<Recv timeout>
UT?
OK
Parameters
See Write Command
274
2013-07-23
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
MMS_SENDING
MMS_RECEIVING
MMS_RECEIVED
MMS_READING
MMS_READING_PUSH
Reference
Note
275
2013-07-23
15.2.23 AT+CMMSINIT
AT+CMMSINIT
Test Command
AT+CMMSINIT=?
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
?
Parameter
No Parameter
Execution Command Response
AT+CMMSTERM OK
or
ERROR
or
+CME ERROR: <err>
No Parameter
Reference
Note
When exiting the MMS function, this command must be executed.
15.2.25 AT+CMMSSCONT
276
2013-07-23
Test Command
Response
AT+CMMSSCONT OK
=?
Parameter
See Execution Command
Read Command
Response
AT+CMMSSCONT +CMMSSCONT: <mode>
?
+CMMSCID: <value>
+CMMSCURL: <mmscurl>
+CMMSUA: <UA>
+CMMSPROFILE: <UAProfile>
+CMMSPROTO: <Gateway>,<Port>
+CMMSSENDCFG:<valid>,<pri>,<sendrep>,<readrep>,<visible>,<
class>,<subctrl>,<notifyskip>
+CMMSTIMEOUT: <Send timeout>,<Recv timeout>
OK
Parameter
See Execution Command
Execution Command Response
AT+CMMSSCONT OK
Parameter
<mode>
0
saved, the value from NVRAM
For other parameters, see the related command.
Reference
Note
277
2013-07-23
16.1 Overview
Command
Description
AT+DDET
Response
+DDET: (0,1)
OK
Parameter
See Write Command
Read Command
AT+DDET?
Response
+DDET: <mode>
OK
Parameters
See Write Command
Note
278
2013-07-23
Description
AT+CREC
Record operation
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
279
2013-07-23
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
<n> number of operation support, if SD card is supported, the number
will be 9, or will be 8
280
2013-07-23
Note
z Record willl overwrite the recored file with the same ID
281
2013-07-23
z
z
z
z
z
z
z
High priority event will stop recording and save record file.URC will
report +CREC: n,<id>,<form>,<time>,<len>
About 40K FAT space will remain for system use.
Call setup will stop the record. If record in call, call release will stop
record too.
Record in call only record remote input, the setting of input path dont
take effect
Play in call only support low quality WAV record file.
Location relative setting only take effect when SD is support and
plugged in
When DDET is set to 1, record is not allowed in call
282
2013-07-23
Description
AT+CTTS
TTS operation
AT+CTTSPARAM
AT+CTTS
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
283
2013-07-23
<text>
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
AT+CTTSPARAM
=?
Response
+CTTSPARAM: (0-100),(0-3),(1-100),(1-100),(0,1)
OK
Parameter
See Write Command
Read Command
AT+CTTSPARAM
?
Response
+CTTSPARAM: <volume>,<mode>,<pitch>,<speed>,<channel>
OK
Parameter
See Write Command
Write Command
AT+CTTSPARAM=
<volume>,<mode>,
<pitch>,<speed>[,<c
hannel>]
Response
OK
If error is related to MS functionality, response
+CME ERROR: <err>
Reference
Note
TTS play channel setting take no effect in call. TTS play channel depend
on CHFA when in call.
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 25.
<channel> TTS play channel
0
main channel
1
aux channel
284
2013-07-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
285
2013-07-23
32
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
286
2013-07-23
184
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
287
2013-07-23
814
Unspecified Error
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
288
2013-07-23
30
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
289
2013-07-23
129
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
290
2013-07-23
312
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
291
2013-07-23
532
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:
AT+CNMI
292
2013-07-23
<fo>,<mr>[,<ra>][,<tora>],<s
cts>,<dt>,<st>
been received.
+COLP:
<number>,<type>[,<subaddr>
,<satype>,<alphaId>]
+CSSU:<code2>
+CSSI:<code1>[,<index>]
+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>,<
AT+CENG=<mod
293
2013-07-23
cellid>,<bsic>,<rxl>
MO RING
e>[,<Ncell>]
<mode>=3
Shows call state of mobile originated
call: the call is alerted.
AT+MORING=1
MO CONNECTED
AT+MORING=1
+CPIN:<code>
AT+CPIN
+CSQN: <rssi>,<ber>
AT+EXUNSOL="
SQ",1
+SIMTONE: 0
AT+SIMTONE
+STTONE: 0
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
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
294
AT+IPR=<rate>
<rate> is not 0
2013-07-23
Call Ready
+CFUN: <fun>
AT+CIURC=1
AT+IPR=<rate>
<rate> is not 0
[<n>,]CONNECT OK
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
295
AT+CIPSTART
AT+CDNSGIP
2013-07-23
+FTPLIST:1,<res>
296
AT+FTPLIST
2013-07-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
297
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-07-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
298
OK
[a listing
contents]
2013-07-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
299
2013-07-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
300
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-07-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
301
2013-07-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
302
OK
2013-07-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
303
2013-07-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
304
OK
2013-07-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
305
2013-07-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"
306
2013-07-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
... ...
307
OK
2013-07-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
OK
ATD***********;
OK
If module detected DTMF,
URC will be reported via
serial port
308
2013-07-23
+DTMF:1
//report DTMF value
+DTMF:2
+DTMF:3
+DTMF:4
+DTMF:5
+DTMF:6
+DTMF:7
+DTMF:8
+DTMF:9
+DTMF:0
+DTMF:#
+DTMF:*
Receive an incoming call
ATA
OK
If module detected DTMF,
URC will be reported via
serial port
+DTMF:1
//report DTMF value
+DTMF:2
+DTMF:3
+DTMF:4
+DTMF:5
+DTMF:6
+DTMF:7
+DTMF:8
309
2013-07-23
+DTMF:9
+DTMF:0
+DTMF:#
+DTMF:*
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
310
2013-07-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
311
2013-07-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.
312
2013-07-23
21.1 AT+CSDT
SIM800V
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)
313
2013-07-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: SIM800V/SIM800W support Dual-band;
SIM800,SIM840W,SIM840V, SIM800H/L support Quad-band.
314
2013-07-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
315
2013-07-23