AT COMMAND Set For Luat 4G Modules - V3.89 PDF
AT COMMAND Set For Luat 4G Modules - V3.89 PDF
AT COMMAND Set For Luat 4G Modules - V3.89 PDF
AirM2M
Version: 3.89
Contents
2 of 239Introduction
AT Command Set
3 of 239Introduction
AT Command Set
4 of 239Introduction
AT Command Set
5 of 239Introduction
AT Command Set
6 of 239Introduction
AT Command Set
7 of 239Introduction
AT Command Set
1 Introduction
1.2 Conventions
Terminal Equipment (TE) controls Mobile Termination (MT) functions and GSM/UMTS network services
through Terminal Adaptor (TA).
Figure 1
The commands described in the present document may be observed on the link between the TE and the TA.
However,most of the commands retrieve information about the MT, not about the TA.
1.3 Definitions
For the purposes of the present document, the following syntactical definitions apply:
8 of 239Introduction
AT Command Set
1.4 Abbreviations
AT ATtention; this two-character abbreviation is always used to start a command line to be sent from
TE to TA
BCD Binary Coded Decimal
DCE Data Circuit terminating Equipment
DTE Data Terminal Equipment
IMEI International Mobile station Equipment Identity
ICCID Integrate circuit card identity
IRA International Reference Alphabet (ITU-T T.50)
ME Mobile Equipment(=wireless module in this doc)
MT Mobile Termination(=wireless module in this doc)
SIM Subscriber Identity Module
TA Terminal Adaptor, e.g. a GSM data card (equal to DCE)
TE Terminal Equipment, e.g. a computer (equal to DTE)
URC Unsolicited Reslut Code
NTP Network Time Protocol
NITZ Network Identity and Time Zone
The "AT" or "at" prefix must be set at the beginning of each Command line. To terminate a Command line enter
<CR>.
Commands are usually followed by a response that includes."<CR><LF><response><CR><LF>". Throughout
this document, only the responses are presented, <CR><LF> are omitted intentionally.
The AT Command set in this document is a combination of GSM07.05, GSM07.07 and ITU-T recommendation
V.25ter and the proprietary AT commands developed by AirM2M.
9 of 239Introduction
AT Command Set
Note: Only enter AT Command through serial port after module is powered on and Unsolicited Result Code
"RDY" is received from serial port. And unsolicited result code "+CPIN: NOT INSERTED" indicates SIM card
isn’t present. If autobauding is enabled, the Unsolicited Result Codes “RDY” and so on are not indicated when
you start up the ME until an “AT” is input.
All these AT commands can be split into three categories syntactically: “basic”, “S parameter”, and “extended”.
These are as follows:
These AT commands have the format of “AT<x><n>”, or “AT&<x><n>”, where “<x>”is the Command, and
“<n>”is/are the argument(s) for that Command. An example of this is “ATE<n>”, which tells the DCE whether
received characters should be echoed back to the DTE according to the value of “<n>”. “<n>” is optional and a
default will be used if missing.
These AT commands have the format of “ATS<n>=<m>”, where “<n>” is the index of the Sregister to set, and
“<m>”is the value to assign to it. “<m>” is optional; if it is missing, then adefault value is assigned.
You can enter several AT commands on the same line,in which case, you do not need to type the “AT” or “at”
prefix before every command. Instead, you only need type “AT” or “or” at the beginning of the Command line.
10 of 239Introduction
AT Command Set
AT+CFUN=1;+CIMI;+VER
The Command line buffer can accept a maximum of 556 characters. If the characters enteredexceeded this
number then none of the Command will be executed and TA will return “ERROR”.
When you need to enter a series of AT commands on separate lines, please Note that you need to wait the
final response (for example OK, CME error, CMS error) of last AT Command you entered before you enter the
next AT Command.
11 of 239Introduction
AT Command Set
Syntax:
Type of Command Command Possible response(s)
<manufacturer>
Defined values:
Parameter Definition Value Description
<manufacturer> ID of manufacturer - Defined by manufacturer
Text shall not contain the sequence
0<CR> or OK<CR>
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CGMI Query the manufacturerID
ASR
← Response information is returned
OK
Syntax:
Type of Command Command Possible response(s)
<model>
Defined values:
Parameter Definition Value Description
<model> Information text of module. - Defined by manufacturer, one line or more lines.
Text shall not contain the
sequence 0<CR> or OK<CR>
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CGMM Query module identification
+CGMM: "Nezha_MIFI"
←
OK
Syntax:
Type of Command Command Possible response(s)
Revision: <revision>
Defined values:
Parameter Definition Value Description
<revision> the version, revision level or date, or - Defined by manufacturer of the MT
otherpertinent information of the MT
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ AT+CGMR Query firmware vesion or revision
Revision: 1.0
←
OK
Syntax:
Type of Command Command Possible response(s)
<sn>
Defined values:
Parameter Definition Value Description
<sn> IMEI (International Mobile Equipment - Composed of 15 digits
Identification)
Examples:
Command(→)/R AT Sequences Description
esponse(←)
→ AT+CGSN Query IMEI
359759002514931
←
OK
Syntax:
Type of Command Command Possible response(s)
<ICCID>
Defined values:
Parameter Definition Value Description
<ICCID> ICCID(Integrated circuit card identity) - Usually composed of 20 digits
Examples:
Command(→)/R AT Sequences Description
esponse(←)
→ AT+CCID Query the ICCID of the SIM card
89860064091118004014
←
OK
Syntax:
Type of Command Command Possible response(s)
<IMSI>
Defined values:
Parameter Definition Value Description
<IMSI> IMSI(International Mobile Subscriber Usually composed of 15 digits
Identity)
Examples:
Command(→)/R AT Sequences Description
esponse(←)
→ AT+CIMI Request IMSI
460001841426414
←
OK
Defined values:
Parameter Definition Value Description
<module info> Information about the module - Defined by manufacturer of the MT
(manufacturer,revision)
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ ATI Request the information about the module
AirM2M_V5295_AT_S
←
OK
Syntax:
Type of Command Command Possible response(s)
<firmware ver>
Defined values:
Parameter Definition Value Description
< firmware ver > The inner version of the - Defined by manufacturer
module firmware
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ AT+VER Requset the inner version of the module firmware
AirM2M_720_V306_LTE_AT_NAND
←
OK
Syntax:
Type of Command Command Possible response(s)
^HVER:<hardversion>
Execution Command AT^HVER
OK
Syntax:
Type of Command Command Possible response(s)
Repeat previous command line ,and line does not need to
Execution Command A/
end with [CR]
Examples:
Command(→)/R AT Sequences Description
esponse(←)
→ AT+CIMI Request IMSI
460001841426414
←
OK
→ A/ Repeat AT+CIMI
460001841426414
←
OK
AT+WISN is for the customers to write a special/proprietary sn(serial number) in the module.
Syntax:
Defined values:
Parameter Definition Value Description
<user_sn> special SN - defined or provided by customers
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ AT+WISN="1234567890" write acumstomer SN
← OK
→ AT+WISN? query the cumstomer SN
1234567890
←
OK
Reset MT.
Syntax:
Type of Command Command Possible response(s)
Save/fetch dial-string.
Syntax:
Type of Command Command Possible response(s)
AT+ASTO=<string>,<number> OK
Set Command
+CME ERROR: <err>
+ASTO:<information text>
Read Command AT+ASTO?
OK
Test Command AT+ASTO=? +ASTO: (0-32),(64)
OK
Defined values:
Parameter Definition Value Description
<string> name
<number> phone number
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ AT+ASTO=HELENA,188890065
← OK
→ AT+ATSO?
+ASTO: HELENA,188890065
←
OK
Set control log level. Store the log level to global variable. It can control log print to android log buffer and to file,
log level less than the control log level will be print.
Syntax:
Type of Command Command Possible response(s)
+VDUMP: <loglevel>
Read Command AT+VDUMP?
OK
+VDUMP: (0-8)
Test Command AT+VDUMP=?
OK
Defined values:
Parameter Definition Value Description
the log level less than 0 LOG_SILENT
<loglevel> <loglevel >will be displayed 1 LOG_EMERG
2 LOG_ALERT
3 LOG_CRIT
4 LOG_ERR
5 LOG_WARNING
6 LOG_NOTICE
7 LOG_INFO
8 LOG_DEBUG
This proprietary AT command is used to notify MT of MCU sleep status. When MCU goes to sleep, MT will not
send indication to MCU except MT call and SMS incoming.
Syntax:
Type of Command Command Possible response(s)
*POWERIND:(0-1)
Test Command AT*POWERIND=?
OK
Defined values:
Parameter Definition Value Description
MUC mode 0 is awake
<n> 1 is asleep
Examples:
Scenarios Startup information Description
UART Boot Completed
RDY if SIM is not inserted,informaiton like this will be
reported after module startup.
^SIMST: 0
+CPIN: READY
^SIMST: 1
+MSTK: 11,
D0818E010301250002028182050F8000550053
0049004D53615E9475280F0A01807CBE54C16
3A883500F06028077E597F30F0A03806C8390
1A884C8BC10F0A048053C280036D88606F0F
0A05808BED97F352A9624B0F0806806C83506
55EB70F0A07804FBF6C11670D52A10F0C088
0624B673A84254E1A53850F0A09806D4191CF
4E13533A0F0A0A80727960E0793C5305
+MSTK: 14
Set command selects the type of number for further dialling commands (D) according to GSM/UMTS
specifications.
Syntax:
Type of Command Command Possible response(s)
Set Command AT+CSTA=<type> OK
Read Command AT+CSTA? +CSTA: <type>
OK
Test Command AT+CSTA=? +CSTA: (list of supported values for <type>)
OK
Defined values:
Parameter Definition Value Description
129 Unknown
Note:Underline”_” marks the default value out.
145 International number. Diallingstring includes international
type of address octet in access code character "+"
<type>
integer format 161 National number
177 Network specific number
193 dedicated access, short code
241 reserved for extersion
Examples:
Command(→)/R AT Sequences Description
esponse(←)
→ AT+CSTA=? Query that if the +CSTA command is supported and the
scope of the parameter values
← +CSTA: (129,145,161,177,193,241)
OK
→ AT+CSTA? Query the current <type>
← +CSTA: 129
OK
→ AT+CSTA=145 Set the <type> to 145
← OK
This command can be used to originate a voice/data call,it also serves to control supplementary services.
Syntax:
Type of Command Command Possible response(s)
ATD<dialling string>; If successfully originated,response is:
OK
If successfully connected:
CONNECT
Execution Command
If no dial tone(ATX2 or ATX4)
NO DIALTONE
If busy(ATX3 or ATX4):
BUSY
Defined values:
Parameter Definition Value Description
- String of dialing digits and optionally V.25ter modifiers (dialling
<dialling string> Dialed number
digits) in set of 0-9, * , #, +, A, B, C
Examples:
Command(→)/Resp AT Sequences Description
onse(←)
→ ATD131623***98; Initiate a call to 131623***98
CONNECT
→ AT+CHUP Hang up the call
← OK
If successfully connected:
CONNECT
Examples:
Command(→)/R AT Sequences Description
esponse(←)
→ ATD131623***98; Call a phone number 131623***98
← OK
←(URC) CONNECT The called party accepts the call
← OK
→ ATDL Redial the phone number 131623***98
CONNECT
Syntax:
Type of Command Command Possible response(s)
Execution Command ATA Response in case of voice call, if successfully connected:
OK
Examples:
Command(→)/ AT Sequences Description
Response(←)
←(URC) RING RING means there is an incoming call
Examples:
Command(→)/R AT Sequences Description
esponse(←)
←(URC) RING RING means that there is an incoming call
← OK
Syntax:
Type of Command Command Possible response(s)
Execution AT+CLCC [+CLCC:<id1>,<dir>,<stat>,<mode>,<mpty>[,<number>,<type>[,<alpha
Command >]][<CR><LF>+CLCC:<id2>,<dir>,<stat>,<mode>,<mpty>[,<number>,<
type>[,<alpha>]][...]]]
Test Command AT+CLCC=? OK
Defined values:
Parameter Definition Value Description
Integer type ,as described in GSM 02.30
<idx> Call id -
subclause4.5.5.1
0 Mobile originated call(MO call)
<dir> Call direction
1 Mobile terminated call(MT call)
0 Active
1 held
<stat> 2 dialing(MO call)
Call status
3 alerting(MO call)
4 incoming(MT call)
5 waiting(MT call)
0 Voice
<mode> Bearer/tele service 1 Data
2 Fax
call is not one of multiparty (conference) call
If the call is one of multiparty 0
<mpty> parties
call parties
1 call is one of multiparty (conference) call parties
String type, quoted in ”” and in format defined by
<number> Phone number -
<type>
<type> Type of the <number> - Please refer to AT+CSTA
alphanumeric representation of
<alpha> - Srting type
<number>
Examples:
Command(→)/R AT Sequences Description
esponse(←)
→ ATD10086; Call a number 10086
← OK
OK
← CONNECT The called party answers the call
OK
→ AT+CHUP Hang up the call
← OK
Set command selects the bearer service <name> with data rate <speed>, and the connection element <ce> to
be used when data calls are originated (refer 3GPP TS 22.002 ).
Syntax:
Type of Command Command Possible response(s)
Set Command AT+CBST=[<speed>[,<name>[,<ce>]]
OK
]
+CBST: <speed>,<name>,<ce>
Read Command AT+CBST?
OK
+CBST: (list of supported <speed>s),( list of supported
<name>s),( list of supported <ce>s)
Test Command AT+CBST=?
OK
Defined values:
Parameter Definition Value Description
0 autobauding(automatic selection of the speed)
<speed> Speed 7 9600 bps (V.32)
71 9600 bps(V.110 or X.31 flag stuffing)
<name> - 0 data circuit asynchronous (UDI or 3.1 kHz modem)
<ce> - 1 non-transparent
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CBST=? Query the scope of the values of all
parameters
← +CBST:
(0-7,12,14,34,36,38,39,43,65,66,68,70,71,75),(0,2
),(0,1)
OK
← +CBST: 7,0,1
OK
Write command informs TA which character set <chset> is used by the TE.
TA is then able to convert character strings correctly between TE and MEcharacter sets.
When TA-TE interface is set to 8-bit operation and used TE alphabet is 7-bit, the highest bit shall be set to zero.
Syntax:
Type of Command Command Possible response(s)
Set Command AT+CSCS=<chset> OK
+CSCS: <chset>
Read Command AT+CSCS?
OK
+CSCS: (list of supported <chset> s)
Test Command AT+CSCS=?
OK
Parameter saving mode Parameters of this command can be saved to NVM by AT&W
Defined values:
Parameter Definition Value Description
"IRA" International reference alphabet (ITU-T T.50)
"UCS2" 16-bit universal multiple-octet coded character set
“GSM” GSM default alphabet (GSM 03.38 subclause 6.2.1)
“HEX” hex format (Not supported yet)
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ AT+CSCS?
← +CSCS: "IRA"
OK
→ AT+CSCS=?
← +CSCS: ("IRA","UCS2","GSM")
OK
This command reloads the factory-stored default configurations into active memory.
This commands is functionality the same as ATZ (reset).
Syntax:
Type of Command Command Possible response(s)
Execution Command AT&F OK
This setting determines whether or not the TA echoes characters received from TE during command state.
Syntax:
Type of Command Command Possible response(s)
Execution Command ATE<value> OK
Parameter saving mode Parameters of this command can be saved to NVM by AT&W
Defined values:
Parameter Definition Value Description
0 Echo off
<value> Echo on or off
1 Echo on
This command specifies whether or not the TA transmits any result code to the TE. Information text transmitted
in response is not affected by this setting.
Syntax:
Type of Command Command Possible response(s)
Execution Command ATQ<n> OK
Defined values:
Examples:
Command(→) AT Sequences Description
/Response(←)
→ ATQ1 <n>=1, Result code is not routed to TE
← +CREG: 0,1 The result code OK does not appear,but information text +CREG:
0,1is not affected at all.
This parameter setting determines the contents of the header and trailer transmitted with result codes and
information responses. It also determines whether result codes are transmitted in a numeric form or an
alphabetic (orverbose.) form. The textportion of information responses is not affected by this setting.
Syntax:
Type of Command Command Possible response(s)
<value>=0,Response:
0
Execution Command ATV<value>
<value>=1,Response:
OK
Defined values:
Parameter Definition Value Description
DCE transmits limited headers and trailers and numericresult code:
<numeric code>
0
<numeric code>:
define the format of all
0 for OK
<value> the AT command
4 for ERROR
responses
DCE transmits full headers and trailers and verbose result code:
<verbose code>
1
Examples:
Command(→) AT Sequences Description
/Response(←)
→ ATV0 <value>=0,then result code will be displayed as :
Information response:< text><CR><LF>
Short result code: <numeric code><CR>
← 0 0-OK
→ AT+CSCS?
← +CSCS: IRA
0
This parameter setting determines whether or not the TA detects the presence of dial tone and busy signal and
whether or not TA transmits particular result codes.
Syntax:
Type of Command Command Possible response(s)
Execution Command ATX<value> OK
Defined values:
Parameter Definition Value Description
CONNECT result code returned, dial tone and busy detection
0
are both disabled
CONNECT<text> result code returned, dial tone and busy
1
detection are both disabled
Result code CONNECT<text> result code returned, dial tone detection is
< value > 2
mode enabled, busy detection is disabled
CONNECT<text> result code returned, dial tone detection is
3
disabled, busy detection is enabled
CONNECT<text> result code returned, dial tone and busy
4
detectionare both enabled
This command specifies whether or not the TA will accept an incoming data / fax call without user intervention.
<n> determines the number of rings to wait before the TA will automatically answer the call.
Syntax:
Type of Command Command Possible response(s)
<n>
Read Command ATS0?
OK
Parameter saving mode Parameters of this command can be saved to NVM by AT&W
Defined values:
Parameter Definition Value Description
0 disables automatic answer mode
<n> Number of rings
1~255 enables automatic answering after specified number of rings
Examples:
Command(→) AT Sequences Description
/Response(←)
→ ATS0=3 <n>=3, means an incoming call will be answered automatically
after 3 rings.
← OK
←(URC) RING The incoming call is answered after 3 rings.
RING
RING
OK
Syntax:
Type of Command Command Possible response(s)
<n>
Read Command ATS3?
OK
Parameter saving mode Parameters of this command can be saved to NVM by AT&W
Defined values:
Parameter Definition Value Description
Default value is13 and the corresponding character is
The ASCII value of the
<n> 13 <CR>(carriage return) .
termination character
Only this value is supported!
This parameter setting determines the charcter to terminate a line in result code and information text.
Syntax:
Type of Command Command Possible response(s)
<n>
Read Command ATS4?
OK
Parameter saving mode Parameters of this command can be saved to NVM by AT&W
Defined values:
Parameter Definition Value Description
The ASCII value of the
default:10(=<LF> ,line feed)
<n> response formatting 10
Only this value is supported!
character
This parameter setting determines the character recognized by TA as a request to delete the immediately
preceding character from the command line
Syntax:
Type of Command Command Possible response(s)
<n>
Read Command ATS5?
OK
Parameter saving mode Parameters of this command can be saved to NVM by AT&W
Defined values:
Parameter Definition Value Description
The ASCII value of line editing default:8(=<BS>,Back Space)
<n> 8
character Only this value is supported!
Examples:
Command(→) AT Sequences Description
/Response(←)
→ ATS5? Query the current editing character
← 008 BackSpace
OK
<n>
Read Command ATS6?
OK
Defined values:
Parameter Definition Value Description
<n> pause duration 2~10 unit: seconds
<n>
Read Command ATS7?
OK
Defined values:
Parameter Definition Value Description
<n> number of seconds 1~255 unit: seconds
Syntax:
Type of Command Command Possible response(s)
<n>
Read Command ATS8?
OK
Defined values:
Parameter Definition Value Description
<n> number of seconds 0~255 unit: seconds,default value is 2.
This parameter determines how the state of circuit 109(DCD) relates to the detection of received line signal
from the distant end.
Syntax:
Type of Command Command Possible response(s)
Parameter saving mode Parameters of this command can be saved to NVM by AT&W
Defined values:
Parameter Definition Value Description
0 DCD is alwaysON
<value> DCD status
1 DCD is ON in presence of the data carrier only
This command controls the Data Terminal Ready (DTR) signal. The <value> parameter determines how the TA
responds when circuit 108/2 (DTR) is changed from ON to OFF during data mode.
Syntax:
Type of Command Command Possible response(s)
Parameter saving mode Parameters of this command can be saved to NVM by AT&W
Defined values:
Parameter Definition Value Description
0 TA ignores status on DTR.
<value> DTR 电路状态 ON->OFF on DTR: Change to command mode while retaining
1
the connected call.
Syntax:
Type of Command Command Possible response(s)
Set Command AT+CCLK=<time> OK
+CCLK: <time>
Read Command AT+CCLK?
OK
Test Command AT+CCLK=? OK
Parameter saving mode Auto save to NVM
Defined values:
Parameter Definition Value Description
String type(quoted in “”) in format yy/MM/dd,hh:mm:ss±zz" where
characters indicate year (two last digits), month, day, hour,
<time> time -
minutes, seconds and time zone (in units of1/4 hour;range:
-47...+48)
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CCLK? Query the current time
← +CCLK: "11/01/01,00:12:58-00"
OK
→ AT+CCLK="12/08/07,13:28:29+32" Set to the right time
← OK
→ AT+CCLK? Query again
← +CCLK: "12/08/07,13:28:38+32"
OK
Set command disables or enables the use of result code +CME ERROR: <err>as an indication of an error
relating tothe functionality of the MT. When enabled, MT related errors cause +CME ERROR: <err>final result
code insteadof the regular ERROR final result code. ERROR is returned normally when error is related to
syntax, invalid parameters,or TA functionality.
Test command returns values supported as a compound value
Syntax:
Type of Command Command Possible response(s)
Set Command AT+CMEE=[<n>] OK
+CMEE :<n>
Read Command AT+CMEE?
OK
+CMEE:(list of supported values of <n>)
Test Command AT+CMEE=?
OK
Parameter saving mode Parameters of this command can be saved to NVM by AT&W
Defined values:
Parameter Definition Value Description
0 disable result code (only ’ERROR’ will be displayed)
Mdoe of Result
<n> 1 Enable + CME ERROR: <err>,with <err> in numeric format
code reporting
2 Enable + CME ERROR: <err>,with <err> in verbose format
Execution command causes the TA to return one or more lines of information text <report>, determined by the
MT manufacturer, which should offer the user of the TA an extended report of the reason for
- the failure in the last unsuccessful call setup (originating or answering) or in-call modification,
- the last call release,
- the last unsuccessful GPRS attach or unsuccessful PDP context activation,
- the last GPRS detach or PDP context deactivation.
Typically, the text will consist of a single line containing the cause information given by GSM network in textual
format.
Syntax:
Type of Command Command Possible response(s)
TA responses the reason for the last call release:
AT+CEER +CEER: <report>
Execution Command
OK
Test Command AT+CEER=? OK
Defined values:
Parameter Definition Value Description
<report> Error report - String type
Examples:
Command(→) AT Sequences Description
/Response(←)
→ ATD139********; Make a voice call
← OK
The called party answers the call and then hang up it
OK
Syntax:
Type of Command Command Possible response(s)
+CSQ: <rssi>,<ber>
Execution Command AT+CSQ
OK
+CSQ: (list of supported <rssi>s),(list of supported<ber>s)
Test Command AT+CSQ=?
OK
Defined values:
Parameter Definition Value Description
0 -113 dBm or less
1 -111dBm
received signal strength
<rssi> 2~30 -109~-53dBm
indication
31 -51 dBm or greater
99 unknown or not detectable
0~7 RXQUAL value defined in GSM 05.08 subclause8.2.4
<ber> bit error rate
99 unknown or undetectable
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CSQ Query the signal strength and quality when module is in idle
mode
← +CSQ: 15,99 <rssi>=15
<ber>=99
OK
→ ATD131****9873; Make a voice phone call
← OK
→ AT+CSQ Query again when the call has not yet connected
OK
←(URC) CONNECT The call is answered
OK
Execution command returns received signal quality parameters. If the current serving cell is not a GERAN cell,
<rxlev> and <ber> are set to value 99. If the current serving cell is not a UTRA FDD or UTRA TDD cell, <rscp>
is set to 255. If the current serving cell is not a UTRA FDD cell, <ecno> is set to 255. If the current serving cell
is not an E-UTRA cell, <rsrq> and <rsrp> are set to 255.
Defined values:
Parameter Definition Value Description
0 rssi < -110 dBm
1 -110 dBm rssi < -109 dBm
interger type; received signal 2 -109 dBm rssi < -108 dBm
strength level (see … …
<rxlev>
3GPP TS 45.008 subclause 8. 61 -50 dBm rssi < -49 dBm
1.4) 62 -49 dBm rssi < -48 dBm
63 -48 dBm rssi
99 not known or not detectable
0 BER <0.2 % Assumed value = 0.14 %
1 0.2 %<BER<0.4 %Assumed value = 0.28 %
2 0.4 %<BER<0.8 % Assumed value = 0.57 %
as RXQUAL values in the table
3 0.8 %<BER<1.6 % Assumed value = 1.13 %
in
4 1.6 %<BER<3.2 % Assumed value = 2.26 %
<rxqual > 3GPP TS 45.008 subclause 8.
5 3.2 %<BER<6.4 % Assumed value = 4.53 %
2.4
6 6.4 %<BER<12.8 %Assumed value = 9.05 %
+CSQ:<rssi>,<ber>
+CESQ:<rxlev>,<ber>,<rscp>,<ecno>,<rsrq>,<rsrp>
*CESQ: <rxlev>,<ber>,<rscp>,<ecno>,<rsrq>,<rsrp>,<sinr>
Syntax:
Type of Command Command Possible response(s)
Set Command AT*CSQ=<n> OK
*CSQ:<n>
Read Command AT*CSQ?
OK
*CSQ = (list of supported <n>s)
Test Command AT*CSQ=?
OK
Defined values:
Parameter Definition Value Description
0 CSQ Indicator is disabled
<n>
1 CSQ Indicator is enabled
<rssi>,<ber> please refer to AT+CSQ
<rxlev>,<rscp>,<ecno>,<rs
please refer to AT+CESQ
rq>,<rsrp>
<sinr> signal to interference plus noise ratio
Set command controls the presentation of an unsolicited result code +CREG: <stat> when <n>=1 and there is
a change in the MT network registration status, or code +CREG: <stat>[,<lac>,<ci>] when <n>=2 and there is a
change of the network cell.
Read command returns the status of result code presentation and an integer <stat> which shows whether the
network has currently indicated the registration of the MT. Location information elements <lac> and <ci> are
returned only when <n>=2 and MT is registered in the network.
Syntax:
Type of Command Command Possible response(s)
Set Command AT+CREG=[<n>] OK
<n>=0(default)or 1:
+CREG: <n>,<stat>
OK
Read Command AT+CREG?
<n>=2:
+CREG: <n>,<stat>,<lac>,<ci>
OK
+CREG: (list of supported <n> values)
Test Command AT+CREG=?
OK
If <n>=1,when the network registration status changes ,a URC
+CREG: <stat>
(unsolicited result code)as this will be reported
URC report
If <n>=2,when the network registration status or CI changes ,a
+CREG: <stat>[<lac>,<ci>]
URC(unsolicited result code)as this will be reported
Parameter saving
Parameters of this command can be saved to NVM by AT&W
mode
Defined values:
Examples:
Command(→) / AT Sequences Description
Response(←)
→ AT+CREG=? Query the scope of the <n>
← +CREG:(0-2)
OK
→ AT+CREG? Query the registration status
← +CREG: 0,1
<n>=0
<stat>=1 (Registered to home network)
OK
→ AT+CREG=1 Insert a nonlocal SIM card,power on and set <n>=1
← OK
→ AT+CREG? Query the registration status
← +CREG: 1,5
<n>=1
<stat>=5 (Registered, roaming)
OK
←(URC) +CREG:0 Unplug the antenna or go into the zero signal area,a URC
like this will be reported
←(URC) +CREG:5 Plug the antenna or go back to a signal covered area,a
URC like this will be reported
→ AT+CREG=2 Set <n>=2
← OK
→ AT+CREG? Query the registration status
← +CREG: 2,5,"18be","9351" When <n>=2, the Lac(0x9191) and cell ID(0x2E50) is
reported.
<n>=0,<stat>=5,<lac>=18be,<ci>=9351
OK
←(URC) +CREG: 5,"18be","9363" Move the module to a different place until the ci
changes ,then a URC like this will be reported
The set command controls the presentation of an unsolicited result code +CEREG: <stat> when <n>=1
and there is a change in the MT’s EPS network registration status in E-UTRAN, or unsolicited result code
+CEREG: <stat>[,[<tac>],[<ci>],[<AcT>]] when <n>=2 and there is a change of the network cell in
E-UTRAN. The parameters <AcT>, <tac> and <ci> are sent only if available.The value <n>=3 further
extends the unsolicited result code with [,<cause_type>,<reject_cause>], when available, when the value
of <stat> changes.
NOTE1 :If the EPS MT in GERAN/UTRAN/E-UTRAN also supports circuit mode services and/or GPRS
services, the +CREG command and +CREG: result codes and/or the +CGREG command and +CGREG:
result codes apply to the registration status and location information for those services.
The read command returns the status of result code presentation and an integer <stat> which shows
whether the network has currently indicated the registration of the MT. Location information elements
<tac>, <ci> and <AcT>, if available, are returned only when <n>=2 and MT is registered in the network.
The parameters [,<cause_type>,<reject_cause>], if available, are returned when <n>=3.
OK
+CEREG: (list of supported <n>s)
Test Command AT+CEREG=?
OK
when<n>=1 and there is a change in the MT’s EPS
+CEREG: <stat> network registration status in E-UTRAN ,a URC
(unsolicited result code)as this will be reported
URC report when <n>=2 and there is a change of the network
+CEREG: <stat>[,[<tac>],[<ci>],[<AcT>]]
cell in E-UTRAN or a change in <stat>
+CEREG: <stat>[,[<tac>],[<ci>],[<AcT> when <n>=2 and there is a change of the network
][,<cause_type>,<reject_cause>]] cell in E-UTRAN or a change in <stat>
Defined values:
Parameter Definition Value Description
5 Registered, roaming
Network registration 6 registered for “SMS only”, home network (not applicable)
<stat>
status
7 registered for “SMS only”, roaming (not applicable)
7 E-UTRAN
8 UTRAN HSPA+
failed registration.
Note2: 3GPP TS 24.008 and 3GPP TS 24.301 specify the condition when the MS is considered as attached for
emergency bearer services.
NOTE 3: 3GPP TS 44.060 specifies the System Information messages which give the information about whether the
serving cell supports EGPRS.
NOTE 4: 3GPP TS 25.331 specifies the System Information blocks which give the information about whether the serving
cell supports HSDPA or HSUPA.
Set command forces an attempt to select and register the GSM/UMTS network operator. <mode>is used to
selectwhether the selection is done automatically by the MT or is forced by this command to operator <oper>(it
shall begiven in format <format>). If the selected operator is notavailable, no other operator shall be selected
(except <mode>=4). The selected operator name format shall apply tofurther read commands (+COPS?) also.
<mode>=2 forces an attempt to deregister from the network. The selectedmode affects to all further network
registration (e.g. after <mode>=2, MT shall be unregistered until <mode>=0 or 1 isselected). This command
should be abortable whenregistration/deregistration attempt is made.
Read command returns the current mode, the currently selected operatorand the current Access Technology.
Test command returns a set of five parameters, each representing an operator present in the network. A set
consists ofan integer indicating the availability of the operator <stat>, long and short alphanumeric format of the
name of theoperator, numeric format representation of the operator and access technology. Any of the formats
may be unavailableand should then be an empty field. The list of operators shall be in order: home network,
networks referenced in SIM oractive application in the UICC (GSM or USIM) in the following order: HPLMN
selector, User controlled PLMNselector, Operator controlled PLMN selector and PLMN selector (in the SIM or
GSM application), and other networks.
It is recommended (although optional) that after the operator list TA returns lists of supported <mode>s and
<format>s. These lists shall be delimited from the operator list by two commas.
Syntax:
Type of Command Command Possible response(s)
AT+COPS=<mode>[,<format>[,<oper>[,<
Set Command OK
AcT>[, <Domain>]]]]
+COPS: <mode>[,<format>,<oper>[,< AcT>>[,
<Domain>]]]
Read Command AT+COPS?
OK
+COPS: [list of supported (<stat>,long alphanumeric
<oper>,short alphanumeric <oper>,numeric
<oper>[,< AcT>])s][,,(list of supported <mode>s),(list
Test Command AT+COPS=? of supported <format>s)]
OK
Defined values:
Parameter Definition Value Description
0 Automatic mode; <oper> field is ignored.
manual operator selection(<oper> field shall be presentand <AcT>
1
optionally)
manually deregister from network and remain unregistered
Operator 2
until mode 0,1,4 is selected
<mode> registration
Set only <format>( for read command +COPS?), do not attempt
mode
3 registration/deregistration (<oper>field is ignored); this value is
not applicable in read command response
manual/automatic mode; if manual selection fails, MT switches to
4
automatic mode (<mode>=0). (<oper> field must be present)
0 long format alphanumeric <oper>; up to 16 characters.
<format> format 1 short format alphanumeric <oper>; up to 8 characters.
2 numeric <oper>; GSM Location Area Identification number.
Operator as per <format>. The numeric format is the GSM Location
Area Identification number which consists of a 3-digit country code
Operator as per
<oper> - plus a 2-digit network code. hence the number has a structure:
<format>
(country code digit 3)(country code digit 2)(country code digit
1)(network code digit 3)(network code digit 2)(network code digit 1)
Operator 0 Unknown
<stat> availability 1 operator available
status 2 current operator (registered)
3 Forbidden operator
GSM (not applicable)
0
E-UTRAN
7
8 UTRAN HSPA+
0 CS only
<Domain> 1 PS only
combined CS/PS
2
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ Query the information about the current network
AT+COPS?
operator
← +COPS: 0,2,"46001",7
OK
→ AT+COPS=3,1 Set <format>=1(short format alphanumeric)
← OK
→ AT+COPS? Query the information about the current network
operator
← +COPS: 0,1,"UNICOM",7
OK
→ AT+COPS=3,0 Set <format>=0(long format alphanumeric)
← OK
→ AT+COPS? Query the information about the current network
operator
← +COPS: 0,0,"CHN-UNICOM",7
OK
Note: NITZ=Network Identity and Time Zone, is a mechanism for provisioning local time and dateinformation to
mobile devices via a wireless network.
Syntax:
Type of Command Command Possible response(s)
+CTZU: <fun>
Read Command AT+CTZU?
OK
+CTZU: (list of supported <fun>s)
Test Command AT+CTZU=?
OK
Defined values:
Parameter Definition Value Description
0 Disable NITZ update, default
<fun> Status of time zone update
1 Enable NITZ update
Syntax:
URC
+NITZ:<time>,<ds>
Defined values:
Parameter Definition Value Description
tz :time zone, -48~+48
<time> time yy/mm/dd,hh:mm:ss±tz for example:
+NITZ: 0, ,11/08/02,09:27:39+32,0
0 No adjustment for daylight saving time
+1 hour(equals 4 quarters in <tz>) adjustment
1
<ds> daylight saving time for daylight saving time
+2 hour(equals 8 quarters in <tz>) adjustment
2
for daylight saving time
Syntax:
Type of Command Command Possible response(s)
+CTZR: <fun>
Read Command AT+CTZR?
OK
+CTZR: (list of supported <fun>s)
Test Command AT+CTZR=?
OK
Defined values:
Parameter Definition Value Description
0 Disable Time and time Zone Reporting, default
<fun> Status of report
1 Enable Time and time Zone Reporting
This command allows the transmission of DTMF tones. These tones may be used (for example) when
announcing the start of a recording period.
Syntax:
Type of Command Command Possible response(s)
AT+VTS=<dtmf-string>or
Set Command OK
AT+VTS=<dtmf>[,<duration>]
+VTS:( list of supported <dtmf>s),,( list of
supported <duration>s)
Test Command AT+VTS=?
OK
Defined values:
Parameter Definition Value Description
String quoted with"" ; the maximum length is20 characters
inthe set 0-9, #, *, A, B, C, D.
Note:
<dtmf-string> DTMF string
1) every character is separated by comma
2) the length of each tone in <dtmf-string> is defined by
+VTD
A single ASCII The duration of the <dtmf> is defined as follows:
AT+VTS=<dtmf> , the duaration is defined by +VTD ;
<dtmf> character in the set
AT+VTS=<dtmf>,<duration>,the duaration is defined by
0-9, #,*,A-D <duration>
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+VTS=?
← +VTS: (0-9,*,#,A,B,C,D),,(1-255)
OK
The following is an example to input an extension :
→ ATD5487**06; Call a switchboard 5487**06
CONNECT
→ AT+VTS=”1,0,9” Connect to extenstion 109
← OK
The following is an example to select a service during an automatic speech service :
→ ATD10086; Dial a speech service number
← OK connected
CONNECT
→ AT+VTS=2 Select service 2
← OK
Syntax:
Type of Command Command Possible response(s)
+ VTD:<n>
Read Command AT+ VTD?
OK
OK
Defined values:
Parameter Definition Value Description
<n> The length of tone 1~255 In units of 1/10 seconds
OK
Defined values:
Parameter Definition Value Description
cell background 0 cell background searching disabled
<mode> searching enabled or
not 1 cell background searching enabled
0 search immediately
HState>[,<enhanced F-DPCHState>]]]]]]]
*EHSDPA:<mode>,<DL_CATEGORY>,<UL_CA
TEGORY>,<CPC_STATE>,<DPA_CATEGORY
Read _EXT>,<EDCH_CATEGORY_EXT>,<F-DPCHSt
AT*EHSDPA?
Command ate>,<enhanced F-DPCHState>
OK
In TDSCDMA mode:
*EHSDPA:
(0-3),(1-11,13-16,23,35),(6),(0),(0),(0),(0),(0)
Test OK
AT*EHSDPA=?
Command
In WCDMA mode:
*EHSDPA:
(0-2,4),(1-12),(1-6),(0,1),(1-14),(7),(0,1),(0,1)
OK
Defined values:
Parameter Definition Value Description
In TDSCDMA mode:
<DL_CATEGORY> default value is 14 7,8,9 Max TB size: 8416 Max speed: 1.6M
In WCDMA mode:
<F-DPCHState> 0 disabled
In WCDMA mode
1 enabled
xamples:
Cmd(→)/ AT Sequences
Rsp(←)
→ AT+EEMOPT=?
← AT+EEMOPT=0 :Turn off indicator. This is default mode after ME bootup
AT+EEMOPT=1 :Set to query mode. User can use +EEMGINFO to query network parameter
Query GSM/UMTS/LTEinformation in Engineering Mode. Only valid in query mode (use AT+EEMOPT=1 to set
MT to query mode).
Syntax:
Type of Command Command Possible response(s)
AT+EEMGINFO? +EEMGINFO:<state>,<nw_type>
Read Command
OK
Defined values:
Parameter Definition Value Description
0 in Idle mode
1 in Dedicated mode
<state> MT state
2 in PS PTM mode
3 invalid state
0 GSM
<nw_type> network type 1 UMTS
2 LTE
Set command controls parameters for GSM/UMTS/LTE user mode and optionally band settings.
The new parameters will be saved in NVM
UE will be reset to apply the new settings.
If <mode> is GSM network, only bands defined in GSM band options can be selected.
If <mode> is UMTS network, one or more of the defined UMTS bands can be selected.
If <mode> is LTE network ,one or more of the defined LTE bands can be selected.
If <mode>are Dual mode, trip mode, there is no need to enter <band> parameter(s) since band will bereset to
default settings. If this parameter will be entered it will be ignored.
Note that if <band> is not entered for <mode> GSM or UMTS the band setting
inTTPCom_NRAM2_ABMM_WRITEABLE_DATA.gki will remain unmodified.
The default values of <roamingConfig> and <srvDomain> are 2 and 4.
The default value of <bandPriorityFlag> is 0, it only works if <mode> is LTE.
*BAND :<mode>,<GSMband>,
<UMTSband>,<LTEbandH>,<LTEbandL>,<roamingC
Read
AT*BAND? onfig>,<srvDomain>,< bandPriorityFlag >
Command
OK
*BAND: (list ofsupported<mode>s),<GSMband>,
<UMTSband>,<LTEbandH>,<LTEbandL>,<bandPriori
Test
AT*BAND=? tyFlag >,<srvDomain>,< bandPriorityFlag >
Command
OK
Defined values:
Parameter Definition Value Description
0 GSM network
1 UMTS network
5 LTE network
12 Trip mode(auto)
16 GSM 450
32 GSM 480
64 GSM 850
1 UMTS_BAND_1
2 UMTS_BAND_2
4 UMTS_BAND_3
8 UMTS_BAND_4
integer type, a sum of
<UMTSband> integers each representing 16 UMTS_BAND_5
64 UMTS_BAND_7
128 UMTS_BAND_8
256 UMTS_BAND_9
32 TDLTE_BAND_38
integer type(32 bit), a sum
64 TDLTE_BAND_39
of integers each
<LTEbandH>
representing a TDD TDLTE_BAND_40
128
LTEband(bit mask)
256 TDLTE_BAND_41
1 FDDLTE_BAND_1
4 FDDLTE_BAND_3
integer type(32 bit), a sum
8 FDDLTE_BAND_4
of integers each
<LTEbandL>
representing a FDD 64 FDDLTE_BAND_7
LTEband(bit mask)
65536 FDDLTE_BAND_17
524288 FDDLTE_BAND_20
0 support
2 no change
0 CS_ONLY
PS_ONLY
<srvDomain> integer type 1
CS_PS
2
ANY
3
No Change
4
0 default
2 FDD-LTE
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ AT*BAND?
← *BAND:15,74,129,480,133,0,2,0 480=LTEbandH
=00000000 00000000 0000 0001 11100000
OK =32+64+128+256
=TDLTE_BAND_38& TDLTE_BAND_39& TDLTE_BAND_40
&TDLTE_BAND_41
133=LTEbandL
=00000000 00000000 00000000 10000101
=1+4+8
=FDDLTE_BAND_1 &FDDLTE_BAND_3& FDDLTE_BAND_4
Defined values:
Parameters Definition Value Description
disable
0
<n>=1 and the band changes,there will be an
<n>
URC: *BANDIND: <band>, <Act>reported enable
1
refer
<band> <GSMband>,<UMTSband>,<LTEbandH>,<LT
EbandL> in AT*BAND
GSM
0
GSM Compact
1
2 UTRAN
3 GSM w/EGPRS
UTRAN w/HSUPA
5
UTRAN w/HSPA
6
E-UTRAN
7
8 UTRAN HSPA+
This command is used to get the access technology of the serving cell.
Syntax:
Type of Command Command Possible response(s)
+CACAP:(0-7)
Read Command AT^CACAP?
OK
+CACAP: <act>
Test Command AT^CACAP=?
OK
Defined values:
Parameter Definition Value Description
GSM
0
1 GSM Compact
2 UTRAN
<act>
GSM w/EGPRS
3
UTRAN w/HSDPA
4
5 UTRAN w/HSUPA
UTRAN w/HSPA
6
E-UTRAN
7
UTRAN HSPA+
8
This command is used to query current system information, for example: system service status, domain,
roaming or not, etc.
Syntax:
Type of Command Command Possible response(s)
^SYSINFO:<srv_status>,<srv_domain>,<roam_status>,<sys
_mode>,<sim_state>,<sys_submode>
Execuation Command AT^SYSINFO
OK
Defined values:
Parameter Definition Value Description
0 no service
1 restricted service
4 power service
0 no service
1 CS only
<srv_domain>
2 PS only
3 CS and PS
0 no roaming
<roam_status>
1 roaming
0 no service
1 reserved
<sys_mode> 2 reserved
3 GSM/GPRS
4 WCDMA
5 TD_SCDMA
17 LTE
0 sim invalid
0 GSM
1 GSM Compact
2 UTRAN
3 GSM w/EGPRS
<sys_submode>
4 UTRAN w/HSDPA
5 UTRAN w/HSUPA
7 E-UTRAN
Syntax:
Type of Command Possible response(s)
Command
Set AT*Cell=<mode>[,<act>[,<band>][,<freq>[,<cellId>]]] OK
Command
AT*Cell=? *Cell:<mode>,<act>,<band>,<freq>,<cellId>
Test
Command
OK
URC *Cell:<mode>,<act>,<band>,<freq>,<cellId>
Defined values:
Parameters Definition Value Description
umts_band:0~7 in UMTS-TD
0-503 in LTE
This command sets the system mode,G/W access order ,roaming support and domain characteristics
Syntax:
Type of Command Possible response(s)
Command
AT^SYSCONFIG=<mode>,<acqorder>, OK
Set Command
<roam>,<srvdoman>
^SYSCONFIG:<mode>,<acqorder>,<roam>,<srvdomain>
Read
AT^SYSCONFIG?
Command
OK
Defined values:
Parameters Definition Value Description
2 Automatic selection
13 GSM ONLY
15 TD-SCDMA ONLY
16 No Change
0 Automatic
Network access
<acqorder>
sequence
1 GSM first, then UTRAN
3 No Change
0 roaming disabled
2 No Change
0 CS_ONLY
1 PS_ONLY
3 ANY
4 No Change
This command can read the brand information which includes network operator brand such as China Mobile,
ChinaUnicom, China Telecom etc. and user brand such as M-zone,GoTone etc.The brand information is
usually stored in the files with the file identifier EFSPN and the file ID 6F46 in the SIM/USIM card.
This command is used to read the brand information in ths SIM/USIM card.For USIM card, there’re two
EFSPN files, which respectively locates in the GSM directory and in the USIM directory, so it needs to specify
which file to read.The EFSPN file format follows the 3GPP TS 31.102 V5.9.0.
Syntax:
Type of Command Possible response(s)
Command
AT^SPN=<spn_type> ^SPN:<disp_rplmn>,<coding>,<spn_name>
Set Command
OK
AT^SPN =? ^SPN:list of supported <spn_type>s
Test Command
OK
Defined values:
Parameter Definition Value Description
1 USIM_SPN
1 display RPLMN
<disp_rplmn> whether to display RPLMN
the field is invalid, and no need to
99
read the span_name field
This command can read the local time and/or GSM base station location.
Syntax:
Type of Command Possible response(s)
Command
If <type>=1:
+CIPGSMLOC:<locationcode>[,<longitude>,<latitude>,<date>,<time>
]
OK
Set
AT+CIPGSMLOC=<type>,<cid> If <type>=2:
Command
+CIPGSMLOC: <locationcode>[,<date>,<time>]
OK
Defined values:
0
Success
603
DNS Error
604
Stack busy
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ AT+SAPBR=3,1,"CONTYPE","GPRS" set bearer type
SAPBR command is used to activate PDP
context ,thus UDP protocol can be used to resolute
the domain name.
← OK
→ AT+SAPBR=3,1,"APN","CMNET" set APN
← OK
→ AT+SAPBR =1,1 activate the GPRS PDP context
← OK
→ AT+SAPBR=2,1 query the status of the bearer
← +CIPGSMLOC:
0,31.241045,121.472313,18/11/08,15:37:30
OK
→ AT+CIPGSMLOC=2,1 query the time only
← +CIPGSMLOC: 0,18/11/08,15:47:26
OK
→ AT+SAPBR=0,1 deactivate the bearer
← OK
Notification of allowing/disallowing Manual PLMN selection option in the user menu. The protocol stack sends
an indication regarding whether manual PLMN selectionappearance in the user’s menu. The decision
regarding allowing / disallowing the appearance of this option in the user’s menu is done by SIM.
Syntax:
URC
+MSRI: <ind>
Defined values:
Parameter Definition Value Description
0 not allowed
<ind>
1 allowed
NTP(Network Time Protocol)is a networking protocol for clock synchronization between computer systems
over packet-switched, variable-latency data networks.
NTP is intended to synchronize all participating computers to within a few milliseconds of Coordinated
Universal Time. It uses the intersection algorithmto select accurate time servers and is designed to mitigate the
effects of variable network latency. NTP can usually maintain time to within tens of milliseconds over the public
Internet, and can achieve better than one millisecond accuracy in local area networks under ideal conditions.
Defined values:
Parameter Definition Value Description
<cid> GPRS bearer id 1-3 as <cid> in AT+SAPBR
OK
Execution
AT+CNTP
Command
+CNTP: <code>
+CNTP: <NTP server>,<time zone>
Read Command AT+CNTP?
OK
+CNTP: length of <NTP server>,range of <time
zone>
Test Command AT+CNTP=?
OK
Note After successful time synchronization,AT+CCLK? can be used to query the local time.
Defined values:
Parameter Definition Value Description
domain or ip
<NTP server> NTP server URL of NTP server
address
unit:1/4 time zone.
In fact,the time zone range is -12~+12,but some
countries or regions adopt half time zone or even fouth
<time zone> local time zone -47~+48 time zone,so the unit is 1/4 time zone here.
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ AT+SAPBR=3,1,"Contype","GPRS"
← OK
→ AT+SAPBR=3,1,"APN","CMNET"
← OK
→ AT+SAPBR=1,1
← OK
→ AT+CNTPCID=1
← OK
→ AT+CNTP
← OK
+CNTP:1
→ AT+CCLK?
← +CCLK: "18/05/16,15:49:28+32"
OK
Execution command returns the activity status <pas>of the MT. It can be used to interrogate the MT before
requestingaction from the phone.
Syntax:
Type of Command Command Possible response(s)
+CPAS: <pas>
Execution Command AT+CPAS
OK
+CPAS: (list of supported <pas>s)
Test Command AT+CPAS=?
OK
Defined values:
Parameter Definition Value Description
0 MT is ready
2 unknown
<pas> Activity status
3 ringing
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CPAS=? Query the scope of <pas>
← +CPAS: (0,2,3,4)
OK
→ ATD138********; Make a call
← OK
OK
OK
←(URC) NO CARRIER The called party hangs up the call
← +CPAS: 0 0- MT is ready(idle)
OK
Set command selects the level of functionality <fun>in the MT. Level"full functionality" is where the highest
level ofpower is drawn. "Minimum functionality" is where minimum power is drawn. Level of functionality
between these mayalso be specified by manufacturers. When supported by manufacturers, MT resetting with
<rst>parameter may beutilized.
Test command returns values supported by the MT as a compound value.
Syntax:
Type of Command Command Possible response(s)
Set Command AT+CFUN=[<fun>[,<rst>]] OK
+CFUN: <fun>
Read Command AT+CFUN?
OK
+CFUN: (list of supported <fun> s),(list of supported
<rst> s)
Test Command AT+CFUN=?
OK
Parameter saving mode Auto save to NVM
Defined values:
Parameter Definition Value Description
0 Minimum functionality
1 Full functionality
3 disable phone receive RF circuits
<fun> Functionality mode Flying mode. disable phone both transmit and receive RF circuits
4
in this mode
5 disable SIM
6 turn off full secondary receive
<rst> reset is needed or not 0 do not reset the MT before setting it to <fun> power level
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ AT+CFUN? Query the current <fun>
← +CFUN: 1
OK
→ AT+CFUN=1,1 Set <fun> =1 and <rst>=1, which means the module will reset
and then go into full functionality mode after reset.
← OK
Syntax:
Type of Command Command Possible response(s)
<n>=0:
Urgent Power off(the “NORMAL POWER DOWN”
URC will not be printed)
Set Command AT+CPOWD=<n>
<n>=1:
Normal Power off(the “NORMAL POWER DOWN”
URC will be printed)
Set command sends to the MT a password which is necessary before it can be operated (SIM PIN, SIM PUK,
PH-SIM PIN, etc.). If no PIN request is pending, no action is taken towards MT and an error message, +CME
ERROR, is returned to TE.
If the PIN required is SIM PUK or SIM PUK2, the second pin is required. This second pin, <newpin>, is used to
replace the old pin in the SIM.
Read command returns an alphanumeric string with mixed mode, to indicate whether a password is required.
Syntax:
Type of Command Command Possible response(s)
Set Command AT+CPIN=<pin>[,<new pin>] OK
TA returns an alphanumeric string indicating whether or
not a password is required.
Read Command AT+CPIN? Response:
+CPIN: <code>
OK
Test Command AT+CPIN=? OK
URC +CPIN: <code>
Defined values:
Parameter Definition Value Description
<pin> Password - String type
<new pin> New password - String type
PIN has already been entered,or MT is not pending for any
READY
password
SIM PIN MT is waiting for SIM PIN to be given
MT is waiting for SIM PUK1 to be given if PIN1 was disabled after
<code> SIM PUK
three failed attempts to enter PIN1
SIM PIN2 MT is waiting for SIM PIN 2 to be given
SIM PUK2 MT is waiting for SIM PUK 2 to be given
SIM REMOVED SIM card is removed
Examples:
Command ( → ) AT Sequences Description
/Response(←)
→ AT+CPIN? Query the PIN status
← +CPIN: READY
OK
→ AT+CLCK="SC",1,"1234" Open the PIN request,1234 is PIN code,SC=SIM card
← OK Reset the module after OK
← +CPIN: SIM PIN After initialization ,URC like this is reported , which means SIM
PIN:ON and PIN request is pending
→ AT+CPIN="1234" Input PIN code
← +CPIN: READY
PIN code is correct
OK
→ AT+CLCK="SC",2 Query the facility lock for SIM PIN
← +CLCK: 0
0- PIN code request is pending
OK
→ AT+CLCK="SC",0,"1234" Set the facility lock for SIM PIN disabled
← OK Reset the module after OK
← +CPIN: READY After initialization ,URC like this is reported , which means SIM
PIN:OFF
Defined values:
Parameter Definition Value Description
<p1 retry> remaining number of retry for PIN1 0-3
<p2 retry> remaining number of retry for PIN2 0-3
Set command is used to lock, unlock or interrogate a MT or a network facility <fac>. Password is normally
needed to do such actions. When querying the status of a network service (<mode>=2) the response line for
'not active'case (<status>=0) should be returned only if service is not active for any <class>.
Syntax:
Type of Command Possible response(s)
Command
<mode>≠2,use this command to lock, unlock a MT or a network
facility <facility>.Response:
OK
AT+CLCK=<fac>,<mode> <mode>=2,use this command to interrogate a MT or a network
Set Command
[,<password>[,<class>]] facility <facility>.Response:
+CLCK:<status>[,<class1><CR><LF>+CLCK:<status>,<class2>[...]]
OK
+CLCK:(list of supported <fac>s)
Test
AT+CLCK=?
Command
OK
Defined values:
Parameter Definition Value Description
"AO" BAOC (Bar All Outgoing Calls)
"OI" BOIC (Bar Outgoing International Calls)
BOIC-exHC (Bar Outgoing International Calls except to Home
"OX"
Country)
"AI" BAIC (Bar All Incoming Calls)
BIC-Roam (Bar Incoming Calls when Roaming outside the home
"IR"
country)
“AB” All Barring services (applicable only for <mode>=0)
<fac> Facility “AG” All outGoing barring services (applicable only for <mode>=0)
“AC” All inComing barring services (applicable only for <mode>=0)
SIM (lock SIM/UICC card) (SIM/UICC asks password in MT powerup
"SC"
and when this lock command issued)
"FD" SIM fixed dialing memory
"PN" Network Personalisation (GSM 02.22)
"PP" Service Provider Personalisation (GSM 02.22)
"PU" Network subset Personalisation(GSM 02.22)
“PC” Corporate Personalization (refer 3GPP TS 22.022)
0 Unlock
Examples:
Command(→)/ AT Sequences Description
Response(←)
Please refer to +CPIN item
Set command sets a new password for the facility lock function defined by command Facility Lock +CLCK.
Test command returns a list of pairs which present the available facilities and the maximum length of their password.
Syntax:
Type of Command Possible response(s)
Command
Set Command AT+CPWD=<fac>,<oldpwd>,<newpwd> OK
+CPWD: list of supported (<fac>,<pwdlength>)s
Test Command AT+CPWD=?
OK
Defined values:
Parameter Definition Value Description
string type;
<oldpwd>shall be the same as password specified for
oldpassword, the facility from the ME user interface or with
<oldpwd>,<newpwd> -
new password command Change Password +CPWD and
<newpwd>is the new password;maximumlength of
password can be determined with <pwdlength>
integer type ; maximum length of password for the
<pwdlength> Length of password -
facility
<fac> facility The same as the <fac> in AT+CLCK
Examples:
Command(→)/ AT Sequences Description
Response(←)
PIN code lock must be enabled before changing
→ AT+CLCK="SC",1,"1234"
the password
← OK
→ AT+CPWD="SC","1234","8888" Change thePINcode from 1234 to8888
← OK Reset the module after OK
reset the MT
← +CPIN: SIM PIN After initialization ,URC like this is reported , which
means SIM PIN:ON and PIN request is pending
→ AT+CPIN="8888" Input the new PIN code
← +CPIN: READY
The pin code is correct
OK
Set command specifies the data rate at which the DCE will accept commands.
Syntax:
Type of Command Possible response(s)
Command
Set Command AT+IPR=<rate> OK
+IPR: <rate>
Read Command AT+IPR?
OK
+IPR: (list of supported <rate>s)
Test Command AT+IPR=?
OK
The default value of <rate> is 0(auto bauding).When <rate>=0,please note that:
1) once the baudrate is synchronized, AT commands in uppercase/lowercase/combined characters
Note are eligible.
2) “AT+IPR=x;&W”(take x=115200,for example) can set the moudle to fixed baudrate x and save
the baudrate to NVM. After the restart of the module,the baudrate is still x.
Defined values:
Parameter Definition Value Description
0 auto bauding
1200
2400
4800
9600
14400
38400
57600
115200
230400
460800
921600
Examples:
Command(→)/ AT Sequences Description
Response(←)
← +IPR:
(),(1200,2400,4800,9600,14400,19200,28800,384
00,57600,115200,230400,460800,921600)
OK
Set command is used to determine the local serial port start-stop (asynchronous) characterframing that the DCE
shall use while accepting DTE commands and while transmitting information text and result code.
Syntax:
Type of Command Command Possible response(s)
Set Command AT+ICF=<format>,[<parity>] OK
+ICF: < format >[,<parity >]
Read Command AT+ICF?
OK
+ICF: (list of supported <format>s),(list of
supported <parity>s)
Test Command AT+ICF=?
OK
Defined values:
Parameter Definition Value Description
0 auto detect
1 8 data bits,0 parity bits, 2 stop bits
2 8 data bits,1 parity bits, 1 stop bits
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+ICF=? Query the scope of the value of the parameters
← +ICF: (1-6),(0-3)
OK
Flow control is very important for correct communication between the module and DTE. For in the case such as a
data or fax call, the sending device is transferring data faster than the receiving side is ready to accept. When the
receiving buffer reaches its capacity, the receiving device should be capable to cause the sending device to pause
until it catches up.
There are basically two approaches to achieve data flow control: software flow control and hardware flow control.
AT+IPR=9600;&W
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.
Syntax:
Type of Command Possible response(s)
Command
Set Command AT+IFC=<dce_by_dte>,[<dte_by_dce>] OK
+IFC: < dce_by_dte>,< dte_by_dce>
Read Command AT+IFC?
OK
+IFC: (list of supported <dce_by_dte>s),( list of
Test Command AT+IFC=? supported <dte_by_dce>s)
OK
Defined values:
Parameter Definition Value Description
0 NO flow control
Software flow control , do not pass XON/XOFF
The follow control method adoped by 1
characters to the remote DCE
<dce_by_dte>
DTE when receiving data from DCE 2 Hardware flow control(RTS)
Software flow control , pass XON/XOFF characters
3
to the remote DCE
0 NO flow control
The follow control method adoped by
<dte_by_dce> 1 Software flow control
DCE when receiving data from DTE
2 Hardware flow control(CTS)
Examples:
Command ( → ) / AT Sequences Description
Response(←)
→ AT+IFC=? Query the scope of < dce_by_dte> and < dte_by_dce>
← +IFC: (0-3),(0-2)
OK
→ AT+IFC? Query the current flow control method
← +IFC: 0,0
OK
OK
Defined values:
Parameter Definition Value Description
1 unregistered
<mode> mode of module 2 registered
3 in PPP link
in unit of ms
<timer_on> time span of light on 0 or 40~65535
0 means the LED is always on
in unit of ms
<timer_off> time span of light off 0 or 40~65535
0 means the LED is always off
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ AT+SLEDS=? test command
← +SLEDS : (1-3),(0,40-65535),(0,40-65535)
OK
→ AT+SLEDS? Read command
+SLEDS:<1>,<64>,<800>
+SLEDS:<3>,<64>,<300>
OK
The set command is used to detect the sim in specified slot was removed or not.
The test command returns supported sim slot.
Syntax:
Type of Command Command Possible response(s)
*SIMDETEC: <state>
Set Command AT*SIMDETEC=<simslot>
OK
*SIMDETEC: (1,2)
Test Command AT*SIMDETEC=?
OK
Defined values:
Parameter Definition Value Description
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ AT*SIMDETEC=1
← *SIMDETEC: NOS the master sim was removed
OK
Syntax:
Type of Command Command Possible response(s)
Set Command AT^CARDMODE=<n> OK
^CARDMODE:<sim_state>[,<n>]
Read Command AT^CARDMODE?
OK
^CARDMODE: (list of supported <n>s)
Test Command AT^CARDMODE=?
OK
URC ^CARDMODE:<sim_state>
Defined values:
Parameter Definition Value Description
0 prohibit the active report event ^CARDMODE
<n>
1 enable the active report event CARDMODE:<sim_state>.
0 unknown mode
1 SIM CARD
<sim_state> SIM card state
2 USIM CARD
255 no SIM/USIM card or the pin has not been checked or unlocked
Syntax:
Type of Command Command Possible response(s)
*EUICC: <n>
Read Command AT^EUICC?
OK
Defined values:
Parameter Definition Value Description
0 SIM
<n> SIM card type
1 USIM
8 Phonebook
This command is used to select the active phonebook storage, i.e. the phonebook storage that all
subsequent phonebook commands will be operating on.
Syntax:
Type of Command Command Possible response(s)
Set Command AT+CPBS=<storage>[,<password>] OK
+CPBS:<storage>[,<used>,<total>]
Read Command AT+CPBS?
OK
+CPBS: (list of supported <storage>s)
Test Command AT+CPBS=?
OK
Please set the <storage> type with the Set command before any other AT commands related to
Note
phonebook.
Defined values:
Parameter Definition Value Description
“SM” SIM/USIM phonebook
“LD” Last Dialing number
"FD" SIM fixed dialing number
Own Numbers,MSISDNs IN SIM card(can be
"ON"
read by+CNUM too)
<storage> storage type
"DC" Dialed Calls List
Selected application phonebook. If a UICC with
an active USIM application is present, the
"AP" application phonebook, DFPHONEBOOK under
ADFUSIM is selected
Examples:
Command(→)/ AT Sequences Description
Response(←)
87 of 239Phonebook
AT Command Set
← +CPBS: ("SM","FD","LD","DC","ON","AP")
OK
→ AT+CPBS="SM" Set SM as the storage type
← OK
→ AT+CPBS? Query the current storage type
← +CPBS: "SM",6,250
OK
→ AT+CPBR=1,2 List all the SIM phonebook numbers
← +CPBR: 1,"+8613762613263",145,""
OK
Execution command returns phonebook entries (from the current phonebook memory storage selected with +CPBS)
which alphanumeric field starts with string <findtext>. Entry fields returned are location number <indexn>, phone
number stored there,<number> (of format <type>), text <text> associated with the number .If listing fails in an MT
error, +CME ERROR: <err> is returned.
Test command returns the maximum lengths of <number> and <text> fields.
Syntax:
Type of Command Command Responses
[+CPBF:<index1>,<number>,<type>,<text>[[...]<CR><LF>+
CBPF:<index2>,<number>,<type>,<text>]]
Set Command AT+CPBF=<find text>
OK
+CPBF:[<nlength>],[<tlength>]
Test Command AT+CPBF=?
OK
Defined values:
Parameter Definition Value Description
Integer type values in the range of location numbers of
<index1>,<index2> Index for entry -
phonebook memory
<number> Phone number - String type phone number of format <type>
88 of 239Phonebook
AT Command Set
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CPBF=?
← +CPBF: 40,14
The max length of the name:14
The max length of the phone number:40
OK
→ AT+CPBF="TOM" Find a contact named ”TOM”
← +CPBF: 5,"13601***187",129,"TOM"
Find it ,index=5
OK
Execution command returns phonebook entries in location number range <index1>... <index2> from the current
phonebook memory storage selected with +CPBS. If <index2> is left out, only location <index1> is returned. Entry
fields returned are location number <indexn>, phone number stored there <number> (of format <type>), text <text>
associated with the number If all queried locations are empty (but available), no information text lines may be
returned. If listing fails in an MT error, +CME ERROR: <err> is returned.
Test command returns location range supported by the current storage as a compound value and the maximum
lengths of <number> and <text> fields.
Syntax:
Type of Command Command Response
[+CPBR: <index1>,<number>,<type>,<text><CR><LF>
[…]+CPBR: <index2>,<number>,<type>,<text>]
Set Command AT+CPBR=<index1>[,<index2>]
OK
+CPBR:(list of supported<index>s),[<nlength>], [<tlength>]
Test Command AT+CPBR=?
OK
Defined values:
Parameter Definition Value Description
Integer type values in the range of location
<index1>,<index2> Index for entry -
number s of phonebook memory
89 of 239Phonebook
AT Command Set
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ AT+CPBR=1,5 List pb entry whose index=1~5
+CPBR: 2,"139****8096",129,"TEST"
+CPBR: 5," 13601***187",129,"zhangsan"
OK
→ AT+CPBR=? Query the range of the parameters
← +CPBR: (1-250),40,14
OK
→ AT+CPBS="ON" Set “ON” as the PB storage type
a← OK
→ AT+CPBR=? Query the range of the parameters
← +CPBR: (1-2),40,14
OK
→ AT+CPBS="ME" Set “ME” as the PB storage type
← OK
→ AT+CPBR=? Query the range of the parameters
← +CPBR: (1-18),40,21
OK
Set command writes phonebook entry in location number <index>in the current phonebook memory
storageselected with +CPBS. Entry fields written are phone number <number>(in the format <type>), text
<text>associated with the number. If <index> is given as the only parameter, the phonebook entry specified by
<index>is deleted. If writing fails in an MT error, +CME ERROR: <err>is returned.
Test command returns location range supported by the current storage as a compound value, the maximum
90 of 239Phonebook
AT Command Set
length of<number>field, supported number formats of the storage, and the maximum length of <text>field. In
case of SIMstorage, the lengths may not be available.
Syntax:
Type of Command Possible response(s)
Command
AT+CPBW=[<index>][,<number>[,<type>,[
Set Command OK
<text>]]]
+CPBW: (list of supported <index>s),[<nlength>],(list
of supported <type>s), [<tlength>]
Test Command AT+CPBW=?
OK
Defined values:
Parameter Definition Value Description
Integer type value in the range of location number of
<index> Index for entry
phonebook memory
<number> Phone number String type,defined by <type>
Please refer to GSM 04.08 subclause 10.5.4.7 AT+CSTA
<type> Type of phone number
in this doc
The name of the
<text> String type, and the dcs is defined by +CSCS
phonebook entry
The max length of the
<nlength> Integer type,in units of byte
phone number
The max length of the
<tlength> Integer type,in units of byte
name
Examples:
Command ( → ) / AT Sequences Description
Response(←)
→ AT+CPBW=?
← +CPBW:(1-500),40,(128,129,145,161,177)
OK
→ AT+CPBW=1, "150******58",129,"T" Write an entry at a location (index=1)
← OK
→ AT+CPBR=1,200 Query all the PB entry(the storage type is defined
by +CPBS)
← +CPBR: 1,"150******58",129,"T" Total 6 entries
+CPBR: 2,"152******59",129,"LIAO"
+CPBR: 3,"1502650",129,""
+CPBR: 4,"021******52",129,"W"
+CPBR: 5,"021******68",129,"A"
91 of 239Phonebook
AT Command Set
+CPBR: 6,"1",129,""
OK
→ AT+CPBW=1 Delete the entry whose index=1
← OK
→ AT+CPBW=2 Delete the entry whose index=2
← OK
→ AT+CPBR=1,6 Query again
← +CPBR: 3,"1502650",129,"" The 1st and the 2nd entries are missing
+CPBR: 4,"02131252252",129,"W"
+CPBR: 5,"02131252252",129,"A"
+CPBR: 6,"1",129,""
OK
Defined values:
Parameter Definition Value Description
Optional alphanumeric string associated with
<alphax> Name of the number
<numberx> ,whose coding sytem is defined by +CSCS
<numberx> Own number String type , in format of <typex>
<typex> Type of <numberx> Defined in GSM 04.08 subclause 10.5.4.7
1 synchronous Modem
4 Voice
5 fax
92 of 239Phonebook
AT Command Set
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CPBS="ON" SetON(Own Number) as the PB storage type
← OK
→ AT+CPBW=1,"180********",145 Write the own number in
← OK
→ AT+CNUM Query the own number(i.e. subscriber number)
← +CNUM: "","+180********",145
OK
AirM2M extended AT command to indicate that the SIM and/or NVRAM phonebooks are ready to use.
Syntax:
URC
+MPBK: <bReady >
Defined values:
Parameter Value Description
whether SIM and/or NVRAM 0 ready
<bReady>
phonebooks are ready for use 1 not ready
93 of 239Phonebook
AT Command Set
Set command transmits to the MT the SIM command it then shall send as it is to the SIM.
This command allows a direct control of the SIM by a distant application on the TE. The TE shall then take
care of processing SIM information within the frame specified by GSM/UMTS.
Syntax:
Type of Command Command Possible response(s)
+CSIM: < length >,< response >
AT+CSIM=<length>,<Command>
Set Command
OK
Test Command AT+CSIM=? OK
Defined values:
Parameter Definition Value Description
length of characters sent to the TE Integer type,twice the number of octets in the raw
<length>
in <Command> or <response> data
command passed on by the MT to
string type(string should be included in quotation
<Command> the SIM in the format as described
marks), hexadecimal character format
in GSM 51.011
response to the command passed
on by the SIM to the MT in the string type(string should be included in quotation
<response>
format as described in marks), hexadecimal character format
GSM 51.011
(response direction). In an ingoing data transfer command (command direction), P3=’00’ introduces no
transfer of data;
SW1 and SW2 are the status words indicating the successful or unsuccessful outcome of the
command.
NOTE1:
The direction of the data is indicated by (S) and I, where (S) stands for data sentby the ME while I stands for
data received by the ME.
NOTE2:
If the UNBLOCK CHV command applies to CHV1 then P2 is coded ‘00’; if it applies to CHV2 then P2 is coded
‘02’.
NOTE3: for detail information, please refer to 3GPP TS 11.11
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ AT+CSIM=14,A0A40000023F00 first use “SELECT” command(INS is A4) to select
master file of GSM, file ID is 3F00
← +CSIM:48,000000003F0001000000000009 the end two bytes 9000 mapping SW1 and SW2 show
the correctly executed of command
9301020400838A838A9000
→ AT+CSIM=14,A0A40000026F07 then use “SELECT” command to select element file
EFIMSI that contain IMSI, file ID is 6F07
← +CSIM:34,000000096F07040014FF14010
200009000
→ AT+CSIM=10,A0B0000009 use “READ BINARY” command(INS is B0) to read the
IMSI
← +CSIM:22,0849060057432199449000
→ AT+CSIM=10,A0F200002F CSIM is for all kinds of SIM-ME interface commands,
on condition that the user must be familiar with
GSM11.11 and GSM11.14.
Here,take STATUS command for example,we can use
it to query the current MF/DF/EF information:
10 –the number of characters in the following “”
A0 - CLA
F2 - INS
00 - P1
00 - P2
2F - P3
Please refer to GSM11.11 chapter 9
← +CSIM: 48 –the length of the <response> quoted in “”
0000 – RFU(For Future Use)
48,"000022c07f100200000000000991000c 22c0 – the remaining space in DF/EF
0600838a838a91d3" 7F10– fileid ,7F10 means this is a DF file
(DFTELECOM)
02 – type of file,02 means DF
OK 0000000000 – RFU(reserved for future use)
09 – the length of the following data(GSM specific data
here)
By using this command instead of Generic SIM Access +CSIM TE application has easier but more limited
access to theSIM database. Set command transmits to the MT the SIM <command>and its required
parameters. MT handlesinternally all SIM-MT interface locking and file selection routines. As response to the
command, MT sends the actualSIM information parameters and response data. MT error result code +CME
ERROR may be returned when thecommand cannot be passed to the SIM, but failure in the execution of the
command in the SIM is reported in <sw1>and <sw2>parameters.
Coordination of command requests to SIM and the ones issued by GSM/UMTS application inside the MT is
implementation dependent. However the TE should be aware of the precedence of the GSM/UMTS application
commands to the TE commands.
Syntax:
Type of Command Possible response(s)
Command
+CRSM:<sw1>,<sw2> [,<response>]
AT+CRSM=<command>[,<fileid>[,<P1>,<P2>,<P3>
Set Command
[,<data>[,<pathid>]]]]
OK
+CRSM:
(176,178,192,214,220,242),(12037-28599),(0-
Test
AT+CRSM=? 255),(0-255),(0-255),<data>,<pathid>
Command
OK
Defined values:
Parameter Definition Value Description
176 READ BINARY
The
178 READ RECORD
command
192 GET RESPONSE
<command> sent to SIM
214 UPDATE BINARY
(please
220 UPDATE RECORD,
refer to
242 STATUS
GSM51.011)
other values Reserved
(2FE2)12258 ICCID file
(6F37)28471 ACMmax
(6F07)28423 IMSI
11.11
0x94 0x04 file ID not found; pattern not found
string type; contains the path of an elementary file on the SIM/UICC in hexadecimal format as defined
in ETSI TS 102 221 (e.g. “7F205F70” in SIM and UICC case). The <pathid> shall only be used in the
mode “select by path from MF” as defined in ETSI TS 102 221n
<pathid>
Note: Since valid elementary file identifiers may not be unique over all valid dedicated file identifiers the
<pathid> indicates the targeted UICC/SIM directory path in case of ambiguous file identifiers. For
earlier versions of this specification or if <pathid>is omitted, it could be implementation specific which
one will be selected
Examples:
Command(→)/ AT Sequences Description
Response(←)
Reading and writing of a SIM Short Messages(EFSMS):
→ AT+CRSM=178,28476,9,4,176 Read a SIM message(i.e.EFSMS)
OK
→ AT+CRSM=220,28476,2,4,176,"01089 Write a message.
The parameters are just the same as above.
1683110304105F16005A10110F10008
11808212742423880500033B02015C0
A656C76845BA26237FF0C60A8672C
6B214E0A7F516D4191CF0030002E00
3000370035004D0042FF0C672C6708
7D2F8BA14F7F7528672C57306D4191
CF0032003700330036002E003300340
030004D0042FF0C595799105185672
C670852694F59672C57306D4191CF0
03300330035002E003600360030004D
0042FF0C672C6708FFFFFFFFFFFFF
FFFFFFFFFFFFFFF"
← +CRSM: 144,0,"" This command is executed successfully
OK
→ AT+CPBR=? Query the max length for the name of a SIM PB entry(i.e.
Alpha Identifier): X
← +CPBR: (1-250),40,14 <tlength>=X=14,so
The record length=X+14=28 bytes
(as to why ,please refer to GSM11.11 subclause 10.3.1)
OK
→ AT+CRSM=220,28474,3,4,28,"545454
Having known the record length,we can use UPDATE
5430313233343536373839078131363 RECORD to write a SIM PB record(index=3)
83838F8FFFFFFFFFFFF"
Paramete Definition decription
r
220 <command> UPDATE RECORD
28474 <file id> SIM PB(i.e.EFADN)
3 <P1> 3-index of the record
4 <P2> 4-absolute mode
28 <P3> the record length =28
54545454 The name of a TTTT0123456789
30313233 PB entry
34353637
3839
07 length of
phone number
81 TON/NPI
31363838 Phone number The number is
38F8 ( in BCD 13638383838
form)
← +CRSM: 144,0,""
This command is executed successfully
OK
→ AT+CRSM=178,28474,3,4,28 Read the PB record(index=3)
← +CRSM: 144,0,"
5454545430313233343536373839078
13136383838F8FFFFFFFFFFFF "
OK
Read IMSI:
READ BINARY
offset high and offset low is 0,the length of the file is 10,so
here P3=10
← +CRSM:
144,0,"98681011271300853289"
OK
Defined values:
Parameter Definition Value Description
0 enable/disable proactive command Indication
1 download ME capability profile
2 requests SIMAT notification capability info
<cmd>
3 get SIM card profile
4 send envelope command
11 respond to proactive command
12 respond to setup call request from STK app
11 proactive indication
12 setup call indication
13 display Info indication
14 session end indication
<cmdType> 15 set up call status indication
16 set up call result indication
18 send SM status indication
19 send SM result indication
20 send USSD result indication
Examples:
cmd(→)/ AT Sequences Description
rsp(←)
disable proactive command indication:
→ AT+MSTK=0,0
← OK
enable proactive command indication:
→ AT+MSTK=0,1
← OK
get SIM(USIM) card profile, every bit represent each facility supported or not by SIM
→ AT+MSTK=3
← +MSTK:3, FFFFFFFF7F11009F3F0000000000000000 SIM
(+MSTK:3, FFFFFFFF7F1100DFFF000000000000000000) USIM
OK
request SIMAT notification capability info:
→ AT+MSTK=2
← +MSTK: 2, 111212111333421211
OK
download ME capability profile, every bit represent each facility supported or not by SIM(USIM)
→ AT+MSTK=1, FFFFFFFF7F11009F3F0000000000000000 SIM
(AT+MSTK=1, FFFFFFFF7F1100DFBF000000000000000000) USIM
← OK
proactive SIM toolkit commands:
← +MSTK: 11, proactive SIM commands ”SET UP
D05E010302250002028182050F80005500530049004D53615 MENU” indication
E9475280F082880624B673A62A50F0C5680624B673A84254E
1A53850F06688070AB94C30F0A778065B095FB5A314E500F0
AA880638C4E0A80A15E020F0ABF807CBE5F694E0A6D77
→ AT+MSTK=11,010302250082028281830100 respond to proactive command
“SET UP MENU”
← OK
→ AT+MSTK=4,d30782020181900128 send envelope command “MENU
SELECTION”
← OK
← +MSTK: 11, proactive SIM commands “SELECT
D02F0103042400020281820F10018065B095FB65E9665A62A ITEM” indication
55B9A52360F06028053D66D880F0A03804E1A52A14ECB7EC
D
→ AT+MSTK=11,010304240082028281830111 respond to proactive command
“SELECT ITEM”
← OK
← +MSTK: 14 Session End indication
Defined values:
Parameter Definition Description
MO Mobile Originated
MT Mobile Terminated
SCA Length Length of SCA SCA: Short message Center Address
000: unknown
001: international
TON Type of Number
010: national
111: reserved
0000:unknown
NPI Numbering Plan Identifier 0001:ISDN/phone number
1111:reserved
SCA ShortMessageCenter Address
Bit1 0 Description
11 Reserved
MTI Message Type Identifier 10 SMS-STATUS REPORT (SC => MS)
01 SMS-SUBMIT (MS => SC)
00 SMS-DELIVER (SC => MS)
RD Reject Duplicate
VPF Validity Period Format
SRR Status Report Request
RP Reply Path
Set command selects messaging service <service>. It returns the types of messages supported by the MT:
<mt> for mobile terminated messages, <mo> for mobile originated messages and <bm> for broadcast type
messages. If chosen service is not supported by the MT (but is supported by the TA), final result code +CMS
ERROR: <err> shall be returned.
Also read command returns supported message types along the current service setting.
Defined values:
Parameter Definition Value Description
0 3G TS 23.040 and 3G TS 23.041
3GTS 23.040 and 3G TS 23.041 (the requirement of
<service> Short message service level
1 <service> setting 1 is mentioned under corresponding
command descriptions)
0 type not supported
<mt> SMS-MO(sent message)
1 type supported
Set command selects memory storages <mem1>, <mem2> and <mem3> to be used for reading, writing, etc.
Syntax:
Type of Command Possible response(s)
Command
+CPMS:<used1>,<total1>,<used2>,<total2>,<used3>,<to
Set tal3>
AT+CPMS=<mem1>[,<mem2>[,<mem3>]]
Command
OK
+CPMS:
<mem1>,<used1>,<total1>,<mem2>,<used2>,<total2>,<
Read
AT+CPMS? mem3>,<used3>,<total3>
Command
OK
+CPMS:( list of supported <mem1>s),( list of supported
Test <mem2>s),( list of supported <mem3>)
AT+CPMS=?
Command
OK
Defined values:
Parameter Definition Value Description
string type; memory from which messages are “SM” SIM message storage
read and deleted
<mem1>
The related commands are: AT+CMGL, “ME” ME message storage
AT+CMGR ,AT+CMGD
string type; memory to which writing and sending “SM” SIM message storage
<mem2> operations are made
The related commands are:AT+CMSS and “ME” ME message storage
AT+CMGW
string type; memory to which received SMs are “SM” SIM message storage
preferred to be stored (unless forwarded directly
<mem3>
to TE;
“ME” ME message storage
refer command New Message Indications
+CNMI)
<used1><used2><used3
Number of messages currently in <mem1,2,3> - Integer type.
>
total number of message locations in
<total1><total2><total3> - Integer type.
<mem1,2,3>
Examples:
OK
→ AT+CPMS? The current preferred SM storage type
← +CPMS: "SM",8,50,"SM",8,50,"SM",8,50
OK
→ AT+CPMS="SM","SM","SM" set “SM” storage type for <mem1>, <mem2>
and <mem3>
Set command updates the SMSC address, through which mobile originated SMs are transmitted. In text mode,
setting isused by send and write commands. In PDU mode, setting is used by the same commands, but only
when the length ofthe SMSC address coded into <pdu> parameter equals zero.
Syntax:
Type of Command Command Possible response(s)
Set Command AT+CSCA=<sca>[,<tosca>] OK
+CSCA:<sca>,<tosca>
Read Command AT+CSCA?
OK
Test Command AT+CSCA=? OK
Defined values:
Parameter Definition Value Description
ShortMessage Servercie
<sca> - String type, the format is defined by <tosca>
Center Address
145 ISDN / telephone numbering design, the world number
ISDN / telephone numbering design, the country / world is
Type of sca, 129
unknown.
<tosca> Integer type
161 ISDN / telephone numbering design, the country's number.
other values please refer to GSM 04.08 section
128~255
10.5.4.7
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CSCA="+8613010314500",145 Set the SCA number
← OK
→ AT+CSCA? Query the SCA number
← +CSCA:"+8613010314500",145
OK
Set command tells the TA, which input and output format of messages to use. <mode> indicates the format of
messages used with send, list, read and write commands and unsolicited result codes resulting from received
messages.
Mode can be either PDU mode (entire TP data units used) or text mode (headers and body of the messages
given as separate parameters). Text mode uses the value of parameter <chset> specified by command Select
TE Character Set +CSCS to inform the character set to be used in the message body in the TA-TE interface.
Defined values:
Parameter Definition Value Description
the input, output,display format of the 0 PDU,default
<mode>
short messages 1 TEXT
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CMGF? Query the current format
← +CMGF: 0 PDU
OK
Set command is used to select values for additional parameters needed when SM is sent to the network or
placed in storage when text format message mode is selected. 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). The format of <vp> is given by <fo>. If TA supports the EVPF, rf. 3GPP TS
23.040 [3], it shall be given as a hexadecimal coded string (refer e.g. <pdu>) with double quotes.
NOTE: When storing a SMS-DELIVER from the TE to the preferred memory storage in text mode (refer
command Write Message to Memory +CMGW), <vp> field can be used for <scts>.
Syntax:
Type of Command Possible response(s)
Command
Set Command AT+CSMP=[<fo>[,<vp>[,<pid>[,<dcs>]]]] OK
+CSMP:<fo>,<vp>,<pid>,<dcs>
Read Command AT+CSMP?
OK
+CSMP: (list of supported <fo>s),(list of supported
<vp>s), (list of supported <pid>s), (list of supported
<dcs>s)
Test Command AT+CSMP=?
OK
Defined values:
Parameter Definition Value Description
Detailed information about <fo>(take SMS-SUBMIT for example):
b7 b6 b5 b4 b3 b2 b1 b0
RP UDHI SRR VPF RD MTI
- -
RP:Reply Path
RD:Reject Duplicate
The foramat is defined by VPF in <fo>:
If VPF=10(Binary),<vp> is in relative format,and the valid period is
defined as follows:
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CSMP=17,11,0,0 Set the TEXTParameters:
<fo>=17(default),means:
MTI=01(binary)=SMS-SUBMIT,and
VPF=10(binary)= Relative format
<vp>=11,means the valid period is(11+1)x5minutes=1 hour
<dcs>=0,means 7bit GSM Default
← OK
Set command controls whether detailed header information is shown in text mode result codes.
Syntax:
Type of Command Command Possible response(s)
Set Command AT+CSDH=[<show>] OK
+CSDH:<show>
Read Command AT+CSDH?
OK
+CSDH:<show>
Test Command AT+CSDH=?
OK
Defined values:
Parameter Definition Value Description
do not show header values defined in commands +CSCA and +CSMP
(<sca>, <tosca>, <fo>, <vp>, <pid> and <dcs>) nor <length>, <toda> or
If the header <tooa> in AT+CNMI, AT+CMGL,AT+CMGR result codes for
0
<show> information will SMS-DELIVERs and SMSSUBMITs in text mode; for SMS-COMMANDs in
be showed AT+CMGR result code, do not show <pid>, <mn>, <da>, <toda>,<length> or
<cdata>
1 Show the header informations mentioned above
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CSDH? Query about <show>
← +CSDH: 0
Header information is not displayed
OK
→ AT+CMGR=8 Read the SM whose index=8
← +CMGR: "REC
READ","+86131******56",,"12/08/08,10:43:04+32"
<fo>,<vp>,<pid>,<dcs>,<sca>,<tosca> are
Good!
not displayed
OK
→ AT+CNMI=2,2,0,0,0 Set that new message is routed to TE directly
← OK
←(URC) +CMT: "+86131******56",,"12/08/08,11:09:23+32" <fo>、<vp>、<pid> and <dcs>、<sca>、<tosca>
Report are not displayed
OK
←(URC) +CMT:
"+86131******56",,"12/08/08,11:05:45+32",145,17,
A new message is reported.
0,0,"+8613800210500",145,7 <fo>、<vp>、<pid> and <dcs>、<sca>、<tosca>
are displayed
weather
Set command selects the procedure, how 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 3GPP TS 23.038.
When DTR signal is not available or the state of the signal is ignored (V.25ter command &D0), reliable
message transfer can be assured by using +CNMA acknowledgement procedure.
<mode> controls the processing of unsolicited result codes specified within this command, <mt> sets the result
code indication routing for SMS-DELIVERs, <bm> for CBMs and <ds> for SMS-STATUS-REPORTs. <bfr>
defines the handling method for buffered result codes when <mode> 1, 2 or 3 is enabled. If ME does not
support requested item (although TA does), final result code +CMS ERROR: <err> is returned.
Syntax:
Type of Command Possible response(s)
Command
AT+CNMI=[<mode>[,<mt>[,<bm>[,<ds>
Set Command OK
[,<bfr>]]]]]
+CNMI:<mode>,<mt>,<bm>,<ds>,<bfr>
Read Command AT+CNMI?
OK
+CNMI: (list of supported <mode>s),( list of supported
<mt>s),( list of supported <bm>s),( list of supported
Test Command AT+CNMI=? <ds>s),( list of supported <bfr>s)
OK
Defined values:
Parameter Definition Value Description
Buffer unsolicited result codes in the TA. If TA result code buffer is full, indications
controls
0 can be buffered in some other place or the oldest indications may be discarded
the
and replaced with the new received indications.
processing
Discard indication and reject new received message unsolicited result codes
of
1 when TA-TE link is reserved (e.g. in on-line data mode). Otherwise forward them
unsolicited
<mode> directly to the TE.
result
Buffer unsolicited result codes in the TA when TA-TE link is reserved (e.g. in
codes
2 on-line data mode) and flush them to the TE after reservation. Otherwise forward
specified
them directly to the TE.
within this
Forward unsolicited result codes directly to the TE. TA-TE link specific inband
command 3
technique used to embed result codes and data when TA is in on-line data mode
<mt> the rules 0 No SMS-DELIVER indications are routed to the TE.
for storing If SMS-DELIVER is stored into ME/TA, indication of the memory location is
1
received routed to the TE using unsolicited result code: +CMTI: <mem>,<index>
SMs SMS-DELIVERs (except class 2 messages and messages in the message
depend on waiting indication group (store message)) are routed directly to the TE using
its data unsolicited result code in the following formats:
coding +CMT:[<alpha>],<length><CR><LF><pdu> (PDU mode) or
scheme +CMT:<oa>, [<alpha>] , <scts> , <tooa>, <fo>, <pid>,
2 <dcs>,<sca>,<tosca>,<length>]<CR><LF><data>(TEXT mode)
If ME has its own display device then class 0 messages and messages in the
message waiting indication group (discard message) may be copied to both ME
display and to TE. In this case, ME shall send the acknowledgement to the
network (refer table 2). Class 2 messages and messages in the message waiting
indication group (store message) result in indication as defined in <mt>=1.
Class 3 SMS-DELIVERs are routed directly to TE using unsolicited result codes
3 defined in <mt>=2. Messages of other data coding schemes result in indication
as defined in <mt>=1
The relationship between SMS-DELIVER result code(+CMT, +CMTI)and +CNMA:
<mt> n class or class 0 or class 2 or class 3
class 1 messagewaiting messagewaiting
indication group indication group
(discard) (store)
1 +CMTI [+CMTI1)] +MTI +CMTI
2 +CMT & +CMT [& +CNMA2)] +CMTI +CMT &
+CNMA3) +CNMA3)
3 +CMTI [+CMTI1)] +CMTI +CMT&
+CNMA3)
1) This result code is displayed if AT is the only display device;
2) When +CSMS <service>=1 and AT is the only display device for ME,+CNMA is
needed for confirmation.
3) When +CSMS <service>=1, confirmation of +CNMA is needed in due
time,otherwise,NO new SM will be routed to TE.
TA buffer of unsolicited result codes defined within this command is flushed to the
0 TE when <mode> 1...3 is entered (OK response shall be given before flushing the
<bfr> codes).
TA buffer of unsolicited result codes defined within this command is cleared when
1
<mode> 1...3 is entered.
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CNMI=?
← +CNMI: (0-3),(0-3),(0,2,3),(0-1),(0)
OK
→ AT+CNMI? Querty the the current value of parameters
← +CNMI: 2,1,0,0,0
2,1,0,0,0 is the current and default configuration
OK
←(URC) +CMTI: "SM",1 A new message has arrived,buffered in <mem1>,report the
new message index indication via +CMTI to TE
→ AT+CNMI=2,2 <mt>=2,i.e. new message is not buffered but routed to TE
Or AT+CNMI=2,2,0,0,0 directly
← OK
→ AT+CMGF?
← +CMGF: 0
PDU mode now
OK
←(URC) +CMT: ,24 A new PDU short message is in:
+CMT: ,24
0891683108200105F0040D916831 24-length of PUD,length of SCA is not included
29634152F6000021808041844223 08- Length of SCA(in bytes,TON/NPI is included)
91- TON/NPI
04F7349B0D 683108200105F0- SCA, 8613800210500.
04- First Octet of PDU
0D-length of OA
91683129634152F6- OA,8613923614256
00- PID(Protocol Identifier)
00- DCS(Data Coding Scheme):7BIT GSM DEFAULT
21801341844223-
SCTS ( SM Center Time
Stamp),08/31/2012,14:48:24,+8GMT
04- length of user data
F7349B0D- 7BIT GSM DEFAULT decoded “will”
→ AT+CNMA +CNMA is needed
← OK
→ AT+CMGF=1 Set to TEXT mode
← OK
←(URC) +CMT:
Receive a new TEXT short message
"+86131******56",,"12/08/08,11:05:4
5+32",145,17,0,0,"+8613800210500
",145,7
Will-go
→ AT+CNMA +CNMA is needed
← OK
Defined values:
Parameter Definition Value Description
0 command operates similarly as defined for the text mode
1 Send RP-ACK (or buffered result of receiving the correct code)
The +CNMA
<n> send RP-ERROR (if PDU is not given, ME/TA shall send
application methods
2 SMS-DELIVER-REPORT with 3GPP TS 23.040 TP-FCS value set
to 'FF' (unspecified error cause))
Examples:
Command(→) AT Sequences Description
/Response(←)
Look up +CNMI for application
Set command sends message from a TE to the network (SMS-SUBMIT). Message reference value <mr> is
returned to the TE on successful message delivery.
Syntax:
Defined values:
Parameter Definition Value Description
3GPP TS 23.040 TP-Destination-Address Address-Value field in
string format; BCD numbers (or GSM 7 bit default alphabet
Destination
<da> - characters) are converted to characters of the currently selected
Address
TE character set (refer command +CSCS in 3GPP TS 27.007);
type of address given by <toda>
3GPP TS 24.011 TP-Destination-Address Type-of-Address octet in
<toda> Type of <da> - integer format (when first character of <da> is + (IRA 43), default is
145, otherwise default is 129)
<length> PDU length - integer type,SCA length is not included
<mr> Message Reference 0~255 integer type, GSM 03.40 TP-Message-Reference
Examples:
Command(→) AT Sequences Description
/Response(←)
Send an english short message in TEXT mode:
→ AT+CMGF=1 Set to TEXT mode
← OK
→ AT+CSMP? Query the parameters in TEXT mode
← +CSMP: 17,11,0,0
Current <dcs>=0 (GSM 7 bit default)
OK
AT+CSCS?
+CSCS: "IRA"
OK
→ AT+CMGS="139****6785" Send an English short message to a cell phone
>HI!<ctrl-Z >
← +CMGS: 108
succeed,<mr>=108
OK
Send a chinese short message in TEXT mode:
→ AT+CSMP=17,167,0,8 <dcs>=8(UCS2)
← OK
→ AT+CMGS="1381671****" Send a Chinese SM to 1381671****
b7 b6 b5 b4 b3 b2 b1 b0
0 0 - 1 0 0 - 1
10- TP-MR,benchmark
0D- DA length
91683161450179F9- DA(Destination Address)
Protocol Identifier (PID)
08- Data coding scheme (DCS),8 =UCS2
00- Valid Period (VP)
04- User Data length
611F8C22- Unicode for Chinese character
← +CMGS: 110
OK
Set command sends message with location value <index> from preferred message storage <mem2> to the
network (SMS-SUBMIT or SMS-COMMAND). If new recipient address <da> is given for SMS-SUBMIT, it shall
be used instead of the one stored with the message. Reference value <mr> is returned to the TE on successful
message delivery.
Syntax:
Type of Command Command Response
+CMSS:<mr>
Set Command AT+CMSS=<index>[,<da>[,<toda>]]
OK
Test Command AT+CMSS=? OK
Defined values:
Parameter Definition Value Description
The index of the SM to be
<index> - integer type
sent
3GPP TS 23.040 TP-Destination-Address Address-Value
field in string format; BCD numbers (or GSM 7 bit default
<da> Destination Address - 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>
3GPP TS 24.011 TP-Destination-Address Type-of-Address
<toda> Type of <da> - octet in integer format (when first character of <da> is + (IRA
43), default is 145, otherwise default is 129)
<mr> Message Reference 0~255 integer type, GSM 03.40 TP-Message-Reference
Examples:
Command(→) AT Sequences Description
/Response(←)
→ Send previously stored message(index=6), the receiver's
AT+CMSS=6 number is still the one which is stored in the message by
+CMGW
← +CMSS: 11
Sent successfully ,<mr>=11
OK
→ AT+CMSS=7,"136017*****" Send previously stored message(index=7), and change the
recipient number to 136017*****
← +CMSS: 12 Sent successfully
OK
Set command controls the continuity of SMS relay protocol link. When feature is enabled (and supported by
network) multiple messages can be sent much faster as link is kept open.
Test command returns supported values as a compound value.
Syntax:
Type of Command Command Possible response(s)
Set Command AT+CMMS= [<n>] OK
+CMMS: <n>
Read Command AT+CMMS?
OK
+CMMS: (list of supported <n>s)
Test Command AT+CMMS=?
OK
Defined values:
Parameter Definition Value Description
0 disable
Keep enabled until the time between the response of the latest message
send command (+CMGS, +CMSS, etc.) and the next send command
1
exceeds 1-5 seconds (the exact value is up to ME implementation), then
ME shall close the link and TA switches <n> automatically back to 0
<n> -
enable
if the time between the response of the latest message send command
2 and the next send command exceeds 1-5 seconds (the exact value is up
to ME implementation), ME shall close the link but TA shall not switch
automatically back to <n>=0
Set command stores message (either SMS-DELIVER or SMS-SUBMIT) 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.
Syntax:
Type of Command Possible response(s)
Command
+CMGW: <index>
In TEXT mode(AT+CMGF=1):
AT+CMGW[=<oa/da>[,<tooa/toda>[,<stat>] OK
]]<CR>text is entered <ctrl-Z/ESC>
+CMS ERROR: <err>
Set Command
+CMGW: <index>
In PDU mode(AT+CMGF=0):
AT+CMGW=<length>[,<stat>] <CR> PDU OK
is given <ctrl-Z/ESC>
+CMS ERROR: <err>
Defined values:
Parameter Definition Value Description
3GPP TS 23.040 TP-Destination-Address Address-Value
<da> Destination Address -
field in string format; BCD numbers (or GSM 7 bit default
Examples:
Command(→) AT Sequences Description
/Response(←)
Store a short message in TEXT mode:
AT+CMGF=1
OK
AT+CMGW="139****6785"
>HI!<ctrl-Z >
+CMGW: 6
index=6,means this message is stored in
location 6
OK
Store a short message in PDU mode:
→ AT+CMGF=0
← OK
→ AT+CMGW=19 683161450179F9-detination
address,8613165410979
>0011100D91683161450179F900080004611F8
C22 [CTRL+Z]
OK
Set command returns message with location value <index> from message storage <mem1> to the TE. About
text mode parameters in italics, refer command Show Text Mode Parameters +CSDH. If status of the message
is 'received unread', status in the storage changes to 'received read'.
Syntax:
Type of Command Possible response(s)
Command
In PDU mode(AT+CMGF=0),Response:
+CMGR:<stat>,[<alpha>],<length><CR><LF><pdu>
OK
In TEXT mode(AT+CMGF=1):
for SMS-DELIVER,response:
+CMGR:<stat>,<oa>,[<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>,<
sca>,<tosca>,<length>]<CR><LF><data>
OK
for SMS-SUBMIT,response:
+CMGR:<stat>,<da>,[<alpha>][,<toda>,<fo>,<pid>,<dcs>,[<vp>],<
Set Command AT+CMGR=<index> sca>,<tosca>,<length>]<CR><LF><data>
OK
for SMS-STATUS-REPORT,response:
+CMGR:<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>
OK
for SMS-COMMAND,response:
+CMGR:<stat>,<fo>,<ct>[,<pid>,[<mn>],[<da>],[<toda>],<length><
CR><LF><cdata>]
OK
Defined values:
Parameter Definition Value Description
<da>,<oa>
<toda>,<tooa>
Please refer to AT+CMGW
<length>
<stat>
<alpha> Name of <da> or <oa> String type
<pid> Protocol Identification
<fo> PDU first octedt
Please refer to AT+CSMP
<vp> Valid Period
<dcs> Data Coding System
ShortMessageCenter Time
<scts> GSM 03.40 TP-Service-Centre-Time-Stamp
Stamp
<dt> Discharge time GSM 03.40 TP-Discharge-Time
<st> Status integer type,GSM 03.40 TP-Status
integer type,GSM 03.40
<ct> Command Type
TP-Command-Type,default value is 0
String type,GSM 03.40 TP-Recipient-Address
<ra> Receiver address
-Value
Response to SMS-COMMAND
<cdata> GSM 03.40 TP-Command-Data
in TEXT mode
integer type, GSM 03.40
<mr> Message Reference
TP-Message-Reference
Examples:
Command(→) AT Sequences Description
/Response(←)
Read a message in TEXT mode:
← OK
→ AT+CSCS="GSM"
← OK
→ AT+CMGR=6 Read a message whose index=6
← +CMGR: "REC
READ","+86139*******9","12/03/30,20:40:31+
32"
HI!
← OK
→ AT+CMGR=9 Read a message whose index=9
← +CMGR: 0,,24
0891683108200105F0240D9168316145017
9F900082180904121102304611F8C22
OK
Set command returns messages with status value <stat> from message storage <mem1> to the TE. About text
mode parameters in italics, refer command Show Text Mode Parameters +CSDH.
If status of the message is 'received unread', status in the storage changes to 'received read'.
Syntax:
Type of Command Possible response(s)
Command
In PDU mode(AT+CMGF=0):
+CMGL:<index>,<stat>,[<alpha>],<length><CR><LF><
pdu><CR><LF>+CMGL:<index>,<stat>,[<alpha>],<length><CR><LF
><pdu>[...]]
OK
In TEXT mode(AT+CMGF=1):
SMS-STATUS-REPORT,Response:
+CMGL:<index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>[
<CR><LF>+CMGL:<index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,
<dt>,<st>[...]]
OK
To SMS-COMMAND,Response:
+CMGL:<index>,<stat>,<fo>,<ct>[<CR><LF>+CMGL:<index>,<stat>
,<fo>,<ct>[...]]
OK
Note All the values of <stat> in text mode must be capitalized and quoted in ””.
Defined values:
Parameter Value Description
0 received unread messages (i.e. new messages)
1 received read messages
in PDU mode
2 stored unsent messages
(AT+CMGF=0)
3 stored sent messages
4 all messages
<stat>
“REC UNREAD” received unread messages (i.e. new messages)
in TEXT mode “REC READ” received read messages
(AT+CMGF=1) “STO UNSENT” stored unsent messages
“STO SENT” stored sent messages
“ALL” all messages
Examples:
Command(→) AT Sequences Description
/Response(←)
List short messages in TEXT mode:
← OK
→ AT+CMGL=? Query the scope of <stat>s
OK
→ AT+CMGL="ALL" List all messages
OK
List short messages in PDU mode:
→ AT+CMGF=0 Set to PDU mode
← OK
→ AT+CMGL=?
← +CMGL: (0-4)
OK
→ AT+CMGL=4 List all messages
← +CMGL: 8,1,,24
0891683108200105F0240D91683161320162F3
00002180800134402304D7A2930A
+CMGL: 9,1,,24
0891683108200105F0240D91683161320162F3
00082180904121102304611F8C22
OK
Execution command deletes message from preferred message storage <mem1> location <index>. If <delflag>
is present and not set to 0 then the ME shall ignore <index> and follow the rules for <delflag> shown below.
Test command shows the valid memory locations and optionally the supported values of <delflag>.
Syntax:
Type of Command Possible response(s) Description
Command
Delete message whose location is
AT+CMGD=<index> OK
<index>
Set Command
Delete all the messages whose
AT+CMGD=<index>,<delflag> OK
state=<deflag>
+CMGD:(list of supported <index>s),( list of supported <delflag>s)
Test
AT+CMGD=?
Command
OK
Note When <delflag>=1,2,3,4,<index>shall be ignored
Defined values:
Parameters Definition Value Description
<index> SM location index - integer type
0 delete the message specified in <index>
Delete all read messages from preferred message storage, leaving
Delete flag,integer type. 1 unread messages and storedmobile originated messages (whether
<delflag>
sent or not) untouched
Delete all read messages from preferred message storage and
2
sent mobile originated messages,leaving unread messages and
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CPMS="SM" Set storage type to SIM
← OK
→ AT+CMGD=1 Delete the message whose index =1
← OK
→ AT+CMGD=1,4 All short messages are deleted
← OK
Set command selects which types of CBMs are to be received by the ME.
Syntax:
Type of Command Command Response
Set Command AT+CSCB=[<mode>[,<mids>[,<dcss>]]] OK
+CSCB:<mode>,<mids>,<dcss>
Read Command AT+CSCB?
OK
+CSCB: (list of supported <mode>s)
Test Command AT+CSCB=?
OK
Defined values:
Parameter Definition Value Description
message types specified in <mids> and
0
<dcss> are accepted
<mode>
message types specified in <mids> and
1
<dcss> are not accepted
all different possible combinations of CBM String type; default is empty string, e.g.
<mids> -
message identifiers "0,1,5,320-478,922"
all different possible combinations of CBM
<dcss> - String type;default is empty string,e.g. "0-3,5"
data coding schemes
Execution command resets memory full status.The PS will send the networkan indication that there is enough
memory to send at least one SMS.The network can start forwarding the pending messages that were held due
to memeory full status.
Syntax:
Type of Command Command Response
Set Command AT*RSTMemFull OK
AT*RSTMemFull =? *RSTMemFull:
Test Command
OK
Syntax:
URC
+MMSG: <smsReady>, <smsFull>
Defined values:
Parameter Definition Value Description
0 not ready
<smsReady> indicates if the SIM is ready for SMS
1 ready
indicates if the memory capacity of SIM for 0 not reached
<smsFull>
SMS has been reached 1 reached
Final result code +CMS ERROR: <err> indicates an error related to mobile equipment or network. The
operation is similar to ERROR result code. None of the following commands in the same command line is
executed. Neither ERROR nor OK result code shall be returned. ERROR is returned normally when error is
related to syntax or invalid parameters.
This command allows control of the call forwardingsupplementary service according to 3GPP TS 22.082.
Registration, erasure, activation, deactivation, and status query are supported. When querying the status of a
network service (<mode>=2) the response line for 'not active' case (<status>=0) should be returned only if
service is not active for any <class>.
Syntax:
Type of Command Possible response(s)
Command
If <mode>≠2 and the command is executed successfully:
OK
If <mode> = 2 and the command is executed successfully
(In which case <reason>= 0 ~3,in other words ,when
<mode>=2,<reason> is not allowed to be 4 or 5):
AT+CCFC=<reason>,<mode>[,<numbe +CCFC:
<status>,<class1>[,<number>,<type>[,<subaddr>,<saty
Set Command r>[,<type>[,<class>[,<subaddr>[,<atype
pe>[,< time>]]][<CR><LF>+CCFC:
>[,<time>]]]]]] <status>,<class2>[,<number>,<type>[,<subaddr>,<saty
pe>[,< time>]]][…]
OK
OK
+CCFC: (list of supported<reason>s)
Test
AT+CCFC=?
Command
OK
Defined values:
Parameter Definition Value Description
0 unconditional
1 mobile busy
2 no reply
<reason> The reason for call forwarding
3 not reachable
all call forwarding (please refer to 3GPP TS
4
22.030)
Examples:
Command(→) AT Sequences Description
/Response(←)
AT+CCFC=? Query the scopt of value of <reason>
OK
→ AT+CCFC=0,2 Query the current states of unconditionalcall forwarding
supplementary services
← +CCFC: 0,7 <status>=0, not active
<class>=7, all types of call forwarding supplementary
services supported by module
OK
→ AT+CCFC=1,2 Query the current states of mobile busy call forwarding
supplementary services
← +CCFC: 0,1 Call forwarding services for class 1/2/4 are not
registered yet
+CCFC: 0,2
+CCFC: 0,4
OK
→ AT+CCFC=1,3,"1360******7" Set a mobile busy call forwarding to number 1360******7
← OK
→ AT+CCFC=1,2 Query the current states of mobile busy call forwarding
supplementary services
← +CCFC: 1,1,"+861360******7",145,,, <status>=1 and <class>=1 means mobile busy call
forwarding service for voice has been
+CCFC: 0,2 registered/enabled
+CCFC: 0,4
OK
→ AT+CCFC=1,4 Erasure of mobile busy call forwarding service
← OK
+CCFC: 0,2
+CCFC: 0,4
OK
This command allows control of the Call Waiting supplementary service according to 3GPP TS 22.083.
Activation,deactivation and status query are supported. When querying the status of a network service
(<mode>=2) the responseline for 'not active' case (<status>=0) should be returned only if service is not active
for any <class>. Parameter<n>is used to disable/enable the presentation of an unsolicited result code
+CCWA:<number>,<type>,<class>[,<alpha>] to the TE when call waiting service is enabled. Command should
be abortable when network isinterrogated.
The interaction of this command with other commands based on other GSM/UMTS supplementary services is
describedin the GSM/UMTS standards.
OK
+CCWA: <n>
Read
AT+CCWA?
Command
OK
+CCWA: (list of supported <n>s)
Test
AT+CCWA=?
Command
OK
When AT+CCWA=1,1(Set call waiting on),a URC like
+CCWA:
URC report this will be routed to TE if another call is coming in
<number>,<type>,<class>[,<alpha>]
during call connection state.
Defined values:
Parameter Definition Value Description
sets/shows the result code presentation 0 disabled
<n>
status to the TE 1 enabled
0 disabled
when <mode> parameter is not given,
<mode> 1 enabled
network is not interrogated
2 query status
1 voice (telephony)
a sum of integers each representing a class 2 data
<class>
of information (default 7) 4 fax (facsimile services)
7 all(1+2+4)
0 Inactive
<status> status
1 active
phone number of calling address in
<number> string type
format specified by <type>
integer format (refer TS 24.008
<type> type of address octet
subclause 10.5.4.7)
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CCWA=1,2 Query the current state of call waiting
OK
→ AT+CCWA=1,1 Set call waiting service to active
← OK
→ AT+CCWA=1,2 Query the current state of call waiting
OK
→ ATD137******98; Originate a voice call
← OK
←(URC) CONNECT The call is connected
This command allows the control of the following call related services:
- A call can be temporarily disconnected from the ME but the connection is retained by the network;
- Multiparty conversation (conference calls);
- The served subscriber who has two calls (one held and the other either active or alerting) can connect the
other parties and release the served subscriber's own connection.
Calls can be put on hold, recovered, released, added to conversation, and transferred similarly as defined in
3GPP TS 22.030.
Syntax:
Type of Command Command Possible response(s)
Defined values:
Parameter Definition Value Description
Terminate all held calls or UDUB (User Determined User Busy) for a
0
waiting call
Terminate all active calls (if any) and accept the other call (waiting
1
call or held call)
1X Terminate the active call number X (X= 1-7)
<n>
integer type Place all active calls on hold (if any) and accept the other call
2
(waiting call or held call) as the active call
2X Place all active calls except call X (X= 1-7) on hold
3 Add the held call to the active calls
connects the two calls and disconnects the subscriber from both
4
calls (ECT)
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CCWA=1,1 Set call waiting service to active
← OK
→ ATD137******98; Make a voice call
← OK
←(URC) CONNECT The called party accepts the call
← +CLCC: 1,0,1,0,0," 137******98",129 For the first call(id=1),the third parameter <stat>=1
means this call is held
+CLCC: 2,1,0,0,0, " For the second call(id=2),<stat>=0 means this call
13601*****97",128,"TEST" is in active state
OK
→ AT+CHLD=21 put the second call (+CLCC id=2) on hold, recover
the first call(+CLCC id=1)
← OK
→ AT+CHLD=3 Set up multi-party call ( the precondition is the
multi-party call service has been opened for this
SIM card)
← OK
→ AT+CHLD=11 Release the first call
← OK
This command refers to the GSM/UMTS supplementary service CLIP (Calling Line Identification Presentation)
that enables a called subscriber to get the calling line identity (CLI) of the calling party when receiving a mobile
terminated call. Set command 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.
When the presentation of the CLI at the TE is enabled (and calling subscriber allows), +CLIP:<number>,<type>
response is returned after every RING (or +CRING: <type>; refer subclause "Cellular result codes +CRC")
result code sent from TA to TE. It is manufacturer specific if this response is used when normal voice call is
answered.
Read command gives the status of <n>, and also triggers an interrogation of the provision status of the CLIP
service according 3GPP TS 22.081 (given in <m>).
Syntax:
Type of Command Command Possible response(s)
+CLIP:<n>,<m>
Read Command AT+CLIP?
OK
+CLIP:(list of supported <n>s)
Test Command AT+CLIP=?
OK
AT+CLIP=1, a URC like this will be is returned
+CLIP: <number>,<type> after every RING (or +CRING: <type>; refer
URC report [,<subaddr>,<satype>,<alphaId>,<CLI
validity>] subclause "Cellular result codes +CRC") result
code sent from TA to TE
Defined values:
Parameter Definition Value Description
parameter sets/shows the result 0 disabled
<n> code presentation status to the
1 enabled
TE
parameter shows the subscriber 0 CLIP not provisioned
<m> CLIP service status in the 1 CLIP provisioned
network 2 Unknown (e.g. no network, etc.)
<number> phone number
<type> type of phone number
0 CLI valid
1 CLI has been withheld by the originator
<CLI validity> Calling line validity
CLI is not available due to interworking problems
2
or limitations of originating network
This command refers to CLIR-service according to 3GPP TS 22.081 that allows a calling subscriber to enable or
disable the presentation of the CLI to the called party when originating a call.
Set 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.
If this command is used by a subscriber without provision of CLIR in permanent mode the network will act according
3GPP TS 22.081.
Read command gives the default adjustment for all outgoing calls (given in <n>), and also triggers an interrogation of
the provision status of the CLIR service (given in <m>). Test command returns values supported as a compound
value.
Syntax:
Type of Command Command Possible response(s)
+CLIR:<n>,<m>
Read Command AT+CLIR?
OK
+CLIR:(list of supported <n>s)
Test Command AT+CLIR=?
OK
Defined values:
Parameter Definition Value Description
presentation indicator is used according to the
0
parameter sets the adjustment subscription of the CLIR service
<n>
for outgoing calls 1 CLIR invocation
2 CLIR suppression
0 CLIR not provisioned
parameter shows the 1 CLIR provisioned in permanent mode
<m> subscriber CLIR service status 2 Unknown (e.g. no network, etc.)
in the network 3 CLIR temporary mode presentation restricted
4 CLIR temporary mode presentation allowed
Examples:
Command(→) AT Sequences Description
/Response(←)
What’s displayed by the calling party (MT1):
← OK
→ AT+CLIR? Query the calling line identification restriction state
OK
→ ATD136****9087; Make a call to MT2
← OK
What’s displayed by called party(MT2):
← OK
→ AT+CLIP? Query the calling line presentation status
← +CLIP: 1,1 <n>=1 means that the +CLIP URC report is enabled
<m>=1 means that CLIP is provisioned
OK
←(URC) RING CLIR is enabled on MT1 side, so the phone number of MT1
can not be seen on MT2 side
+CLIP: "",128,,,,1
This command refers to the GSM/UMTS supplementary service COLP (Connected Line Identification
Presentation)that enables a calling subscriber to get the connected line identity (COL) of the called party after
setting up a mobileoriginated call. The command enables or disables the presentation of the COL at the TE. It
has no effect on theexecution of the supplementary service COLR in the network.
Read command gives the status of <n>, and also triggers an interrogation of the provision status of the COLP
serviceaccording 3GPP TS 22.081 (given in <m>).
Syntax:
Type of Command Command Possible response(s)
+COLP:<n>,<m>
Read Command AT+COLP?
OK
Defined values:
Parameter Definition Value Description
parameter sets/shows the 0 disabled
<n> result code presentation
1 enabled
status to the TE
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+COLP? Make a query
← +COLP:0,0
OK
→ AT+COLP=1 Set <n>=1 to make URC report available
← OK
→ AT+COLP? Query again
← +COLP:1,0
OK
→ ATD136****0987; Originate a call
← +COLP: "136****0987",129,"",,"SAM"
136****0987accepts the call,then this 136 number is
shown in +COLP URC.
OK
→ AT+CHUP Hang up the call
← OK
→ ATD136****0987; Originate a call again
The called party doesn’t answer it
Note:+COLP result code will only be routed to TE
when the called party has answered the call ,and OK
will be returned after +CLOP report.
→ & Input any character to terminate the ATD command
This command allows control of the Unstuctured Supplementary Service Data (USSD) according to 3GPP TS
22.090. Both network and mobile initiated operations are supported. Parameter <n> is used to disable/enable
the presentation of an unsolicited result code (USSD response from the network, or network initiated operation)
+CUSD:<m>[,<str>,<dcs>] to the TE. In addition, value <n>=2 is used to cancel an ongoing USSD session.
When <str> is given, a mobile initiated USSD-string or a response USSD-string to a network initiated operation
is sent to the network. The response USSD-string from the network is returned in a subsequent unsolicited
NOTE: In case of successful mobile initiated operation, TA implemented according to a version prior to 6 of this
standard, waits the USSD response from the network and sends it to the TE before the final result code. This
will block the AT command interface for the period of the operation. Such TA does not support <n> value 2.
The interaction of this command with other commands based on other GSM/UMTS supplementary services is
described in the GSM/UMTS standards.
Syntax:
Type of Command Command Possible response(s)
+CUSD: <n>
Read Command AT+CUSD?
OK
+CUSD: (list of supported <n>s)
Test Command AT+CUSD=?
OK
Defined values:
Parameter Definition Value Description
0 disable the result code presentation to the TE
<n> - 1 enable the result code presentation to the TE
2 cancel session (not applicable to read command response)
- if <dcs> indicates that 3GPP TS 23.038 [25] 7 bit default alphabet is
used:
if TE character set other than "HEX" (refer command Select TE
Character Set +CSCS): ME/TA converts GSM alphabet into
current TE character set according to rules of 3GPP TS 27.005
string type
Annex A
USSD-string (when
if TE character set is "HEX": ME/TA converts each 7-bit
<str> <str> parameter is -
character of GSM alphabet into two IRA character long
not given, network is
hexadecimal number (e.g. character Π (GSM 23) is presented
not interrogated)
as 17 (IRA 49 and 55))
- if <dcs> indicates that 8-bit data coding scheme is used: 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))
Data Coding
<dcs> - GSM 03.38 Data Coding Scheme in integer format (default 0)
Scheme
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CSCS="GSM" Set the dcs of the strings(within “”) in any AT commands to
GSM
← OK
→ AT+CUSD=1,"*#21#",15 Query the state of unconditional call forward
+CCFC: 0,2
+CCFC: 0,4
OK
→ AT+CSCS="UCS2" Set the dcs of the strings(within “”) in any AT commands to
UCS2
← OK
→ AT+CUSD=1,"002A0023003200310 Query the state of unconditional call forward
023",15
← +CCFC: 0,1 Query results
+CCFC: 0,2
+CCFC: 0,4
OK
Syntax:
Type of Command Possible response(s)
Command
AT+CPOL=[<index>[,<format>[,<oper>[,<GSM
Set
_AcT>,<GSM_Compact_AcT>,<UTRAN_AcT> OK
Command
,<E-UTRAN_AcT>]]]]
Read +CPOL:
AT+CPOL?
Command <index1>,<format>,<oper1>[,<GSM_AcT1>,<GSM_C
ompact_AcT1>,<UTRAN_AcT1>,<E-UTRAN_AcT1>][
<CR><LF>+CPOL:
<index2>,<format>,<oper2>[,<GSM_AcT2>,<GSM_C
ompact_AcT2>,<UTRAN_AcT2>,<E-UTRAN_Act2>][.
..]]
OK
+CPOL:(list of supported <index>s), (list of supported
Test <format>s)
AT+CPOL=?
Command
OK
Defined values:
Parameter Definition Value Description
the order number of operator in
<indexn> the SIM/USIM preferred operator - integer type
list
0 long format alphanumeric <oper>
<format> The format of <oper> 1 short format alphanumeric <oper>
2 numeric <oper>
<opern> operator - String type, in format of <format>
0 access technology not selected
<GSM_AcT> GSM access technology
1 access technology selected
GSM compact access 0 access technology not selected
<GSM_Compact_AcT>
technology 1 access technology selected
0 access technology not selected
<UTRAN_AcT> UTRAN access technology
1 access technology selected
0 access technology not selected
<E-UTRAN_AcT> E-UTRAN access technology
1 access technology selected
Execute command returns the list of operator names from the MT. Each operator code <numericn>that has an
alphanumeric equivalent <alphan>in the MT memory shall be returned.
Syntax:
Type of Command Command Possible response(s)
+COPN:<numeric1>,<alpha1>[<CR><LF>+COPN:<numeri
c2>,<alpha2>[...]]
Execution Command AT+COPN
OK
Defined values:
Parameter Definition Value Description
<numericn> operator in numeric format - string type (quoted in “ ”), see +COPS
<alphan> operator in long alphanumeric format - string type (quoted in “ ”), see +COPS
This command refers to supplementary service related network initiated notifications. The set command
enables/disables the presentation of notification result codes from TA to TE.
When <n>=1 and a supplementary service notification is received after a mobile originated call setup,
intermediate result code +CSSI: <code1>[,<index>] is sent to TE before any other MO call setup result codes
presented in the present document or in V.250. When several different <code1>s are received from the
network, each of them shall have its own +CSSI result code.
When <m>=1 and a supplementary service notification is received during a mobile terminated call setup or
during a call, or when a forward check supplementary service notification is received, unsolicited result code
+CSSU: <code2>[,<index>[,<number>,<type>[,<subaddr>,<satype>]]] is sent to TE. In case of MT call setup,
result code is sent after every +CLIP result code (refer command "Calling line identification presentation
+CLIP") and when several different <code2>s are received from the network, each of them shall have its own
+CSSU result code.
Syntax:
Type of Command Command Possible response(s)
Set Command AT+CSSN=[<n>[,<m>]]] OK
+CSSN: <n>,<m>
Read Command AT+CSSN?
OK
+CSSN: (list of supported <n>s),( list of supported
<m>s)
Test Command AT+CSSN=?
OK
Defined values:
Parameter Definition Value Description
parameter sets/shows the +CSSI 0 Disable
<n> result code presentation status to
1 enable
the TE
This command is used to enable and disable the uplink voice muting during a voice call.
Syntax:
Type of Command Command Possible response(s)
+CMUT: <n>
Read Command AT+CMUT?
OK
+CMUT: (list of supported<n>s)
Test Command AT+CMUT=?
OK
Defined values:
Parameter Definition Value Description
0 mute off
<n> Turn on/off the mute
1 mute on
Examples:
Command(→) AT Sequences Description
/Response(←)
→ ATD180****9710; Make a voice call
← OK
←(URC) CONNECT The called party accept the call
← OK Then the called party can not hear the voice of the
calling party
This command is used to select the volume of the internal loudspeaker/receiver/earpiece of the MT.
Syntax:
Type of Command Command Possible response(s)
+CLVL:<level>
Read Command AT+CLVL?
OK
+CLVL: (list of supported<level>s)
Test Command AT+CLVL=?
OK
Defined values:
Parameter Definition Value Description
integer type value with manufacturer specific range
<level> Level of volume 0~100
(smallest value represents the lowest sound level)
Syntax:
Type of Command Command Possible response(s)
+CMIC:<n>
Read Command AT+CMIC?
OK
+CMIC: (list of supported<n>s)
Test Command AT+CMIC=?
OK
Defined values:
Parameter Definition Value Description
<n> MIC gain 0~20 integer type(smallest value represents the lowest gain)
Syntax:
Type of Command Command Possible response(s)
+CHF: <ind>,<state>
Read Command AT+CHF?
OK
OK
Defined values:
Parameter Definition Value Description
0 URC report is enabled
<ind> URC report enabled or disabled
1 URC report is disabled
0 path 0 (RECEIVER)
1 path 1 (EARPIECE)
2 path 2 (LOUDSPEAKER)
3 path 3 (AUX_RECEIVER)
4 path 4 (AUX_LOUDSPEAKER)
<state> Audio path
5 path 5 (AUX_EARPIECE)
6 path6 (DUMMY_RECEIVER)
7 path7 (DUMMY_AUX_RECEIVER)
8 path8 (DUMMY_LOUDSPEAKER)
9 path9 (DUMMY_AUX_LOUDSPEAKER)
Syntax:
Type of Command Command Possible response(s)
+CHFA: <n>
Read Command AT+CHFA?
OK
DUMMY_RECEIVER, 7 = DUMMY_AUX_RECEIVER, 8 =
Test Command AT+CHFA=?
DUMMY_LOUDSPEAKER, 9 = DUMMY_AUX_LOUDSPEAKER)
OK
Defined values:
Parameter Definition Value Description
0 path 0 (RECEIVER)
<n> Audio path
1 path 1 (EARPIECE)
2 path 2 (LOUDSPEAKER)
3 path 3 (AUX_RECEIVER)
4 path 4 (AUX_LOUDSPEAKER)
5 path 5 (AUX_EARPIECE)
6 path6 (DUMMY_RECEIVER)
7 path7 (DUMMY_AUX_RECEIVER)
8 path8 (DUMMY_LOUDSPEAKER)
9 path9 (DUMMY_AUX_LOUDSPEAKER)
This command is used to select the general alert sound mode of the MT.
Syntax:
Type of Command Command Response
+ CALM:<mode>
Read Command AT+ CALM?
OK
OK
Defined values:
Parameter Definition Value Description
0 Normal mode
<mode> Alert sound mode
1 Silent mode
This command is used to select the incoming call ringer sound level of the MT.
Syntax:
Type of Command Command Response
+CRSL:<level>
Read Command AT+CRSL?
OK
OK
Defined values:
Parameter Definition Value Description
integer type value with manufacturer specific range
<level> Ring sound level 0~100
(smallest value represents the lowest sound level)
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ AT+CRSL? Query the ring sound level
OK
Execution
AT+CLDTMF Aborts any DTMF tone currently being played
Command
+CLDTMF: (list of supported <n>s),(0~9,A,B,C,D,*,#)
OK
How to know play time for each tone ,time interval and total play time?
Default play time for each tone in <DTMF string> is 200ms,default time interval between each tone is
50ms。
Take <DTMF string>"ABCDE" for example, there are 5 characters in the dtmf string, so thetotal play
time for the dtmf string is 200*5+50*4=1200ms by default.
Note
If n*100>1200ms:
first,increase time interval until total play time = n*100 or until time interval = 550ms. If total play time
is still less than n*100 when time interval =550ms, increase play time for each tone to
(n*100-4*550)/5 ms
If n*100<1200ms:
first decrease play time for each tone until total play time = n*100 or until play time for each tone
=100ms. If total play time is still more than 1200ms when play time for each tone =100ms, decrease
the tone play number.
Defined values:
Parameter Definition Value Description
duration of all DTMF tones
<n> 1~1000 integer type,in unit of 100ms.
in< DTMFstring>
a string parameter(string should be included in
quotation marks) which has a max length of 20 DTMF
<DTMF string> DTMF string -
characters in the set of 0~9,A,B,C,D,*,# separated by
commas.
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ Generate 0,1,2,3,4,5,6,7,8,9 totally 10 DTMF
AT+CLDTMF=100,"0,1,2,3,4,5,6,7,8,9" tone,and the total duration of play is 10s
← OK
Syntax:
Type of Command Command Possible response(s)
AT+DDET=<mode>[,<interval>][,<re
Set Command OK
portMode>][,<ssdet>]
+DDET: <mode>,<interval>,<reportMode>,<ssdet>
Read Command AT+DDET?
OK
+DDET: (0,1),(0-10000),(0,1),(0,1)
Test Command AT+DDET=?
OK
if <mode>=1 and <reportMode>=0 and a DTMF code is
+DTMF:<key>
detected
URC Report
if <mode>=1 and <reportMode>=1 and a DTMF code is
+DTMF:<key>,<lasttime>
detected
Defined values:
Parameter Definition Value Description
Examples:
Command ( → ) / AT Sequences Description
Response(←)
→ AT+ DDET=1 Set DTMF decoding:enabled
← OK
→ ATD1389000****; Originate a call to 1389000****
← OK
←(URC) CONNECT The call is answered by the called party
+DTMF:1
The called party inputs 1,2,3,4,5,6,7,8,9,*,# on the
keyboard of the phone.
+DTMF:2
+DTMF:3
+DTMF:4
+DTMF:5
+DTMF:6
+DTMF:7
+DTMF:8
+DTMF:9
+DTMF:0
+DTMF:*
+DTMF:#
←(URC) NO CARRIER The call is hung up
Syntax:
Type of Command Command Response
+CTTS: <status>
Read command AT+CTTS?
OK
Defined values:
Parameters Definition Values Description
0 stop TTS playing
<mode>
1 start to play synthetic speech, <text> is in UCS2 coding format
start to play synthetic speech, <text> is in ASCII(numerals and/or
2
alphabets) or in GBK(Chinese charaters) coding format
<text> text to be play - string type, must be quoted with ""
0 idle mode
<status>
1 play mode
Examples:
command(→) AT Sequences Description
/ response(←)
→ play numerals and Chinese charaters
AT+CTTS=2,"123,欢迎你的到来" Note: can not play English words yet. Like"bus",it will
sounds like "b""u""s",not [b∧s]
← OK
→ AT+CTTS=1,"6B228FCE003100310033" play “欢迎123”
← OK
←(URC) +CTTS:0
→ AT+CTTS=0
← OK
Syntax:
Type of Command Response
Command
AT+CTTSPARAM=<volume>,<mode>,<pitch
Set command OK
>,<speed>[,<channel>]
+CTTSPARAM:<volume>,<mode>,<pitch>,<spee
d>,<channel>
Read command AT+CTTSPARAM?
OK
Defined values:
Parameters Definition Values Description
<volume> TTS play volume 0-100 default value : 50
0 auto read digit, and read digit based on number rule first
1 auto read digit, and read digit based on telegram rule first
<mode> TTS play mode
2 read digit based on telegram rule
3 read digit based on number rule
<pitch> TTS play pitch 1-100 default value : 50
<speed> TTS play speed 1-100 default value : 50
0 main channel
<channel> TTS play channel
1 aux channel
This command can be used to record sound and play the record.
Syntax:
Type of Command Response
Command
AT+CREC=<mode>[,<id>]:
<mode>=1,start recording:
OK
AT+CREC=1,<id>,<form>[,<time>,<location>,<quality>,<in
put path>]
<mode>=2,stop recording: OK
Set
Command
AT+CREC=2 +CREC: <id>,<form>,<time>,<len>
<mode>=3,delete a record file:
OK
AT+CREC=3,<id>
<mode>=4,play a record file:
OK
AT+CREC=4,<id>,<channel>,<level>,<repeat>
<mode>=5,stop playing a record file: +CREC: 0
AT+CREC=5 OK
+CREC: 6,<id>,<len>
<mode>=6,read a record file:
data
AT+CREC=6,<id>,<len>,<offset>
OK
<mode>=7,check the information of a record file: +CREC: 7,<id>,<len>,<form>
AT+CREC=7[,<id>] OK
<mode>=8,check available space for recording: +CREC: 8,<len>
AT+CREC=8 OK
<mode>=9,create a directory for recording:
OK
AT+CREC=9,<location>
+CREC: <status>
Read
AT+CREC?
command
OK
+CREC: (1-n),(1-10)
Test
AT+CREC=?
Command
OK
Defined values:
Parameter Definition Value Description
whether the record can be heard at local side
0 downlink sound cannot be heard
in downlink path (earpiece,handset or
<dl voice> loudspeak)
Note: this parameter can only be effective in 1 downlink sound can be heard
record play mode
the play mode of the record 0 played only once
<play mode> Note: this parameter can only be effective in
record play mode 1 loop playback
0 stop recording
1 start recording
<action> the operation to the module 2 start playing
3 stop playing
4 delete the record
<aud id> id of the audio record 0~4
play time of the record
<duration> 1~50000 in unit of ms(millisecond)
Note: for a single play,this parameter defines
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ testing command
AT+AUDREC=?
← +AUDREC:
(0-1),(0-1),(0-4),(0-4),(1-50000)
OK
sound recording:
stop recording
2:AT command to early terminate the recording before the Set <duration> is due
← OK +AUDREC: 1,5960
play record during a call (the sound can be heard at the opposite end):
CONNECT
→ AT+AUDREC=1,0,2,3,6000 play the record for once,play tiem is 6s.
Note:
in single play, if the play time <duration> is longer than
the actual recording time,the redundant part is
null(silent); if <duration> is shorted than the actual
recording time, the redundant recording is not played
at all.
← OK
→ AT+AUDREC=1,1,2,3,5000 cycle play the record, play time of per single play is 5s
← OK
Defined values:
Parameter Definition Value Description
0 off
<loopback> loopback is on or off
1 on
0 path 0(RECEIVER)
1 path 1(EARPIECE)
<audiopath> audio path 2 path 2(LOUDSPEAKER )
3 path 3(AUX_RECEIVER)
4 path 4(AUX_LOUDSPEAKER)
The Set command is used to set the ME to operate according to the specified mode of operation, rf. TS 23.060.
The Read command returns the mode of operation set by the TE, independent of the current serving cell
capability and independent of the current serving cell Access Technology. If no value has been set by the TE
previously, the return value shall be the highest mode of operation that can be supported by the MT.
The Test command is used for requesting information on the supported MT mode of operation.
Syntax:
Type of Command Command Possible response(s)
OK
Set Command AT+CGCLASS=<class>
+CGCLASS: <class>
Read Command AT+CGCLASS?
OK
+CGCLASS: (list of supported <class>s)
Test Command AT+CGCLASS=?
OK
Defined values:
Parameter Definition Value Description
GPRSmobile station Class B,MT supports packet and circuit switch,but not at the
<class> “B”
class same time.
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ AT+CGCLASS=? Query the supported <class>s
OK
→ AT+CGCLASS? Query current class
← +CGCLASS:"B"
OK
The Set command is used to attach the ME to, or detach the ME from, the Packet Domain service. After the
command has completed, the ME remains in V.250 command state. If the ME is already in the requested state,
the command is ignored and the OK response is returned. If the requested state cannot be achieved, an
ERROR or +CME ERROR response is returned. Extended error responses are enabled by the +CMEE
command. Any active PDP contexts will be automatically deactivated when the attachment state changes to
detached.
The Read command returns the current Packet Domain service state.
Syntax:
Type of Command Command Possible response(s)
+CGATT: <state>
Read Command AT+CGATT?
OK
+CGATT: (list of supported <state>s)
Test Command AT+CGATT=?
OK
Defined values:
Parameter Definition Value Description
0 Detach
<n> GPRS attach state
1 Attach
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CGATT? Check the GPRS attach state
← +CGATT: 1
<state>=1,GPRS is attached
OK
→ AT+CGATT=? Query the range of <state>
← +CGATT: (0-1)
OK
The Set command specifies PDP context parameter values for a PDP context identified by the (local) context
identification parameter, <cid>. The number of PDP contexts that may be in a defined state at the same time is
The read command returns the current settings for each defined context.
The test command returns values supported as a compound value. If the MT supports several PDP
types,<PDP_type>, the parameter value ranges for each <PDP_type> are returned on a separate line.
Syntax:
Type of Command Possible response(s)
Command
AT+CGDCONT=<cid>[,<PDP_type>[,<APN>[,
Set Command OK
<PDP_addr> [,<d_comp>[,<h_comp>]]]]]
+CGDCONT:
<cid>,<PDP_type>,<APN>,<PDP_addr>,<d_co
mp>,<h_comp>[<CR><LF>+CGDCONT:<cid>,<
Read Command AT+CGDCONT? PDP_type>,<APN>,<PDP_addr>,<d_
comp>,<h_comp>]
OK
+CGDCONT:
(list of supported <cid>s),<PDP_type>,,,( list of
supported <d_comp>s),( list of supported
Test Command AT+CGDCONT=?
<h_comp>s)
OK
Defined values:
Parameter Definition Value Description
a numeric parameter which specifies a particular PDP context
definition. The parameter is local to the TE-ME interface and
PDP Context
<cid> - is used in other PDP context-related commands.
Identifier
The range ofpermitted values (minimum value = 1) is returned
by the test form of the command.
Packet Data Protocol a string parameter which specifies the type of packet data
<PDP_type> “IP”
type protocol
a string parameter which is a logical name that is used to
select the GGSN or the external packet data network.
<APN> Access Point Name
If the value is null or omitted, then the subscription value will
be requested.
IP address in format of "<n>.<n>.<n>.<n>" in which
PDP address,string
<PDP_address> <n>=0~255
type If the value is “0.0.0.0” or omitted, then a value may be
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CGDCONT? Query the current PDP context definition
← OK
→ AT+CGDCONT? Query again
OK
→ AT+CGDCONT=? Query the scope of the parameters
← +CGDCONT: (1-10),"IP",,,(0,1),(0,1)
OK
The Set command returns a list of PDP addresses for the specified context identifiers.
Syntax:
Type of Command Possible response(s)
Command
+CGPADDR:<cid>,<PDP_addr>[<CR><LF>+CGPADDR:<cid>,
<PDP_addr>[...]]
Set Command AT+CGPADDR=[<cid>]
OK
+CGPADDR: (list of supported <cid>s)
Test
AT+CGPADDR=?
Command
OK
Defined values:
Parameter Definition Value Description
a numeric parameter which specifies a particular PDP context
definition. The parameter is local to the TE-ME interface and
PDP Context
<cid> - is used in other PDP context-related commands.
Identifier,integer type
The range ofpermitted values (minimum value = 1) is returned
by the test form of the command.
IP address in format of "<n>.<n>.<n>.<n>" in which
PDP address,string <n>=0~255
<PDP_address> If the value is “0.0.0.0” or omitted, then a value may be
type provided by the TE during the PDP startup procedure or,
failing that, a dynamic address will be requested.
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CGDCONT? Query the current PDP context
OK
→ AT+CGACT? Query activation mode of the PDP context
OK
→ AT+CGPADDR=1 Query the PDP address (i.e.IP address)
← +CGPADDR: 1 NO IP address exists
OK
→ AT+CGACT=1,1 Activate the PDP context whose <cid>=1
← OK
→ AT+CGACT? Query activation mode of the PDP context
OK
→ AT+CGPADDR=1 Query the PDP address (i.e.IP address)
← +CGPADDR: 1,"010.085.222.016" "010.085.222.016" is the allocated IP address by the
network
OK
→ AT+CGACT=0,1 deactivate the PDP context whose <cid>=1
← OK
→ AT+CGACT? Query activation mode of the PDP context
OK
←(URC) CALL READY CALL READY is reported ,which means module is used
for call services now
The Set command is used to activate or deactivate the specified PDP context (s). After the command has
completed, the ME remains in V.250 command state.
If any PDP context is already in the requested state, the state for that context remains unchanged.
If the requested state for any specified context cannot be achieved, an ERROR or +CME ERROR response is
returned. Extended error responses are enabled by the +CMEE command. If the ME is not PS attached when
the activation form of the command is executed, the ME first performs a PS attach and them attempts to
activate the specified contexts. If the attach fails then the ME responds with ERROR or, if extended error
responses are enabled, with the appropriate failure-to-attach error message.
If no <cid>s are specified the activation form of the command activates all defined contexts.
If no <cid>s is specified the deactivation form of the command deactivates all active contexts.
The Read command returns the current activation states for all the defined PDP contexts.
Syntax:
Type of Command Possible response(s)
Command
+CGACT:<cid>,<state>[<CR><LF>+CGACT:<cid>,
<state>[...]]
Read Command AT+CGACT?
OK
+CGACT: (list of supported <state>s)
Test Command AT+CGACT=?
OK
Defined values:
Parameter Definition Value Description
the state of PDP context 0 Not activated
<state>
activation 1 activated
<cid> PDP Context Identifier integer type
Examples:
Command(→)/ AT Sequences Description
Response(←)
Please refer to +CGPADDR
Set command causes the ME to perform whatever actions are necessary to establish communication between the TE
and the network using one or more Packet Domain PDP types. This may include performing a PS attach and one or
more PDP context activations. If the <L2P> parameter value is unacceptable to the ME, the ME shall return an ERROR
or +CME ERROR response. Otherwise, the ME issues the intermediate result code CONNECTS and enters V.250
online data state.
Commands following +CGDATA command in the AT command line shall not be processed by the ME.
The detailed behaviour after the online data state has been entered is dependent on the PDP type. It is described briefly
in 3GPP TS 27.060and in more detail in 3GPP TS 29.061 and the specifications for the relevant PDPs. PS attachment
and PDP context activation procedures may take place prior to or during the PDP startup if they have not already been
performed using the +CGATT and +CGACT commands.
If context activation takes place during the PDP startup, one or more <cid>s may be specified in order to provide the
information needed for the context activation request(s).
Syntax:
Type of Command Possible response(s)
Command
Defined values:
Parameter Definition Value Description
PDP Context
<cid> - integer type
Identifier
<L2P> Layer 2 protocol "PPP" String type
Examples:
Command(→)/R AT Sequences Description
esponse(←)
→ AT+CGDATA=?
← +CGDATA: “PPP”,( 1- 8)
OK
→ AT+CGDCONT=1,"IP","UNINET"
← OK
→ AT+CGACT=1,1
← OK
→ Set up a PPP connection between TE and
AT+CGDATA="PPP",1
network
← CONNECT
NOTE: If the GPRS ME also supports circuit mode services, the +CREG command and +CREG: result code
applies to the registration status and location information for those services.
Read command returns the status of result code presentation and an integer <stat> which shows whether the
network has currently indicated the registration of the MT. Location information elements <lac> and <ci> are
returned only when <n>=2 and MT is registered in the network.
Syntax:
Type of Command Command Possible response(s)
+CGREG:<n>,<stat>[,<lac>,<ci>]
Read Command AT+CGREG?
OK
+CGREG:(list of supported <n>s)
Test Command AT+CGREG=?
OK
Set <n>=1,When the registration state changes a URC like
+CREG: <stat>
this will be reported
URC report
Set <n>=2,When the registration state changes a URC like
+CREG: <stat>[<lac>,<ci>]
this will be reported
Defined values:
Parameter Definition Value Description
0 disable network registration unsolicited result code
<n> URC Reported status enable network registration unsolicited result code +CGREG:
1
<stat>
Examples:
Command(→) AT Sequences Description
/Response(←)
→ AT+CGREG? Query the registration status
← +CGREG:0,1 <n>=0,<stat>=1
OK
→ AT+CGREG=1 Set <n>=1
←(URC) +CGREG:1 When the registration state changes a URC like this will
be reported
→ AT+CGREG=2 Set <n>=2
←(URC) +CGREG: 5,"18be","9363" When the registration state changes a URC like this will
be reported
This command allows the TE to specify a minimum acceptable profile which is checked by the ME against the
negotiated profile returned in the Activate PDP Context Accept message. The Set specifies a profile for the context
identified by the (local) context identification parameter, <cid>. Since this is the same parameter that is used in the
+CGDCONT and +CGDSCONT commands, the +CGQMIN command is effectively an extension to these commands.
The QoS profile consists of a number of parameters, each of which may be set to a separate value.
A special form of the Set, +CGQMIN= <cid> causes the minimum acceptable profile for context number <cid> to
become undefined. In this case no check is made against the negotiated profile.
The Read command returns the current settings for each defined context. The Test returns values supported as a
compound value. If the ME supports several PDP types, the parameter value ranges for each PDP type are returned on
a separate line.
Syntax:
Type of Command Possible response(s)
Command
Set AT+CGQMIN=[<cid>[,<precedence>
OK
Command [,<delay>[,<reliability>[,<peak>,<mean>]]]]]]
+CGQMIN:
<cid>,<precedence >,<delay>,<reliability>,<peak>,<
mean>[<CR><LF>+CGQMIN:
Read
AT+CGQMIN? <cid>,<precedence>,<delay>,
Command
<reliability>,<peak>,<mean>[…]]
OK
+CGQMIN:<PDP_type>, (list of supported
<precedence>s),( list of supported <delay>s),( list of
Test supported <reliability>s) ,( list of supported
AT+CGQMIN=?
Command <peak>s),( list of supported <mean>s) […]
OK
Defined values:
Parameter Definition Value Description
<cid> PDP Context Identifier - integer type
0 Network subscribed value
<precedence> QOS precedence class
1~3 Other value
0 Network subscribed value
<delay> QOS delay class
1~4 Other value
0 Network subscribed value
<reliability> QOS reliability class
1~5 Other value
QOSPeak throughput class (in 0 Network subscribed value
<peak>
octets per second) 1~9 Other value
0 Network subscribed value
<mean> QOSMean throughput class 1~18 Other value
31 best effort
This command allows the TE to specify a Quality of Service Profile that is used when the ME sends an Activate PDP
Context Request message to the network.
The Set command specifies a profile for the context identified by the local context identification parameter, <cid>. Since
this is the same parameter that is used in the +CGDCONT and +CGDSCONT commands, the +CGQREQ command is
effectively an extension to these commands.
The QoS profile consists of a number of parameters, each of which may be set to a separate value. A special form of
the Set, +CGQREQ= <cid> causes the requested profile for context number <cid> to become undefined.
The Read command returns the current settings for each defined context.
Syntax:
Type of Command Possible response(s)
Command
AT+CGQREQ=[<cid>[,<precedence>
Set Command [,<delay>[,<reliability>[,<peak>,<mean> OK
]]]]]]
+CGQREQ:
<cid>,<precedence >,<delay>,<reliability>,<peak>,<mean>
Read [<CR><LF>+CGQREQ: <cid>,<precedence>,<delay>,
AT+CGQREQ?
Command <reliability>,<peak>,<mean>[…]]
OK
+CGQREQ:<PDP_type>,
(<precedence>s),(<delay>s),(<reliability>s) ,(<peak>s),(<m
Test
AT+CGQREQ=? ean>s) […]
Command
OK
Defined values: :
Parameters Definition Value Description
a numeric parameter which specifies a
<cid> particular PDP context definition (see the - integer type
+CGDCONT and+CGDSCONT commands).
a numeric parameter which specifies the 0 Network subscribed value
<precedence>
precedence class 1~4 Other value
a numeric parameter which specifies the 0 Network subscribed value
<delay>
delay class 1~3 Other value
Set command enables or disables sending of unsolicited result code +CGEV: XXX from ME to TE in the case of certain
events occurring in the Packet Domain ME or the network.
<mode> controls the processing of unsolicited result codes specified within this command.
<bfr> controls the effect on buffered codes when <mode> 1 or 2 is entered.
If a setting is not supported by the ME, ERROR or +CME ERROR is returned.
Syntax:
Type of Command Command Possible response(s)
+CGEREP:<mode>,<bfr>
Read Command AT+CGEREP?
OK
+CGEREP:(list of supported<mode>s) ,( list of supported
<bfr>s)
Test Command AT+CGEREP=?
OK
If <mode>=1,certain events occurring in the Packet Domain
URC +CGEV: XXX
(ME or the network) will be reported in URC like this
Defined values:
Parameter Definition Value Description
buffer unsolicited result codes in the ME; if ME result code buffer is full,
0
the oldest ones can be discarded. No codes are forwarded to the TE.
discard unsolicited result codes when ME-TE link is reserved (e.g. in
1
<mode> URC report mode on-line data mode); otherwise forward them directly to the TE
buffer unsolicited result codes in the ME when ME-TE link is reserved
2 (e.g. in on-line data mode) and flush them to the TE when ME-TE link
becomes available; otherwise forward them directly to the TE
ME buffer of unsolicited result codes defined within this command is
0
The mothod to cleared when <mode>1 or 2 is entered
<bfr> deal with the ME buffer of unsolicited result codes defined within this command is
buffered URCs 1 flushed to the TE when <mode> 1 or 2 is entered (OK response shall be
given before flushing the codes).
Indication from MT to TE in the case of certain events occurring in the Packet Domain MT or the network.
Syntax:
URC
+CGEV: XXX
The following unsolicited result codes and the corresponding events are defined as follows.
Defined events:
Events Description
Examples:
+CGEV: “IP”,”10.0.0.0”,1
+CGEV: “PPP”,””,2
+CGEV: NW DETACH
Syntax:
Type of Command Command Possible response(s)
OK
Defined values:
Parameters Definition Value Description
0 Packet Domain (GPRS)
a numeric parameter 1 circuit switched
which indicates the Packet Domain preferred (use circuit switched if GPRS not
<service> service or service 2
available)
preference to be used circuit switched preferred (use Packet Domain if circuit
3
switched not available)
Defined values:
Parameters Definition Value Description
<cid> PDP context id 1-8
<ip> IPaddress
<gateway> gateway address
<apn> access point name
Private AT command,used to send the data through the specified PS data channel identified by cid.
Syntax:
Type of Command Possible response(s)
Command
AT*TGSINK=<cid>[,<PacketSize>[,
Set Command OK
<PacketCount>]]
*TGSINK: (range of supported <cid>s ),( (range
of<PacketSize>),( range of <PacketCount>)
Test Command AT*TGSINK=?
OK
Defined values:
Parameters Definition Value Description
<cid> 1-8
<PacketSize> 0-10000
<PacketCount> 1-20
Private AT command,used to send the data through current activated PS data channel.
Syntax:
Type of Command Possible response(s)
Command
AT+CGSEND=<datalen>
Set Command OK
Defined values:
Parameters Definition Value Description
<datalen> length of sent data 0-20000 unit: bytes
This command puts the TA into a particular mode of operation (data, fax, voice etc).
Syntax:
Type of Command Possible response(s)
Command
AT+FCLASS=<n>
Set Command OK
AT+FCLASS? +FCLASS:<n>
Read Command
OK
AT+FCLASS=? +FCLASS: (range of <n>)
Test Command
OK
Defined values:
Parameters Definition Value Description
0 data
<n> operation mode
1 fax class 1 (TIA 578 A)
This proprietary AT command is used to requests to add authentication parameters to a defined PDP
context. The command must be sent after the PDP context was defined and before the PDP context is
activated. The authentication parameters will be sent to the GGSN in a protocol configuration information
entry, when PDP context is activated.
In case authentication parameters are already defined for this PDP context the new authentication
parameters will replace the existing parameters. Set authentication type to none will delete
authentication parameters defined for this PDP context.
Syntax:
Type of Command Possible response(s)
Command
AT*AUTHREQ=<cid>,<type>[,<UserName OK
Set Command
>[,<Password>]]
*AUTHREQ:
<cid>,<type>(0-None;1-PAP;2-CHAP),<UserName>
Test Command AT*AUTHREQ=?
,<Password>
OK
Defined values:
Parameters Definition Value Description
<cid> as <cid> defined in +CGDCONT
0 NONE
Authentication Protocol type,a numeric 1 PAP (Password Authentication Protocol)
<type> parameter which specifies the type of
authentication data protocol CHAP (Challenge Handshake
2
Authentication Protocol)
a string parameter that specifies a user name
<UserName> added in PPP authentication packet and sent
to server forauthentication
a string parameter that specifies a password
<Password> added in PPP authentication packet and sent
to server for authentication
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ AT*AUTHREQ=1,1,AirM2M,123456
← OK
This proprietary AT command is used to requests to add authentication parameters to LTE default bearer.
Syntax:
Type of Command Possible response(s)
Command
AT*CGDFAUTH=<mode>,<auth_prot>[,<userid>[, OK
Set Command
<password>]]
AT*CGDFAUTH =? *CGDFAUTH:
<auth_prot >(0-None;1-PAP;2-CHAP),<UserNa
Test
me>,<Password>
Command
OK
Requests the failure cause code for the most recently failed PDP context activate.
Syntax:
Type of Command Command Possible response(s)
AT+PEER +PEER: <information text>
Set Command
OK
AT+PEER=? OK
Test Command
Syntax:
Type of Command Command Possible response(s)
+CIPMUX: <n>
Read Command AT+CIPMUX?
OK
+CIPMUX: (0,1)
Test Command AT+CIPMUX=?
OK
Only in IP initial state of single connection mode,AT+CIPMUX=1 can be set;
Note Only in multi connection mode and all GPRS connections are shut,AT+CIPMUX=0 can be
set
Defined values:
Parameter Definition Value Description
0 single connection(default)
<n> multi connection switch
1 multi connection
Syntax:
Type of Command Command Possible response(s)
Defined values:
Parameter Definition Value Description
a string parameter(string should be included in quotation
<apn> GPRS access point name -
marks)
a string parameter(string should be included in quotation
<user name> GPRS user name -
marks)
a string parameter(string should be included in quotation
<password> GPRS password -
marks)
AT+CIICR can only activate PDP contextin the state of IP START,then the state will be
changed to IP CONFIG.
Note If activated successfully, the state will be changed to IP GPRSACT from IP CONFIG
andthe MT respondsOK, otherwise responds ERROR
Syntax:
Type of Command Command Possible response(s)
Defined values:
Parameter Definition Value Description
Syntax:
Type of Command Command Possible response(s)
If command is executed correctly,response:
OK
In single connection mode (+CIPMUX=0): Otherwise response:
+CME ERROR <err>
Or Then:
If a connection is set up,a URC will appear:
AT+CIPSTART=<mode>,<domain CONNECT OK
name>,<port> Otherwise a URC as follows will appear:
STATE: <sl_state>
OK
Test Command AT+CIPSTART=? In Multi-connection mode(+CIPMUX=1):
OK
Set command is used to setup TCP/UDP connection.
Note Set command is allowed only when the state is IP INITIAL or IP STATUS in single
connection mode or when the state is IP STATUS in multi-connection mode. So it is
Defined values:
Parameter Definition Value Description
<n> Link No. 0~5 Integer type
“TCP” TCP
<mode> connection type
“UDP” UDP
IP address of remote
<IP address> - String type quoted in “”
server
Domain name of remote
<domain name> - String type quoted in “”
server
<port> Port of remote server - Integer type
Initial state,module enters this
IP INITIAL
state after power on
Enter this state after execution of
IP START
+CSTT
Enter this state after execution of
IP CONFIG +CIICR and before the GPRS
context is activated
Enter this state after execution of
IP GPRSACT +CIICR and after the GPRS
context is activated
Enter this state after execution of
IP STATUS
+CIFSR
Single link state Enter this state after execution of
TCP CONNECTING/UDP
<sl_state> +CIPSTART and before
CONNECTING
connection succeeds
Enter this state after execution of
CONNECT OK +CIPSTART and after connection
succeeds
Enter this state after execution of
TCP CLOSING/UDP
+CIPCLOSE and before closed
CLOSING
successfully
Enter this state after execution of
TCP CLOSED/UDP CLOSED +CIPCLOSE and after closed
successfully
Enter this state after execution of
PDP DEACT
+CGACT=0 or +CIPSHUT
Syntax:
Type of Command Command Possible response(s)
+CIPMODE: <mode>
Read command AT+CIPMODE?
OK
+CIPMODE: (0-NORMAL MODE,1-TRANSPARENT MODE)
Test Command AT+CIPMODE =?
OK
Defined values:
Parameter Definition Value Description
0 Normal mode
<mode> mode
1 Transparent mode
Syntax:
Type of Command Command Possible response(s)
+CIPQSEND: <n>
Read Command AT+CIPQSEND?
OK
+CIPQSEND: (0,1)
Test Command AT+CIPQSEND=?
OK
Defined values:
Parameter Definition Value Description
Ordinary mode,also called slow sending mode
0
Data sending –when the server has received data,”SEND OK” will be routed to TE
<n> Quick sending mode
mode 1 –when data is sent out by module,”DATA ACCEPT:<n>,<length>” will
be routed to TE,whether the server has received the data or not.
Syntax:
Type of Command Possible response(s)
Command
AT+CIPCCFG=<NmRetry>,<WaitTm>,<SendSz>,
Set Command OK
<esc>[,<Rxmode>,<RxSize>,<Rxtimer>]
+CIPCCFG:<NmRetry>,<WaitTm>,<SendSz>,
<esc>,<Rxmode>,<RxSize>,<Rxtimer>
Read command AT+CIPCCFG?
OK
+CIPCCFG:(NmRetry:3-8),(WaitTm:2-10),(Sen
dSz:1-1460),(esc:0,1),(Rxmode:0,1),(RxSize:5
Test Command AT+CIPCCFG=? 0-1460),(Rxtimer:20-1000)
OK
Note This command will be effective only in single connection mode (+CIPMUX=0) and in IP INITIAL state.
Defined values:
Parameter Definition Value Description
<NmRetry> Retry number of an IP packet 3~8 5 by default
Number of 100ms intervals to wait for
<WaitTm> serial(tx buffer) input before sending the 2~10 Unit: 100ms, default value is 2
packet
bytes to be received from serial port(tx
<SendSz> 1~1460 1024 by default
buffer) before sending.
1 enabled,default value
<esc> If escape sequence is enabled
0 disabled
output data from serial port without
Whether to set time interval during output 0
interval
<Rxmode>
data from serial port(rx buffer) output data from serial port within
1
<Rxtimer> interval
Output data length for each time
<RxSize> 50-1460 units:bytes, default value:1460
Syntax:
Type of Command Possible response(s)
Command
In single connection mode Send fixed-length data
(AT+CIPMUX=0):
1) respond >
Set Command
AT+CIPSEND=<length>
input data of <length>after >and the data will be send out . If
data is sent successfully, response is as follows:
In multi-connection mode ”>” appears, then input data of <length>after >and the data will
(+CIPMUX=1): be send out
Read OK
AT+CIPSEND? In multi connection mode (AT+CIPMUX=1),response:
Command
+CIPSEND: <n>,<size>
OK
In single connection mode (AT+CIPMUX=0),response:
+CIPSEND: <length>
Test OK
AT+CIPSEND=? In multi connection mode (AT+CIPMUX=1),response:
Command
+CIPSEND: <0-7>,<length>
OK
The Execution and Set commands will send data automatically at the expiration of timer set by
Note
AT+CIPATS,so data can be sent by [CTRL-Z] ,by<length> parameter or by the timer set by
AT+CIPATS.
Can send data on the condition that at least one TCP/UDP connection has been setup by
+CIPSTART.
The max size of data sending can not exceed <size>.
Defined values:
Parameter Definition Value Description
Link No. defined as <n> in
<n> 0~5 Integer type
+CIPSTART
<length> Length of data - Integer type,it must be less than <size>
The max length of data sent at
<size> - Integer type,the value at present is 1460bytes
one time
If <mode> is set to 1 by set command ,the data will be sent immediately after <time> is due when sending data with
AT+CIPSEND (that is if <CTRL+Z> is not input in AT+CIPSEND or less than <length> data is input in
AT+CIPSEND=<length> before <time> is due).
Syntax:
Type of Command Command Possible response(s)
+CIPATS: <mode>,<time>
Read Command AT+CIPATS?
OK
+CIPATS: (<mode>s),(<time>s)
Test Command AT+CIPATS=?
OK
Defined values:
Parameter Definition Value Description
An integer parameter which indicates whether 0 not set timer when sending data
<mode>
set timer when sending data 1 set timer when sending data
Syntax:
Type of Command Command Possible response(s)
OK
Defined values:
Parameter Definition Value Description
0 Not display ‘>’ but display: ‘SEND OK’
If ‘>’ and/or ‘SEND OK’ will be displayed
<send prompt> after execution of AT+CIPSEND. 1 Display ‘>’ and ‘SEND OK’(default)
integer type Display neither ‘>’ nor ‘SEND OK’
2
Syntax:
Type of Command Command Possible response(s)
In single connection mode(AT+CIPMUX=0),response:
OK
STATE: <sc_state>
In multi connection mode (AT+CIPMUX=1),response:
Execution Command AT+CIPSTATUS
OK
STATE: <n>,<mc_state>
Defined values:
Parameter Definition Value Description
integer type
<n> Link No. 0~5
defined as <n> in +CIPSTART
<bearer> GPRS bearer 0~1 Default value is 0
<IP address> IP address - String type(quoted in “”)
<port> Port No. - integer type
Initial state,module enters this state after power
IP INITIAL
on
IP START Enter this state after execution of +CSTT
Enter this state after execution of +CIICR and
Single connection IP CONFIG
<sc_state> before the GPRS context is activated
state
Enter this state after execution of +CIICR and
IP GPRSACT
after the GPRS context is activated
IP STATUS Enter this state after execution of +CIFSR
TCP CONNECTING/UDP
Enter this state after execution of
CONNECTING / SERVER
+CIPSTART and before connection succeeds
LISTENING
Enter this state after execution of
CONNECT OK
+CIPSTART and after connection succeeds
TCP CLOSING/UDP Enter this state after execution of
CLOSING +CIPCLOSE and before closed successfully
TCP CLOSED/UDP Enter this state after execution of
CLOSED +CIPCLOSE and after closed successfully
Enter this state after execution of +CGACT=0
PDP DEACT
or +CIPSHUT
Initial state,module enters this state after power
IP INITIAL
on
IP START Enter this state after execution of +CSTT
Enter this state after execution of +CIICR and
IP CONFIG
before the GPRS context is activated
Enter this state after execution of +CIICR and
Multi connection IP GPRSACT
<mc_state> after the GPRS context is activated
state
IP STATUS Enter this state after execution of +CIFSR
Enter this state after execution of
IP PROCESSING
+CIPSTART
Enter this state after execution of +CGACT=0
PDP DEACT
or +CIPSHUT
INITIAL Initial state
CONNECTING It is establishing a TCP/UDP connection
CONNECTED The TCP/UDP connection is established
<client state> Client state
REMOTE CLOSING Server closes the connection
CLOSING The connection is being closed
CLOSED The connection has been closed
Syntax:
Type of Command Command Possible response(s)
in multi connection mode(+CIPMUX=1): +CIPACK: <txlen>, <acklen>, <nacklen>
Set Command
AT+CIPACK=<n> OK
in single connection mode(AT+CIPMUX=0): +CIPACK: <txlen>, <acklen>, <nacklen>
Execution Command
AT+CIPACK OK
Defined values:
Parameter Definition Value Description
<n> Link No. defined as <n> in +CIPSTART 0~5 integer type
<txlen> The length of sent data - integer type,unit: bytes
The length of data that has been integer type, unit: bytes
<acklen> -
acknowledged by server
The length of data that has not been integer type, unit: bytes
<nacklen> -
acknowledged by server
Syntax:
Type of Command Command Possible response(s)
AT+CIPCSGP=<mode>,[(<apn>,<
Set Command OK
user name >,<password>)]
+CIPCSGP: <mode>, <apn>, <user name>, <password>
Read Command AT+CIPCSGP?
OK
+CIPCSGP: 1-GPRS,APN,USER NAME,PASSWORD
Test Command AT+CIPCSGP=?
OK
Defined values:
Parameter Definition Value Description
<mode> Wireless connection mode 1 GPRS
Parameter about GPRS connection:
<apn> GPRS access point name - String type(quoted in “”)
<user name> GPRS user name - String type(quoted in “”)
<password> GPRS password - String type(quoted in “”)
Syntax:
Type of Command Command Possible response(s)
PrimaryDns: <pri_dns>
SecondaryDns: <sec_dns>
Read Command AT+CDNSCFG?
OK
+CDNSCFG: (“Primary DNS”),(“Secondary DNS”)
Test Command AT+CDNSCFG=?
OK
Defined values:
Parameter Definition Value Explanation
<pri_dns> The IP address of primary DNS 0~7 String type(quoted in “”)
<sec_ dns> The IP address of secondary DNS 0~1 String type(quoted in “”)
Syntax:
Type of Command Command Possible response(s)
If command format is correct and the IP address is
resoluted correctly,response:
OK
Defined values:
Parameter Definition Value Explanation
<domain name> Domain name - String type(quoted in “”)
<IP address> IP address of the DNS - String type(quoted in “”)
10 GENERAL ERROR
11 MAX RETRIES
12 NO SERVER ADDR
<dns error code> DNS related error code 13 NO MEMORY
14 INVALID NAME
15 INVALID RESP
Other values Some other error code
Syntax:
Type of Command Command Possible response(s)
+CIPSRIP: <mode>
Read Command AT+CIPSRIP?
OK
+CIPSRIP: (<mode>s)
Test Command AT+CIPSRIP=?
OK
Defined values:
Parameter Definition Value Explanation
0 Do not show the prompt(default)
whether show the prompt of a
<mode> Show the prompt whose format is as follows:
received data 1
RECV FROM:<IP ADDRESS>:<PORT>
Syntax:
Type of Command Command Possible response(s)
+CIPHEAD: <mode>
Read Command AT+CIPHEAD?
OK
+CIPHEAD: (<mode>s)
Test Command AT+CIPHEAD=?
OK
Defined values:
Parameter Definition Value Explanation
0 Do not show the header(default)
whether show the header of a
<mode> Show the header whose format is as follows:
received data 1
+IPD,data length:
Syntax:
Type of Command Command Possible response(s)
+CIPSHOWTP: <mode>
Read Command AT+CIPSHOWTP?
OK
+CIPSHOWTP: (<mode>S)
Test Command AT+CIPSHOWTP=?
OK
Note This command is available only in single connection mode(+CIPMUX=0) and AT+CIPHEAD=1
Defined values:
Parameter Definition Value Explanation
0 Do not show the protocol header(default)
whether show the protocol
<mode> Show the header whose format is as follows:
header of a received data 1
+IPD,<data Size>,<TCP/UDP>:
Syntax:
Type of Command Command Possible response(s)
+RECEIVE,<n>,<length>:
URC report Note:<data> is received data
<data>
Defined values:
Parameter Definition Value Description
Link No.
<n> 0~5 integer type
defined as <n> in +CIPSTART
<length> The length of received data - integer type,in units of bytes
Syntax:
Type of Command Possible response(s)
command
AT+CIPRXGET=1:
OK
+IPRXGET:3,<cnlen>,<rlen>
….data….
OK
AT+CIPRXGET=4:
+CIPRXGET: 4, <cnflength>
OK
AT+CIPRXGET=1:
OK
AT+CIPRXGET=2,<n>,<len> to read data in ascii format:
+IPRXGET:2,<n>,<cnlen>,<rlen>
Multi-connection(AT+CIPMUX=1): ….data….
OK
AT+CIPRXGET=3, <n>,<len> to read data in HEX format:
AT+CIPRXGET=<mode>,<n>[,<len
+IPRXGET:3, <n>,<cnlen>,<rlen>
>] ….data….
OK
AT+CIPRXGET=4:
+CIPRXGET: 4, <n>,<cnflength>
OK
+CIPRXGET: <mode>
Read
AT+CIPRXGET?
Command
OK
If single IP connection (+CIPMUX=0):
+CIPRXGET: (list of supported <mode>s),(list of supported
<reqlength>)
Test OK
AT+CIPRXGET=?
Command If multi IP connection (+CIPMUX=1):
+CIPRXGET: (list of supported <mode>s), (list of supported
<id>s), (list of supported <reqlength>)
OK
In single connection, this URC may appear after AT+CIPRXGET=1
URC +IPRXGET:1 which means AT+CIPRXGET=2,<len> or AT+CIPRXGET=3,<len>
can be input to read data now
In multi connection, this URC may appear after AT+CIPRXGET=1
+IPRXGET:1,<n> which means AT+CIPRXGET=2,<n>,<len> or AT+CIPRXGET=3,
<n>,<len> can be input to read data now
Defined values:
Parameter Definition Value Description
Disable getting data from network manually, MT is
0
set to normal mode, data will be pushed to TE directly
1 Enable getting data from network manually
The module can get data, but the length of output data can
<mode> mode 2
not exceed 1460 bytes at a time
Similar to mode 2, but in HEX mode, which means the
3
module can get 730 bytes maximum at a time
4 Query how many data has not been read
<n> Link id in multi-connection 0-5 Defined as <n>in +CIPSTART
Examples:
Command(→)/ AT Sequences Description
Response(←)
OK
→ AT+CIPSTART="TCP","36.9.88.120",6001 Set up a single TCP connection
← OK
←(URC) CONNECT OK
←(URC) +CIPRXGET: 1 Receive data from the server
→ AT+CIPRXGET=2,150 Read 150charaters in ascii format
← +CIPRXGET: 2,10,0 Read 10 charaters:1234567890,0 not read yet
1234567890
OK
→ AT+CIPRXGET=4 Query the number of unread data
← +CIPRXGET: 4,0 0is not read
OK
←(URC) +CIPRXGET: 1 The server sends data again
→ AT+CIPRXGET=3,150 This time, read 150charaters in hex format
← +CIPRXGET: 3,5,0 Read 5:HELLO(in fact 10 bytes)
48454C4C4F
OK
→ AT+CIPRXGET=1
← OK
→ AT+CIPMUX=1
← OK
→ AT+CSTT="CMNET"
← OK
→ AT+CIICR
← OK
→ AT+CIFSR
← OK
→ AT+CIPSTART=3,"TCP","36.9.88.120",6001 Set up multi TCP connection
← OK
←(URC) 3, CONNECT OK
←(URC) +CIPRXGET: 1,3 Receive data on the connection of id=3
→ AT+CIPRXGET=2,3,10
← +CIPRXGET: 2,3,5,0
AAAAA
OK
→ AT+CIPRXGET=4,3
← +CIPRXGET: 4,3,0
OK
Module saves current TCPIP Application Contexts to NVRAM. When system is rebooted, the parameters
will be loaded automatically.
Syntax:
Type of command Command Possible response(s)
+CIPSCONT:<mode0>
+CIPCSGP:<mode>
Gprs Config APN:<apn>
Gprs Config UserId:<user name>
Gprs Config Password:<password>
+CLPORT:<port>
+CIPHEAD:<mode>
+CIPSHOWTP:<mode>
+CIPSRIP:<mode>
+CIPATS:<mode>,<time>
Read Command AT+CIPSCONT? +CIPSPRT:<send prompt>
+CIPQSEND:<n>
+CIPMODE:<mode>
+CIPCCFG:<NmRetry>,<WaitTm>,<SendSz>,<esc>
+CIPMUX:<n>
+CIPDPDP:<mode>, <interval>, <timer>
+CIPRXGET:<mode>
+CIPQRCLOSE:<mode>
+CIPUDPMODE:<mode>
OK
Syntax:
Type of Command Command Possible response(s)
in single connection mode:
CLOSE OK
AT+CIPCLOSE=<id>
Set Command
in multi connection mode:
<n>,CLOSE OK
AT+CIPCLOSE=<n>[,<id>]
If succeed, Response:
CLOSE OK
Execution Command AT+CIPCLOSE
If fail, Response:
ERROR
Defined values:
Parameter Definition Value Description
0 Slow close(default)
<id> Close mode
1 Quick close
Link No.
<n> 0~5 integer type
defined as <n> in +CIPSTART
Syntax:
Type of Command Possible response(s)
Command
+CIPSERVER: <mode>[,<port>,<channel
Read
AT+CIPSERVER? id>,<bearer>]
Command
OK
Defined values:
Parameter Definition Value Description
0 server mode is established
<mode> server mode switch
1 server mode is closed
<port> server listening port 1~65535
<channel id> channel id
<bearer> GPRS bearer 0 GPRS
Syntax:
Type of Command Possible response(s)
Command
+CIPPING: <replyId>,<Ip
AT+CIPPING=<IPaddr>[,<retry Address>,<replyTime>,<ttl>[<CR><LF> +CIPPING:
Set
Num>[,<dataLen>[,<timeout>[, <replyId>,<Ip Address>,<replyTime>,<ttl> [...]]
Command
<ttl>]]]]
OK
+CIPPING: <retryNum>,<dataLen>,<timeout>,<ttl>
Read
AT+CIPPING?
Command
OK
+CIPPING: (list of supported <retryNum>s),(list of
supported <dataLen>s),(list of supported
Test
AT+CIPPING=? <timeout>s),(list of supported <ttl>s)
Command
OK
Before sending PING Request the GPRS context must be activated.
When the Echo Request timeout expires (no reply received on time), the response will
Note
contains <replyTime> setting to 600 and <ttl> setting to 255.
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.
Defined values:
Parameter Definition Value Description
Address of the remote host,string ip address
type.
<IPaddr>
This parameter can be either an IP Domain name
address or a domain name
The number of Ping Echo Requset
<retryNum> 1-100 default:4
to send.
The length of Ping Echo Request
<dataLen> 0-1024 default:32
data
The timeout waiting for a single
<timeout> 1-600 in units of 100 ms,
Echo Reply
<ttl> time to live 1-255 default:64
<replyId> Echo Reply serial number
<Ip Address> IP Address of the remote host
<replyTime> time to receive the response in units of 100 ms
Syntax:
Type of Command Command Possible response(s)
If the connection is closed successfully,response:
SHUT OK
Execution Command AT+CIPSHUT
If the connection is closed unsuccessfully, response:
ERROR
This Command is only available during a CSD call or a GPRS connection. The +++ character sequence
causes the TA to switch to Command mode while keeping the GPRS data connection.
Syntax:
Notice
To prevent the +++ escape sequence from being misinterpreted as data, it should comply to
following rules:
No characters should be entered in 1 second before +++;
“+++” characters should be entered with nocharacters in between;
No characters should be entered in 0.5 second after +++.
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ ATD*99#
~~~ÿ}#À!}!}!} }<}!}$}&@}#}$À#}%}&Êê}*h}"}&} } } } }
'}"}(}"7S~~ÿ}#À!}!}"} }<}!}$}
&@}#}$À#}%}&Êê}*h}"}&} } } } }'}"}(}"ï¥~~ÿ}#À!}!}#}
}<}!}$}&@}#}$À#}%}&Êê}*h}"}&
} } } } }'}"}(}"§÷~~ÿ}#À!}!}$} }<}!}$}&@}#}$À#}%}&Ê
ê}*h}"}&} } } } }'}"}
→ +++ +++ to return to command mode
← OK
Syntax:
Type of Command Command Possible response(s)
Execution Command ATO If the data connection is resumed successfullye:
CONNECT
Examples:
Command(→)/ AT Sequences Description
Response(←)
← CONNECT Success
← OK Success
← CONNECT success
Errors occurred in TCP applications will be reported in form of TCP ERROR:<err code>.
TCP error code:
<err code> Definition in English
0 No error
1 TCPIP is idle
2 No tsapi
3 Invalid tsapi
4 No buffer
5 Network error
6 Remote host is unreachable
7 The address is already in use
8 The address is not available
9 The supplied buffer is too large or small
10 Invalid parameter
11 Remote host has rejected the connection
12 Time out
13 An established connection is aborted
14 Remote host has reset the connection
15 The socket is already connected
16 The socket is not connected
17 The socket has been shutdown
18 Undefined error
Errors occurred in UDP applications will be reported in form of UDP ERROR:<err code>.
UDP error code:
<err code> Definition in English
0 No error
1 TCPIP is idle
2 No tsapi
3 Invalid tsapi
Descriptons:
Input AT+CIICR,the state machine will go to IP CONFIG state immediately;when OK is reported,it will
go to IP GPRSACT state;
Input AT+CIPSTART,the state machine will go to IP/UDP CONNECTING state immediately; if
CONNECT OK is reported afterward,it means that the connection has been established, and the
Because the commands in this part are highly dependent on each other,we could describe them together in
application expamples.
OK
→ AT+CGATT? Query the GPRS attach state
← +CGATT: 1
<state>=1,GPRS is attached
OK
→ AT+CIPMUX=0 Set to single connection mode
← OK
→ AT+CIPQSEND=0 Set to slow sending
← OK
→ AT+CSTT="CMNET","","" Start a task, set APN to "CMNET"
← OK
→ AT+CIICR Activate the GPRS PDP context,get IP
address
← OK
→ AT+CIFSR Query the IP address
← 010.083.172.111
→ AT+CIPSTATUS Query the state
← OK
STATE: IP STATUS
→ AT+CIPSTART="TCP","60.166.12.210",7500 In IP STATUS state,+CIPSTART can be used
to establishe a connection:
Or "TCP" – protocol type of the link
AT+CIPSTART="TCP","60.166.12.210","7500" "60.166. *.*" – server IP
7500 –server port No.
← OK
←(URC) CONNECT OK If the TCP connection has been established ,a
“CONNECT OK” URC will be reported
→ AT+CIPSTATUS Query the state again
← OK
STATE: CONNECT OK
→ AT+CIPSEND Send data(varied-length)
→ >1234567890
← SEND OK When the length of data reaches 10 bytes,the
data will be sent automatically
→ AT+CIPATS=1,10 Set timer for auto data sending to 10s
← OK
→ AT+CIPSEND Send data
→ >1234567890ABCDEFG
← SEND OK When the 10 seconds timer expires,the data
will be sent automatically
→ AT+CIPSEND=100
→ >123
← SEND OK When the 10 seconds timer expires,the data
will be sent automatically
→ AT+CIPCLOSE Close the TCP link
← CLOSE OK
→ AT+CIPSTATUS Check the state
← SHUT OK
→ AT+CIFSR Query local IP
← OK
← OK
STATE: IP INITIAL
→ AT+CIPSTART="TCP","60.166.12.210",7500 In IP STATUS state,+CIPSTART can be used
to establishe a connection:
"TCP" – protocol type of the link
"60.166. *.*" – server IP
7500 –server port No.
← OK
←(URC) CONNECT OK
→ AT+CIPSEND Send data
→ >1234567890<CTRL-Z>
← DATA ACCEPT:10 Indicates that module has received 10 bytes of
data (for further sending)from TE
…… +CIPCLOSE,+CIPSHUT ….
← OK
…… +CSTT +CIICR +CIFSR
→ >1234567890<CTRL-Z>
← SEND OK SEND OK means the server has received the
data
…… +CIPCLOSE,+CIPSHUT…
← OK
…… +CSTT +CIICR +CIFSR +CIPSTART
→ >1234567890<CTRL-Z>
← DATA ACCEPT:10 SEND OK
…… +CIPCLOSE,+CIPSHUT
← OK
…… +CSTT +CIICR +CIFSR
→ AT+CIPSTART=0,"TCP","60.166.12.210", 7500
← OK
→ AT+CIPSTART=1,"UDP","60.166.12.210",6100
← OK
← OK
STATE: IP PROCESSING
C:
0,0,"TCP","60.166.12.210","7500","CONNECTED"
C:
1,0,"TCP","60.166.12.210","7500","CONNECTED"
C: 2,,"","","","INITIAL"
C: 3,,"","","","INITIAL"
C: 4,,"","","","INITIAL"
C: 5,,"","","","INITIAL"
C: 6,,"","","","INITIAL"
C: 7,,"","","","INITIAL"
→ AT+CIPSEND=0 Send data on the TCP link
→ >1234567890<CTRL-Z>
← 0,SEND OK
→ >1234567890<CTRL-Z>
← 1,SEND OK
…… Send more data
← 0,CLOSE OK
→ AT+CIPSHUT
← SHUT OK
→ AT+CIPMUX=0
← OK
← OK
…… +CSTT +CIICR +CIFSR
→ AT+CIPSTART=6,"TCP","60.166.12.210", 7500
← OK
→ AT+CIPSTART=7,"UDP","60.166.12.210",6100
← OK
→ >1234567890<CTRL-Z>
← DATA ACCEPT:6,10
→ >1234567890<CTRL-Z>
← DATA ACCEPT:7,10
→ >TEST Auto fast send Input the data to be sent ( <CTRL-Z> is not
needed)
← DATA ACCEPT:6,19 When the timer expires,data will be sent
automatically
…… +CIPCLOSE, +CIPSHUT…
← OK
←(UCR) +IPD,4:TEST Receive data:TEST
← OK
←(UCR) +IPD,4,TCP:TEST Receive data:TEST
If it is a UDP link:
+IPD,4,UDP:TEST
← OK
←(URC) +RECV FROM: 60.166.12.210:7500 Receive data:TEST ,the length of which is 4
+IPD,4:TEST
→ AT+CIPSHOWTP=0 Set protocol header off
← OK
← OK
→ AT+CIPSRIP=0 Set sender prompt off
← OK
←(URC) TEST Receive data:TEST
TEST123
←(URC) +RECEIVE,1,10: Receive 10 chars on link 1:
TEST123456
TEST123456
← OK
→ AT+CIPSCONT save the CIPMODE to NV
← OK
→ AT+CIPSTART="TCP","60.166.18.9",7500 set a single TCP link
← OK
←(URC) CONNECT the link is connected
→/← ………
send and receive data transparently
← OK
→ ATO set module to data mode again
← CONNECT
← OK The ip is 221.179.180.76
+CDNSGIP:1,"WWW.SINA.COM.CN","221.179.18
0.76"
Data sending (take link id=5 for example in multi connection mode)
protocol Fast sending Slow sending
Data receiving
AT+CIPHEAD=1
protocol AT+CIPHEAD=0
+CIPSHOWTP=0 +CIPSHOWTP=1
This command is applied to activate bearer for some applications such as HTTP, FTP.
Syntax:
Type of Command Possible response(s)
Command
if <cmd_type> = 2:
+SAPBR: <cid>,<Status>,<IP_Addr>
OK
OK
else:
OK
+SAPBR: (0-4),(1-3),"ConParamTag","ConParamValue"
Test command AT+SAPBR=?
OK
URC report if
+SAPBR <cid>: DEACT
Defined values:
Parameters Definition Value Description
0 close bearer
1 open bearer
<cmd_type> command type 2 query bearer
3 set bearer parameters
4 query bearer parameters
<cid> bearer identifier 1~3
0 Bearer is connecting
1 Bearer is connected
<Status> state of the bearer
2 Bearer is closing
3 Bearer is closed
IP address of the
<IP_Addr>
bearer
INTERNET connection type. See
“CONTYPE”
<ConParamValue_ConType>
“APN” access point name, no more than 50 charcters
“USER” user name, no more than 50 charcters
<ConParamTag> bearer parameters
“PWD” password, no more than 50 charcters
“PHONENUM” CSD number
CSD connection rate
“RATE”
see <ConParamValue_Rate>
The HTTP AT command set,based on embedded TCP/IP stack,enables the host application to easily access
the Internet HTTP service.
Syntax:
Type of Command Command Possible response(s)
Syntax:
Type of Command Command Possible response(s)
+ HTTPSSL: <n>
Read command AT+HTTPSSL?
OK
+HTTPSSL: (0-1)
Test command AT+HTTPSSL=?
OK
Defined values:
Parameters Definition Value Description
0 SSL disabled
<n> SSL function switch
1 SSL enabled
Syntax:
OK
+HTTPPARA: "HTTPParamTag","HTTPParamValue"
Test command AT+HTTPPARA=?
OK
Defined values:
Parameters Definition Value Description
<HTTPParamTag> :HTTP parameters,including:
Bearer profile
“CID” 1~3
identifier(Mandatory Parameter)
HTTP or HTTPS URL Server: FQDN or IP-address
"http://server/path:tcpPort "
(Mandatory Parameter) Path: path of file or directory
or
“URL” Note:HTTPS URL is supported
"https://server/path:tcpPort tcpPort: default value is80
only in module firmware versions
"
with SSL suffix see "IETF-RFC 261
Examples:
Command(→)/ AT Sequences Description
Response(←)
→ AT+HTTPPARA?
← +HTTPPARA:
CID: 1
URL:
UA: AIRM2M_MODULE
PROIP: 0.0.0.0
PROPORT: 0
REDIR: 0
BREAK; 0
BREAKEND: 0
OK
Syntax:
Type of Command Command Possible response(s)
DOWNLOAD
Set command AT+HTTPDATA=<size>,<time>
OK
+HTTPDATA: (<size>s),(<time>s)
Test command AT+HTTPDATA=?
OK
Defined values:
Parameters Definition Value Description
1-102400 The maximum is 102400
<size> Size in bytes of the data to POST
0 Delete all the content
1000-120000 Unit: ms
<time> Maximum time for inputting data
Note: It is strongly recommended to set enough time to input all data with the length of <size>.
Syntax:
Type of Command Command Possible response(s)
OK
+HTTPACTION: <Method>,<StatusCode>,<DataLen>
Set command AT+HTTPACTION=<method>
+CME ERROR: <err>
+HTTPACTION: <Method>,<StatusCode>,<DataLen>
+HTTPACTION: (0-2)
Test command AT+HTTPACTION=?
OK
Defined values:
Parameters Definition Value Description
0 GET
<Method> HTTPmethods 1 POST
2 HEAD
<DataLen> The length of data got - Integer type
100 继续(Continue)
101 交换协议(Switching Protocols)
200 确定(OK)
201 已创建(Created)
HTTP Status Code
202 已接受(Accepted)
responded by remote
203 非权威消息(Non-Authoritative Information)
<StatusCode> server, refer to
204 无内容(No Content)
HTTP1.1(RFC2616) for
205 重置内容(Reset Content)
more information
206 部分内容(Partial Content)
300 多重选择(Multiple Choices)
301 永久删除(Moved Permanently)
302 找到(Found )
409 冲突(Conflict)
410 所请求资源不在服务器上有效,且不知道转发地址(Gone)
Syntax:
Type of Command Possible response(s)
Command
+HTTPREAD: <date_len>
Set
AT+HTTPREAD=<start_address>,<byte_size> <data>
command
OK
+HTTPREAD:<date_len>
Execution <data>
AT+HTTPREAD
command
OK
+HTTPREAD: (list of supported <start_address>s),( list
Test of supported<byte_size>s)
AT+HTTPREAD=?
command
OK
Defined values:
Parameters Definition Value Description
<date_len> The actual length for data output
Data from HTTP server or user
<date >
input
<start_address> The starting point for data output 0 ~ 307200 unit: byte
<byte_size> The length for data output 1 ~ 307200 unit: byte
OK
+HTTPSCONT:<mode>
CID:<value>
URL: <value>
UA: <value>
Read command AT+HTTPSCONT? PROIP: <value>
PROPORT: <value>
REDIR: <value>
BREAK: <value>
BREAKEND: <value>
OK
Defined values:
Parameters Definition Value Description
saved to NVRAM. when system is rebooted, the
0
<mode> mode for HTTP context save parameters willbe loaded automatically from NVRAM
1 unsaved
Syntax:
Type of Command Command Possible response(s)
Examples:
Command(→)/ AT Sequences Description
Response(←)
HTTP GET application scenario:
→ AT+SAPBR=3,1,"CONTYPE","GPRS" set HTTP bearer type
SAPBR command is used to activate PDP context ,thus
UDP protocol can be used to resolute the domain name.
← OK
→ AT+SAPBR=3,1,"APN","CMNET" set APN
← OK
→ AT+SAPBR =1,1 activate the GPRS PDP context
← OK
→ AT+SAPBR=2,1 query the status of the bearer
← OK
→ AT+HTTPPARA="URL","www.baidu.com" set URL.It equals to :
Note:
1) The SAPBR commands above are not necessary if
the URL address is IP;
2) The URL address without http or https prefix is http
protocol
for example:
AT+HTTPPARA="URL","www.baidu.com" equals to
AT+HTTPPARA="URL","http://www.baidu.com"
← OK
← +HTTPACTION:0,200,1348 waiting to be READ
+HTTPACTION:0,200,1348
+HTTPACTION:0,200,1348
……
→ AT+HTTPREAD read data from server
………………
OK
→ AT+HTTPTERM end HTTP service
← OK
→ AT+SAPBR=3,1,"CONTYPE","GPRS"
← OK
→ AT+SAPBR=3,1,"APN","CMNET"
← OK
→ AT+SAPBR =1,1
← OK
→ AT+SAPBR=2,1
← +SAPBR: 1,1,010.169.179.213
OK
← OK
→ AT+HTTPINIT
← OK
→ AT+HTTPPARA="CID",1
← OK
→ AT+HTTPPARA="URL","fanyi.baidu.com"
← OK
→ AT+HTTPDATA=4,100000
← DOWNLOAD DOWNLOAD= ready for inputting data
→ 中国 input “中国”
← OK OK = inputting is completed
→ AT+HTTPACTION=1 POST begins
← OK
← +HTTPACTION:1,200,0
→ AT+HTTPTERM
← OK
Syntax:
Type of Command Command Possible response(s)
OK
Set command AT+FTPPORT=<value>
ERROR
+FTPPORT:<value>
Read command AT+FTPPORT?
OK
Defined values:
Parameters Definition Value Description
Default value is 21
<value> FTP control port 1~65535 Numbers above 65535 are illegal as the port identification fields
are 16 bits long in the TCP header
Syntax:
Type of command Command Possible response(s)
OK
Set command AT+FTPMODE=<value>
ERROR
+FTPMODE:<value>
Read command AT+FTPMODE?
OK
Defined values:
Parameters Definition Value Description
0 Active mode
<value> FTP mode
1 Passive mode
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.
Syntax:
Type of command Command Possible response(s)
OK
Set command AT+FTPTYPE=<value>
ERROR
+FTPTYPE:<value>
Read command AT+FTPTYPE?
OK
Defined values:
Parameters Definition Value Description
"A" FTP ASCIIcharacters set
<value> Format for FTP data transfer
"I" FTP Binarycharacters set
Syntax:
Type of command Command Possible response(s)
OK
Set command AT+FTPPUTOPT=<value>
ERROR
+FTPPUTOPT:<value>
Read command AT+FTPPUTOPT?
OK
Defined values:
Parameters Definition Value Description
"APPE" Appending to a file
<value> FTPput type "STOU" Store a unique file
"STOR" Store a file
Syntax:
Type of command Command Possible response(s)
OK
Set command AT+FTPCID=<value>
ERROR
+FTPCID:<value>
Read command AT+FTPCID?
OK
Defined values:
Parameters Definition Value Description
<value> FTP bearer identifier 1~3 The same as the <cid> in +SAPBR
Syntax:
Type of command Command Possible response(s)
OK
Set command AT+FTPREST=<value>
ERROR
+FTPREST:<value>
Read command AT+FTPREST?
OK
Defined values:
Parameters Definition Value Description
<value> Breakpoint to be resumed
Syntax:
Type of command Command Possible response(s)
OK
Set command AT+FTPSERV=<value>
ERROR
+FTPSERV:<value>
Read command AT+FTPSERV?
OK
Defined values:
Parameters Definition Value Description
IP(xxx.xxx.xxx.xxx) IP: 32-bit decimal, separated by “.”
<value> FTPserver address
or DNS DNS is an ASCII string whose length can not exceed 49
Syntax:
Type of Command Possible response(s)
command
OK
Set command AT+FTPUN=<value>
ERROR
+FTPUN:<value>
Read
AT+FTPUN?
command
OK
Defined values:
Parameters Definition Value Description
<value> FTP user name an ASCII string whose length can not exceed 49 characters
Syntax:
Type of command Command Possible response(s)
OK
Set command AT+FTPPW=<pw>
ERROR
+FTPPW:<pw>
Read command AT+FTPPW?
OK
Defined values:
Syntax:
Type of command Command Possible response(s)
OK
Set command AT+FTPGETNAME=<name>
ERROR
+FTPGETNAME:<name>
Read command AT+FTPGETNAME?
OK
Defined values:
Parameters Definition Value Description
<name> Name of FTP download file an ASCII string whose length can not exceed 99 characters
Syntax:
Type of command Command Possible response(s)
OK
Set command AT+FTPGETPATH=<value>
ERROR
+FTPGETPATH:<value>
Read command AT+FTPGETPATH?
OK
Defined values:
Parameters Definition Value Description
<value> Path of FTP download file an ASCII string whose length can not exceed 99 characters
Syntax:
Type of command Command Possible response(s)
OK
Set command AT+FTPPUTNAME=<value>
ERROR
+FTPPUTNAME:<value>
Read command AT+FTPPUTNAME?
OK
Defined values:
Parameters Definition Value Description
an ASCII string whose length can not exceed 99
<value> Name of FTP upload file
characters
Syntax:
Type of command Command Possible response(s)
OK
Set command AT+FTPPUTPATH=<value>
ERROR
+FTPPUTPATH:<value>
Read command AT+FTPPUTPATH?
OK
Defined values:
Parameters Definition Value Description
<value> path of FTP upload file an ASCII string whose length can not exceed 99 characters
The max response time for AT+FTPGET is 75 seconds in case no data is received from server.
Syntax:
Type of Command Possible response(s)
command
After AT+FTPGET=1, the response is:
+FTPGET:2,<cnlength>
……..……….. //data
OK
This URC may emerge after AT+FTPGET=1,indicating that
the file has been downloaded and ready for reading.
When "+FTPGET:1,1" is shown, use
+FTPGET:1,1
AT+FTPGET=2,<reqlength> to read data. If the module still
URC has unread data, "+FTPGET:1,1" will be shown again in
certain time
This URC may emerge after AT+FTPGET=1,indicating that
+FTPGET:1,<error>
the file download failed
+FTPGET:1,0 Data transfer is finished
Defined values:
Parameters Definition Value Description
1 Begin FTPGET session
<mode> mode
2 Read FTP download data
Number of data bytes
<reqlength> 1~1460
requested to be read
Number of data bytes May be less than <reqlength>.
<cnlength> 1~1460
confirmed to be read 0indicates than no data has been read
61 net error
62 DNS error
63 connect error
64 timeout
65 server error
66 operation not alowed
70 replay error
71 user error
<error> Error code 72 password error
73 type error
74 rest error
75 passive error
76 active error
77 operate error
78 upload error
79 download error
86 manual quit
Syntax:
Type of Command Possible response(s)
command
After AT+FTPPUT=1 is input, the response is:
OK
After AT+FTPPUT=2, <reqlength> is input, the response is:
AT+FTPPUT=<mode>[,<reqlength>
Set command
] +FTPPUT:2,<cnlength>
….. //input data
OK
AT+FTPPUT=2,0 to close FTP PUT session, the response is:
OK
This URC may emerge afterAT+FTPPUT=1, indicating that
+FTPPUT:1,1,<maxlength> AT+FTPPUT=2,<reqlength> can be used to FTP PUT a file
now.
URC
+FTPPUT:1,0 Indicating that FTP PUT session finished
This URC may emerge afterAT+FTPPUT=1, indicating that
+FTPPUT:1,<error>
data transfer failed.
Defined values:
Parameters Definition Value Description
1 Begin FTPPUT session
<mode> FTPPUT mode
2 Write FTP PUT data
Number of data bytes requested to be
<reqlength> 0-<maxlength>
PUT
Number of data bytes confirmed to be
<cnlength>
PUT
The max length of data can be sent at
<maxlength> It depends on the network status
a time
MT saves to NV FTP Application Context which consists of the following AT Command parameters, and when
system is rebooted, the parameters will be loaded from NV automatically.
Syntax:
Type of command Command Possible response(s)
+FTPSCONT: <value>
+FTPSERV: <value>
+FTPPORT: <value>
+FTPUN: <value>
+FTPPW: <value>
+FTPCID: <value>
+FTPMODE: <value>
+FTPTYPE: <value>
Read command AT+FTPSCONT? +FTPPUTOPT: <value>
+FTPREST: <value>
+FTPGETNAME: <value>
+FTPGETPATH: <value>
+FTPPUTNAME: <value>
+FTPPUTPATH: <value>
+FTPTIMEOUT: <value>
OK
Execution command AT+FTPSCONT OK
Syntax:
Type of command Command Possible response(s)
OK
Set command AT+FTPQUIT
ERROR
Test command AT+FTPQUIT=? OK
← OK
→ AT+SAPBR=3,1,"APN","CMNET" Set APN
← OK
→ AT+SAPBR =1,1 Activate GPRS PDPcontext
← OK
→ AT+SAPBR=2,1 Query the state of the bearer
← OK
→ AT+FTPSERV="36.7.87.100" Set the IP or DNS of the FTP server
← OK
→ AT+FTPUN="user" Input user name
← OK
→ AT+FTPPW="123456" Input password
← OK
→ AT+FTPGETNAME="1.txt" Set the name of the download file
← OK
→ AT+FTPGETPATH="/" Set the path of the download file
← OK
→ AT+FTPGET=1 Start FTP GET session
← OK
← +FTPGET: 1,1 This URC indicates that the file has been
downloaded,you can read it now.
→ AT+FTPGET=2,20 Request to read 20 bytes
??/
??/
OK
←(URC) +FTPGET: 1,0 FTPGET session is over
← OK
FTP PUT application scenario:
→ AT+SAPBR=3,1,"CONTYPE","GPRS"
← OK
→ AT+SAPBR=3,1,"APN","CMNET"
← OK
→ AT+SAPBR =1,1
← OK
→ AT+SAPBR=2,1
← +SAPBR: 1,1,010.169.179.213
OK
→ AT+FTPCID=1
← OK
→ AT+FTPSERV="36.7.87.100"
← OK
→ AT+FTPUN="user"
← OK
→ AT+FTPPW="123456"
← OK
→ AT+FTPPUTNAME="1222.txt" Set the name of the upload file
← OK
→ AT+FTPPUTPATH="/" Set the path of the upload file
← OK
→ AT+FTPPUT=1 Start FTP PUT session
← OK
← +FTPPUT:1,1,1360 This URC indicates that MT is ready for FTP
PUTand the max length of the each PUT is 1360
→ AT+FTPPUT=2,7
← +FTPPUT: 2,7 Input 7 characters and the data is FTP PUT to the
server automatically
……. //input 7 character here
OK
→ AT+FTPPUT=2,0 Terminate the FTP PUT session
← OK
Syntax:
URC
^MODE:<SysMainMode>,<SysMode>
Defined values:
Parameter Value Description
17,17 TD LTE capabilities (4G)
5/15,8 3G only (3G)
5/15,7 3G, HSDPA, and HSDPA capabilities (3G)
5/15,6 3G and HSUPA capabilities (3G)
<SysMainMode>,<SysMode>
5/15,5 3G and HSDPA capabilities (3G)
3,3 GSM, GPRS, and EGPRS capabilities (2G)
Syntax:
URC
^SIMST:<currSimState>,<lockstate>
Defined values:
Parameter Value Description
0 SIM card in initialization
1 Network Registration succeeded
2 Network Registration denied, invalid in CS
<currSimState>
3 Network Registration denied, invalid in PS
4 Network Registration denied, invalid in PS+CS
255 SIM not ready
Examples:
URCs Description
^SIMST: 255,1 SIM card is pending for PIN code(AT+CPIN=”pin code” is needed)
^SIMST: 255,0 SIM card is not inserted
Note: <lockstate> is not needed when SIM card is ready(which means <currSimState> is not 255)
Defined values:
Parameter Value Description
0 ME in Idle mode
<state> 1 ME in Dedicated mode
2 ME in PS PTM mode
Syntax:
URC
+EEMGINFOSVC: <mcc>, <mnc>, <lac>, <ci>, <nom>, <nco>, <bsic>, <C1>, <C2>, <TA>, <TxPwr>,<RxSig>,
<RxSigFull>, <RxSigSub>, <RxQualFull>, <RxQualSub>, <ARFCN_tch>, <hopping_chnl>,<chnl_type>, <TS>,
<PacketIdle>, <rac>, <arfcn>, <bs_pa_mfrms>, <C31>, <C32>, <t3212>, <t3312>,<pbcch_support>,
<EDGE_support>, <ncc_permitted>, <rl_timeout>, <ho_count>, <ho_succ>,<chnl_access_count>,
<chnl_access_succ_count>
Defined values:
Parameter Description
<mcc> Mobile Country Code
<mnc> Mobile Network Code
<lac> Location Area Code
<ci> Cell Identifier
_mean_bep>,<EDGE_bep_period>,<single_gmm_rej_cause>,<pdp_active_num>,<mac_mode>,<network_
control>,<network_mode>, <EDGE_slq_measurement_mode>, <edge_status>
Defined values:
Parameter Description
<PS_attached> GPRS/EDGE attached
<attach_type> Attach type
<service_type> Service type
<tx_power> Transmit power
<c_value> C value
<ul_ts> Uplink timeslot
<dl_ts> Downlink timeslot
<ul_cs> Uplink Coding Scheme
<ul_cs> Uplink Coding Scheme
<dl_cs> Downlink Coding Scheme
<ul_modulation> Uplink modulation
<dl_modulation> Downlink modulation
<gmsk_cv_bep> GMSK CV BEP(Block Error Probability)
<8psk_cv_bep> 8PSK CV BEP
<gmsk_mean_bep> GMSK mean BEP
<8psk_mean_bep> 8PSK mean BEP
<EDGE_bep_period> EDGE BEP period
<single_gmm_rej_cause> Is single GMM reject cause
<pdp_active_num> Activated PDP number
<mac_mode> MAC mode
<network_control> Network control
<network_mode> networkmode
<EDGE_slq_measurement_mode> EDGE SLQ measurement mode
<edge_status> EDGE status
Defined values:
Parameter Description
<nc_num> Neighbor cell number
18.7 Notify current network status which used for EFEM :+EEMGINBFTM
Defined values:
Parameter Description
<p1> Engineering Mode
<p2> mcc
<p3> mnc
<p4> lac
<p5> cell Identifier
<p6> bsic
<p7> C1
<p8> C2
<p9> Time Advance
<p10> TxPowerLevel
<p11> rxSigLevel
<p12> rxSigLevelFull
<p13> rxSigLevelSub
<p14> rxQualityFull
<p15> rxQualitySub
<p16> arfcnTch
<p17> hopping status
<p18> channel type
Defined values:
Parameter Description
<p1> Engineer Mode
<p2> sCMeasPresent
<p3> sCParamPresent
<p4> ueOpStatusPresent
If sCMeasPresent is TRUE, the following 4 items will be printed:
<p5> pccpchRSCP
<p6> utraRssi
<p7> sRxLev
<p8> txPower
If sCParamPresent is TRUE, the following 18 items will be printed:
<p9> rac
<p10> nom
<p11> mcc
<p12> mnc
<p13> lac
<p14> ci
<p15> uraId
<p16> cellParameterId
<p17> arfcn
<p18> t3212
<p19> t3312
<p20> hcsUsed
<p21> attDetAllowed
<p22> csDrxCycleLen
<p23> psDrxCycleLen
<p24> utranDrxCycleLen
<p25> HSDPASupport
<p26> HSUPASupport
If ueOpStatusPresent is TRUE, the following 27 items will be printed:
<p27> rrcState
<p28> numLinks
<p29> srncId
<p30> sRnti
<p31> algPresent
<p32> cipherAlg
<p33> cipherOn
<p34> algPresent
<p35> cipherAlg
<p36> cipherOn
<p37> HSDPAActive
<p38> HSUPAActive
<p39> MccLastRegisteredNetwork
<p40> MncLastRegisteredNetwork
<p41> TMSI
<p42> PTMSI
<p43> IsSingleMmRejectCause
<p44> IsSingleGmmRejectCause
<p45> MMRejectCause
<p46> GMMRejectCause
<p47> mmState
<p48> gmmState
<p49> gprsReadyState
<p50> readyTimerValueInSecs
<p51> NumActivePDPContext
<p52> ULThroughput
<p53> DLThroughput
Syntax:
URC
+EEMUMTSINTRA:<p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>,<p9>,<p10>
Defined values:
Parameter Description
<p1> index of ENGMODEINTRAFREQ
<p2> pccpchRSCP
<p3> utraRssi
<p4> sRxLev
<p5> mcc
<p6> mnc
<p7> lac
<p8> ci
<p9> arfcn
<p10> cellParameterId
Syntax:
URC
+EEMUMTSINTER:<p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>,<p9>,<p10>
Defined values:
Parameter Description
<p1> index of ENGMODEINTERFREQ
<p2> pccpchRSCP
<p3> utraRssi
<p4> sRxLev
<p5> mcc
<p6> mnc
<p7> lac
<p8> ci
<p9> arfcn
<p10> cellParameterId
Syntax:
URC
+EEMUMTSINTERRAT:<p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>,<p9>,<p10>,<p11>
Defined values:
Parameter Description
<p1> index of ENGMODE INTERRAT
<p2> gsmRssi
<p3> rxLev
<p4> C1
<p5> C2
<p6> mcc
<p7> mnc
<p8> lac
<p9> ci
<p10> arfcn
<p11> bsic
Syntax:
URC
+EEMLTESVC: <mcc>,<length of
mnc> ,<mnc>,<tac>,<PCI>,<dlEuarfcn>,<ulEuarfcn>,<band>,<dlBandwidth>,<ci>,<rsrp>,<rsrq>,<sinr>,<MainRsr
p>,<DiversityRsrp>,<MainRsrq>,<DiversityRsrq>,<rssi>,<cqi>,<ErrorModeState>,<emmState>,<serviceState>,<I
sSingleEmmRejectCause>,<EMMRejectCause>,<MmeGroupId>,<MmeCode>,<mTmsi>
Defined values:
Parameter Description
<mcc> Mobile Country Code
<length of mnc> length of mnc
<mnc> Mobile Network Code
<tac> Tracking area code
<PCI> Physical Cell Identifier
<dlEuarfcn> dl arfcn
<ulEuarfcn> ul arfcn
<band> band
<rsrp> rsrp
<rsrq> rsrq
<sinr> sinr
<MainRsrp> Rsrp in main antenna
<DiversityRsrp> Rsrp in slave antenna
<MainRsrq> Rsrq in main antenna
<DiversityRsrq> Rsrq in slave antenna
<rssi> rssi
<cqi> cqi
<ErrorModeState> ErrorModeState
<emmState> emmState
<serviceState> serviceState
<IsSingleEmmRejectCause> IsSingleEmmRejectCause
<EMMRejectCause> EMMRejectCause
<MmeGroupId> MmeGroupId
<MmeCode> MmeCode
<mTmsi> mTmsi
Syntax:
URC
+EEMLTEINTRA: <p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>,<p9>
Defined values:
Parameter Description
<p1> index of ENGMODE INTRAFREQ
<p2> phyCellId
<p3> euArfcn
<p4> rsrp
<p5> rsrq
<p6> mcc
<p7> mnc
<p8> tac
<p9> cellId
Syntax:
URC
+EEMLTEINTER: <p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>,<p9>
Defined values:
Parameter Description
<p1> index of ENGMODE INTERFREQ
<p2> phyCellId
<p3> euArfcn
<p4> rsrp
<p5> rsrq
<p6> mcc
<p7> mnc
<p8> tac
<p9> cellId
Syntax:
URC
+EEMLTEINTERRAT: <p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>,<p9>[,<p10>]
Defined values:
Parameter Description
<p1> networktype (0:GSM,1:UMTS)
<p2> number of INTERRAT
<p3> mcc
<p4> mnc
<p5> lac
<p6> ci
<p7> arfcn(GSM )/uarfcn(UMTS)
<p8> bsic(GSM )/ psc_cellParameterId(UMTS)
<p9> rssi(GSM )/ rscp(UMTS)
<p10> cpichEcN0(UMTS)