L218 at Document V1.0
L218 at Document V1.0
L218 at Document V1.0
Version: V1.0
Date: 2016-09-29
Notice
Some features of the product and its accessories described herein rely on the software installed,
capacities and settings of local network, and therefore may not be activated or may be limited by local
network operators or network service providers.
Thus, the descriptions herein may not exactly match the product or its accessories which you purchase.
Shanghai Mobiletek Communication Ltd reserves the right to change or modify any information or
specifications contained in this manual without prior notice and without any liability.
Copyright
This document contains proprietary technical information which is the property of Shanghai Mobiletek
AL
Communication Ltd. copying of this document and giving it to others and the using or communication of
the contents thereof, are forbidden without express authority. Offenders are liable to the payment of
damages. All rights reserved in the event of grant of patent or the registration of a utility model or design.
ID NQ
All specification supplied herein are subject to change without notice at any time.
DISCLAIMER
TI
ALL CONTENTS OF THIS MANUAL ARE PROVIDED “AS IS”. EXCEPT AS REQUIRED BY
N F LY
Revision History
AL
ID NQ
TI
N F LY
EN
CO
Table of Contents
1 Introduction ....................................................................................................................................... 15
AL
2.2 ATD...........................................................................................................................................................17
2.6
TI
ATL ...........................................................................................................................................................19
2.25 AT+GMR...................................................................................................................................................29
2.26 AT+IPR......................................................................................................................................................29
AL
3.5 AT+CSCS Select TE character set .........................................................................................................33
4.1
TI
Call Control commands ...................................................................................................................... 36
AL
5.19 AT+COPN Read operator name ..........................................................................................................58
6.1 AT+CPAS
TI
MT control and status command ....................................................................................................... 61
AL
7.4 AT+CGQMIN Quality of Service Profile (Minimum acceptable) ........................................................85
7.8
TI
AT +CGCMOD
AT+CGDATA
PDP Context Modify ....................................................................................................87
7.10 AT+CGAUTO Automatic response to network request PDP context activation ...............................89
EN
7.11 AT+CGANS Manual response to a network request for PDP context activation .............................90
AL
10.12 AT+CMGL(PDU mode) List Message ........................................................................................... 116
10.16
TI
AT+CNMA(PDU mode) New Message Acknowledgement to ME/TA ....................................... 118
10.28 AT+EMGR(PDU mode) Read Message (for phone suite) ........................................................... 126
CO
AL
11.15 AT+ACTTEST PDP context activate or deactivate from EM mode............................................. 141
12
TI
STK AT Commands ........................................................................................................................... 147
AL
14.8 URC: +ETESTSIM ................................................................................................................................... 169
17.13 AT+EBTSTATE Query connect manger and profile status .......................................................... 186
AL
17.19 URC: Pair indication +EBTINQ...................................................................................................... 191
17.23
TI
URC: Notify all supported profiles are (de)active +EBTPRFAC .................................................. 193
17.28 URC: Notify BT devices need connect our profile +EBTPRFAU .................................................. 196
19.3 AT+EOPPABORT Abort current OPP transaction with one device ................................................. 200
19.4 URC: Notify when OPP server receive OPP client send request +EOPPRECV ................................... 200
19.5 AT+EOPPACCEPT OPP server decide whether accept push request by OPP client ....................... 201
19.6 URC: Notify when OPP server receive finish +EOPPACCEPT .......................................................... 202
20.2 URC: Notify when finish pulling list +EPBPLIST ............................................................................... 204
20.4 URC: Notify when finish pulling list +EPBPDL ................................................................................. 205
20.6 URC: Notify when finish pulling list +EPBPDLCH ............................................................................. 206
AL
22.1 AT+EHFCLCC ......................................................................................................................................... 210
22.2 URC: Notify when call state changed finish +EHFCIEV ................................................................... 210
ID NQ
22.3 AT+EHFATA........................................................................................................................................... 211
TI
22.4 AT+EHFATD .......................................................................................................................................... 212
22.9 URC: Notify when call state changed finish +EHFVGS.................................................................... 217
22.10 URC: Notify when call state changed finish +EHFCME .............................................................. 217
23.11 URC +GATRREQ: Indicate server that a client has a read request ............................................ 229
23.12 URC +GATWREQ: indicate server that a client has a write request .......................................... 230
23.13 URC +GATEWREQ: indicate server that a client ask server to exec or cancel the write request
indicated (trans_id) before ............................................................................................................................... 231
AL
24.6 AT+ EARST Reset audio setting to factory setting .......................................................................... 237
25.3
TI
AT+ENVREAD
AT+ENVWRITE
Read NVRAM ............................................................................................................. 240
26.2 AT+CSTT Start Task and Set APN, USER NAME, PASSWORD .................................................. 243
26.3 AT+CIICR Bring Up Wireless Connection with GPRS or CSD ..................................................... 244
26.6 AT+CIPSEND Send data through TCP or UDP connection ............................................................. 249
26.13 AT+CIPHEAD Add an IP Head at the Beginning of a Package Received .................................... 259
26.16 AT+SIDET Change the side tone gain level ................................................................................ 261
Copyright© Shanghai MobiletekCommunication Ltd 12
L218 AT DOCUMENT
AL
29.3 AT+FTPTYPE Set the Type of Data to Be Transferred ...................................................................... 271
29.17 AT+FTPSIZE Get the Size of Specified File in FTP Server ............................................................. 283
29.22 AT+FTPGETTOFS Download File and Save in File System ........................................................... 288
29.25 AT+SAPBR Set the info about ftp and active ftp pdp context .................................................... 290
AL
ID NQ
TI
N F LY
EN
CO
1 Introduction
1.1 Overview
This document introduces the supported AT command set of L218 project. The target MP
branch is L218 related product and after.
We don‘t suggest using proprietary command in a multiple command. There might be abnormal
situation occurs.
1.2 References
AL
[1] 3GPP TS 27.007 V3.13.0 (2003-03)
[2] ETSI TS 27.005 V3.1.0 (2000-01)
ID NQ
[3] ITU-T V.25 ter (07/1997)
TI
N F LY
EN
CO
2 V.25ter AT Commands
2.1 ATA
2.1.1 Format
AL
2.1.2 Field
2.1.3 Response
ERROR
2.2 ATD
Initiates a phone connection, which may be data, facsimile (+FCLASS> 0), or voice (phone
number terminated by semicolon). The phone number used to establish the connection will consist
of digits and modifiers, or a stored number specification. ATD memory dial can originate call to
phone number in entry location <n> (the memory storage of +CPBS setting will be used.). ATDL is
used to dial LDN(last dialed number) and it will always dial as voice call.
2.2.1 Format
AL
2.2.2 Field
2.2.3 Response
2.2.4 Note
The ATD abortability described in V.25 5.6.1 is implemented, except for the ATD memory
dial.Aborting of the command is accomplished by the transmission from the DTE to the DCE of any
character before the response. In UCM project , ATD command will sent to MMI for SYNC
2.3 ATE
The setting of this parameter determines whether or not the DCE echoes characters received
from the DTE during command state and online command state.
AL
2.3.1 Format
Type
TI
Short name Parameter/comment
Integer value 0 DCE does not echo characters
N F LY
2.3.3 Response
Execution command : OK
2.4 ATH
CO
Terminates a connection.
2.4.1 Format
2.4.2 Response
2.4.3 Note
In non-UCM projects (excluding Neptune Gemini with BT supported) projects, ATH can only
hang up the call from the same source. In UCM project , ATH command will sent to MMI for SYNC
2.5 ATI
AL
Request Identification Information.
ID NQ
2.5.1 Format
TI
Execution command : ATI[<value>]
N F LY
2.5.2 Field
EN
Type Short name Parameter/comment
Integer value used to select from among multiple types of identifying
information
String text product information
2.5.3 Response
2.6 ATL
CO
2.6.1 Format
2.6.2 Field
2.6.3 Response
Execution command : OK
AL
2.6.4 Note
1. Do not use this command several times in the multiple command in the modem load
ID NQ
project because it is not reasonable and might cause unexpected result due to our SW
TI
architecture design. Ex. ATLLLLLLLLLLLLLLLLLLLL
2.7 ATO
N F LY
EN
Switch from on-line command mode to on-line data mode during an active call. Returns
ERROR when not in on-line command mode.
2.7.1 Format
2.7.2 Field
2.7.3 Response
2.8 ATP
2.9 ATQ
AL
Set result code suppression mode.
ID NQ
2.9.1 Format TI
Execution command : ATQ[<value>]
2.9.2 Field
N F LY
EN
Type Short name Parameter/comment
Integer value 0 DCE transmits result codes.
1 Result codes are suppressed and not transmitted.
2.9.3 Response
Execution command :
OK If value is 0.
(none) If value is 1 (because result codes are suppressed).
ERROR For unsupported values (if previous value was Q0).
(none) For unsupported values (if previous value was Q1).
CO
2.9.4 Note
N/A
2.10 ATS0
Automatic answer.
This S-parameter controls the automatic answering feature of the DCE. If set to 0, automatic
answering is disabled. If set to a non-zero value, the DCE shall cause the DCE to answer when the
incoming call indication (ring) has occurred the number of times indicated by the value.
AL
2.10.1 Format
Execution command : OK
2.10.4 Note
In GEMINI architecture, the setting of ATS0 applies both on SIM1 and SIM2.
2.11 ATS3
CO
2.11.1 Format
2.11.2 Field
AL
2.11.3 Response
part of the header, trailer, and terminator for result codes and information text, along with the S3
EN
parameter (see the description of the V parameter for usage).
2.12.1 Format
2.12.2 Field
2.12.3 Response
2.13 ATS5
2.13.1 Format
2.13.2 Field
AL
Type Short name Parameter/comment
Integer value 8 Backspace character (BS, IA5 0/8).
0 to 127 Set command line editing character to this value.
ID NQ
2.13.3 Response
TI
Execution command : OK or ERROR
N F LY
EN
2.14 ATS6
2.15 ATS7
2.15.1 Format
2.15.2 Field
2.15.3 Response
2.16 ATS8
AL
Comma dial modifier time.
This parameter specifies the amount of time, in seconds, that the DCE shall pause, during
signaling of call addressing information to the network (dialing), when a "," (comma) dial modifier is
ID NQ
encountered in a dial string.
2.16.1 Format
TI
N F LY
2.16.3 Response
CO
2.17 ATS10
connected to the line (off-hook) after the DCE has indicated the absence of received line signal. If
the received line signal is once again detected before the time specified in S10 expires, the DCE
remains connected to the line and the call continues.
2.17.1 Format
2.17.2 Field
AL
2.17.3 Response
ID NQ
TI
Execution command : OK or ERROR
2.18 ATT
N F LY
EN
We do not support.
This setting is ignored.
2.19 ATV
2.19.1 Format
2.19.2 Field
CO
2.19.3 Response
Execution command : OK
2.20 ATX
The setting of this parameter determines whether or not the DCE transmits particular result
codes to the DTE. It also controls whether or not the DCE verifies the presence of dial tone when it
first goes off-hook to begin dialing, and whether or not engaged tone (busy signal) detection is
enabled.
However, this setting has no effect on the operation of the W dial modifier, which always checks for
dial tone regardless of this setting, nor on the busy signal detection capability of the W and @dial
AL
modifiers. See Table.
2.20.1 Format
ID NQ
Execution command : ATX[<value>]
TI
2.20.2 Field
N F LY
2.20.3 Response
2.21 ATZ
2.21.1 Format
AL
2.21.2 Field
2.21.3 Response
N F LY
EN
Execution command : OK or ERROR
2.22 AT&F
2.22.1 Format
2.22.2 Field
CO
2.22.3 Response
2.23 AT+GMI
Same as AT+CGMI
2.24 AT+GMM
Same as AT+CGMM
AL
2.25 AT+GMR
Same as AT+CGMR
ID NQ
2.26 AT+IPR
TI
Specifies the data rate, in addition to 1200 bits/s or 9600 bits/s, at which the DCE will accept
N F LY
commands. May be used to select operation at rates at which the DCE is not capable of
EN
automatically detecting the data rate being used by the DTE.
2.26.1 Format
2.26.2 Field
is forced to auto-detect
(AT+ICF=0)
2.26.3 Response
Execution command : OK
Read command : +IPR: <rate>
Test command : +IPR: (list of supported <rate>s)
AL
AT+IFC Set TE-TA Local Data Flow Control
OK
N F LY
Or
Error
Write Command Response
AT+IFC=[<dce_by_dte>[,<dte_by_
dce>]] OK
Or
CO
ERROR
Reference Note
Parameters
Parameters Description
<dce_by_dte> Specifies the method will be used by TE at receive of data
from TA
0 No flow control
1 Software flow control
2 Hardware flow control
<dte_by_dce> Specifies the method will be used by TA at receive of data
from TE
0 No flow control 批注 [11]: 1112222
1 Software flow control
2 Hardware flow control
AL
Example:
Commands Response
ID NQ
AT+IFC?
TI +IFC: 0, 0
OK
N F LY
EN
2.28 AT+GCAP
2.28.1 Format
2.28.2 Response
OK
Test command : OK
3 General commands
The command causes the phone to return one or more lines of information text <manufacturer>
which is intended to permit the user of the ITAE/ETAE to identify the manufacturer of the phone to
which it is connected to.
3.1.1 Format
AL
Command Possible response(s)
+CGMI <manufacturer>
+CME ERROR: <err>
ID NQ
+CGMI=? TI
3.2 AT+CGMM Request model identification
N F LY
EN
The command causes the phone to return one or more lines of information text <model>
which is intended to permit the user of the ITAE/ETAE to identify the specific model of phone
to which it is connected to.
3.2.1 Format
The command causes the phone to return a string containing information regarding SW
version.
3.3.1 Format
+CGMR <revision>
+CME ERROR: <err>
+CGMR=?
3.4.1 Format
AL
+CGSN <serial number> <CR><LF>
<IMEI>
+CME ERROR: <err>
+CGSN=?
ID NQ
3.5 AT+CSCS
TI Select TE character set
N F LY
Set command informs TA which character set <chset> is used by the TE. TA is then able to
EN
convert character strings correctly between TE and MT character sets.
3.5.1 Format
3.5.2 Field
"GSM" GSM 7 bit default alphabet (3GPP TS 23.038); this setting causes easily software
CO
strings are converted to hexadecimal numbers from 0000 to FFFF; e.g. "004100620063"
equals three 16-bit characters with decimal values 65, 98 and 99
"8859-1" ISO 8859 Latin character set
"UCS2_08X1" The supported parameters are subject to change according to different compile
directives (options).
3.6.1 Format
AL
Command Possible response(s)
+CLAC <AT
Command1>[<CR><LF>
ID NQ
<AT Command2>[…]]
TI
+CME ERROR: <err>
+CLAC=? +CME ERROR: <err>
N F LY
3.6.2 Field
EN
<AT Command>:
Defines the AT command including the prefix AT. Text shall not contain the sequence
0<CR> or OK<CR>
3.6.3 Note
Execution command causes the TA to return <IMSI>, which is intended to permit the TE to
identify the individual SIM which is attached to ME. Refer [1] 9.2 for possible <err> values.
Copyright© Shanghai MobiletekCommunication Ltd 34
L218 AT DOCUMENT
3.7.1 Format
AL
ID NQ
TI
N F LY
EN
CO
Selects the type of number for further dialing commands (D) according to GSM/UMTS
specifications.
4.1.1 Format
AL
+CSTA=[<type>]
+CSTA? +CSTA: <type>
+CSTA=? +CSTA: (list of supported <type>s)
ID NQ
4.1.2 Field
TI
N F LY
<type>: type of address octet in integer format (refer 3GPP TS 24.008 [8] subclause 10.5.4.7);
EN
default 145 when dialing string includes international access code character "+", otherwise 129
4.1.3 Note
If ‗+‘ appears at the beginning of <dial string>, the TON to network is set to 145, otherwise we
use the setting of +CSTA.
4.2.1 Format
CO
4.2.2 Note
In non-UCM projects (excluding Neptune Gemini with BT supported) projects, AT+CHUP can
only hang up the call from the same source. In UCM project , this command will sent to MMI for
SYNC
Selects the bearer service <name> with the data rate <speed>, and the connection element <ce>
to be used when data calls are made. Values may also be used during mobileterminated data-call
setup, especially in the case of single numbering-scheme calls.
AL
4.3.1 Format
<speed>:
0 auto bauding (automatic selection of the speed; this setting is possible in case of 3.1
kHz modem and non-transparent service)
4 2400 bps (V.22bis)
5 2400 bps (V.26ter)
6 4800 bps (V.32)
7 9600 bps (V.32)
12 9600 bps (V.34)
14 14400 bps (V.34)
68 2400 bps (V.110 or X.31 flag stuffing)
70 4800 bps (V.110 or X.31 flag stuffing)
CO
4.3.3 Note
AL
<name> = 2 and 3 are not supported
.
ID NQ
TI
4.4 AT+CR Service reporting control
Set command controls whether or not intermediate result code +CR: <serv> is returned from the
EN
TA to the TE. If enabled, the intermediate result code is transmitted at the point during
connect negotiation at which the TA has determined which speed and quality of service will be
used, before any error control or data compression reports are transmitted, and before the
intermediate result code CONNECT is transmitted.
4.4.1 Format
4.4.2 Field
<mode>:
0 disables reporting
1 enables reporting
<serv>:
ASYNC asynchronous transparent
Execution command causes the TA to return one or more lines of information text <report>,
which 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;
4.5.1 Format
AL
Command Possible response(s)
+CEER +CEER: <cause>, <report>
+CEER=?
ID NQ
4.5.2 Field
TI
N F LY
Note: For error cause other than those listed in GSM 04.08 annex H.
+CEER: 128 ,"ERROR_CAUSE_UNKNOWN" will be given.
If there is no error happened , +CEER: 0 ,"NONE" will be given.
Set command controls whether or not the extended format of incoming call indication or
GPRS network request for PDP context activation is used. When enabled, an incoming call is
indicated to the TE with unsolicited result code +CRING: <type> instead of the normal RING.
4.6.1 Format
CO
4.6.2 Field
<mode>:
0 disables extended format
1 enables extended format
<type>:
ASYNC asynchronous transparent
SYNC synchronous transparent
REL ASYNC asynchronous non-transparent
REL SYNC synchronous non-transparent
FAX facsimile (TS 62)
VOICE normal voice (TS 11)
VOICE/XXX voice followed by data (BS 81)
AL
(XXX is ASYNC, SYNC, REL ASYNC or REL SYNC)
ALT VOICE/XXX alternating voice/data, voice first (BS 61)
ALT XXX/VOICE alternating voice/data, data first (BS 61)
ALT VOICE/FAX alternating voice/fax, voice first (TS 61)
ID NQ
ALT FAX/VOICE alternating voice/fax, fax first (TS 61).
TI
GPRS GPRS network request for PDP context activation
4.7.1 Format
4.7.2 Field
CO
<mode>:
0 voice
1 alternating voice/fax, voice first (TS 61)
2 fax (TS 62)
3 alternating voice/data, voice first (BS 61)
4 data
Set command selects whether ATH or "drop DTR" shall cause a voice connection to be
disconnected or not. By voice connection is also meant alternating mode calls that are
currently in voice mode.
4.8.1 Format
AL
+CVHU=[<mode>]
+CVHU? +CVHU:<mode>
+CVHU=? +CVHU:(list of supported <mode>s)
ID NQ
4.8.2 Field
TI
N F LY
<mode>:
EN
0 - "Drop DTR" ignored but OK response given. ATH disconnects.
1 - "Drop DTR" and ATH ignored but OK response given.
CO
returns the MSISDNs related to the subscriber (this information can be stored in the
SIM/UICC or in the MT).
5.1.1 Format
AL
+CNUM +CNUM:
[<alpha1>],<number1>,<type1>
[<CR><LF>+CNUM:
ID NQ
[<alpha2>],<number2>,<type2>]
+CNUM=?
TI
[...]]
+CME ERROR: <err>
N F LY
EN
5.2 AT+CREG Network Registration
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>[,<AcT>]] 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>,<ci> and <Act> are returned only when <n>=2 and MT is
registered in the network.
5.2.1 Format
+CREG=[<n>]
+CREG? +CREG:
<n>,<stat>[,<lac>,<ci>[,<Act>]]
+CME ERROR: <err>
+CREG=? +CREG: (list of supported <n>s)
5.2.2 Field
<n>:
0 disable network registration unsolicited result code
1 enable network registration unsolicited result code +CREG: <stat>
2 enable network registration and location information unsolicited result code
+CREG: <stat>[,<lac>,<ci>,[<Act>]]
<stat>:
0 not registered, MT is not currently searching a new operator to register to
1 registered, home network
2 not registered, but MT is currently searching a new operator to register to
3 registration denied
4 unknown
AL
5 registered, roaming
<lac>: string type; two byte location area code in hexadecimal format (e.g. "00C3" equals 195
in decimal)
<ci>: string type; four byte cell ID in hexadecimal format
ID NQ
<Act>: TI
0 GSM
2 UTRAN
3 GSM w/EGPRS
N F LY
4 UTRAN w/HSDPA
EN
5 UTRAN w/HSUPA
6 UTRAN w/HSDPA and HSUPA
5.2.3 Note
N/A
CO
Set command forces an attempt to select and register the GSM/UMTS network operator. If the
selected operator is not available, ERROR is returned.
Read command returns the current mode, the currently selected operator.
Test command returns operator list present in the network.
5.3.1 Format
AL
supported
<format>s)]
+CME ERROR: <err>
ID NQ
5.3.2 Field
TI
<mode>:
N F LY
<Act>
0 GSM
2 UTRAN
5.3.3 Note
N/A
We DO NOT support full set of alphanumeric format of <oper>, since the code size
will become very large. If the customer needs the alphanumeric format, the table
can be customized in mcu\custom\common\customer_operator_names.c.
+COPS? response is not alphanumeric format when setting with alphanumeric format
AL
example:
+COPS: 0,0," KG Telecom Co."
If you got +COPS: 0,0,"46688"
This is possibly due to there is no alphanumeric format name mapping to the operator id
ID NQ
----------------------------------------------------------------------
TI
You can define operator name table in the following file under custom folder.
mcu\custom\common\customer_operator_name.c
Please check if there is operator name mapping in the name table.
If not , Please add your operator name and operator id
N F LY
EN
There is comment information in the file to guide you .
Please read the guide before modification.
After modification .then 'remake custom'
There are two places shall be modified
1. RMMI_PLMN_NAME_ENTRIES
2. rmmi_plmn_table
<mode>=2 supported in projects with __NW_DETACH_SUPPORT__ option. (available
after W1012)
5.4.1 Format
CO
5.4.2 Field
<fac> : "PF","SC","AO","OI","OX","AI","IR","AB","AG","AC","PN","PU","PP","PC"
<mode>:
0 unlock
1 lock
2 query status (only "SC", "AO", "OI", "OX", "AI", "IR" support query mode)
<status>:
0 not active
AL
1 active
<passwd>: string type
<classx> is a sum of integers each representing a class of information (default 7):
1 voice (telephony)
ID NQ
2 data (refers to all bearer services)
TI
4 fax (facsimile services)
8 short message service
16 data circuit sync
32 data circuit async
N F LY
5.4.3 Note
N/A
The <fac> "AB", "AG" and "AC" are applicable only for <mode>=0
CO
Action command sets a new password for the facility lock function defined by command
Facility Lock +CLCK..
5.5.1 Format
5.5.2 Field
<fac>:
"P2" SIM PIN2
AL
refer Facility Lock +CLCK for other values
Requests calling line identification. Determines if the +CLIP unsolicited result code is activated.
EN
When the presentation of the CLI at the TE is enabled (and calling subscriber allows), +CLIP:
<number>,<type>[,<subaddr>,<satype>] response is returned after
every RING.
5.6.1 Format
5.6.2 Field
CO
<n> (parameter sets/shows the result code presentation status to the TE):
0 disable
1 enable
<m> (parameter shows the subscriber CLIP service status in the network):
0 CLIP not provisioned
1 CLIP provisioned
2 unknown (e.g. no network, etc.)
Copyright© Shanghai MobiletekCommunication Ltd 47
L218 AT DOCUMENT
5.7.1 Format
AL
+CLIR? +CLIR: <n>,<m>
+CLIR=? +CLIR: (list of supported <n>s)
ID NQ
5.7.2 Field
TI
<n> (parameter sets the adjustment for outgoing calls):
N F LY
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 mobile originated call. The command enables or
CO
disables the presentation of the COL at the TE. It has no effect on the execution of the
supplementary service COLR in the network.
When enabled (and called subscriber allows), +COLP:
<number>,<type>[,<subaddr>,<satype> [,<alpha>]] intermediate result code is
returned from TA to TE before any +CR or V.250 [14] responses.
5.8.1 Format
5.8.2 Field
<n> (parameter sets/shows the result code presentation status to the TE):
0 disable
1 enable
AL
<m> (parameter shows the subscriber COLP service status in the network):
0 COLP not provisioned
1 COLP provisioned
ID NQ
2 unknown (e.g. no network, etc.)
TI
<number>, <type>, <subaddr>, <satype>, <alpha>: refer +CLIP
5.9.1 Format
5.9.2 Field
CO
<n>:
0 disable CUG temporary mode
1 enable CUG temporary mode
<index>:
0...9 CUG index
10 no index (preferred CUG taken from subscriber data)
<info>:
Copyright© Shanghai MobiletekCommunication Ltd 49
L218 AT DOCUMENT
0 no information
1 suppress OA
2 suppress preferential CUG
3 suppress OA and preferential CUG
Sets the call forwarding number and conditions. Registration, erasure, activation, deactivation
and status query operations are supported.
5.10.1 Format
AL
+CCFC=<reason>,<mode> +CME ERROR: <err>
[,<number> when <mode>=2 and command
[,<type> successful:
ID NQ
[,<class> TI +CCFC:
[,<subaddr> <status>,<class1>[,<number>,<type>
[,<satype> [,<subaddr>,<satype>[,<time>]]][
[,<time>]]]]]] <CR><LF>+CCFC:
<status>,<class2>[,<number>,<type>
N F LY
[,<subaddr>,<satype>[,<time>]]]
EN
[...]]
+CCFC=? +CCFC: (list of supported <reason>s)
5.10.2 Field
<reason>:
0 unconditional
1 mobile busy
2 no reply
3 not reachable
4 all call forwarding (refer 3GPP TS 22.030 [19])
5 all conditional call forwarding (refer 3GPP TS 22.030 [19])
CO
<mode>:
0 disable
1 enable
2 query status
3 registration
4 erasure
<number>: string type phone number of forwarding address in format specified by <type>
<type>: type of address
Copyright© Shanghai MobiletekCommunication Ltd 50
L218 AT DOCUMENT
AL
call is forwarded
<status>:
0 not active
ID NQ
1 active
TI
5.11 AT+CCWA Call waiting
N F LY
This command allows control of the Call Waiting supplementary service. Activation,
EN
deactivation and status query are supported. Parameter <n> is used to disable/enable the
presentation of an unsolicited result code +CCWA: <number>,<type>,<class> to the TE
when call waiting service is enabled.
5.11.1 Format
5.11.2 Field
1 enable
<mode> (when <mode> parameter is not given, network is not interrogated):
0 disable
1 enable
2 query status
<classx> is a sum of integers each representing a class of information (default 7):
1 voice (telephony)
2 data (refers to all bearer services)
4 fax (facsimile services)
8 short message service
16 data circuit sync
32 data circuit async
64 dedicated packet access
128 dedicated PAD access
AL
<status>:
0 not active
1 active
ID NQ
<number>: string type phone number of calling address in format specified by <type>
TI
<type>: type of address octet in integer format (refer TS 24.008 [8] subclause 10.5.4.7)
5.12.1 Format
5.12.2 Field
CO
4 Connects two calls and disconnects the subscriber from both calls
5 Activate the Completion of Calls to Busy Subscriber Request. (CCBS)
This refers to a service that causes an incoming alerting call to be forwarded to a specified
number.
5.13.1 Format
AL
5.13.2 Field
ID NQ
TI
<number>: string type phone number of format specified by <type>
<type>: type of address
<subaddr>: string type subaddress of format specified by <satype>
N F LY
<satype>: type of subaddress octet in integer format (refer TS 24.008 [8] subclause 10.5.4.8);
EN
default 128
Allows control of the Unstructured Supplementary Service Data (USSD). Both network- and
mobile-initiated operations are supported. This command is used to enable the unsolicited
result code +CUSD.
5.14.1 Format
5.14.2 Field
<n>:
0 disable the result code presentation to the TE
AL
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
ID NQ
setup, intermediate result code +CSSI: <code1>[,<index>] is sent to TE before any other MO call
TI
setup result codes presented in the present document or in V.250 [14]. 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
N F LY
call setup or during a call, or when a forward check supplementary service notification is received,
EN
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.
5.15.1 Format
5.15.2 Field
<n> (parameter sets/shows the +CSSI result code presentation status to the TE):
0 disable
1 enable
<m> (parameter sets/shows the +CSSU result code presentation status to the TE):
0 disable
Copyright© Shanghai MobiletekCommunication Ltd 54
L218 AT DOCUMENT
1 enable
<code1> (it is manufacturer specific, which of these codes are supported):
0 unconditional call forwarding is active
1 some of the conditional call forwardings are active
2 call has been forwarded
3 call is waiting
4 this is a CUG call (also <index> present)
5 outgoing calls are barred
6 incoming calls are barred
7 CLIR suppression rejected
8 call has been deflected
<index>: refer "Closed user group +CCUG"
<code2> (it is manufacturer specific, which of these codes are supported):
0 this is a forwarded call (MT call setup)
AL
1 this is a CUG call (also <index> present) (MT call setup)
2 call has been put on hold (during a voice call)
3 call has been retrieved (during a voice call)
ID NQ
4 multiparty call entered (during a voice call)
TI
5 call on hold has been released (this is not a SS notification) (during a voice call)
6 forward check SS message received (can be received whenever)
7 call is being connected (alerting) with the remote party in alerting state
in explicit call transfer operation (during a voice call)
N F LY
8 call has been connected with the other remote party in explicit call transfer operation
EN
(also number
and subaddress parameters may be present) (during a voice call or MT call setup)
9 this is a deflected call (MT call setup)
10 sdditional incoming call forwarded
<number>: string type phone number of format specified by <type>
<type>: type of address octet in integer format (refer TS 24.008 [8] subclause 10.5.4.7)
<subaddr>: string type subaddress of format specified by <satype>
<satype>: type of subaddress octet in integer format (refer TS 24.008 [8] subclause 10.5.4.8)
Returns list of current calls of ME. If command succeeds but no calls are available, no
information response is sent to TE.
CO
5.16.1 Format
<number>,<type>]
[...]]]
+CME ERROR: <err>
+CLCC=?
5.16.2 Field
<idx>: integer type; call identification number as described in 3GPP TS 22.030 [19] subclause
4.5.5.1;
this number can be used in +CHLD command operations
<dir>:
0 mobile originated (MO) call
AL
1 mobile terminated (MT) call
<stat> (state of the call):
0 active
1 held
ID NQ
2 dialing (MO call)
TI
3 alerting (MO call)
4 incoming (MT call)
5 waiting (MT call)
<mode> (bearer/teleservice):
N F LY
EN
0 voice
1 data
2 fax
3 voice followed by data, voice mode
4 alternating voice/data, voice mode
5 alternating voice/fax, voice mode
6 voice followed by data, data mode
7 alternating voice/data, data mode
8 alternating voice/fax, fax mode
9 unknown
<mpty>:
0 call is not one of multiparty (conference) call parties
1 call is one of multiparty (conference) call parties
<number>: string type phone number in format specified by <type>
CO
<type>: type of address octet in integer format (refer TS 24.008 [8] subclause 10.5.4.7)
This command is used to edit the SIM preferred list of networks. Execute command writes an
entry in the SIM list of preferred operators (EFPLMNsel). If <index> is given but <oper> is left out,
entry is deleted. If <oper> is given but <index> is left out, <oper> is put in the next free
location. If only <format> is given, the format of the <oper> in the read command is changed.
5.17.1 Format
AL
<GSM_Com
pact_AcT1>,<UTRAN_AcT1>]
[<CR><LF>+CPOL:
<index2>,<format>,<oper2>[,<GSM_AcT2
ID NQ
TI >,
<GSM_Com
pact_AcT2>,<UTRAN_AcT2>]
[...]]
+CME ERROR: <err>
N F LY
EN
+CPOL=? +CPOL: (list of supported <index>s),
(list of supported <format>s)
+CME ERROR: <err>
5.17.2 Field
<indexn>: integer type; the order number of operator in the SIM/USIM preferred operator list
<format>:
0 long format alphanumeric <oper>
1 short format alphanumeric <oper>
2 numeric <oper>
<opern>: string type; <format> indicates if the format is alphanumeric or numeric (see +COPS)
<GSM_AcTn>: GSM access technology:
CO
This command is used to select one PLMN selector with Access Technology list in the SIM card or active
application in the UICC (GSM or USIM), that is used by +CPOL command. Execute command selects a list in
the SIM/USIM. Read command returns the selected PLMN selector list from the SIM/USIM. Test command
returns the whole index range supported lists by the SIM/USIM
5.18.1 Format
AL
+CPLS? +CPLS: <list>
+CPLS=? +CPLS: <list of supported<lis>s>
+CME ERROR: <err>
ID NQ
5.18.2 Field
TI
N F LY
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.
5.19.1 Format
CO
5.19.2 Field
The execute command is used to change the default priority level of the user in the network.
The requested priority level is checked against the eMLPP subscription of the user stored on the SIM
card or in the active application in the UICC (GSM or USIM) EFeMLPP. If the user doesn't have
subscription for the requested priority level an ERROR or +CMEE ERROR
result code is returned.
AL
The read command triggers an interrogation of the provision of the maximum priority level
which the service subscriber is allowed to use and default priority level activated by the user.
If the service is not provisioned, a result code including the SS-Status (?) parameter is returned.
ID NQ
5.20.1 Format TI
Command Possible Response(s)
+CAEMLPP=<priority> +CME ERROR: <err>
N F LY
+CAEMLPP? +CAEMLPP:
EN
<default_priority>,<max_priority>
+CME ERROR: <err>
+CAEMLPP=?
5.20.2 Field
<priority>: integer type parameter which identifies the default priority level to be activated in the
network, values specified in 3GPP TS 22.067 [54]
<default_priority>: integer type parameter which identifies the default priority level which is
activated in the network, values specified in 3GPP TS 22.067 [54]
<max_priority>: integer type parameter which identifies the maximum priority level for which
the service subscriber has a subscription in the network, values specified in 3GPP TS 22.067
[54].
CO
Select the cellular network (Wireless Data Service; WDS) to operate with the TA. This
command may be used when TA is asked to indicate the networks in which it can operate.
5.21.1 Format
5.21.2 Field
<n>:
25 3GPP Systems (both GERAN and UTRAN)
AL
ID NQ
TI
N F LY
EN
CO
Returns the activity status <pas> of the ME. It can be used to interrogate the ME before
requesting action from the phone. If the command is executed without the <mode> parameter,
only <pas> values from 0 to 128 are returned. If the <mode> parameter is included in the
execution command, <pas> values from 129 to 255 may also be returned.
6.1.1 Format
AL
Command Possible response(s)
+CPAS +CPAS: <pas>
ID NQ
+CME ERROR: <err>
+CPAS=?
TI
+CPAS: (list of supported <pas>s)
+CME ERROR: <err>
N F LY
6.1.2 Field
EN
<pas>:
0 ready (MT allows commands from TA/TE)
1 unavailable (MT does not allow commands from TA/TE)
2 unknown (MT is not guaranteed to respond to instructions)
3 ringing (MT is ready for commands from TA/TE, but the ringer is active)
4 call in progress (MT is ready for commands from TA/TE, but a call is in progress)
5 asleep (MT is unable to process commands from TA/TE because it is in a low
functionality state)
AT+CFUN = 0 turn off radio and SIM power. (supported only for feature phone with feature
CO
option)
AT+CFUN = 1, 1 or AT+CFUN=4,1 can reset the target. (supported only for feature phone)
AT+CFUN = 1 can enter normal mode. (supported only for module solution)
AT+CFUN = 4 can enter flight mode. (supported only for module solution)
6.2.1 Format
6.2.2 Field
AL
0 minimal functionality, turn off radio and SIM power.
<rst> : 0 do not reset the MT before setting it to <fun> power level
1 reset the MT before setting it to <fun> power level
ID NQ
6.2.3 Note
TI
6.2.3.1 Change History
N F LY
EN
N/A
The supported parameters are subject to change according to different compile directives
(options).
AT+CFUN=1,1 or AT+CFUN=4,1 can only reset the target, not fully compliable with 27.007
<fun> = 0,1,4 only supported in projects with __ATCFUN_FLIGHTMODE_SUPPORT__ option.
Set command sends to the ME a password which is necessary before it can be operated
(SIM PIN, SIM PUK, PH-SIM PIN, etc.). If the PIN is to be entered twice, the TA shall
CO
automatically repeat the PIN. If no PIN request is pending, no action is taken towards ME
and an error message, +CME ERROR, is returned to TE. Refer [1] 9.2 for possible <err>
values.
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.
6.3.1 Format
6.3.2 Field
AL
<code> values reserved by the present document:
READY MT is not pending for any password
SIM PIN MT is waiting SIM PIN to be given
ID NQ
SIM PUK MT is waiting SIM PUK to be given
TI
PH-SIM PIN MT is waiting phone to SIM card password to be given
PH-FSIM PIN MT is waiting phone-to-very first SIM card password to be given
PH-FSIM PUK MT is waiting phone-to-very first SIM card unblocking password to be given
SIM PIN2 MT is waiting SIM PIN2 to be given
N F LY
Execution and read command returns battery connection status <bcs> and battery level <bcl>
of the ME.
6.4.1 Format
6.4.2 Field
<bcs>:
0 MT is powered by the battery
1 MT has a battery connected, but is not powered by it
2 MT does not have a battery connected
3 Recognized power fault, calls inhibited
AL
<bcl>:
0 battery is exhausted, or MT does not have a battery connected
1...100 battery has 1 100 percent of capacity remaining
ID NQ
6.5 AT+CSQ Signal Quality
TI
The command returns received signal strength indication <rssi> and channel bit error rate
<ber> from the ME.
N F LY
EN
6.5.1 Format
6.5.2 Field
<rssi>:
0 113 dBm or less
1 111 dBm
CO
Set command selects the equipment, which operates MT keypad, writes to MT display and sets
MT indicators. If operation mode is not allowed by the MT, +CME ERROR: <err> is returned.
Test command returns the modes supported as compound values.
6.6.1 Format
AL
+CMEC=? +CMEC: (list of supported <keyp>s),(list of
supported <disp>s),(list of supported <ind>s)
ID NQ
6.6.2 Field TI
<keyp>:
0 MT can be operated only through its keypad (execute command of +CKPD cannot be used)
N F LY
6.6.3 Note
CO
N/A
6.7.1 Format
AL
<ind>s)) [,(<descr>,(list of supported
<ind>s))[,...]]
+CME ERROR: <err>
ID NQ
6.7.2 Field
TI
<ind>: integer type value, which shall be in range of corresponding <descr>
N F LY
<descr> values reserved by the present document and their <ind> ranges:
EN
"battchg" battery charge level (0 5)
"signal" s ignal quality (0 5)
"service" service availability (0 1)
"message" message received (0 1)
"call" call in progress (0 1)
"roam" roaming indicator (0 1)
"call setup" call setup indicator(0 3)
"smsfull" a short message memory storage in the MT has become full(1) or
memory locations are available (0)
6.7.3 Note
N/A
"call setup" is proprietary defined in MTK solution and only used when BT supported.
6.8.1 Format
6.8.2 Field
AL
<ind>: integer type value
9: NITZ date/time/timezone information
+CIEV: 9,<UT>,<TZ>[,<DST>]
<UT> , Universal Time , String type
ID NQ
"YY/MM/DD,HH:MM:SS"
TI
<TZ>: Local Time Zone, Integer type
ex: +4 or -4
<DST>: Daylight Saving Time , Integer type
N F LY
1: Summer time
EN
0: Winter time
ex: +CIEV: 9,"09/05/16,16:56:00",-28,1
6.8.3 Note
Set command enables or disables sending of unsolicited result codes from TA to TE in the case
of key pressings, display changes, and indicator state changes.
Test command returns the modes supported as compound values.
CO
6.9.1 Format
<mode>,<keyp>,<disp>,<ind>,<bfr>
+CMER=? +CMER: (list of supported <mode>s),(list of
supported <key>s),(list of supported
<disp>s), (list of supported <ind>s),(list of
supported <bfr>s), (list of supported
<tscrn>s)
6.9.2 Field
AL
1 discard unsolicited result codes when TA-TE link is reserved (e.g. in on-line data
mode); otherwise forward them directly to the TE
2 buffer unsolicited result codes in the TA when TA-TE link is reserved (e.g. in on-line
data mode) and flush them to the TE after reservation; otherwise forward them
ID NQ
directly to the TE
TI
3 forward unsolicited result codes directly to the TE; TA-TE link specific inband
technique used to embed result coses and data when TA is in on-line data mode
<keyp>: integer type
0 no keypad event reporting
N F LY
EN
1 keypad event reporting using result code +CKEV: <key>, <press>, <key> indicates
the key (refer IRA values defined in table in subclause "Keypad control +CKPD") and
<press> if the key is pressed or released (1 for pressing and 0 for releasing). Only
those key pressing, which are not caused by +CKPD shall be indicated by the TA to
the TE.
NOTE 1: When this mode is enabled, corresponding result codes of all keys currently pressed
should be flushed to the TA regardless of <bfr> setting.
2 Keypad event reporting using result code +CKEV: <key>, <press>. All key pressings
shall be directed from TA to TE.
NOTE 2: When this mode is enabled, corresponding result codes of all keys currently pressed
should be flushed to the TA regardless of <bfr> setting.
<disp>: integer type
0 no display event reporting
<ind>: integer type
CO
0 TA buffer of unsolicited result codes defined within this command is cleared when
<mode> 1...3 is entered
1 TA buffer of unsolicited result codes defined within this command is flushed to the TE
when <mode> 1...3 is entered (OK response shall be given before flushing the codes)
<tscrn>:
0 no touch screen event reporting
1 touch screen event reporting using result code +CTEV: <action>,<x>,<y>. The
<x>,<y> parameters indicate the x, y coordinates on the touch screen device (as
specified for +CTSA), and <action> indicates the action performed on the screen (0
for screen released, 1 for screen depressed, 2 for single tap, and 3 for double tap).
Only those touch screen events, which are not caused by +CTSA shall be indicated
by the TA to the TE.
NOTE 3: When this mode is enabled, corresponding result codes of all touch screen
actions should be flushed to the TA regardless of <bfr> setting.
AL
2 touch screen event reporting using result code +CTEV: <action>, <x>, <y>. All touch
screen events shall be directed from the TA to the TE.
NOTE 4: When this mode is enabled, corresponding result codes of all touch screen
ID NQ
actions should be flushed to the TA regardless of <bfr> setting.
TI
3 Verbose mode. Touch screen event reporting using +CTEV: <action>,<x>,<y>. This is
a special mode where intermediate depressed result codes (+CTEV:
<x>,<y>,depressed) are generated for each new <x>,<y> coordinate detected while a
user is dragging a touch to a new location. All other touch screen actions shall be
N F LY
directed from the TA to the TE normally. Only those touch screen events which are not
EN
caused by +CTSA shall be indicated by the TA to the TE.
NOTE 5: When this mode is enabled, corresponding result codes of all touch screen
actions should be flushed to the TA regardless of <bfr> setting.
6.9.3 Note
We don‘t support set command of +CIND to set the values of MT indicators. So behaviors of
<ind> 1 and 2 are currently the same.
The +CKEV URC which set by <keyp> parameter only reports when UART setting is SIM1.
<tscrn> parameter take effect after W1021.
Selects the phonebook memory storage <storage> that is used by other phonebook
commands.
6.10.1 Format
6.10.2 Field
"ME" MT phonebook
"SM" SIM/UICC phonebook
"LD" last-dialling phonebook
"MC" MT missed calls list
"RC" MT received calls list.
"DC" MT dialled calls list
AL
"FD" SIM/USIM fixdialling-phonebook
"ON" SIM own numbers (MSISDNs) list
6.10.3 Note
ID NQ
TI
1. Before 10A, We don‘t support query <used> field for the storage "LD", "MC", "RC", "DC".
It would be always 0.
2. After 10A(include 10A), We don‘t support query <used> field for the storage "LD", "MC",
N F LY
Returns phone book entries in location number range <index1>...<index2> from the current
phonebook memory storage selected by AT+CPBS. If <index2> is omitted, only location
<index1> is returned. Entry fields returned are location number <indexn>, phone number
<number> in <indexn>, and text <text> associated with the number.
6.11.1 Format
[,<index2>] <index1>,<number>,<type>,<text>[,<hidden>][[...]
<CR><LF>+CPBR:
<index2>,<number>,<type>,<text>[,<hidden>]]]
+CME ERROR: <err>
+CPBR=? +CPBR: (list of supported
<index>s),[<nlength>],[<tlength>]
+CME ERROR: <err>
6.11.2 Field
<index1>, <index2>, <index>: integer type values in the range of location numbers of
phonebook memory
<number>: string type phone number of format <type>
<type>: type of address octet in integer format (refer TS 24.008 [8] subclause 10.5.4.7)
<text>: string type field of maximum length <tlength>; character set as specified by
command Select TE Character Set +CSCS
<nlength>: integer type value indicating the maximum length of field <number>
<tlength>: integer type value indicating the maximum length of field <text>
<hidden>: indicates if the entry is hidden or not
AL
0: phonebook entry not hidden
1: phonebook entry hidden
ID NQ
6.12 AT+CPBF Find Phonebook entries
TI
Execution command returns phonebook entries (from the current phonebook memory storage
selected with +CPBS) which alphanumeric field start with string <findtext>(Prefix match).
N F LY
Entry fields returned are location number <indexn>, phone number stored there <number> (of
EN
format <type>) and text <text> associated with the number.
6.12.1 Format
6.12.2 Field
CO
<index1>, <index2>: integer type values in the range of location numbers of phonebook
memory
<number>: string type phone number of format <type>
<type>: type of address octet in integer format (refer TS 24.008 [8] subclause 10.5.4.7)
<findtext>, <text>: string type field of maximum length <tlength>. Only support "IRA"
<nlength>: integer type value indicating the maximum length of field <number>
<tlength>: integer type value indicating the maximum length of field <text>
Writes phonebook entry in location number <index> in the current phonebook memory
storage area, selected with AT+CPBS. If the <number> and <text> parameters are omitted,
the entry is deleted. If <index> is omitted but <number> is included, the entry is written to the
first free location in the phonebook.
6.13.1 Format
AL
[,<type>[,<text>]]]
+CPBW=? +CPBW: (list of supported
<index>s),[<nlength>],
ID NQ
TI (list of supported <type>s),[<tlength>]
+CME ERROR: <err>
6.13.2 Field
N F LY
EN
<index>: integer type values in the range of location numbers of phonebook memory
<number>: string type phone number of format <type>
<type>: type of address
<text>: string type field of maximum length <tlength>; character set as specified by command Select
TE Character Set +CSCS. "UCS2"", and "IRA"" are supported.
<nlength>: integer type value indicating the maximum length of field <number>
<tlength>: integer type value indicating the maximum bytes of field <text> after encoding
6.14.1 Format
6.14.2 Field
AL
6.15.1 Format
ID NQ
Command TI Possible response(s)
+CALA=<time>[,<n>[ +CME ERROR: <err>
,<type>[,<text>[,<
recur>]]]]
N F LY
6.15.2 Field
digits 1 to 7 corresponds to the days in the week, Monday (1), …, Sunday (7).
Example: The string "1,2,3,4,5" may be used to set an alarm for all weekdays.
"0" – Sets a recurrent alarm for all days in the week.
Set command transmits to the MT the <command> it then shall send as it is to the SIM. In the
Copyright© Shanghai MobiletekCommunication Ltd 73
L218 AT DOCUMENT
same manner the SIM <response> shall be sent back by the MT to the TA as it is. Refer
subclause 9.2 for <err> values.
This command allows a direct control of the SIM by an distant application on the TE. The TE
shall then take care of processing SIM information within the frame specified by SM/UMTS.
6.16.1 Format
AL
6.16.2 Field
<length> : integer type; length of the characters that are sent to TE in <command> or <response>
ID NQ
(two times the actual length of the command or response)
TI
<command> : command passed on by the MT to the SIM in the format as described in 3GPP TS
51.011 [28] (hexadecimal character format; refer +CSCS)
<response> : response to the command passed on by the SIM to the MT in the format as described
in 3GPP TS 51.011 [28] (hexadecimal character format; refer +CSCS)
N F LY
EN
6.16.3 Note
6.16.4 Example
CO
1. SELECT
(1) (P1 = SELECT MF by file id)
AT+CSIM=14,"00A4000C023F00"
+CSIM: 4, "9000"
OK
2. SELECT
(1) (P1 = SELECT by DF name)
Copyright© Shanghai MobiletekCommunication Ltd 74
L218 AT DOCUMENT
AT+CSIM=42,"00A4040C10A0000000871002FF47700189000001FF"
ERROR
3. READ BINARY
(1) (Pre-condition: SELECT EF_IMSI (P1 = SELECT by path from MF, P2 = return with FCP))
AT+CSIM=20,"00A40804047FFF6F0700"
+CSIM: 64, "621C8202412183026F07A5038001718A01058B036F0605800200098801389000"
OK
(2) READ BINARY
AT+CSIM=10,"00B0000009"
+CSIM: 22, "0849667914305241049000"
OK
4. UPDATE BINARY
(1) (Pre-condition: SELECT EF_PLMNwAcT(P1 = SELECT by path from MF, P2 = return with
FCP))
AL
AT+CSIM=20,"00A40804047FFF6F6000"
+CSIM: 64, "621C8202412183026F60A5038001718A01058B036F0606800200878801509000"
OK
ID NQ
(2) READ BINARY
+CSIM: 18,
TI
AT+CSIM=10,"00B0000087"
"888888008854F400808025F510808005F221808015F001808005F520808015F52080
8004F401808004F454808004F429808004F430808004F494808004F404808054F050808025F0
N F LY
1080
EN
8054F5108080FFFFFF0000FFFFFF0000FFFFFF0000FFFFFF0000FFFFFF0000FFFFFF0000F
FFFFF00
00FFFFFF0000FFFFFF0000FFFFFF0000FFFFFF00009000"
OK
(3) UPDATE BINARY
AT+CSIM=20,"00D600000521F3548080"
+CSIM: 4, "9000"
OK
Set command transmits to the MT the SIM <command> and its required parameters.
CO
6.17.1 Format
6.17.2 Field
AL
(For detailed information , please refer 3GPP TS11.11 Section 9.2)
<data>: information which shall be written to the SIM (hexadecimal character format; refer
+CSCS)
<pathid>: string type; contains the path of an elementary file on the SIM/UICC in hexadecimal
ID NQ
format as TI
defined in ETSI TS 102 221 [60] (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 221 [60].
NOTE: Since valid elementary file identifiers may not be unique over all valid
N F LY
dedicated file identifiers the <pathid> indicates the targeted UICC/SIM directory path
EN
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.
<sw1>, <sw2>: integer type; information from the SIM about the execution of the actual
command.
<response>: response of a successful completion of the command previously issued
(hexadecimal character format)
[Note1]: READ BINARY command is used for transparent EF. READ RECORD is used for linear fixed or cyclic
EF
[Note2]:Before using READ BINARY, READ RECORD, UPDATE BINARY, UPDATE RECORD, please use command
GET RESPONSE to get the exact length information first.
6.17.3 Note
CO
6.17.4 Example
AL
+CRSM: 144, 0, "00001D4C6F3A04001100220502011E"
OK
(2) READ RECORD
at+crsm=178,28474,1,4,30
ID NQ
+CRSM: 144, 0, TI
"6F776E6572FFFFFFFFFFFFFFFFFFFFFF06819078303326FFFFFFFFFFFFFF"
OK
3. READ EFImageInstaceDataFiles (with <pathid>) (fIle_idx = 0x4F20(File id would be different if you
N F LY
6.18.1 Format
6.18.2 Field
6.18.3 Note
AL
6.19 AT+CLVL Loudspeaker volume level
6.19.2 Field
6.20.1 Format
6.20.2 Field
<n>:
0 mute off
AL
1 mute on
6.21.1 Format
6.21.2 Field
<mode>:
0 Disable the call meter warning event
1 Enable the call meter warning event
to enable/disable unsolicited result code +CLAV: <code>. If <mode>=1, +CLAV: <code > is
sent from the ME when the language in the ME is changed.
6.22.1 Format
AL
+CLAE=? +CLAE: (list of supported <mode>s)
+CME ERROR: <err>
ID NQ
6.22.2 Field
<mode>:
TI
N F LY
6.23.1 Format
6.23.2 Field
<n>: integer type value indicating the index of the alarm; default is manufacturer specific.
enables and disables the time zone change event reporting. If the reporting is enabled the MT
returns the unsolicited result code +CTZV: <tz> whenever the time zone is changed.
6.24.1 Format
AL
+CME ERROR: <err>
6.24.2 Field
ID NQ
TI
<onoff>: integer type value indicating:
0 – Disable automatic time zone update via NITZ (default).
1 – Enable automatic time zone update via NITZ.
N F LY
EN
CO
7 GPRS commands(27.007)
Specifies PDP context parameter values for a PDP context identified by the (local) context
identification parameter, <cid>.
7.1.1 Format
AL
+CGDCONT=[<cid> [,<PDP_type> OK
[,<APN> [,<PDP_addr> [,<d_comp> ERROR
[,<h_comp> [,<pd1>
ID NQ
[,…[,pdN]]]]]]]]]
+CGDCONT?
TI +CGDCONT: <cid>, <PDP_type>, <APN>,
<PDP_addr>, <d_comp>,
<h_comp>[,<pd1>[,…[,pdN]]]
[<CR><LF>+CGDCONT: <cid>, <PDP_type>,
N F LY
<APN>,<PDP_addr>, <d_comp>,
EN
<h_comp>[,<pd1>[,…[,pdN]]]
[...]]
+CGDCONT=? +CGDCONT: (range of supported
<cid>s), <PDP_type>,,,(list of
supported <d_comp>s),
(list of supported <h_comp>s)[,(list
of supported <pd1>s)[,…[,(list of
supported <pdN>s)]]]
[<CR><LF>+CGDCONT: (range of
supported <cid>s), <PDP_type>,,,(list
of supported <d_comp>s),
(list of supported <h_comp>s)[,(list
of supported <pd1>s)[,…[,(list of
supported <pdN>s)]]]
CO
[...]]
7.1.2 Field
<cid>:
(PDP Context Identifier) a numeric parameter which specifies a particular PDP context
Copyright© Shanghai MobiletekCommunication Ltd 82
L218 AT DOCUMENT
definition. The parameter is local to the TE-MT interface and is used in other PDP context-
related commands. The range of permitted values (minimum value = 1) is returned by the
test form of the command.
<PDP_type>: (Packet Data Protocol type) a string parameter.
IP Internet Protocol (IETF STD 5)
<APN>: (Access Point Name) a string parameter which is a logical name that is used to
select the GGSN or the external packet data network.
If the value is null or omitted, then the subscription value will be requested.
<PDP_address>: a string parameter that identifies the MT in the address space applicable to
the PDP.
If the value is null or omitted, then a value may be provided by the TE during the PDP startup
procedure or, failing that, a dynamic address will be requested.
The read form of the command will continue to return the null string even if an address has
been allocated during the PDP startup procedure. The allocated address may be read using
AL
the +CGPADDR command.
<d_comp>: a numeric parameter that controls PDP data compression (applicable for SNDCP
only)
ID NQ
0 - off (default if value is omitted)
TI
<h_comp>: a numeric parameter that controls PDP header compression
0 - off (default if value is omitted)
<pd1>, … <pdN>: zero to N string parameters whose meanings are specific to the
<PDP_type>
N F LY
EN
7.2 AT+CGDSCONT Define Secondary PDP Context
The set command specifies PDP context parameter values for a Secondary 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 given by the range returned by the test
command.
7.2.1 Format
7.2.2 Field
<cid>: (PDP Context Identifier) a numeric parameter which specifies a particular PDP context
definition. The parameter is local to the TE-MT interface and is used in other PDP contextrelated
commands. The range of permitted values (minimum value = 1) is returned by the
test form of the command.
<p_cid>: (Primary PDP Context Identifier) a numeric parameter which specifies a particular
PDP context definition which has been specified by use of the +CGDCONT command. The
AL
parameter is local to the TE-MT interface. The list of permitted values is returned by the test
form of the command.
<PDP_type>: (Packet Data Protocol type) a string parameter which specifies the type of packet
data protocol
ID NQ
IP Internet Protocol (IETF STD 5)
TI
<d_comp>: a numeric parameter that controls PDP data compression
0 - off (default if value is omitted)
<h_comp>: a numeric parameter that controls PDP header compression
0 - off (default if value is omitted)
N F LY
EN
7.3 AT+CGQREQ Quality of Service Profile (Requested)
This command allows the TE to specify a Quality of Service Profile that is used when the MT
sends an Activate PDP Context Request message to the network.
7.3.1 Format
7.3.2 Field
AL
<cid>: a numeric parameter which specifies a particular PDP context definition
<precedence>: a numeric parameter which specifies the precedence class
<delay>: a numeric parameter which specifies the delay class
ID NQ
<reliability>: a numeric parameter which specifies the reliability class
TI
<peak>: a numeric parameter which specifies the peak throughput class
<mean>: a numeric parameter which specifies the mean throughput class
N F LY
This command allows the TE to specify a minimum acceptable profile which is checked by the
MT against the negotiated profile returned in the Activate PDP Context Accept message.
7.4.1 Format
AL
7.4.2 Field
The execution command is used to attach the MT to, or detach the MT from, the Packet
Domain service. After the command has completed, the MT remains in V.250 command state.
7.5.1 Format
7.5.2 Field
7.6.1 Format
AL
+CGACT=? +CGACT: (list of supported <state>s)
7.6.2 Field
ID NQ
TI
<state>: indicates the state of PDP context activation
0 - deactivated
1 - activated
N F LY
Other values are reserved and will result in an ERROR response to the execution command.
EN
<cid>: a numeric parameter which specifies a particular PDP context definition. If no <cid> is
specified, then UE assumes it as 1. The usage of omitted <cid> to activate/deactivate all is not
supported.
The execution command is used to modify the specified PDP context (s) with respect to QoS
profiles and TFTs.
7.7.1 Format
ERROR
+CGCMOD=? +CGCMOD: (list of <cid>s
associated with active contexts)
7.7.2 Field
<cid>: a numeric parameter which specifies a particular PDP context definition (see the +CGDCONT
and +CGDSCONT commands).
The execution command causes the MT to perform whatever actions are necessary to
establish communication between the TE and the network using one or more Packet Domain
PDP types.
7.8.1 Format
AL
Command Possible Response(s)
+CGDATA=[<L2P> ,[<cid>]] CONNECT
ERROR
ID NQ
+CGDATA=? +CGDATA: (list of supported <L2P>s)
TI
7.8.2 Field
N F LY
EN
<L2P>: a string parameter that indicates the layer 2 protocol to be used between the TE and MT
PPP Point-to-point protocol for a PDP such as IP
Other values will result in an ERROR response.
<cid>: a numeric parameter which specifies a particular PDP context definition (see the +CGDCONT and
+CGDSCONT commands).
The execution command returns a list of PDP addresses for the specified context identifiers.
The test command returns a list of defined <cid>s.
7.9.1 Format
CO
7.9.2 Field
<cid>: a numeric parameter which specifies a particular PDP context definition (see the +CGDCONT and
+CGDSCONT commands). If no <cid> is specified, an ERROR result code will be returned. Multiple <cid>
field is not supported.
<PDP_address>: a string that identifies the MT in the address space applicable to the PDP. The address
may be static or dynamic. For a static address, it will be the one set by the +CGDCONT and
+CGDSCONT commands when the context was defined. For a dynamic address it will be the one
assigned during the last PDP context activation that used the context definition referred to by <cid>.
<PDP_address> is omitted if none is available.
AL
context activation
ID NQ
The set command disables or enables an automatic positive response (auto-answer) to the
TI
receipt of a Request PDP Context Activation message from the network.
When the +CGAUTO=0 command is received, the MT shall not perform a PS detach if it is
attached. Subsequently, when the MT announces a network request for PDP context
activation by issuing the unsolicited result code RING or +CRING, the TE may manually
N F LY
accept or reject the request by issuing the +CGANS command or may simply ignore the
EN
network request.
When the +CGAUTO=1 command is received, the MT shall attempt to perform a PS attach if it
is not already attached. Failure will result in ERROR or, if enabled, +CME ERROR being returned to
the TE. Subsequently, when the MT announces a network request for PDP context activation by
issuing the unsolicited result code RING or +CRING to the TE, this is followed by the intermediate
result code CONNECT. The MT then enters V.250 online data state and follows the same procedure
as it would after having received a +CGANS=1 with no <L2P> or <cid> values specified.
7.10.1 Format
7.10.2 Field
<n>:
context activation
The execution command requests the MT to respond to a network request for Packet Domain
PDP context activation which has been signaled to the TE by the RING or +CRING:
AL
unsolicited result code. The <response> parameter allows the TE to accept or reject the
request.
7.11.1 Format
ID NQ
Command
TI
+CGANS=[<response>,
Possible response(s)
OK
[<L2P> ,[<cid>]]] ERROR
N F LY
7.11.2 Field
<response>: is a numeric parameter which specifies how the request should be responded to.
0 reject the request
1 accept and request that the PDP context be activated
<L2P>: a string parameter which indicates the layer 2 protocol to be used (see +CGDATA
command).
<cid>: a numeric parameter which specifies a particular PDP context definition
CO
The set command is used to set the MT to operate according to the specified GPRS mobile
class. If the requested class is not supported, an ERROR or +CME ERROR response is returned.
Extended error responses are enabled by the +CMEE command.
The read command returns the current GPRS mobile class.
The test command is used for requesting information on the supported GPRS mobile classes.
7.12.1 Format
7.12.2 Field
<class>: a string parameter which indicates the GPRS mobile class (in descending order of
functionality)
AL
A class A (highest)
B classB
CG class C in GPRS only mode
ID NQ
CC class C in circuit switched only mode (lowest)
TI
Other values are reserved and will result in an ERROR response to the set command.
If the MT is GPRS attached when the set command is issued with a <class> = CC specified,
a detach request shall be sent to the network.
N F LY
The set command controls the presentation of an unsolicited result code +CGREG: <stat>
when <n>=1 and there is a change in the MT's GPRS network registration status, or code
+CGREG: <stat>[,<lac>,<ci>[,<Act>]] when <n>=2 and there is a change of the network cell.
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 <lac>,<ci> and <Act> are returned only when <n>=2 and MT is
CO
7.13.1 Format
<n>,<stat>[,<lac>,<ci>[,<Act>]]
+CME ERROR: <err>\
7.13.2 Field
<n>:
0 disable network registration unsolicited result code
1 enable network registration unsolicited result code +CGREG: <stat>
2 enable network registration and location information unsolicited result code +CGREG:
<stat>:
0 not registered, MT is not currently searching an operator to register to
1 registered, home network
AL
2 not registered, but MT is currently trying to attach or searching an operator to register to
3 registration denied
4 unknown
5 registered, roaming
ID NQ
<lac>: string type; two byte location area code in hexadecimal format (e.g. "00C3" equals 195
TI
in decimal)
<ci>: string type; four byte cell ID in hexadecimal format
<Act>:
0 GSM
N F LY
2 UTRAN
EN
3 GSM w/EGPRS
4 UTRAN w/HSDPA
5 UTRAN w/HSUPA
6 UTRAN w/HSDPA and HSUPA
The set command is used to specify the service or service preference that the MT will use to
send MO SMS messages.
The read command returns the currently selected service or service preference.
The test command is used for requesting information on the currently available services and
service preferences.
CO
7.14.1 Format
7.14.2 Field
<service>: a numeric parameter which indicates the service or service preference to be used
0 Packet Domain
1 circuit switched
2 Packet Domain preferred (use circuit switched if GPRS not available)
3 circuit switched preferred (use Packet Domain if circuit switched not available)
Command)
AL
This command is to set or to get GPRS transfer preference. It is only available when
__MONITOR_PAGE_DURING_TRASFER__ is defined
7.15.1 Format
ID NQ
Command
+EGTP=<state>
TI Possible Response(s)
OK
ERROR
N F LY
7.15.2 Field
This command allows the TE to specify a UMTS QoS Profile that is used when the MT sends
and Activate PDP Context Request message to the network.
7.16.1 Format
AL
[,<Guaranteed bitrate UL>
[,<Guaranteed bitrate DL>
[,<Delivery order>
[,<Maximum SDU size>
ID NQ
[,<SDU error ratio>
TI
[,<Residual bit error
ratio> [,<Delivery of
erroneous SDUs>
[,<Transfer delay>
N F LY
[,<Traffic handling
EN
priority> ]]]]]]]]]]]]]
[…]]
+CGEQREQ=? +CGEQREQ: <PDP_type>, (list of
supported <Traffic class>s) ,(list of
supported <Maximum bitrate UL>s),
(list
of supported <Maximum bitrate DL>s),
(list of supported <Guaranteed bitrate
UL>s), (list of supported <Guaranteed
bitrate DL>s),(list of supported
<Delivery order>s) ,(list of supported
<Maximum SDU size>s) ,(list of
supported <SDU error ratio>s) ,(list
of
supported <Residual bit error ratio>s)
AL
,(list of supported <Delivery of
erroneous SDUs>s) ,(list of supported
<Transfer delay>s) ,(list of supported
ID NQ
<Traffic handling priority>s)
TI [<CR><LF>+CGEQREQ: <PDP_type>, (list
of
supported <Traffic class>s) ,(list of
supported <Maximum bitrate UL>s),
N F LY
(list
EN
of supported <Maximum bitrate DL>s),
(list of supported <Guaranteed bitrate
UL>s), (list of supported <Guaranteed
bitrate DL>s),(list of supported
<Delivery order>s) ,(list of supported
<Maximum SDU size>s) ,(list of
supported <SDU error ratio>s) ,(list
of
supported <Residual bit error ratio>s)
,(list of supported <Delivery of
erroneous SDUs>s) ,(list of supported
<Transfer delay>s) ,(list of supported
<Traffic handling priority>s)
[…]]
CO
7.16.2 Field
<cid>: (see +CGDCONT and _CGDSCONT commands) A special form of the set command,
+CGEQREQ= <cid> causes the requested profile for context number <cid> to become undefined.
<Traffic class>: a numeric parameter that indicates the type of application for which the UMTS bearer
service is optimised.
0 - conversational
1 - streaming
2 - interactive
3 - background
4 - subscribed value
Other values are reserved.
<Maximum bitrate UL>: a numeric parameter that indicates the maximum number of kbits/s delivered to
UMTS (up-link traffic) at a SAP. As an example a bitrate of 32kbit/s would be specified as '32' (e.g.
AT+CGEQREQ=…,32, …).
<Maximum bitrate DL>: a numeric parameter that indicates the maximum number of kbits/s delivered by
UMTS (down-link traffic) at a SAP. As an example a bitrate of 32kbit/s would be specified as '32' (e.g.
AT+CGEQREQ=…,32, …). If the parameter is set to '0' the subscribed value will be requested.
<Guaranteed bitrate UL>: a numeric parameter that indicates the guaranteed number of kbits/s
AL
delivered to UMTS (up-link traffic) at a SAP (provided that there is data to deliver). As an example a
bitrate of 32kbit/s would be specified as '32' (e.g. AT+CGEQREQ=…,32, …). If the parameter is set to '0'
the subscribed value will be requested.
ID NQ
<Guaranteed bitrate DL>: a numeric parameter that indicates the guaranteed number of kbits/s
TI
delivered by UMTS (down-link traffic) at a SAP (provided that there is data to deliver). As an example a
bitrate of 32kbit/s would be specified as '32' (e.g. AT+CGEQREQ=…,32, …). If the parameter is set to '0'
the subscribed value will be requested.
<Delivery order>: a numeric parameter that indicates whether the UMTS bearer shall provide insequence
N F LY
<Residual bit error ratio>: a string parameter that indicates the target value for the undetected bit error
ratio in the delivered SDUs. If no error detection is requested, Residual bit error ratio indicates the bit
error ratio
in the delivered SDUs. The value is specified as 'mEe'. As an example a target residual bit error ratio of
5•10-3
would be specified as '5E3' (e.g. AT+CGEQREQ=…,'5E3',…). '0E0' means subscribed value.
<Delivery of erroneous SDUs>: a numeric parameter that indicates whether SDUs detected as
AL
7.16.3 Support Note
This command allows the TE to specify a minimum acceptable profile, which is checked by the
MT against the negotiated profile returned in the Activate/Modify PDP Context Accept message.
7.17.1 Format
[,<Traffic handling
priority>]]]]]]]]]]]]]
+CGEQMIN? +CGEQMIN: <cid>, <Traffic class>
,<Maximum bitrate UL>, <Maximum
bitrate
DL> ,<Guaranteed bitrate UL>
,<Guaranteed bitrate DL>, <Delivery
order> ,<Maximum SDU size> ,<SDU error
ratio> ,<Residual bit error ratio>
,<Delivery of erroneous SDUs>
,<Transfer delay> ,<Traffic handling
priority>
[<CR><LF>+CGEQMIN: <cid>, <Traffic
class> ,<Maximum bitrate UL> ,<Maximum
AL
bitrate DL> ,<Guaranteed bitrate UL>
,<Guaranteed bitrate DL>, <Delivery
order> ,<Maximum SDU size> ,<SDU error
ID NQ
ratio> ,<Residual bit error ratio>
TI ,<Delivery of erroneous SDUs>
,<Transfer delay> ,<Traffic handling
priority>
[…]]
N F LY
AL
[…]]
ID NQ
7.17.2 Field TI
<cid>: (see +CGDCONT and _CGDSCONT commands) A special form of the set command,
+CGEQMIN= <cid> causes the requested profile for context number <cid> to become undefined.
<Traffic class>: a numeric parameter that indicates the type of application for which the UMTS bearer
N F LY
service is optimised.
EN
0 - conversational
1 - streaming
2 - interactive
3 - background
Other values are reserved.
<Maximum bitrate UL>: a numeric parameter that indicates the maximum number of kbits/s delivered to
UMTS (up-link traffic) at a SAP. As an example a bitrate of 32kbit/s would be specified as '32' (e.g.
AT+CGEQMIN=…,32, …).
<Maximum bitrate DL>: a numeric parameter that indicates the maximum number of kbits/s delivered by
UMTS (down-link traffic) at a SAP. As an example a bitrate of 32kbit/s would be specified as '32' (e.g.
AT+CGEQMIN=…,32, …).
<Guaranteed bitrate UL>: a numeric parameter that indicates the guaranteed number of kbits/s
delivered to UMTS (up-link traffic) at a SAP (provided that there is data to deliver). As an example a
CO
AL
1 - yes
2 - no detect
Other values are reserved.
ID NQ
<Transfer delay>: a numeric parameter (0,1,2,…) that indicates the targeted time between request to
TI
transfer an SDU at one SAP to its delivery at the other SAP, in milliseconds. <Traffic handling priority>: a
numeric parameter (1,2,3,…) that specifies the relative importance for handling of all SDUs belonging to
the UMTS bearer compared to the SDUs of other bearers.
<PDP_type>: (see +CGDCONT and +CGDSCONT commands).
N F LY
EN
7.17.3 Support Note
8.1 AT+CMEE
Set command disables or enables the use of result code +CME ERROR: <err> as an
indication of an error relating to the functionality of the MT. When enabled, MT related errors
cause +CME ERROR: <err> final result code instead of 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.
AL
8.1.1 Format
ID NQ
Command Possible response(s)
+CMEE=[<n>]
+CMEE?
+CMEE=?
TI
+CMEE: <n>
+CMEE: (list of supported <n>s)
N F LY
EN
8.1.2 Field
<n>:
0 disable +CME ERROR: <err> result code and use ERROR instead
1enable +CME ERROR: <err> result code and use numeric <err> values (refer next subclause)
2enable +CME ERROR: <err> result code and use verbose <err> values (refer next subclause)
<err> values (numeric format followed by verbose format):
9.2.1 General errors
0 phone failure
1 no connection to phone
2 phone adaptor link reserved
3 operation not allowed
4 operation not supported
CO
15 SIM wrong
16 incorrect password
17 SIM PIN2 required
18 SIM PUK2 required
20 memory full
21 invalid index
22 not found
23 memory failure
24 text string too long
25 invalid characters in text string
26 dial string too long
27 invalid characters in dial string
30 no network service
31 network timeout
AL
32 network not allowed - emergency calls only
40 network personalization PIN required
41 network personalization PUK required
ID NQ
42 network subset personalization PIN required
TI
43 network subset personalization PUK required
44 service provider personalization PIN required
45 service provider personalization PUK required
46 corporate personalization PIN required
N F LY
Other values in the range 101-150 are reserved for use by GPRS
AL
ID NQ
TI
N F LY
EN
CO
9 Annex C(27.007)
9.1 AT+FCLASS
Puts the TA in a specific mode of operation. This causes the TA to process information in a
manner suitable for that type of information.
9.1.1 Format
Command Response
AL
+FCLASS=<n>
+FCLASS? <n>
ID NQ
+FCLASS=? (list of supported <n>s)
TI
9.1.2 Field
N F LY
EN
<n> Mode
0 data
1 fax class 1 (TIA-578-A)
2 fax (manufacturer specific)
2.0 fax class 2 (ITU T T.32 [12] and TIA 592)
9.2 AT+VTS
9.2.1 Format
CO
Command Return
+VTS=<dtmf>
+VTS=? (list of supported <tone1>s),(list of
supported <tone2>s) ,(list of
supported <duration>s)
9.2.2 Field
9.2.3 Note
When modem work with application (ex: WM smart phone RIL or ECMT tool) , the application
expect the result of AT+VTS is returned immediately . Since user might press keypad to send DTMF
very fast, so application would like to send DTMF before the previous DTMF is actually processed in
NW (modem shall help to queue the DTMF request if previous is not finished yet). So we will
AL
response the result code immediately to prevent blocking the application‘s DTMF keypad handling.
Currently, we only check if the digit is valid and if there is any call ongoing(ex: dialing , active
exist). If yes, then we will return "OK". But please notice the "OK" doesn‘t imply that the DTMF is
ID NQ
really processed successfully in NW. ex: it might fail due to MS doesn‘t have user connection yet. Or
TI
it might be fail due to there is no response from NW. Or it might be fail due to there is no speech
channel (ex: data call) If __VTS_LATE_RESPONSE__ is turned on, "OK" is printed when SEND
DTMF is acknowledged by network
N F LY
EN
CO
10 SMS AT Commands(27.005)
Please refer to 27.005 Sec 3.1 Parameter Definition to see more details of the parameter fields
in each command.
Selects the message service and returns the type of messages supported by the ME. If
chosen service is not supported by the ME (but supported by the TA), +CME ERROR is
returned.
AL
10.1.1 Format
+CSMS?
TI +CSMS: <mt>,<mo>,<bm>
+CMS ERROR: <err>
+CSMS: <service>,<mt>,<mo>,<bm>
+CSMS=? +CSMS: (list of supported <service>s)
N F LY
EN
10.1.2 Field
<service>:
0 3GPP TS 23.040 [3] and 3GPP TS 23.041 [4]
1 3GPP TS 23.040 [3] and 3GPP TS 23.041 [4]
the requirement of <service> setting 1 is mentioned under corresponding command
descriptions)
<mt>, <mo>, <bm>:
0 type not supported
1 type supported
10.1.3 Note
CO
Selects memory storage spaces to be used for reading, writing, etc. If chosen storage is not
appropriate for the ME (but is supported by the TA), +CME ERROR is returned.
Copyright© Shanghai MobiletekCommunication Ltd 106
L218 AT DOCUMENT
10.2.1 Format
AL
(list of supported <mem3>s)
10.2.2 Note
ID NQ
TI
1. We don‘t support "+CMS ERROR" when AT command set is SLIM_AT or ULC_AT
10.3.1 Format
10.3.2 Field
CO
<mode>:
0 PDU mode (default when implemented)
1 text mode
10.3.3 Note
Updates the SMCS address, through which mobile-originated SMSs are transmitted. In text
mode, the setting is used by send (AT+CMGS) and write (AT+CMGW) commands. In PDU mode,
the setting is used by the same commands, but only when the length of the SMCS
address (coded into <pdu> parameter) equals zero.
10.4.1 Format
AL
+CSCA=?
10.4.2 Note
ID NQ
TI
1. We don‘t support "+CMS ERROR" when AT command set is SLIM_AT or ULC_AT
Setting Text Mode Parameters. Set command is used to select values for additional
parameters needed when SM is sent to the network or placed in a 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>.
10.5.2 Format
+CSMP? +CSMP:
<fo>,<vp>,<pid>,<dcs>
+CSMP=?
10.5.3 Note
Set command controls whether detailed header information is shown in text mode result
codes.
Test command returns supported values as a compound value.
10.6.1 Format
AL
Command Possible response(s)
+CSDH=[<show>]
+CSDH? +CSDH: <show>
+CSDH=? +CSDH: (list of supported <show>s)
ID NQ
10.6.2 Note
TI
N F LY
10.7.1 Format
10.7.2 Field
<mode>:
0 message types specified in <mids> and <dcss> are accepted
1 message types specified in <mids> and <dcss> are not accepted
<mids>: We support 10 message identifiers at most.
string type: all different possible combinations of CBM message identifiers (refer <mid>)
Copyright© Shanghai MobiletekCommunication Ltd 109
L218 AT DOCUMENT
10.7.3 Note1
For <mids> of <mode>=0, our design is to open the <mids> from user input and close other <mids>.
In the following case, user input <mode>=0 and <mids>=2. So open channel 2 and close other
channel (channel 1).
AT+CSCB?
+CSCB: 0,"1","1"
OK
AL
AT+CSCB=0,"2","2"
OK
AT+CSCB?
+CSCB: 0,"2","1,2"
ID NQ
OK TI
In the following case, user input <mode>=0 without <mids>. So don‘t open any channel and close
other channel (channel 1).
AT+CSCB?
+CSCB: 0,"1","1"
N F LY
OK
EN
AT+CSCB=0
OK
AT+CSCB?
+CSCB: 0,"","1"
OK
For <dcss> of <mode>=0, our design is to increase the <dcss> from user input.
In the following case, user input <mode>=0 and <dcss>=2. So increase language 2.
AT+CSCB?
+CSCB: 0,"1","1"
OK
AT+CSCB=0,"2","2"
OK
AT+CSCB?
CO
+CSCB: 0,"2","1,2"
OK
In the following case, user input <mode>=0 without <dcss>. So don‘t increase any language.
AT+CSCB?
+CSCB: 0,"1","1"
OK
AT+CSCB=0
OK
AT+CSCB?
+CSCB: 0,"","1"
OK
10.7.4 Note2
For <mids> of <mode>=1, our design is to close all <mids> no matter with <mids> or not.
In the following case, user input <mode>=1. So close all channel.
AT+CSCB?
+CSCB: 0,"2","1,2"
OK
AT+CSCB=1,"2","2"
OK
AL
AT+CSCB?
+CSCB: 1,"","1"
OK
In the following case, user input <mode>=1 without <mids>. Also close all channel.
ID NQ
AT+CSCB? TI
+CSCB: 0,"1","1"
OK
AT+CSCB=1
OK
N F LY
AT+CSCB?
EN
+CSCB: 1,"","1"
OK
For <dcss> of <mode>=1, our design is to decrease the <dcss> from user input.
In the following case, user input <mode>=1 and <dcss>=2. So decrease language 2.
AT+CSCB?
+CSCB: 0,"2","1,2"
OK
AT+CSCB=1,"2","2"
OK
AT+CSCB?
+CSCB: 1,"","1"
OK
In the following case, user input <mode>=1 without <dcss>. So don‘t decrease any language.
CO
AT+CSCB?
+CSCB: 0,"1","1"
OK
AT+CSCB=1
OK
AT+CSCB?
+CSCB: 1,"","1"
OK
N/A
AL
Execution command saves active message service settings to a non-volatile memory.
Settings specified in commands Service Centre Address +CSCA, Set Message Parameters
+CSMP and Select Cell Broadcast Message Types +CSCB (if implemented) are saved. Certain
ID NQ
settings may not be supported by the storage (e.g. (U)SIM SMS parameters) and therefore can not
TI
be saved.
10.8.1 Format
N F LY
EN
Command Possible response(s)
+CSAS[=<profile>] +CMS ERROR: <err>
+CSAS=? +CSAS: (list of supported <profile>s)
10.8.2 Field
<profile>:
0...255 manufacturer specific profile number where settings are to be stored
10.8.3 Note
Execution command restores message service settings from non-volatile memory to active
memory. A TA can contain several profiles of settings. Settings specified in commands Service
Centre Address +CSCA, Set Message Parameters +CSMP and Select Cell Broadcast Message
Types +CSCB (if implemented) are restored. Certain settings may not be supported by the storage
Copyright© Shanghai MobiletekCommunication Ltd 112
L218 AT DOCUMENT
10.9.1 Format
10.9.2 Field
<profile>:
0...255 manufacturer specific profile number where settings are to be stored
AL
10.9.3 Note
ID NQ
1. We don‘t support "+CMS ERROR" when AT command set is SLIM_AT or ULC_AT
TI
10.10 AT+CNMI New Message Indications to TE
N F LY
Selects the procedure how the reception of new messages from the network is indicated to the
EN
TE when TE is active (DTR signal is ON). IF TE is inactive (DTR signal OFF), message
reception is carried out as specified in GSM 03.38. This command enables the unsolicited
result codes +CMT, +CMTI, +CBM, and +CDS. (Please refer to 07.07 for more detail)
10.10.1 Format
supported <bfr>s)
10.10.2 Field
<mode>
0 disable unsolicited result code
1 Discard indication and reject new received message unsolicited result codes when
TA-TE link is
reserved (e.g. in on-line data mode). Otherwise forward them directly to the TE.
2 Buffer unsolicited result codes in the TA when TA-TE link is reserved (e.g. in on-line
data mode) and
flush them to the TE after reservation. Otherwise forward them directly to the TE.
3 Forward unsolicited result codes directly to the TE. TA-TE link specific inband
technique used to
embed result codes and data when TA is in on-line data mode.
<mt>
0 No SMS-DELIVER indications are routed to the TE.
1 If SMS-DELIVER is stored into ME/TA, indication of the memory location is routed to
the TE using
unsolicited result code: +CMTI: <mem>,<index>
AL
2 SMS-DELIVERs (except class 2 messages and messages in the message waiting
indication group
(store message)) are routed directly to the TE using unsolicited result code:
ID NQ
+CMT: [<alpha>],<length><CR><LF><pdu> (PDU mode enabled); or
TI
+CMT: <oa>, [<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>, <length>]
<CR><LF> <data> (text mode enabled; about parameters in italics, refer command
Show Text Mode Parameters +CSDH)
3 Class 3 SMS-DELIVERs are routed directly to TE using unsolicited result codes
N F LY
<ds>:
0 No SMS-STATUS-REPORTs are routed to the TE.
1 SMS-STATUS-REPORTs are routed to the TE using unsolicited result code:
+CDS: <length><CR><LF><pdu> (PDU mode enabled); or
+CDS: <fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st> (text mode enabled)
<bfr>:
0 TA buffer of unsolicited result codes defined within this command is flushed to the TE
when <mode>
1...3 is entered (OK response shall be given before flushing the codes).
1 TA buffer of unsolicited result codes defined within this command is cleared when
<mode> 1...3 is
entered.
10.10.3 Note
Returns messages with status value <stat> from returned message in preferred storage to the
AL
TE.
10.11.1 Format
ID NQ
Command
+CMGL[=<stat>]
TI Possible response(s)
if text mode (+CMGF=1), command successful and
SMS-SUBMITs and/or
SMS-DELIVERs:
N F LY
EN
+CMGL:
<index>,<stat>,<oa/da>,[<alpha>],[<scts>][,<tooa/toda>,
<length>]<CR><LF><data>[<CR><LF>
+CMGL:
<index>,<stat>,<da/oa>,[<alpha>],[<scts>][,<tooa/toda>,
<length>]<CR><LF><data>[...]]
if text mode (+CMGF=1), command successful and
SMS-STATUS-REPORTs:
+CMGL:
<index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>
[<CR><LF>
+CMGL:
<index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>
[...]]
CO
+CMGL: <index>,<stat>,<sn>,<mid>,<page>,<pages>
<CR><LF><data>[...]]
otherwise:
+CMS ERROR: <err>
+CMGL=? +CMGL: (list of supported <stat>s)
10.11.2 Note
AL
Returns messages with status value <stat> from returned message in preferred storage to the
TE.
ID NQ
10.12.1 Format TI
Command Possible response(s)
+CMGL[=<stat>] if PDU mode (+CMGF=0) and command successful:
N F LY
+CMGL: <index>,<stat>,[<alpha>],<length><CR><LF><pdu>
EN
[<CR><LF>+CMGL:<index>,<stat>,[<alpha>],<length><CR><LF><pdu>
[...]]
otherwise:
+CMS ERROR: <err>
+CMGL=? +CMGL: (list of supported <stat>s)
10.12.2 Note
Returns messages with location value <index> from preferred message storage <mem1> to the
TE. If the status of the message is .received unread., the status in the storage changes
to .received read.. If reading fails, +CMS ERROR is returned.
10.13.1 Format
AL
if text mode (+CMGF=1), command successful and
SMS-COMMAND:
+CMGR:
ID NQ
<stat>,<fo>,<ct>[,<pid>,[<mn>],[<da>],[<toda>],<length>
TI <CR><LF><cdata>]
if text mode (+CMGF=1), command successful and CBM
storage:
+CMGR:
N F LY
<stat>,<sn>,<mid>,<dcs>,<page>,<pages><CR><LF><data>
EN
otherwise:
+CMS ERROR: <err>
+CMGR=?
10.13.2 Note
Returns messages with location value <index> from preferred message storage <mem1> to the
TE. If the status of the message is .received unread., the status in the storage changes
CO
10.14.1 Format
+CMGR: <stat>,[<alpha>],<length><CR><LF><pdu>
otherwise:
+CMS ERROR: <err>
+CMGR=?
10.14.2 Note
ME/TA
AL
Execution command confirms correct reception of a new message (SMS-DELIVER or
SMSSTATUS-REPORT) which is routed directly to the TE. This acknowledgement command
ID NQ
(causing ME to send RP-ACK to the network) shall be used when +CSMS parameter
TI
<service> equals 1.
10.15.1 Format
N F LY
EN
Command Possible response(s)
if text mode (+CMGF=1): +CMS ERROR: <err>
+CNMA
+CNMA=?
10.15.2 Note
ME/TA
CO
10.16.1 Format
10.16.2 Note
AL
1. We don‘t support "+CMS ERROR" when AT command set is SLIM_AT or ULC_AT
ID NQ
10.17 AT+CMGS(Text mode) Send Message
TI
Execution command sends message from a TE to the network (SMS-SUBMIT). Message
reference value <mr> is returned to the TE on successful message delivery.
N F LY
EN
10.17.1 Format
10.17.2 Note
CO
10.18.1 Format
10.18.2 Note
AL
10.19 AT+CMSS(Text mode) Send Message from Storage
ID NQ
Execution command sends message with location value <index> from preferred message
TI
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.
N F LY
EN
10.19.1 Format
10.19.2 Note
CO
Execution command sends message with location value <index> from 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
10.20.1 Format
AL
10.20.2 Note
<index> of the stored message is returned. By default message status will be set to 'stored
EN
unsent', but parameter <stat> allows also other status values to be given, support "stored"
unsent‘ and "stored sent"
10.21.1 Format
10.21.2 Note
CO
unsent', but parameter <stat> allows also other status values to be given, support 'stored unsent'
and "stored sent"
10.22.1 Format
10.22.2 Field
AL
<stat> integer type in PDU mode (default 0), or string type in text mode (default "REC UNREAD");
indicates
ID NQ
the status of message in memory; defined values:
TI
0 "REC UNREAD" received unread message (i.e. new message)
1 "REC READ" received read message
2 "STO UNSENT" stored unsent message (only applicable to SMs)
3 "STO SENT" stored sent message (only applicable to SMs)
N F LY
10.22.3 Note
is only supported for phone suite. Others can‘t use this command to do test.
We don‘t support "+CMS ERROR" when AT command set is SLIM_AT or ULC_AT
CO
Deletes message from preferred message <mem1> (see AT+CPMS) storage location <index>.
If deletion fails, +CMS ERROR is returned.
10.23.1 Format
10.23.2 Field
AL
1 Delete all read messages from preferred message storage,
leaving unread messages and stored mobile originated messages (whether sent or not)
untouched
ID NQ
2 Delete all read messages from preferred message storage and sent mobile originated
TI
messages,
leaving unread messages and unsent mobile originated messages untouched
3 Delete all read messages from preferred message storage, sent and unsent mobile originated
messages
N F LY
10.23.3 Note
10.24.1 Format
CO
10.24.2 Note
10.25.1 Format
AL
+CMGC=<length><CR> successful:
PDU is given<ctrl-Z/ESC> +CMGC: <mr>[,<ackpdu>]
if sending fails:
+CMS ERROR: <err>
ID NQ
+CMGC=?
TI
10.25.2 Note
N F LY
EN
1. We don‘t support "+CMS ERROR" when AT command set is SLIM_AT or ULC_AT
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.
10.26.1 Format
10.26.2 Field
<n>:
0 disable
Copyright© Shanghai MobiletekCommunication Ltd 124
L218 AT DOCUMENT
2 enable (if the time between the response of the latest message send command 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)
10.26.3 Note
AL
10.27.1 Format
<storage>s)
EN
10.27.2 Field
10.27.3 Note
This command is only supported for phone suite. Others can‘t use this command to do test.
Returns messages with location value <index> from preferred message storage <mem1> to the
TE. If the status of the message is .received unread., the status in the storage changes
to .received read.. If reading fails, +CMS ERROR is returned. It is similar with AT+CMGR
(PDU mode). <stat> is different.
10.28.1 Format
AL
otherwise:
+CMS ERROR: <err>
+EMGR=?
ID NQ
10.28.2 Field
TI
<stat> integer type in PDU mode (default 0), or string type in text mode (default "REC UNREAD");
N F LY
indicates
EN
the status of message in memory; defined values:
0 "REC UNREAD" received unread message (i.e. new message)
1 "REC READ" received read message
2 "STO UNSENT" stored unsent message (only applicable to SMs)
3 "STO SENT" stored sent message (only applicable to SMs)
4 "ALL" all messages (only applicable to +CMGL command)
7 "DRAFT"
10.28.3 Note
This command is only supported for phone suite. Others can‘t use this command to do test.
These AT commands are designed for tools to do factory hardware testing and should be
tested exclusively. Test only one command/item at the same time.
This command handles the Audio Sound Play operation. We use this command to playback one
exist audio ring sound. The sound id should refer to the existing ring sound number. You have to
make sure the source ID is correct, otherwise it won‘t have any response.
AL
11.1.1 Format
11.1.2 Field
TI
N F LY
11.1.3 Response
OK
at+casp=1,151,0,3 (撥放3 秒會停止)
OK
at+casp=1,152,2 (撥一輪once)
OK
at+casp=1,153,3,10 (撥放10 秒會停止)
OK
at+casp=1,5,1 (tone 會一直持續)
OK
at+casp=2,5 (stop the tone)
OK
Note: From W10.05 , we don‘t support playing ringtone (sound id > 80)
AL
11.2 AT+EADP Set / Get Audio Profile
sidetone 4
integer level volume level 0-6
(when type = mic or sidetone,
volume level = 0 )
integer gain gain value 0-255
11.2.3 Response
AL
2.Set HeadSet Mode , Mic type, gain is 60
at+eadp=1,1,3,0,60
OK
ID NQ
11.2.4 Note
TI
1. This command is supposed to be executed only from SIM1. Do not execute it when the UART
setting is SIM2.
N F LY
2. AT+EADP is a seldom use AT command before 11AW11.09. In order to save code size (ROM
EN
size) ,
we default disable the command in low cost projects (LOW_COST_SUPPORT is defined). If you
need
this command, please ask PM to enable this command support ( update L4 library).
3. After 11AW11.09 this command is default on, but mainly for MTK internal tool. This command
together with +EAPS is designed for MediaTek speech tuning tool. For any other usage please take
care and make sure you know the right way and right command order.
This command is used to get/set Audio parameter like Input/output FIR, Speech common para,
Speech mode.
CO
11.3.1 Format
11.3.2 Field
AL
is a must
integer setting Setting - When op=1,
<setting>is a must
ID NQ
TI
11.3.3 Detailed explanation
When para1=0/1, users can set/get Input/Output FIR of handset, Because there are 6 group of
N F LY
FIR parameter, so para2 is a must and it‘s range is 0~5 to specify which group of FIR to get/set.
EN
And each group of FIR has more than 10 elements, so para3 is to specify which 10 elements
users want to get/set.
When para1=4, users can set/get Speech mode para. Also there are 8 groups of Speech mode
para. so para2 is a must and it‘s range is 0~7 to specify which group of Speech mode para to set/get.
11.3.4 Example
▪ <para2> ↓ ↓<para3>
▪ AT+EAPS=0,0,0,0
<op>↑ ↑<para1>
<para2> ↓ ↓<para3>(means user want to get first 10 in the array)
+EAPS: 0,0,0,"327.65257.575.65289.290.3.37.494.65253.1723"
<para1> ↑ <setting> ↑(each setting separated by a dot)
CO
11.3.5 Note
1. This command together with +EADP is designed for MediaTek speech tuning tool. For any
other usage please take care and make sure you know the right way and right command order.
2. This command is available from 11AW1109.
11.4.1 Format
11.4.2 Field
AL
Integer type Device type GPIO_LABELID_0 0
GPIO_LABELID_1 1
GPIO_LABELID_2 2
GPIO_LABELID_3 3
ID NQ
GPIO_LABELID_4 4
TI GPIO_LABELID_5
And so on…
5
different platform.
EN
integer level Device level on 1
off 0
11.4.3 Response
Test command : OK
Execution command : OK /ERROR
Example:
1.Set the GPIO value with GPIO type GPIO_LABELID_20 , Device level
turn on
at+egpio=20,1
OK
CO
11.4.4 Note
AT+EGPIO is a seldom use AT command. In order to save code size (ROM size) , we default
disable the command in low cost projects (LOW_COST_SUPPORT is defined). If you need this
command, please ask PM to enable this command support ( update L4 library).
When +EADC is enabled, the ADC channel indication is sent as unsolicited result code to
DTE.
11.5.1 Format
11.5.2 Field
AL
Type Short name Long name Parameter/comment
Integer op operation On (enable) 1
Off (disable) 0
ID NQ
11.5.3 Response
TI
Test command : + EADC: (0,1)
N F LY
Execution command : OK
EN
11.5.4 Unsolicited result code
+EADC: <ADC0 >,< ADC1 >,< ADC2 >,< ADC3>,< ADC4 >
Description: This is indication report the battery status to AP.
Type Long name Parameter/comment
integer ADC value ADC0 Battery voltage (microvoltage)
ADC1 Battery temperature ( 1/100 C)
ADC2 AUX voltage (microvoltage)
ADC3 Charge current (micro A)
ADC4 Charger voltage (microvoltage)
CO
11.5.5 Note
AT+EADC is a seldom use AT command. In order to save code size (ROM size) , we default
disable the command in low cost projects (LOW_COST_SUPPORT is defined). If you need this
command, please ask PM to enable this command support ( update L4 library).
11.6.1 Format
AL
Test command : AT+ EPWM =? Show if the command is supported
11.6.2 Field
ID NQ
Type Short name
TI Long name Parameter/comment
integer op operation Get level value 0
Set level value 1
Start Test 2
N F LY
Stop Test 3
EN
Integer type PWM1 0
PWM2 1
Alter 2
Integer level level 0-4
integer freq frequency in unit of Hz
Integer duty duty cycle percentage
Note: PWM type is project-dependent.
Such as LCM backlight, Keypad backlight, and Flashlight LED.
11.6.3 Response
Example1:
(in this example, PWM1 presents keypad backlight, PWM2 presents LCD
backlight)
at+epwm=2,0,5,5 (keypad backlight is blinking)
OK
at+epwm=3,0 (keypad backlight stops blinking)
OK
at+epwm=2,1,3,4 (LCD is blinking)
OK
at+epwm=3,1 (LCD stops blinking)
OK
Example2:
1.Start PWM2 testing with frequency=4, duty=6
at+epwm=2,1,4,6
OK
2.Stop PWM2 Testing.
at+epwm=3,1
OK
11.6.4 Note
AL
AT+EGWM is a seldom use AT command. In order to save code size (ROM size) , we default
disable the command in low cost projects (LOW_COST_SUPPORT is defined). If you need this
command, please ask PM to enable this command support ( update L4 library).
ID NQ
11.7 AT+ESAM
TI Set Audio Mode
This Command is used to set audio mode. We have three audio mode , normal, loud speaker
N F LY
and handset.
EN
11.7.1 Format
11.7.2 Field
11.7.3 Response
11.8.1 Format
11.8.2 Field
AL
Integer type Audio type call tone 0
keypad tone 1
microphone 2
<reserved> 3
ID NQ
speech sound 4
TI side tone
MP3, Wave, melody,
5
6
Imelody,midi
N F LY
11.8.4 Note
CO
AT+ESLT is a seldom use AT command. In order to save code size (ROM size) , we default
disable the command in low cost projects (LOW_COST_SUPPORT is defined). If you need this
command, please ask PM to enable this command support ( update L4 library).
This command is used to get mobile revision and IMEI for Engineer mode and factory test
using.
The set operation only apply for IMEI, Serial Number and SV.
Setting new IMEI needs to reboot the target, then IMEI can take effect.
11.9.1 Format
11.9.2 Field
AL
Set 1
integer type Revision type Baseband chipset (only for op= 0) 0
DSP code (only for op= 0) 1
ID NQ
DSP patch (only for op= 0) 2
TI MCU software (only for op= 0)
MS board(hardware) (only for op= 0)
Serial Number
3
4
5
Melody revision (only for op=0) 6
N F LY
SIM1 IMEI 7
EN
MMI resource ver. (only for op=0) 8
SV (Software Version in IMEISV: 2 9
digit
SIM2 IMEI 10
SIM3 IMEI 11
SIM4 IMEI 12
string Str Input/output
string
11.9.3 Response
OK
11.9.4 Example
3. read IMEI:
AT+EMGR=0,7
+EGMR: "135790246811220"
OK
4. Write IMEI:
AT+EGMR=1,7,"123451234512345"
OK
AT+EGMR=0,7
+EGMR: "123451234512345"
AL
OK
5. read SV of IMEISV
AT+EGMR=0,9
+EGMR: "78"
ID NQ
OK TI
6. Write SV
AT+EGMR=1,9,"01"
OK
AT+EGMR=0,9
N F LY
+EGMR: "01"
EN
OK
11.9.5 Note
<type> = 10, 11, and 12 are only turned on when GEMINI, GEMINI+ with 3 or more SIM, and
GEMINI+ with 4 SIM respectively.
N/A
The active command is used to trigger SIM reset procedure and response the SIM inserted
status.
The execute command is used to enable/disable +ESIMS URC report.
11.10.1 Format
AL
11.10.2 Field
ID NQ
Type Short Name Parameter / Comment
Integer
Integer
ED
mode
TI
SIM_INSERT 0
1
0
No SIM
Detected
Disable +ESIMS URC
1 Enable +ESIMS URC
N F LY
EN
11.10.3 Note
This Command is used for GPIO device factory test using. We provide this function for testing
with hardware GPIO device functionality test. You have to specify the GPIO device level if need by
+EPWM command.
CO
11.11.1 Format
11.11.2 Field
AL
GPIO_DEV_RESERVED3 10
GPIO_DEV_RESERVED4 11
GPIO_DEV_RESERVED5 12
ID NQ
GPIO_DEV_RESERVED6 13
TI GPIO_DEV_RESERVED7
GPIO_DEV_RESERVED8
GPIO_DEV_RESERVED9
14
15
16
GPIO_DEV_RESERVED10 17
N F LY
GPIO_DEV_RESERVED11 18
EN
GPIO_DEV_RESERVED12 19
GPIO_DEV_RESERVED13 20
integer level Device Level 0 OFF
level
Level 1-5 1~5
11.11.3 Response
11.11.4 Note
AT+EDFT is a seldom use AT command. In order to save code size (ROM size) , we default
disable the command in low cost projects (LOW_COST_SUPPORT is defined). If you need this
command, please ask PM to enable this command support ( update L4 library).
This Command is used to enable and disable sleep mode in the mobile.
11.12.1 Format
11.12.2 Field
AL
Integer op operation enable 1
disable 0
ID NQ
11.12.3 Response
TI
Test command : + ESLP: (0, 1)
Execution command : OK
N F LY
EN
11.13 AT+EGPO GPO value
11.13.1 Format
11.13.2 Field
11.13.3 Response
OK
Execution command : OK
11.13.4 Note
AT+EGPO is a seldom use AT command. In order to save code size (ROM size) , we default
disable the command in low cost projects (LOW_COST_SUPPORT is defined). If you need this
command, please ask PM to enable this command support ( update L4 library).
This command is used to lock the operation of NVRAM for write protection.
Only the files with attribute NVRAM_ATTR_WRITEPROTECT will be affected, such as IMEI.
AL
11.14.1 Format
ID NQ
Execution command : AT+ ELNVRM = <op>
TI
Test command : AT+ ELNVRM =? Show if the command is supported
11.14.2 Field
N F LY
EN
Type Short name Long name Parameter/comment
Integer op operation Lock 0
disable(reserved)
Lock enable 1
Temp 2
disable(reserved)
Lock OTP 3
11.14.3 Response
mode
To activate or deactivate the specified PDP context (s) and get flow control buffer for
+CGSDATA.
11.15.1 Format
11.15.2 Field
AL
Other values are reserved and will result in an ERROR response to the execution command.
<cid>: a numeric parameter which specifies a particular PDP context definition
ID NQ
TI
11.16 AT+ECPI Call progress information
11.16.2 Field
<mode>: is a 32 bit unsigned integer value . each bit represent the report mode of each event.
i.e. You can enable/disable specific +ECPI event
[NOTE]
CO
3 CSMCC_CALL_PROCESS_MSG
4 CSMCC_SYNC_MSG
5 CSMCC_PROGRESS_MSG
6 CSMCC_CALL_CONNECTED_MSG
129 CSMCC_ALL_CALLS_DISC_MSG
130 CSMCC_CALL_ID_ASSIGN_MSG
131 CSMCC_STATE_CHANGE_HELD
132 CSMCC_STATE_CHANGE_ACTIVE
133 CSMCC_STATE_CHANGE_DISCONNECTED
134 CSMCC_STATE_CHANGE_MO_DISCONNECTING
integer is_ibt 0 No in band tone
1 In band tone assigned
integer is_tch 0 No TCH assigned
AL
1 TCH assigned
integer dir 0 CLCC_MO_CALL
1 CLCC_MT_CALL
integer call_mode 0 CLCC_VOICE_CALL
ID NQ
TI 1 CLCC_DATA_CALL
2 CLCC_FAX_CALL
3 CLCC_VFD_VOICE
4 CLCC_AVD_VOICE
N F LY
5 CLCC_AVF_VOICE
EN
6 CLCC_VFD_DATA
7 CLCC_AVD_DATA
8 CLCC_AVF_FAX
string Number Calling/called number
integer Type 145 International call
129 National call
Integer disc_cause see Design Note
AL
11.16.3 Design Notes
cause.
EN
0 Please refer to l3_inc_enums.h (under mcu\ps\interfaces\enum) before HAL
revise.(before 11B.W11.44MP)
1 Please refer to ps_public_enum.h (under mcu\interfaces\modem) after HAL revise
(after 11B.W11.44MP)
3. Call application shall monitor CSMCC_CALL_DISCONNECTED event for all call disconnection
event. That‘s because not every call disconnection event has <disc_cause>,ex: the MO call setup
fail in local ,maybe MM connection setup fail. In such case, there will be no Call Control cause from
Network.
For call application that want to get <disc_cause>, it shall also monitor
CSMCC_DISCONNECT_MSG event to get <disc_cause>. And it‘s guaranteed that
CSMCC_DISCONNECT_MSG (for call_id =x) must come before
CSMCC_CALL_DISCONNECTED( for call_id = x). Thus, call application can keep the <cause> for
call_id = x when receiving CSMCC_DISCONNECT_MSG (for call_id =x) first and use it as the
<disc_cause> when receiving CSMCC_CALL_DISCONNECTED( for call_id = x)
CO
To get RAT mode status and GRRS/EDGE status or set RAT mode of MS
11.17.1 Format
11.17.2 Field
AL
0 GSM
2 UTRAN
3 GSM w/EGPRS
4 UTRAN w/HSDPA
ID NQ
5 UTRAN w/HSUPA TI
6 UTRAN w/HSDPA and HSUPA
255 unknown
<GPRS status>:
N F LY
0:GPRS
EN
1:EDGE
<RAT mode>: RAT mode setting of MS
0: GSM only
1: WCDMA only
2: Auto
255: unknown
<prefer_rat>: prefer rat setting
0: No prefer /* Default value */
2: WCDMA prefer /* Applicable when rat_mode=2 */
11.17.3 Note
<prefer_rat> only applicable when feature option WCDMA_PREFER is true and only for UMTS
FDD project. If <prefer_rat> not given, keep the previous prefer setting. AT +ECAL – Calibration
11.18.1 Format
AL
11.18.2 Field
ID NQ
Type Short name
TI Parameter/comment
integer status calibration data is not download 0
calibration data is donwload 1
N F LY
EN
11.18.3 NOTE
12 STK AT Commands
Please refer to another document Remote_SAT (RSAT). We introduce the STK AT command in
detail in that document.
AL
ID NQ
TI
N F LY
EN
CO
13.1.1 Format
Command Response
+EEBSE=<gsm_band>,
AL
<umts_band>
+EEBSE? +EPBSE: <gsm_band>, <umts_band>
+EEBSE =? List of supported bit masks of each band mode
ID NQ
TI +EPBSE: <gsm_band>, <umts_band>
13.1.2 Field
N F LY
EN
<GSM_band>
bit 1 EGSM900
bit 3 DCS1800
bit 4 PCS1900
bit 7 GSM850
0xff Auto selection
<UMTS_band>
bit 0 UMTS BAND I : WCDMA-IMT-2000
bit 1 UMTS BAND II : WCDMA-PCS-1900
bit 2 UMTS BAND III : WCDMA-DCS-1800
bit 3 UMTS BAND IV : WCDMA-AWS-1700
bit 4 UMTS BAND V : WCDMA-CLR-850
bit 5 UMTS BAND VI : WCDMA-800
bit 6 UMTS BAND VII : WCDMA-IMT-E-2600
CO
13.1.3 Example
13.1.4 Note
AL
The command is available from 09A.09B.W0948MP
3. After using this command, user should reboot the handset to let the setting become effective
EN
if the compile option __DYNAMIC_BAND_SEL__ is not opened
4. If we get 0 in the certain field using AT+EPBSE=? , it means that the field is not supported.
13.2.1 Format
13.2.2 Field
CO
CHAP 1
13.2.3 Response
This command is used to validate PUK and to define a new PIN code.
AL
13.3.1.1 Format
Do not use this command during power on process. During power on process, use
AT+CPIN
CO
to validate PUK.
Since this proprietary command is intended for modem project or dual-SIM/mode project . We
won‘t handle such MMI synchronization problem or perform extra error handling
Only used AT+EPIN1 when SIM card inserted
This command is used to validate the PIN2 , or to validate PUK2 and to define a new PIN2
code.
13.4.1 Format
AL
+CME ERROR: <err>
+EPIN2=?
ID NQ
13.4.2 Field TI
<pin2>, <newpin2>, <puk2>: string type values
<code> values reserved by the present document:
N F LY
This command queries the number of remaining valid tries for PIN1, PIN2, PUK1, and PUK2
13.5.1 Format
13.5.2 Field
AL
SMS status change mode after +CMGR and +CMGL
13.6.1 Format
ID NQ
Command
+ESMSS= <mode>
TI Possible response(s)
+CME ERROR: <err>
+ESMSS ? +ESMSS : <mode>
N F LY
<mode>
0 Unchange – SMS status remains as "REC UNREAD" after +CMGR or +CMGL
1 Change – SMS status changes from "REC UNREAD" to "REC READ" after +CMGR
or +CMGL.
13.6.3 Note
N/A
This command returns the operator name in alphanumeric format when given the numeric
format.
13.7.1 Format
13.7.2 Field
AL
<oper_alpha>: the operator in alphanumeric format
[NOTE] We DO NOT support full set of alphanumeric format of <oper>, since the code
size will become very large. If the customer needs the alphanumeric format,
ID NQ
the table can be customized in
TI
mcu\custom\ps\xxx_bb\customer_operator_names.c.
13.8.1 Format
13.8.2 Field
13.9.1 Format
13.9.2 Field
AL
inbox
1 Query charger status
2 Query clam status
ID NQ
TI 3
4
Query if sms ready
1.
13.9.3 Example
AT+EQUERY=0
+CMGW: (0-3) // SMS support writing SMS to inbox
Copyright© Shanghai MobiletekCommunication Ltd 154
L218 AT DOCUMENT
OK
AT+EQUERY=1
+CHAR: 1 // charger is plug-in
OK
AT+EQUERY=2
+CLAM: 0 // clam is closed
OK
AT+EQUERY=5
+EQMO: 1 // #if defined(__SMS_STORAGE_BY_MMI__) &&
defined(__GEMINI__)
OK
AT+EQUERY=6
+EPBV: 2 // #if defined(__PHB_STORAGE_BY_MMI__)
OK
AL
AT+EQUERY=7
+ESMSV: 2 // #if defined(__SMS_STORAGE_BY_MMI__)
OK
ID NQ
TI
13.10 AT +EIND Indication Control Command
Set command to enable +EIND unsolicited result code . to indicate the readiness of SMS or
N F LY
PHB or AT
EN
13.10.1 Format
13.10.2 Field
3 is 1 e.g. 8,9..
Bit 7 Any value(0~4294967295) that bit
7 is 1 e.g. 128,129,130..
Integer ind 1 SMS_READY
2 PHB_READY
4 file change for PLMN files
8 file change for EONS files
16 Invalid SIM
128 AT_READY
AL
Set command to enable +ECSQ unsolicited result code . to indicate the received signal level.
13.11.1 Format
ID NQ
Command
+ECSQ= <flag>
TI Possible Response(s)
OK
ERROR
+ECSQ? +ECSQ: <flag>
N F LY
EN
+ECSQ=? +ECSQ: (0,1)
13.11.2 Field
Set command to enable some proprietary unsolicited result code(URC) information report.
13.12.1 Format
AL
13.12.2 Field
Bit 1
Any value(0~4294967295) that bit
0 is 1 e.g. 1,3,5..
Any value(0~4294967295) that bit
1 is 1 e.g. 2,3,6..
N F LY
Currently , bit 0 is for +ESMLA (see 15.14 for detail) , bit 1 is for +ECFU (see 15.15 for detail) , bit 4
is for +ESPEECH (see 15.16 for detail)
service data
CO
13.13.1 Format
13.13.2 Field
<m>:
1 Execute SS
2 Execute USSD
<m>=2 is specifically used to reply USSD Request from remote and cancel USSD session.
Otherwise, we don‘t distinguish <m>.
<n>:
1 Excute SS/USSD
2 Cancel USSD session (only allowed when <m>=2)
<str>: string type USSD string
<dcs>: 3GPP TS 23.038 [25] Cell Broadcast Data Coding Scheme in integer format (default 0).
This parameter is supposed to be 0x0f. To support other coding scheme needs to turn on
AL
specific compile option.
13.13.3 Note
ID NQ
TI
This command is responded before actually receiving the execution result from the network. It is
responded after FDN checked by PHB to prevent user waiting for a long duration of network
response time.
This command is only supported in modem load and when the command compile option is turn
N F LY
on.
EN
13.14 AT+ERFTX Proprietary control RF transmitter power
13.14.1 Format
13.14.2 Field
CO
AT+ERFTX=0,<para1>,<para2>,<para3>,<para4>
– <para1>: integer type
• 0: request UE WCDMA TX output power for possible next desired TX signal
measurement (with <para2/3/4>)
• 1: to stop WCDMA TX power output (without any other parameters)
Copyright© Shanghai MobiletekCommunication Ltd 158
L218 AT DOCUMENT
AL
- No parameter
- parameters:
ID NQ
<arfcn>:
PGSM900: 1..124
TI
EGSM900: 0..124, 975..1023
RGSM900: 0..124, 955..1023
DCS1800: 512..885
N F LY
PCS1900: 512..810
EN
GSM450: 259..293
GSM480: 306..340
GSM850: 128..251
<afc>: 0..8191
<band>:
L1_PGSM900 0x01
L1_EGSM900 0x02
L1_RGSM900 0x04
L1_DCS1800 0x08
L1_PCS1900 0x10
L1_GSM450 0x20
L1_GSM480 0x40
L1_GSM850 0x80
(Actually permitted bands are configured by BAND_SUPPORT in make
CO
file)
<tsc>: BSIC (int8), also for TSC = BSIC&0x7 (0~7)
<pcl>: /* support maximum 4 slot PCL*/
GSM400, GSM850, GSM900: 5~19
DCS1800, PCS1900: 0~15
<pattern>:
RFTOOL_NB_TX_RANDOM_WITH_TSC = 0
RFTOOL_NB_TX_ALL_ONES_WITHOUT_TSC = 1
RFTOOL_AB_TX_RANDOM_WITH_SYNC_SEQ = 2
RFTOOL_CONT_TX_ALL_ZEROS = 3
RFTOOL_CONT_TX_ALL_ONES = 4
RFTOOL_CONT_TX_ALTERNATE_BITS = 5
RFTOOL_CONT_TX_PSEUDO_RANDOM = 6
RFTOOL_MULTISLOT_TX_RANDOM_WITH_TSC = 7
<timeslotmask>:
1 : T_ _ _(0001)
2 : _ T_ _(0010)
3 : T T_ _(0011)
4 : _ _ T_(0100)
5 : T _ T_(0101)
6 : _ T T_(0110)
AL
……..
15 :T T T T (1111)
<cs>: slot coding type
ID NQ
0 : CodingSchemeNone;
TI
1 : CodingSchemeCS1;
2 : CodingSchemeCS2;
3 : CodingSchemeCS3;
4 : CodingSchemeCS4;
N F LY
- parameters:
<band>: refer to TX section
<arfcn_in>: refer to TX section
This command is used to set the boot up mode for modem. If boot up in exception mode,
modem will perform silent boot up, such as bypass PIN check when it has been verified before.
13.15.1.1 Format
AL
+EBOOT=<mode> OK/ERROR
ID NQ
13.15.1.2 Field
TI
<mode>
0 Normal boot up
1 Exceptoon boot up
N F LY
EN
13.15.1.3 Note
This command is used to read SIM card ICCID if SIM inserted. If SIM not inserted, return
+CME ERROR: 10
13.16.1.1 Format
OK
ERROR / +CME ERROR: 10
13.16.1.2 Field
13.16.1.3 Note
AL
13.17 AT+EPCT PS Conformance Test Mode
For the following cases that our handset behavior needs to be adjusted to meet test
ID NQ
requirement of CTA/FTA/IOT
TI
▪ CTA/FTA/IOT lab equipment is not capable with Spec
▪ Our handset make some changes for real network for better performance or some other reason.
▪ In one kind of test, CTA for example, there maybe two cases that need exclusive behavior of
handset. Just like case A need handset send some signal to network, But Case B actual need
N F LY
EN
handset do not send those signal to network.
13.17.1.1 Format
13.17.1.2 Field
CO
PS_CONF_TEST_IOT,
PS_CONF_TEST_OPERATOR,
PS_CONF_TEST_FACTORY,
PS_CONF_TEST_END
} ps_conf_test_mode_enum;
<profile>: integer type. Specific test profile under the <mode>
Availabe test profile defined in ps_em_enum.h. Following is the subset of available test
profile.
/* CTA Items */
#define CTA_INTEGRITY_CHECK_BIT_FOR_MM 0x00000001
#define CTA_TL1_BIT_FOR_TL1 0x00000002
#define CTA_K1297_BIT_FOR_RRCE 0x00000004
#define CTA_SNCONFLICT_BIT_FOR_RLC_RRCE 0x00000008
#define CTA_CFQUERY_BIT_FOR_SS 0x00000010
AL
#define CTA_PLMN_LOCK_BIT_FOR_CSCE 0x00000020
#define CTA_OPEN_MEAS_BIT_FOR_CSCE 0x00000040
#define CTA_DISABLE_DPA_BIT_FOR_RRCE 0x00000080
ID NQ
#define CTA_OPEN_INVALID_INTRA_CELL_REPORT__BIT_FOR_MEME 0x00000100
TI
#define CTA_AUTO_ADJUST_BIT_FOR_RRCE 0x00000200
#define CTA_DISABLE_UPA_BIT_FOR_RRCE 0x00000400
#define CTA_RELEASE_ADAPTION_BIT_FOR_RRCE 0x00000800
/* FTA Items */
N F LY
13.17.1.3 Note
- Set handset to CTA mode without special setting
- Set handset to CTA mode with special setting bits(bit 123 on)
This command is used to force release specific call by call_id. If disconnect call can not be
complete in time, it is allowed to use this command to force release the call.
13.18.1 Format
+ECHUP=<call_id> OK
+CME ERROR: <err>
13.18.2 Field
<call_id>: integer
13.18.3 Note
- Note that it required to disconnect call by AT+CHLD before using AT+ECHUP, MODEM does not
allow disconnect call by AT+ECHUP only.
AL
13.18.4 Change History
14.1.1 Format
AL
<rssi>,<ber>,<rssi_in_qdbm>[,<RSCP_in_qdbm>,<EcN0_in_qdbm>]
ID NQ
14.1.2 Field TI
Type Short name Parameter/comment
Integer rssi 0-255 Received signal strength
N F LY
indication level
EN
Integer ber 0-255 Bit error rate
Integer rssi_in_qdbm Received signal strength in
quarter dbm
Intger RSCP_in_qdbm RSCP in quarter dbm.
Only avaliabe when camp on UMTS
network
Integer EcN0_in_qdbm EcN0 in quarter dbm.
Only avaliabe when camp on UMTS
network
14.2.1 Format
14.2.2 Field
14.2.3 Note
AL
14.3 URC: +ECFU
This URC is intended to notify application to show CFU(Call Forwarding Uncondictional) icon.
ID NQ
14.3.1 Format
TI
Unsolicited result code
N F LY
+ECFU: <status>,<line>
EN
14.3.2 Field
14.3.3 Note
CO
This URC is to notify application to attach the speech for voice call (user connection). It‘s
defined in spec 24.008 section5 call control .
14.4.1 Format
14.4.2 Field
AL
2 UMTS
3 GSM
Integer irho_speech_on_off 0 Not inter-rat handover
1 Is inter-rat handover
ID NQ
14.4.3 Note
TI
N F LY
14.5.1 Format
14.5.2 Field
CO
<report_value>: integer
SCRI_REQ_SENT = 0,
SCRI_CS_SESSION_ONGOING = 1,
SCRI_PS_SIGNALLING_ONGOING = 2,
SCRI_NO_PS_DATA_SESSION = 3,
SCRI_REQ_NOT_SENT = 4,
SCRI_NOT_ALLOWED = 5
14.5.3 Note
14.6.1 Format
14.6.2 Field
AL
<sim_inserted_status>: integer
0 SIM not presented
1 SIM presented
ID NQ
<cause>: integer
TI
0 SIM_CARD_REMOVED,
1 SIM_ACCESS_ERROR,
2 // Reserved for other use
3 // Reserved for other use
N F LY
14.6.3 Note
CO
14.7.1 Format
+EUSIM: <type>
14.7.2 Field
14.7.3 Note
AL
16.8.3 Field
Type Short name Parameter/comment
Integer is_test_sim 0 normal sim
1 test sim
CO
15 SSL/TLS AT Command
AL
d>]]
ID NQ
15.1.2 Field TI
<op>:
0: install
1: retrieve private key
N F LY
EN
2: query certificate status
<path>:
Certificate file path which will be installed.
<passwd>:
passwd for certificate installing.
OK means the operation complete and success
ERROR means the operation uncompleted or completed but failed.
15.1.3 Note
Example:
AT+ECERT=0, "z://abc.c", "123" /*install certificate z://abc.c with passwd 123*/
OK
AT+ECERT=1, "z://abc.c" /*retrieve certificate to z://abc.c */
CO
OK
AT+ECERT=2 /*query last certificate state*/
ERROR //the certificate not found
16 GPS AT COMMAND
AT Command Description
AT+EGPSC Power on/off GPS
AT+EGPSS Send PMTK Command
AT+EGPSEPO Set EPO Parameter
AT+ EGPSTS Set GPS Time Sync Parameter
AL
The following GPS related Commands related to Firmware version(for L218)
16.1.1 Format
16.1.2 Field
<state>:
0: power off GPS
1: power on GPS
16.1.3 Note
Example:
AT+EGPSC=1 // Power on GPS
OK // response from AT
AT+EGPSC=0 // Power off GPS
OK // response from AT
AL
16.2.1 Format
16.2.3 Note
This Command can be set after GPS power on success, or will return error.
Only support with all in one GPS chip.
Example:
AT+EGPSS="PMTK000*32" // Test Message
OK //response by AT
AT+EGPSS=" PMTK353,1,0,0,0,0*2A" // Configure GNSS Type as GPS only
CO
OK //response by AT
Enable/Disable EPO downloading and aiding features. Set the data account used by EPO
downloading.
16.3.1 Format
16.3.2 Field
AL
1: Disable EPO
< Data account >:
Network data account is used to access internet and set by command "AT+EGDCONT".
ID NQ
Please refer the detail about "AT+EGDCONT" on chapter 18.1.
TI
16.3.3 Note
Enable/Disable GPS time sync and aiding. Set time sync network data account.
16.4.1 Format
16.4.2 Field
16.4.3 Note
AL
AT+EGDCONT=0,"IP","cmnet"
Second, activate the network on the device.
AT+ETCPIP=1,0
ID NQ
TI
16.5 AT+CUSGPSC Power on/off GPS
N F LY
Control GPS state -- power on/off GPS reciever. GPS_UART NMEA output only.
EN
16.5.1 Format
16.5.2 Field
<state>:
CO
16.5.3 Note
Example:
AT+CUSGPSC=1 // Power on GPS
OK // response from AT
AT+CUSGPSC=0 // Power off GPS
OK // response from AT
16.6.1 Format
AL
+CUSGPSS? Not Support
+CUSGPSS=? Not Support
ID NQ
16.6.2 Field
This Command can be set after GPS power on success, or will return error.
Only support with all in one GPS chip.
Example:
AT+CUSGPSS="PMTK000*32" // Test Message
OK //response by AT
AT+CUSGPSS=" PMTK353,1,0,0,0,0*2A" // Configure GNSS Type as GPS only
OK //response by AT
Enable/Disable EPO downloading and aiding features. Set the data account used by EPO
downloading.
16.7.1 Format
16.7.2 Field
AL
16.7.3 Note
ID NQ
Precondition for using EPO feature:
TI
First, set property data account which will be used by EPO.
AT+EGDCONT=0,"IP","cmnet"
Second, activate the network on the device.
AT+ETCPIP=1,0
N F LY
EN
16.8 AT+CUSGPSG Get GPS status
16.8.1 Format
16.8.2 Field
16.8.3 Note
AL
ID NQ
TI
N F LY
EN
CO
The command is used to power on or off BT. The power on command could only be sent
when BT is power off. And the power off command could only be sent when BT is power on.
17.1.1 Format
AL
+EBTPWR=? +EBTPWR: (0-1)/ERROR
+EBTPWR=<op> OK /ERROR
ID NQ
17.1.2 Field
<op>: integer
TI
0 power on
N F LY
EN
1 power off
Example
AT+EBTPWR=0//power on bt
OK
The command is used to read or write BT device local name. The max invalid length of the
device name is 54.
17.2.1 Format
17.2.2 Field
< device name >: BT name string ,no need use " " double quotes.
Example
AT+EBTNAME?//Read BT local name
+EBTNAME:mydevice
OK
AT+EBTNAME=mydevice1 // write BT local name
OK
AL
The command is used to read or write BT device local address. This CMD should only sent to
Target when BT is power off.
17.3.1 Format
ID NQ
Command
+EBTADDR=?
TI Possible response(s)
OK/ERROR
Description
Show if the command is supported
+EBTADDR? +EBTADDR:<address > Read BT address
N F LY
OK /ERROR
EN
+EBTADDR=<address> OK / ERROR Write BT address
17.3.2 Field
<address>: BT addr string ,no need use " " double quotes ,length should be 12 charators
Example:
1234565b0102
It means :LAP is 0x123456, UAP is 0x5b, NAP is 0x0102
Example
AT+EBTADDR?//Read BT local addr
+EBTADDR:1234565b0102
OK
AT+EBTADDR=1234565b0102 // write BT local addr
CO
OK
17.4.1 Format
AL
+EBTINQ OK/ERROR Start to inquiry
ID NQ
17.4.2 Field
TI
<interval >: integer , should greater than poll time. (Note :Current the parameter does not
work ,because of BT stack already have itself timer )
<polltime>: integer , the max seconds number for inquring.
N F LY
+EBTINQ:1234565b0104 ,devicename4
+EBTINQ:1234565b0105 ,devicename5
The command is used to cancel inquiry BT devices. Should be sent only when it‘s inquring.
17.5.1 Format
17.5.2 Field
Example
AT+EBTINQC // cancel inquiry BT devices
OK
AL
17.6 AT+EBTVISB Set BT visiable
17.6.2 Field
<n>: integer
0 unvisiable
1 visiable
<times>:integer , visiable time ,seconds (0~255)
0 visiable forever
1~255 visiable time seconds
CO
Example
AT+EBTVISB=0//unvisiable
OK
AT+EBTVISB=1,0 // visiable forever
OK
AT+EBTVISB=1,60 //visable 60s
OK
AT+EBTNAME=1234565b0102 // write BT local addr
Copyright© Shanghai MobiletekCommunication Ltd 181
L218 AT DOCUMENT
OK
17.7.1 Format
AL
17.7.2 Field
ID NQ
TI
< device name >: BT name string ,no need use " " double quotes.
<address>: BT addr string ,no need use " " double quotes ,length should be 12 charators
Example:
N F LY
1234565b0102
EN
It means :LAP is 0x123456, UAP is 0x5b, NAP is 0x0102
Example
AT+EBTRNAME=1234565B0102 //Read remote BT device name
+EBTRNAME:Yourdevidename1
OK
17.8.1 Format
17.8.2 Field
<address>: BT addr string ,no need use " " double quotes ,length should be 12 charators
Example:
1234565b0102
It means :LAP is 0x123456, UAP is 0x5b, NAP is 0x0102
<timeout>: integer , time in seconds for pairing timeout.
The value should between 1 and 20. 0 means 20s. Value larger than 20 will be treat as 20.
<name>:BT name string ,no need use " " double quotes.
< enable 16digitspin>: integer
0 not enable the 16digits pin
1 enable the 16 digits pin
<password>:String
AL
Example
AT+EBTPAIR=1234565b0102,60 //pair device ,and timeout is 60s
+EBTPAIR:1234565b0102,devicename,0,123456
OK
ID NQ
TI
17.9 AT+EBTPAIRCNF Allow or disallow BT pair
17.9.2 Field
<n>: integer
0 disallow BT pair
CO
1 allow BT pair
<password>: string ,need use " " double quotes
Example
AT+EBTPAIRCNF=1,”123456” // allow pair and password is 123456
OK
The command is used to read remote BT device support profiles which we support also.
17.10.1 Format
AL
17.10.2 Field
<address>: BT addr string ,no need use " " double quotes ,length should be 12 charators
Example:
ID NQ
1234565b0102
TI
It means :LAP is 0x123456, UAP is 0x5b, NAP is 0x0102
<profile_bitmap> integer ,uint64 ,one bit is a profile support or not.
0 :not support ,1 supported
N F LY
mode
The command is used to read or write BT security and encryption mode. Currently we only
CO
support security mode setting. Note that the value of queried value of security mode is decide by BT
Stack, may not be the same with setting value.)
17.11.1 Format
OK/ERROR
+EBTSENM? +EBTSENM:<sec-mod> , Read security mode and
<enc-mod> encryption mode
OK /ERROR
+EBTSENM=<sec-mod> , OK / ERROR Write security mode and
<encmod> encryption mode
17.11.2 Field
AL
2- Sec_mode2_service
3- Sec_mode3_link
4- Sec_mod_unknown
< enc-mod >
ID NQ
0- hci_enc_mode_off
TI
1- hci_enc_mode_pt_to_pt
2- hci_enc_mode_pt_to_pt_and_bcast
Example
AT+EBTSENM=0,0 // write mode
N F LY
EN
OK
AT+EBTSENM?//read mode
+EBTSENM:0,0
OK
17.12.1 Format
OK/ERROR
+EBTOPAD=<n>,<address> +EBTOPAD:<index>,<addre get device list
ss >
OK /ERROR
17.12.2 Field
<address>: BT addr string ,no need use " " double quotes ,length should be 12 charators
Example:
1234565b0102
It means :LAP is 0x123456, UAP is 0x5b, NAP is 0x0102
<n> :integer
0 delete
1 locate
2 delete all
3 most recently used
4 return total list
<index> :integer
AL
Example
AT+EBTOPAD=0,1234565b0102
OK
AT+EBTOPAD=3
ID NQ
+EBTOPAD:1,1234565b0102
TI
OK
AT+EBTOPAD=4
+EBTOPAD:1,1234565b0102
N F LY
+EBTOPAD:2,1234565b0103
EN
+EBTOPAD:3,1234565b0104
+EBTOPAD:4,1234565b0105
OK
17.13.1 Format
17.13.2 Field
<address>: BT addr string ,no need use " " double quotes ,length should be 12 charators
Example:
1234565b0102
It means :LAP is 0x123456, UAP is 0x5b, NAP is 0x0102
<profile>:integer, see BT Profile SPEC for profile UUID.
Example:
4353, it means 0x1101, SPP Profile.
<CM state>:integer
1 START, BT is powering on.
2 READY, BT powered on, stand by for working.
3 PAIRING,
AL
4 INQUIRING,
5 CONNECTING,
6 CONNECTED,
7 NUKNOWN,
ID NQ
<profile state>:integer
TI
1 START, Reserved.
2 IDLE, APP for this profile not activated.
3 ACTIVATE, APP for this profile activated.
N F LY
17.14.1 Format
17.14.2 Field
<op>: integer
0 write
1 read
<level>:integer
0 reserved.
1 reserved.
2 reserved.
AL
3 reserved.
Example
AT+EBTENSNIFF=0,0// set
OK
ID NQ
AT+EBTENSNIFF=1 // read
TI
+EBTENSNIFF:0
OK
N F LY
17.15.1 Format
17.15.2 Field
CO
<address>: BT addr string ,no need use " " double quotes ,length should be 12 characters
Example:
1234565b0102
It means :LAP is 0x123456, UAP is 0x5b, NAP is 0x0102
<signal>:integer
Example
AT+EBTRSSI=1234565b0102
+EBTRSSI:32
OK
17.16.1 Format
AL
OK/ERROR
+EBTPACT=<profile-bitmap> +EBTPACT:< profilebitmap (de)active BT profiles
>
ID NQ
TI OK / ERROR
17.16.2 Field
N F LY
EN
<profile_bitmap> integer ,uint64 ,one bit is a profile support or not.
0 :not support ,1 supported
Example : profile_bitmap value is 3 ,
0x0000000000000011 means profile 1 ,2 supported ,others not supported.
bit 1 :SPP Profile, UUID = 0x1101.
bit 2 – bit 64 :All reserved.
Example
AT+EBTPACT=1
+EBTPACT:1
OK
17.17.1 Format
OK/ERROR
+EBTCONN=<n>,<address>,<pr OK / ERROR Write BT address
ofile>,<role>
17.17.2 Field
<address>: BT addr string ,no need use " " double quotes ,length should be 12 charators
Example:
1234565b0102
It means :LAP is 0x123456, UAP is 0x5b, NAP is 0x0102
<n>: integer
0 Disconnect
AL
1 Connect
<profile>:integer, see BT Profile SPEC for profile UUID.
Example:
4353, it means 0x1101, SPP Profile.
ID NQ
<role>:integer,profile role.
TI
1 server
0 client
Example
AT+EBTCONN=1,1234565b0102,32,1
N F LY
EN
OK
+EBTCONN:1,1234565b0102,32,1
The command is used to notify other device want to pair local BT, and may be need input
password or pin code.
17.18.1 Format
17.18.2 Field
<address>: BT addr string ,no need use " " double quotes ,length should be 12 charators
Example:
1234565b0102
It means :LAP is 0x123456, UAP is 0x5b, NAP is 0x0102
<name>:BT name string ,no need use " " double quotes.
< enable 16digitspin>: integer
0 not enable the 16digits pin
0 enable the 16 digits pin
<password>:String
Example
+EBTPAIR:1234565b0102 ,devicename,0,123456
AL
17.19.1 Format
<address>: BT addr string ,no need use " " double quotes ,length should be 12 charators
EN
Example:
1234565b0102
It means :LAP is 0x123456, UAP is 0x5b, NAP is 0x0102
<name>:BT name string ,no need use " " double quotes.
Example
+EBTINQ:1234565b0102 ,devicename
17.20.1 Format
CO
17.20.2 Field
<result>: integer
0 failed
1 successful
<is cancelled>:integer
0 not be cancelled
1 be cancelled
Example
+EBTIND:1,0
AL
The command is used to notify the response of passive pairring.
17.21.1 Format
ID NQ
TI
Unsolicited result code
+EBTPAIRRES:<result>,<isfirst>,[address]
N F LY
EN
17.21.2 Field
<result>: integer
0 failed
1 successful
<is first>:integer
0 not the first
1 be first
<address>: BT addr string ,no need use " " double quotes ,length should be 12 charators
Example:
1234565b0102
It means :LAP is 0x123456, UAP is 0x5b, NAP is 0x0102
Example
+EBTPAIRRES:1,0,1234565B0102
CO
17.22.1 Format
17.22.2 Field
<result>: integer
0 failed
1 successful
<address>: BT addr string ,no need use " " double quotes ,length should be 12 charators
Example:
AL
1234565b0102
It means :LAP is 0x123456, UAP is 0x5b, NAP is 0x0102
<profile id>:integer, see BT Profile SPEC for profile UUID.
ID NQ
Example:
Example
TI
4353, it means 0x1101, SPP Profile.
+EBTCONN:1,1234565B0102,32
N F LY
The command is used to notify all supported profiles are deactived or actived.
17.23.1 Format
17.23.2 Field
CO
<state>: integer
0 all deactived
1 all actived
17.24.1 Format
17.24.2 Field
AL
<n>: integer
1 one connection is disconnected
2 all connections are disconnected
<address>: BT addr string ,no need use " " double quotes ,length should be 12 charators
ID NQ
Example: TI
1234565b0102
It means :LAP is 0x123456, UAP is 0x5b, NAP is 0x0102
<profile id>:integer, see BT Profile SPEC for profile UUID.
N F LY
Example:
EN
4353, it means 0x1101, SPP Profile.
<passive> :integer
0 not passive disconnect
1 passive disconnected
Example
+EBTDISC:1,1234565B0102,32,0
+EBTDISC:2,1234565B0102
17.25.1 Format
CO
17.25.2 Field
AL
17.26.1 Format
Example
EN
+EBTRST:1
17.27.1 Format
17.27.2 Field
+EBTPRFAU
The command is used to notify other BT devices need connect our profile .
17.28.1 Format
AL
17.28.2 Field
<address>: BT addr string ,no need use " " double quotes ,length should be 12 charators
Example:
ID NQ
1234565b0102
TI
It means :LAP is 0x123456, UAP is 0x5b, NAP is 0x0102
<name>:BT name string ,no need use " " double quotes.
<profile id>:integer, see BT Profile SPEC for profile UUID.
N F LY
Example:
EN
4353, it means 0x1101, SPP Profile.
Example
+EBTPRFAU:3,1234565B0102,devicename
17.29.1 Format
17.29.2 Field
0 failed
1 successful
Example
+EBTPRFCN:3,1
17.30.1 Format
AL
17.30.2 Field
ID NQ
Example:
TI
<profile id>:integer, see BT Profile SPEC for profile UUID.
Currently, SPP profile has no AT CMD. But with AT+EBTCONN we can connect SPP Server or
be connected as a Server.
AL
ID NQ
TI
N F LY
EN
CO
The command is used by OPP client to push files to specified OPP server.
19.1.1 Format
AL
>[,<file2>[,...,[<file5]]] command
ID NQ
19.1.2 Field TI
< address >: OPP server BT address string ,no need use " " double quotes ,length should be 12
characters.
<file1>: First file to send. User must give full file path. "" double quotes are required.
N F LY
EN
<file2>…<file5>: optional files to send. Must use "" double quotes. If you send several files and some
file paths are not valid, we‘ll try to send valid file paths. Valid file path count will be reported in URC
+EOPPPUSH
file path should use utf-8 encoding
Example:
AT+EOPPPUSH = 1234565b0102, "Z:/AAA/bbb.file”,”Z:/cc.file”
It means : send to device with BT address "1234565b0102". Send 2 local files:
Z:\AAA\bbb.file, Z:\cc.file
If you input 3 file path and only 2 is valid, we’ll try to send two correct
files. Total valid files will be returned as URC “EOPPPUSH” filed.
19.2.1 Format
19.2.2 Field
AL
device
ID NQ
The command is used by OPP client/server to abort OPP transaction with one device. If OPP
TI
client is sending multiple objects to server, this command will only abort current sending
object.
19.3.1 Format
N F LY
EN
Command Possible response(s) Description
+EOPPABORT=<address> OK/ERROR
19.3.2 Field
< address >: address string ,no need use " " double quotes ,length should be 12 characters.
Example:
AT+EABOART=1234565b0102
It means :abort OPP transaction with BT address "1234565b0102".
19.4 URC: Notify when OPP server receive OPP client send request
CO
+EOPPRECV
The command is used to notify when OPP server receive OPP client send requset.
19.4.1 Format
19.4.2 Field
<device_name>: OPP client BT name string, with double quote””. UTF8 encoded
<address>: OPP client BT address
<obj_name>: object name, max 128 chars. with double quotes"". UTF8 encoded.
<MIME>: MIME string, max 80 chars. with double quote""
Example
AL
+EOPPRECV: 1234565B0102, “My BT device”, ”aa.txt”, ”text/plain”
It means: device "My BT device" with address "1234565B0102" want to send "aa.txt", which
MIME type is "text/plain". Do you want to accept it?
ID NQ
TI
19.5 AT+EOPPACCEPT OPP server decide whether accept push
19.5.1 Format
19.5.2 Field
< address >: address string ,no need use "" double quotes ,length should be 12 characters.
<result>: bool, 1 means accept, 0 means reject;
CO
<path>: full file path to store this object. Double quotes required
Example:
AT+EOPPACCEPT= 1, 1234565b0102,”Z:\aa.txt”
It means :Accept object send by client with BT address "1234565b0102" and store it as
"Z:\aa.txt".
The command is used to notify when OPP server complete receiving one object
19.6.1 Format
19.6.2 Field
AL
<address>: OPP client BT address
<obj_name>: object name, max 128 chars. with double quote"" and UTF8 encoded
Example
+EOPPRECV: 1234565B0102, ”aa.txt”
ID NQ
It means: finish receiving "aa.txt" from device "1234565B0102"
TI
N F LY
EN
CO
20.1.1 Format
AL
<folder>,[<MaxListCount>,
[<ListStartOffset>,
[<searchattr>,<searchval>]]]
ID NQ
20.1.2 Field
TI
< address >: PBAP server BT address string ,no need use " " double quotes ,length should be 12
N F LY
EN
characters.
<folder>: folder name, 1-10
telecom/pb 1
telecom/ich 2
telecom/och 3
telecom/mch 4
telecom/cch 5
SIM1/telecom/pb 6
SIM1/telecom/ich 7
SIM1/telecom/och 8
SIM1/telecom/mch 9
SIM1/telecom/cch 10
<MaxListCount>: maximum number of entries that PBAP client can handle. <ListStartOffset>: offset
to
CO
The command is used to notify when PBAP Client finish pulling list
20.2.1 Format
AL
20.2.2 Field
The command is used by PBAP client to get phonebook entry. It will return vCard 2.1 file.
20.3.1 Format
20.3.2 Field
CO
<address>: PBAP server BT address string ,no need use " " double quotes ,length should be 12
characters.
<folder>: folder name, 1-10
telecom/pb 1
telecom/ich 2
telecom/och 3
telecom/mch 4
telecom/cch 5
SIM1/telecom/pb 6
SIM1/telecom/ich 7
SIM1/telecom/och 8
SIM1/telecom/mch 9
SIM1/telecom/cch 10
<object>: object name, 1-10, max 64 uint16. double quotes required.
<filter>: 32 bit filter. Indicate the attributes contained in the requested vCard objects. Refer to PBAP
Spec Table 5.2 Attribute Mask. Default value will only filter out PHOTO (0xFFF7). If given filter is 0,
we‘ll use default filter.
Example:
AT+ EPBPENTRY=1234565b0102,1,”001.vcf”, 0xFFF7
It means : get phonebook entry "001.vcf" from "1234565b0102", associated photo not
required.
AL
20.4 URC: Notify when finish pulling list +EPBPDL
ID NQ
The command is used to notify when PBAP Client finish pulling list
TI
20.4.1 Format
N F LY
20.4.2 Field
The command is used by PBAP client to download one category of call history. It will return
vCard 2.1 file.
20.5.1 Format
20.5.2 Field
<path>: full file path to store returned vcard file. Double quotes required
<address>: PBAP server BT address string ,no need use " " double quotes ,length should be 12
characters.
<folder>: folder name, 2-10. 6 is not valid
telecom/ich 2
telecom/och 3
AL
telecom/mch 4
telecom/cch 5
SIM1/telecom/ich 7
SIM1/telecom/och 8
ID NQ
SIM1/telecom/mch 9 TI
SIM1/telecom/cch 10
<MaxListCount>: maximum number of entries that PBAP client can handle.
<ListStartOffset>: offset to the first entry of CH. Default value is 0.
<filter>: 32 bit filter. Indicate the attributes contained in the requested vCard objects.
N F LY
Refer to
EN
PBAP Spec Table 5.2 Attribute Mask. Default value will select
FN/N/TEL/X-IRMC-CALLDATETIME
(0x10000083). If given filter is 0, we’ll use default filter.
Example:
AT+EPBPLIST= 1234565b0102, 2, 30
It means :query Incoming call history from "1234565b0102", max list item is 300, offset is 0.
The command is used to notify when PBAP Client finish pulling list
20.6.1 Format
CO
20.6.2 Field
AL
ID NQ
TI
N F LY
EN
CO
21.1 AT+EBTA2DP
21.1.1 Format
AL
addr>,<”file name”>,<sample result: 0 fail file
rate>,<stereo> 1 success
ID NQ
21.1.2 Field
TI
<play/pause> (0,1).play:1,pause:0.
<bt addr>:" 0x0-0xFFFFFFFFFFFF"
N F LY
EN
<"file name">: string type
<sample rate >: (32000, 44100,48000).
<stereo>:(0,1)
Example:
AT+EBTA2DP=1, DB4BDD130018,
“ 005A003A005C0063007300300031002E0061006D0072io file.f
+EBTA2DP:1
It means :start paly a2dp audio file, bt addr is DB4BDD130018, file name is cs01.amr, sample
rate is 32000, not a stereo.
AT+EBTA2DP=0
+EBTA2DP:1
It means :pause play a2dp audio file.
21.2.1 Format
21.2.2 Field
<command>:
Paly 0x44
Pause 0x46
Forward 0x4B
Backward 0x4C
<key event>:key down: 0, key up: 1
Example
+EBTAVRCP:75,0
+EBTAVRCP:75,1
AL
It means: Bluetooth headset need to play previous audio file.
ID NQ
TI
N F LY
EN
CO
22.1 AT+EHFCLCC
22.1.1 Format
AL
22.1.2 Field
ID NQ
None
Example
TI
There should be a BT connection between HF and AG, and please refer to NOTE for details.
AT+EHFCLCC?
N F LY
EN
[Result]
OK
+EHFCIEV:2,075526630099,1
NOTE:
The precondition should be,
1> Power on BT by “at+ebtpwr=0”
After power on successfully, the HF(M2M) will receive
+EBTPRFAC:1
OK
2> Require a BT connection between the HF(M2M) and AG(smart phone):
Use Smartphone to initial a BT connection, and HF will receive
+EBTPAIR:65727146FEE1,,0,360695
And HF needs to send “at+ebtpaircnf=1”to setup the BT connection .
Then HF will receive
CO
OK
It means BT connection full established. And the command for HFP will run properly.
22.2.1 Format
22.2.2 Field
<state>: int
0, call complete
1, outgoing call
2, incoming call
4, call setup
AL
8, current call is hold
<phb_num>: string
Example
ID NQ
[precondition]
TI
+EHFCIEV: 0, 075526630099, 1
22.3 AT+EHFATA
N F LY
EN
The command is used to accept an incoming call from AG/HF.
22.3.1 Format
22.3.2 Field
[precondition]
[Case 1]
Only one incoming call
AT+EHFATA=1//accept the incoming call
[Result]
+EHFCIEV:2,075526630099,1//incoming call
at+ehfata=1
OK
Copyright© Shanghai MobiletekCommunication Ltd 211
L218 AT DOCUMENT
AL
One active, one hold call, and there is an incoming call
AT+EHFATA=1// Terminate all active calls (if any), and accept the incoming call
[Result]
ID NQ
+EHFCIEV:8,13243764932,1//hold
TI
+EHFCIEV:4,10010,2//active call
+EHFCIEV:2,075526630099,3
at+ehfata=1
OK
N F LY
+EHFCIEV:0,10010,2
EN
+EHFCIEV:8,13243764932,1
+EHFCIEV:2,075526630099,3
+EHFCIEV:8,13243764932,1
+EHFCIEV:4,075526630099,3
22.4 AT+EHFATD
22.4.1 Format
22.4.2 Field
<role>:
0, Initial an outgoing call by AG
Copyright© Shanghai MobiletekCommunication Ltd 212
L218 AT DOCUMENT
AL
OK
+EHFCIEV:1, 075526630099,1
[Case 2]
ID NQ
AT+EHFATD=1,2,1//initial an outgoing call with the first phone number in AG phonebook
[Result]
at+ehfatd=1,2,1
OK
TI
+EHFCIEV:1,13243764932,1
N F LY
EN
22.5 AT+EHFCHUP
22.5.1 Format
22.5.2 Field
CO
< role>:
0, terminate call connection by AG
1, terminate call connection by HF.
Example
[precondition]
[Case]
AT+EHFCHUP=1//hangup current call
[Result]
Copyright© Shanghai MobiletekCommunication Ltd 213
L218 AT DOCUMENT
+EHFCIEV:2,075526630099,2
at+ehfchup=1
OK
+EHFCIEV:0,075526630099,2
22.6 AT+EHFCHLD
22.6.1 Format
AL
22.6.2 Field
ID NQ
<role>:
0, act from AG
1, act from HF
TI
N F LY
<act>[,<index>]
EN
0, releases all held calls
1, release all active calls and accepts the other (waiting or held)call
1,x, release the specific active call x
2, place all active calls on hold and accept the (waiting or held) call
2,x, place all active calls, except call x, on hold
3, add a held call to conference call
4, swap/retrieve
<index>: int
1~127
Example
[precondition]
[Case 1]
AT+EHFCHLD=1, 0// release all held calls
[Result]
CO
+EHFCIEV:2,075526630099,1
at+ehfchld=1,0
OK
+EHFCIEV:0,075526630099,1
[Case 2]
AT+EHFCHLD=1, 1// release all active calls and accepts the other (waiting or //held)call, supported
in
multiple call.
Copyright© Shanghai MobiletekCommunication Ltd 214
L218 AT DOCUMENT
[Result]
+EHFCIEV:2,075526630099,1
at+ehfchld=1,1
OK
+EHFCME:100
+EHFCIEV:2,075526630099,1
[Case 3]
AT+EHFCHLD=1, 1,x// release the specific active call x, only supported in //conference call
[Result]
+EHFCIEV:2,075526630099,1
at+ehfchld=1,1,1
OK
+EHFCME:100
+EHFCIEV:2,075526630099,1
AL
[Case 4]
AT+EHFCHLD=1, 2// place all active calls on hold and accept the (waiting or held) call, //only
supported in multiple call
ID NQ
[Result]
at+ehfchld=1,2
OK
TI
+EHFCIEV:2,075526630099,1
+EHFCIEV:2,075526630099,1
N F LY
+EHFCIEV:4,075526630099,1
EN
[Case 5]
AT+EHFCHLD=1, 2,x// place all active calls, except call x, on hold, only //supported in conference
call
[Result]
+EHFCIEV:2,075526630099,1
at+ehfchld=1,2,1
OK
+EHFCME:100
+EHFCIEV:2,075526630099,1
[Case 6]
AT+EHFCHLD=1, 3// add a held call to conference call
[Result]
+EHFCIEV:2,075526630099,1
at+ehfchld=1,3
CO
OK
+EHFCIEV:2,075526630099,1
[Case 7]
AT+EHFCHLD=1, 4// swap the active/held call
[Result]
+EHFCIEV:2,075526630099,1
at+ehfchld=1,4
OK
+EHFCIEV:2,075526630099,1
+EHFCIEV:4,075526630099,1
22.7 AT+EHFVTS
22.7.1 Format
AL
22.7.2 Field
ID NQ
<digit>: U8, digit should one of "*# 0-9"
TI
Example
[precondition]
[Case]
N F LY
AT+EHFVTS=*//play tone
EN
[Result]
OK
22.8 AT+EHFRVC
The command is used to (Remote audio volume control) set or sync volume among HF/AG.
22.8.1 Format
22.8.2 Field
<role>: bool
0, action from AG
1, action from HF
<act>: int
0, set the volume of AG speaker
The command is used to notify when the volume of speaker in AG changed, and will the
volume of HF speaker will sync with this.
AL
22.9.1 Format
ID NQ
Unsolicited result code
TI
+EHFVGS:<value>
22.9.2 Field
N F LY
EN
<state>: int
0-15(0, means mute. And 15 means the maximum volume)
Example
[precondition]
+EHFVGS: 12
22.10.1 Format
CO
22.10.2 Field
<state>: U8
AL
ID NQ
TI
N F LY
EN
CO
23 GATT AT Command
23.1.1 Format
AL
OK / ERROR
ID NQ
23.1.2 Field TI
< op >:
0 deregister
1 register
N F LY
EN
<user_id>:
User id of gatt server, or the name of the gatt server.
A Hex value string, each char of it should in set { ‗0‘~‘9‘,‘a‘~‘f‘,‘A‘~‘F‘ }
Max length of it is 32.
<result>:
0 SUCCESS
Other un-success
OK / ERROR: at argument error will return ERROR, other will return OK.
23.1.3 Note
Each GATT Server AT can only send after the prior AT return OK/ERROR.
23.1.4 Example:
CO
23.2.1 Format
AL
23.2.2 Field
< op >:
0 disconnet
ID NQ
1 connect
<user_id>:
TI
User id of gatt server, or the name of the gatt server.
A Hex value string, each char of it should in set { ‗0‘~‘9‘,‘a‘~‘f‘,‘A‘~‘F‘ }
N F LY
23.2.3 Note
CO
Each GATT Server AT can only send after the prior AT return OK/ERROR.
23.2.4 Example:
OK
23.3.1 Format
URC
+GATSCON:
<op>,<result>,<user_id>,<addr>,<conn_id>
AL
23.3.2 Field
<op>:
ID NQ
0: disconnect TI
1: connect
<result>:
0: Success
N F LY
Other: un-success
EN
<user_id>:
User id of gatt server, or the name of the gatt server.
A Hex value string, each char of it should in set { ‗0‘~‘9‘,‘a‘~‘f‘,‘A‘~‘F‘ }
Max length of it is 32.
<addr>:
Address of peer. HEX value.
<conn_id>:
The id of this connection.
23.3.3 Note
23.3.4 Example:
CO
23.4.1 Format
23.4.2 Field
< op >:
0 remove
AL
1 add
<user_id>:
User id of gatt server, or the name of the gatt server.
A Hex value string, each char of it should in set { ‗0‘~‘9‘,‘a‘~‘f‘,‘A‘~‘F‘ }
ID NQ
<uuid>:
TI
Max length of it is 32.
The uuid of service, a string with hex value, max len is 32, min len is 4.
<num_handles>:
N F LY
23.4.3 Note
CO
Each GATT Server AT can only send after the prior AT return OK/ERROR.
23.4.4 Example:
AT+GATSS=1,"aabb230","0123456789abcdefa",4,1,254
+GATSS: 1,0, aabb230, 0123456789abcdefa,254,1,32765
OK
Copyright© Shanghai MobiletekCommunication Ltd 222
L218 AT DOCUMENT
23.5.1 Format
AL
23.5.2 Field
<op>:
ID NQ
0 remove
1 add
<user_id>:
TI
User id of gatt server, or the name of the gatt server.
A Hex value string, each char of it should in set { ‗0‘~‘9‘,‘a‘~‘f‘,‘A‘~‘F‘ }
N F LY
EN
Max length of it is 32.
<service_handle>:
Service handle of this service. Dec format.
< inc_service_handle >:
Service handle of this include service. Dec format.
<result>:
0: Success
Other: un-success
OK / ERROR: at argument error will return ERROR, other will return OK.
23.5.3 Note
Each GATT Server AT can only send after the prior AT return OK/ERROR.
CO
23.5.4 Example:
AT+GATSI=1,"aabb230",1199,19900
+GATSI: 1,0, aabb230,1199,19900
OK
service
23.6.1 Format
AL
OK/ERROR
23.6.2 Field
ID NQ
<op>:
0 remove
TI
1 add
N F LY
<user_id>:
EN
User id of gatt server, or the name of the gatt server.
A Hex value string, each char of it should in set { ‗0‘~‘9‘,‘a‘~‘f‘,‘A‘~‘F‘ }
Max length of it is 32.
<service_handle>:
Service handle of this service. Dec format.
<char_uuid>:
The uuid of characteristic, a string with hex value, max len is 32, min len is 4.
<inst>
Instance id of this uuid. Dec format.
<prop>
prop of this characteristic. Dec format. ( 0 - 4294967295)
<permission>
permission of this characteristic. Dec format. ( 0 - 4294967295)
<result>:
CO
0: Success
Other: un-success
< char_handle>:
Characteristic handle of this Characteristic . Dec format.
OK / ERROR: at argument error will return ERROR, other will return OK.
23.6.3 Note
Each GATT Server AT can only send after the prior AT return OK/ERROR.
23.6.4 Example:
AT+GATSC=1," aabb230",0099,"0123456789abcdef",2,12313,4444
+GATSC: 1,0, aabb230,99, "0123456789abcdef",2,9980
OK
service
AL
Add or remove an descriptor to or from an existed characteristic.
ID NQ
23.7.1 Format
Command
TI Possible response(s)
+GATSD=<op>,<user_id>,<servi +GATSD:
N F LY
ce_handle>,<desc_uuid>,<inst>, <op>,<result>,<user_id>,<service_handle>,<
EN
<permission> desc_uuid>,<inst>,<desc_handle>
OK/ERROR
23.7.2 Field
<op>:
0 remove
1 add
<user_id>:
User id of gatt server, or the name of the gatt server.
A Hex value string, each char of it should in set { ‗0‘~‘9‘,‘a‘~‘f‘,‘A‘~‘F‘ }
Max length of it is 32.
CO
<service_handle>:
Handle of characteristic . Dec format.
<desc_uuid>:
The uuid of descriptor, a string with hex value, max len is 32, min len is 4.
<inst>
Instance id of the descriptor uuid. Dec format.
<permission>
permission of this descriptor. Dec format. ( 0 - 4294967295)
Copyright© Shanghai MobiletekCommunication Ltd 225
L218 AT DOCUMENT
<result>:
0: Success
Other: un-success
<desc_handle>:
Handle of this descriptor. Dec format.
OK / ERROR: at argument error will return ERROR, other will return OK.
23.7.3 Note
Each GATT Server AT can only send after the prior AT return OK/ERROR.
23.7.4 Example:
AL
AT+GATSD=1," aabb230",99,"0123456789abcdef",2,12313
+GATSD: 1,0, aabb230,99, 0123456789abcdef,2,9999
OK
ID NQ
TI
23.8 AT+GATSST Start/stop a service
23.8.2 Field
<op>:
0 stop
1 start
<user_id>:
CO
0 : LE,
1 : BREDR,
2 : Dual
<result>:
0: Success
Other: un-success
OK / ERROR: at argument error will return ERROR, other will return OK.
23.8.3 Note
Each GATT Server AT can only send after the prior AT return OK/ERROR.
23.8.4 Example:
AL
AT+GATSST=1," aabb230",99,1
+GATSST: 1,0, aabb230,9987
OK
ID NQ
TI
23.9 AT+GATSIND Send an indication to a client
23.9.2 Field
<user_id>:
User id of gatt server, or the name of the gatt server.
CO
23.9.3 Note
Each GATT Server AT can only send after the prior AT return OK/ERROR.
23.9.4 Example:
AL
AT+GATSIND="1806",1,1321,0,"abcdefghigk"
+GATSIND:0,1806,1,1321,1
OK
ID NQ
TI
23.10 AT+GATSRSP Send response to a client
23.10.2 Field
<user_id>:
User id of gatt server, or the name of the gatt server.
CO
23.10.3 Note
AL
Each GATT Server AT can only send after the prior AT return OK/ERROR.
23.10.4 Example:
ID NQ
TI
AT+GATSRSP="1806",1,0,2,9999,"aaaaaaaaaaaaaaaaaaaa:"
+GATSRSP: 0,1806,1, 9999,0
OK/ERROR
N F LY
EN
23.11 URC +GATRREQ: Indicate server that a client has a read
request
23.11.1 Format
URC
+GATRREQ:
<user_id>,<conn_id>,<trans_id>,<addr>,<attr
_handle>,<is_long>,<offset>
CO
23.11.2 Field
<user_id>:
User id of gatt server, or the name of the gatt server.
A Hex value string, each char of it should in set { ‗0‘~‘9‘,‘a‘~‘f‘,‘A‘~‘F‘ }
Max length of it is 32.
<conn_id>:
The id of this connection.
<trans_id>:
id of the current transaction. 0 - 255.
<addr>:
Address of peer. HEX value.
<attr_handle>:
Handle of attrbuite. Dec format.
<is_long>:
Tell server that the request is one of several requests.
<offset>:
Offset of the request. 0 – 65535
23.11.3 Note
AL
23.11.4 Example:
ID NQ
TI
+GATRREQ: 2202,3,4, 1234565b0102,10010,1,9980
request
EN
Notify server a client‘s write request.
23.12.1 Format
URC
+GATWREQ:
<user_id>,<conn_id>,<trans_id>,<addr>,<attr
_handle>,<value>,<need_rsp>,<is_prepare>,
<offset>
23.12.2 Field
CO
<user_id>:
User id of gatt server, or the name of the gatt server.
A Hex value string, each char of it should in set { ‗0‘~‘9‘,‘a‘~‘f‘,‘A‘~‘F‘ }
Max length of it is 32.
<conn_id>:
The id of this connection.
Copyright© Shanghai MobiletekCommunication Ltd 230
L218 AT DOCUMENT
<trans_id>:
id of the current transaction. 0 - 255.
<addr>:
Address of peer. HEX value.
<attr_handle>:
Handle of attribute. DEC format.
<value>
The value need to be write. Hex format.
<need_rsp>
Whether client need server‘s response. 1 yes, 0 no.
<is_prepare>
Whether or not server execute request immediately. 1 no, 2 yes..
<offset>:
Offset of the request. 0 – 65535
AL
23.12.3 Note
ID NQ
23.12.4 Example:
TI
+GATWREQ: 2202,3,4, 1234565b0102,10010,ABABABABABABABABABA,1,1,0
N F LY
23.13.1 Format
URC
+GATEWREQ:
<user_id>,<conn_id>,<trans_id>,<addr>,<ca
ncel>
CO
23.13.2 Field
<user_id>:
User id of gatt server, or the name of the gatt server.
A Hex value string, each char of it should in set { ‗0‘~‘9‘,‘a‘~‘f‘,‘A‘~‘F‘ }
Max length of it is 32.
<conn_id>:
Copyright© Shanghai MobiletekCommunication Ltd 231
L218 AT DOCUMENT
23.13.3 Note
23.13.4 Example:
AL
OR
ID NQ
TI
N F LY
EN
CO
24 Audio AT Command
The command is used to activate or deactivate echo cancelation. This command should only
sent to target before a call setup
24.1.1 Format
AL
Command Possible response(s)
+EECHO=? +EECHO: (list of supported
<status>)
ID NQ
+EECHO?
TI OK / ERROR
+EECHO:<status>
OK /ERROR
+EECHO =<status> OK / ERROR
N F LY
EN
24.1.2 Field
The command is used to activate or deactivate noise cancelation. This command should only
sent to target before a call setup
24.2.1 Format
AL
+ENOISE? +ENOISE:<Receive>,<Transmit>
OK /ERROR
+ENOISE=<Receive>,<Transmit> OK / ERROR
ID NQ
24.2.2 Field
TI
<Receive>: integer
N F LY
0 OFF
EN
1 ON
<Transmit>: integer
0 OFF
1 ON
Example
AT+ENOISE=?
+ENOISE: (0-1),(0-1)
OK
AT+ENOISE? //Shows the current configuration
+ENOISE:1,1
OK
AT+ENOISE=0,0 // Disable uplink and downlink noise suppression
OK
AT+ENOISE=1,1 //Enable uplink and downlink noise suppression
CO
OK
AT+ENOISE=0,1 //Enable uplink and disable downlink noise suppression
OK
Note: ENOISE setting will be saved to NVRAM
24.3.1 Format
AL
24.3.2 Field
ID NQ
< level >: integer
TI
0-255: Side tone value (side tone gain from 0 o 255)
0 : disable Side tone
Example
N F LY
AT+ESST=?
EN
+EST: (0-255)
OK
AT+ESST? //Shows the current value
+EST: 8
OK
AT+ESST=240 //Set side tone gain to 240
OK
AT+ESST=0 //Disable side tone
OK
Note: Side tone level will not be saved to NVRAM
24.4.1 Format
24.4.2 Field
AL
1 INFINITE
2 ONCE
<output_path> integer type
4 earphone
ID NQ
5 loudspeaker TI
Example
To play a file:
AT+ EPAU =1, 3,"005A003A005C0063007300300031002E006D00690064", 2, 5 // Play
file"Z:\cs01.mid" in volumn 3 for loudspeaker,
N F LY
OK
EN
To stop playing immediately:
AT+ EPAU =2 //stop playing
OK
24.5.1 Format
OK /ERROR
+EPCLK? +EPCLK:<BitClk>
OK /ERROR
+EPCLK=<state><sync_type><BitClk> OK /ERROR
24.5.2 Field
<state>:PCM state
0 off
1 on
<sync_type>
0 short sync
1 long sync
<BitClk> : PCM bit clock
0 256 kHz
1 512 kHz
2 1024 kHz
3 2048 kHz
AL
Example
AT+ EPCLK=?
+ EPCLK: (0-1),(0-1), (0-3)
AT+ EPCLK? //Shows the current configuration
ID NQ
+ EPCLK:0, 1,1 // PCM state clk sync type
TI
OK
AT+ EPCLK =1,1,0 //Turn to PCM .
// sync type to long sync
N F LY
24.6.1 Format
+EARST OK /ERROR
24.6.2 Field
Example
AT+ EARST
24.6.3 Note
Make module have another chance to camp on network . For example, whenever a car, with a
module on it, is into an area that is without service of SIM1‘s operator, the module may activate SIM2
while deactivating SIM1, possibly getting service of SIM2‘s operator.
AL
ID NQ
TI
N F LY
EN
CO
25 NVRAM AT Command
25.1.1 Format
AL
Command Possible response(s)
+ENVGETLID=<”NVRAM name”> +ENVGETLID:<LID>,<total records>,<record
size>
OK /ERROR
ID NQ
25.1.2 Field
TI
N F LY
25.1.3 Note
25.2.1 Format
AL
25.2.2 Field
25.2.3 Note
N/A
CO
25.3.1 Format
25.3.2 Field
AL
<record index>:short integer type
Record index.
<raw data>:string type, hex value.
ID NQ
Raw data read from NVRAM.
TI
Example
AT+ENVWRITE=?
+ENVWRITE:(0-65535),(0-255),<"raw data">
OK
N F LY
AT+ENVWRITE=189,1,"11"
EN
OK
AT+ENVWRITE=189,0 // if record index is 0, it will reset this NVRAM to be default value.
OK
25.3.3 Note
N/A
CO
26 Compatible AT commands
Overview of Compatible AT Commands:
AT Command Description
AT+CIPMUX Start up multi-IP connection
AT+CSTT Start task and set APN, user name, password
AT+CIICR Bring up wireless connection with GPRS or CSD
AT+CIFSR Get local IP address
AT+CIPSTART Start up TCP or UDP connection
AT+CIPSEND Send data through TCP or UDP connection
AT+CIPCLOSE Close TCP or UDP connection
AL
AT+CIPSHUT Deactivate GPRS PDP context
AT+CIPSTATUS Query current connection status
AT+CIPRXGET Get data from network manually
ID NQ
AT+CALM TI Alert sound mode
AT+GSN Request TA Serial Number Identification (IMEI)
AT+CIPHEAD Add an IP Head at the Beginning of a Package Received
AT+CIPQSEND Select Data Transmitting Mode(no action)
N F LY
OK
CO
OK
Or
Error
Write Command Response
AT+CIPMUX=<multiple>
OK
AL
Or
ERROR
Reference Note
ID NQ
TI Only in IP initial state, AT+CIPMUX=1 is effective;
Only when multi IP connection and GPRS application are
both shut down,
N F LY
AT+CIPMUX=0 is effective.
EN
Parameters Description
26.2 AT+CSTT Start Task and Set APN, USER NAME, PASSWORD
This command is used to Start Task and Set APN, USER NAME, PASSWORD.
CO
OK
OK
Write Command Response
AT+CSTT=<APN>,<user
name>,<password> OK
Or
ERROR
Execution Command Response
AL
AT+CSTT
OK
Or
ID NQ
Reference
TI ERROR
Note
N F LY
Parameters Description
<APN> A string parameter which indicates the GPRS access point name
<user name> A string parameter which indicates the GPRS user name
<password> A string parameter which indicates the GPRS password
CO
Or
ERROR
Reference Note
AL
2. AT+CIICR only activates moving scene at the status of IP
START, after operating this Command is executed, the state
will be changed to IP CONFIG.
3. After module accepts the activated operation, if it is
ID NQ
TI activated successfully, module state will be changed to IP
GPRSACT, and it responds OK, otherwise it will respond
ERROR.
N F LY
EN
26.4 AT+CIFSR Get local IP address
Or
CO
ERROR
Reference Note
local IP Address can be obtained by AT+CIFSR, if module
hasn't valid IP, it will respond ERROR.
Parameters Description
<IP address> A string parameter which indicates the IP address assigned, for
example:
10.112.208.9
AL
+CIPSTART:("TCP","UDP"),"(0,255).(0,255).(0,255)
.(0,255)","(1-65535)"
+CIPSTART:("TCP","UDP"),"DOMAIN
ID NQ
TI NAME","(1-65535)"
OK
2) If AT+CIPMUX=1
N F LY
EN
+CIPSTART:(0-5),("TCP","UDP"),"(0,255).(0,255).(0
,255).(0,255)",
"(1-65535)"
+CIPSTART: (0-5),("TCP","UDP"),"DOMAIN
NAME","(1-65535)"
OK
CO
AL
[<n>,]ALREADY CONNECT
Reference Note
ID NQ
TI This command allows establishment of a TCP/UDP
connection only when the state is IP INITIAL or IP
STATUS when it is in single state.
In multi-IP state, the state is in IP STATUS only. So it
is necessary to process "AT+CIPSHUT" before user
N F LY
establishes a TCP/UDP
EN
connection with this command when the state is not
IP INITIAL or IP STATUS.
When module is in multi-IP state, before this
command is executed, it is necessary to process
"AT+CSTT, AT+CIICR, AT+CIFSR".
Parameters Description
In Multi-IP state:
IP INITIAL
CONNECT OK
AL
ID NQ
TI
N F LY
EN
CO
+CIPSEND: (1-1460)
OK
AL
+CIPSEND: (0-5),(1-1460)
ID NQ
OK
Read Command
AT+CIPSEND?
TI Response
+CIPSEND: <n>,<size>
OK
CO
When +CIPQSEND=1
DATA ACCEPT:<length>
AL
If sending fails:
SEND FAIL
ID NQ
TI If multi IP connection is established
(+CIPMUX=1)
If connection is not established or module is
disconnected:
N F LY
If sending is successful:
<n>,SEND OK
If sending fails:
<id>,SEND FAIL
CO
If sending is successful:
SEND OK
If sending fails:
AL
SEND FAIL
ID NQ
Reference TI Note
Parameters Description
OK
AL
AT+CIPCLOSE=<id>
If close is successfully:
CLOSE OK
N F LY
If close fails:
EN
ERROR
Reference Note
Parameters Description
If close fails:
ERROR
Or
Reference Note
AL
If this command is executed in multi-connection mode, all of
the IP connection will be shut.
User can close GPRS PDP context by AT+CIPSHUT. After
ID NQ
TI it is closed, the status is IP INITIAL.
If "+PDP: DEACT" URC is reported which means the GPRS
is released by the network, then user still needs to execute
"AT+CIPSHUT" command to make PDP context come back
to original state.
N F LY
EN
26.9 AT+CIPSTATUS Query Current Connection Status
Or
+CIPSTATUS:(0-5)
OK
OK
AL
<port>, <client state>
OK
ID NQ
Reference TI Note
Parameters Description
EN
<id> 0-5 A numeric parameter which indicates the connection number
<bearer> 0-1 GPRS bearer, default is 0
<client state> INITIAL
CONNECTED
CLOSED
AL
+CIPRXGET: <mode>
OK
ID NQ
TI
N F LY
EN
CO
1) If single IP connection OK
(+CIPMUX=0)
AT+CIPRXGET=<mode>[,<REQ Or
length >]
ERROR
2) If multi IP connection
(+CIPMUX=1) 1)For single IP connection
AT+CIPRXGET=<mode>[,<id>,<R If “AT+CIPSRIP=1” is set, IP address and port are
EQ length >] contained.
if <mode>=1
+CIPRXGET: 1[,<IP ADDRESS>:<PORT>]
if <mode>=2
AL
+CIPRXGET: 2,<REQ length>,<CNF length>[,<IP
ADDRESS>:<PORT>]
1234567890…
ID NQ
TI OK
if <mode>=3
+CIPRXGET: 3,<REQ length>,<CNF length>[,<IP
ADDRESS>:<PORT>]
5151…
N F LY
OK
EN
2)For multi IP connection
if <mode>=1
+CIPRXGET: 1[,<id>,<IP ADDRESS>:<PORT>]
if <mode>=2
+CIPRXGET: 2,<id>,<REQ length>,<CNF
length>[,<IP
ADDRESS>:<PORT>]
1234567890…
OK
if <mode>=3
+CIPRXGET: 3,<id>,<REQ length>,<CNF
length>[,<IP
ADDRESS>:<PORT>]
5151…
CO
OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference Note
To enable this function, parameter <mode> must be
set to 1 before connection.
Parameters Description
<mode> 0 Disable getting data from network manually, the module is set to
normal mode, data will be pushed to TE directly.
1 Enable getting data from network manually.
2 The module can get data, but the length of output data can't
exceed 1460 bytes at a time.
3 Similar to mode 2, but in HEX mode, which means the module can
get 730 bytes maximum at a time.
<id> A numeric parameter which indicates the connection number
<REQ length> Requested number of data bytes (1-1460 bytes)to be read
AL
<CNF length> Confirmed number of data bytes to be read, which may be less than
<length>. 0 indicates that no data can be read.
Response
AT+CALM=?
N F LY
+CALM: (0-1)
EN
OK
OK
Or
Error
Write Command Response
AT+CALM=<mode>
CO
OK
Or
ERROR
Reference Note
Parameters Description
Example:
Commands Response
AT+CALM=?
AL
+CALM: (0-1)
OK
AT+CALM?
ID NQ
TI +CALM: 1
OK
N F LY
EN
26.12 AT+GSN Request TA Serial Number Identification (IMEI)
OK
Or
Error
Reference Note
OK
AL
AT+CIPHEAD?
+ CIPHEAD: <mode>
ID NQ
TI OK
Or
Error
N F LY
Or
ERROR
Reference Note
Parameters Description
CO
OK
OK
Or
AL
Error
Write Command Response
AT+CIPQSEND=<n>
ID NQ
TI OK
Or
N F LY
ERROR
EN
Reference Note
Parameters Description
OK
OK
AL
Or
Error
Write Command Response
ID NQ
AT+SPEAKER=<speaker
TI
channel>,<MIC channel> OK
Or
N F LY
EN
ERROR
Reference Note
Parameters Description
OK
OK
Or
AL
Error
Write Command Response
AT+SIDET=<channel
ID NQ
number>,<channel n level>
TI OK
Or
N F LY
ERROR
EN
Reference Note
Parameters Description
Example:
CO
Commands Response
AT+SIDET=?
+SIDET: (0-1),(0-16)
OK
AT+SIDET=1,11
OK
Copyright© Shanghai MobiletekCommunication Ltd 262
L218 AT DOCUMENT
27 HTTP AT Commands
Format
AL
+HTTPPARA=<para>,<value> OK/ERROR
Field
<para>: string
url, target path
ID NQ
port, target port
TI
<value>: Corresponding to the value of url, the <para> parameter is the maximum of 128
bytes, url supports domain name resolution, the default value of port is 80
N F LY
EN
Example
[precondition]
[Case 1]
AT+HTTPPARA=url,www.baidu.com //set http url parameter
[Result]
OK
[Case 2]
AT+HTTPPARA=port,80 //set port //can ignore
CO
[Result]
OK
Format
Command Possible response(s) Description
+HTTPSETUP OK/ERROR The correct destination
address and port can be
established successfully.
Field
null
Example
[precondition]
[Case 1]
AL
AT+HTTPSETUP //creating HTTP link
[Result]
OK
ID NQ
TI
N F LY
EN
27.3 AT+HTTPACTION Sending HTTP request
The command is used to send HTTP request.
Format
Field
CO
<mode>: int
0, HTTP GET request
1, HTTP HEAD request
2,HTTP POST request
99,OTHER request
<length>:
Maxium 2048,length of HTTP POST request body.
<string>:
Copyright© Shanghai MobiletekCommunication Ltd 264
L218 AT DOCUMENT
Example
[precondition]
[Case 1]
AT+HTTPACTION=0 //send HTTP GET request
[Result]
OK
+HTTPRECV:
AL
HTTP/1.1 200 OK
Date: Fri, 11 Sep 2015 05:21:54 GMT
Content-Type: image/jpeg
ID NQ
Content-Length: 6
TI
Connection: close
ETag: "2815057560"
Last-Modified: Wed, 09 Sep 2015 01:33:59 GMT
Expires: Fri, 11 Sep 2015 05:22:54 GMT
N F LY
Cache-Control: max-age=60
EN
Lfy: st01.i6
Accept-Ranges: bytes
123456
[Case 2]
AT+HTTPACTION=1 //send HTTP HEAD request
[Result]
OK
+HTTPRECV:
HTTP/1.1 200 OK
Date: Fri, 11 Sep 2015 05:25:57 GMT
Content-Type: image/jpeg
Content-Length: 24794
CO
Connection: close
ETag: "2815057560"
Last-Modified: Wed, 09 Sep 2015 01:33:59 GMT
Expires: Fri, 11 Sep 2015 05:26:57 GMT
Cache-Control: max-age=60
Lfy: cq02.i4
Accept-Ranges: bytes
[Case 3]
AT+HTTPACTION=2,6,123456 //send HTTP POST request
[Result]
OK
+HTTPRECV:
HTTP/1.1 200 OK
Date: Fri, 11 Sep 2015 05:25:57 GMT
…
[Case 4]
AT+HTTPACTION=99,GET http://www.baidu.com HTTP/1.1\r\nHOST: www.baidu.com\r\n\r\n
AL
[Result]
OK
ID NQ
TI
27.4 AT+HTTPCLOSE Close HTTP link
N F LY
Field
null
Example
[precondition]
CO
[Case 1]
AT+HTTPCLOSE //close HTTP link
[Result]
OK
28 AUDIO AT Commands
AL
<CR><LF>OK<CR><LF> succes
AT+ZAUDREC=<Mode>[,<Fil
s
ename>]
<CR><LF>ERROR<CR><LF> failed
ID NQ
AT+ZAUDREC? +ZAUDREC:<Files_number>,<File_name1>,<le succes
AT+ZAUDREC=?
TI n1> ,<File_name2>,<len2>
<CR><LF>OK<CR><LF>
+ZAUDREC: (0-6)
s
succes
<CR><LF><OK><CR><LF> s
N F LY
EN
Field
0 Start record
1 stop record
2 Play record
Mode 3 Stop play record
4 Delete record
5 Start record in call
6 Stop record in call
Record file name, do not need suffix,suffix is wav,if mode is 0、2、
< Filename >
4、5 时,this field is valid,if 0、2、5do not have this field,default
name is rec
<Files_number> File number
<len> File size
CO
Example
[precondition]
[Case 1]
Copyright© Shanghai MobiletekCommunication Ltd 267
L218 AT DOCUMENT
AT+zaudrec = 0 [, "rec"]
[Result]
OK
[Case 2]
AT+zaudrec = 1
[Result]
OK
[Case 3]
AL
AT+zaudrec = 2 [, "rec"]
[Result]
ID NQ
OK
[Case 4]
TI
AT+zaudrec = 3
N F LY
EN
[Result]
OK
[Case 5]
AT+zaudrec = 4, "rec"
[Result]
OK
[Case 6]
AT+zaudrec = 5, "rec"
CO
[Result]
OK
[Case 7]
AT+zaudrec = 6
[Result]
OK
[Case 8]
AT+zaudrec?
[Result]
+zaudrec: 1, rec.wav, 66332
AL
ID NQ
TI
N F LY
EN
CO
29 FTP AT Commands
Format
Format return
AT+FTPPORT=? OK
AT+FTPPORT? +FTPPORT: <value>
OK
AL
AT+FTPPORT= OK
<value>
ID NQ
Field
Example
TI
<value> The value of FTP Control port, from 1 to 65535. Default value is 21
N F LY
[precondition]
EN
[Case 1]
AT+FTPPORT=21
[Result]
OK
Format
Format return
AT+FTPMODE=? OK
AT+ FTPMODE? + FTPMODE: <value>
OK
AT+FTPMODE =<value> OK
Field
<value>
0 Active FTP mode
1 Passive FTP mode
Example
[precondition]
[Case 1]
AT+FTPMODE=1
[Result]
OK
AL
ID NQ
29.3 AT+FTPTYPE TI Set the Type of Data to Be Transferred
The command is used to set the Type of Data to Be Transferred
Format
N F LY
Format return
EN
AT+ FTPTYPE=? OK
AT+ FTPTYPE? + FTPTYPE: <value>
OK
AT+ OK
FTPTYPE=<value>
Field
<value>
"A" For FTP ASCII sessions
"I" For FTP Binary sessions
Example
CO
[precondition]
[Case 1]
AT+FTPTYPE ="A"
[Result]
OK
Format
Format return
AT+ FTPPUTOPT=? OK
AT+ FTPPUTOPT? +FTPPUTOPT:
<value>
OK
AT+FTPPUTOPT OK
AL
=<value>
Field
ID NQ
<value> TI
"APPE" For appending file
"STOU" For storing unique file
"STOR" For storing file
N F LY
EN
Example
[precondition]
[Case 1]
AT+ FTPPUTOPT ="STOU"
[Result]
OK
Format
Format return
AT+ FTPREST=? OK
AT+ FTPREST? + FTPREST: <value>
OK
Copyright© Shanghai MobiletekCommunication Ltd 272
L218 AT DOCUMENT
AT+ FTPREST OK
=<value>
Field
<value>
Broken point to be resumed
Example
[precondition]
[Case 1]
AL
AT+ FTPREST =100
[Result]
ID NQ
OK
TI
29.6 AT+FTPSERV Set FTP Server Address
N F LY
EN
The command is used to set FTP Server Address
Format
Format return
AT+ FTPSERV =? OK
AT+ FTPSERV? + FTPSERV: <value>
OK
AT+FTPSERV OK
=<value>
Field
<value>
32-bit number in dotted-decimal notation (i.e.xxx.xxx.xxx.xxx) or alphanumeric ASCII
text string up to 49 characters if DNS is available
CO
Example
[precondition]
[Case 1]
AT+FTPSERV="182.150.28.206"
[Result]
OK
Format
Format return
AT+ FTPUN=? OK
AL
AT+ FTPUN? + FTPUN: <value>
OK
AT+ FTPUN =<value> OK
ID NQ
Field
<value>
TI
Alphanumeric ASCII text string up to 49 characters.
N F LY
Example
EN
[precondition]
[Case 1]
AT+ FTPUN ="cd_ftp"
[Result]
OK
Format
Format return
AT+ FTPPW =? OK
AT+ FTPPW? + FTPPW: <value>
OK
Copyright© Shanghai MobiletekCommunication Ltd 274
L218 AT DOCUMENT
Field
<value>
Alphanumeric ASCII text string up to 49 characters.
Example
[precondition]
[Case 1]
AT+ FTPPW ="cd_ftp"
AL
[Result]
OK
ID NQ
TI
29.9 AT+FTPGETNAME Set Download File Name
The command is used to set the Type of Data to Be Transferred
N F LY
EN
Format
Format return
AT+ FTPGETNAME =? OK
AT+ FTPGETNAME? + FTPGETNAME:
<value>
OK
AT+FTPGETNAME=<value> OK
Field
<value>
Alphanumeric ASCII text string up to 99 characters
Example
CO
[precondition]
[Case 1]
AT+ FTPGETNAME ="test.txt"
[Result]
OK
Format
Format return
AT+ FTPGETPATH =? OK
AT+ FTPGETPATH? + FTPGETPATH:
<value>
OK
AL
AT+FTPGETPATH=<value> OK
Field
ID NQ
<value> TI
Alphanumeric ASCII text string up to 99 characters
Example
N F LY
EN
[precondition]
[Case 1]
AT+ FTPGETPATH ="/"
[Result]
OK
Format
CO
Format return
AT+ FTPPUTNAME=? OK
AT+ FTPPUTNAME? + FTPPUTNAME:
<value>
OK
AT+FTPPUTNAME=<value> OK
Field
<value>
Alphanumeric ASCII text string up to 99 characters
Example
[precondition]
[Case 1]
AT+ FTPPUTNAME ="deng.txt"
[Result]
OK
AL
29.12 AT+FTPPUTPATH Set Upload File Path
ID NQ
TI
The command is used to set Upload File Path
Format
Format return
N F LY
AT+ FTPPUTPATH =? OK
EN
AT+ FTPPUTPATH? + FTPPUTPATH:
<value>
OK
AT+FTPPUTPATH=<value> OK
Field
<value>
Alphanumeric ASCII text string up to 99 characters
Example
[precondition]
CO
[Case 1]
AT+ FTPPUTPATH ="/"
[Result]
OK
Format
Format return
AT+ FTPGET =? OK
AT+FTPGET=<mode>[,<reqlength>] If mode is 1 and it is a
successful FTP get
session:
OK
+FTPGET:1,1
If data transfer finished:
+FTPGET:1,0
AL
If mode is 1 and it is a
failed FTP get session:
OK
ID NQ
TI +FTPGET:1,<error>
If mode is 2:
+FTPGET:2,<cnflength>
012345678…
OK
N F LY
EN
Field
<mode>
1 For opening FTP get session
2 For reading FTP download data.
<reqlength>
Requested number of data bytes (1-1460)to be read
<cnflength>
Confirmed number of data bytes to be read, which may be less than <length>. 0
indicates that no data can be read.
<error>
61 Net error
62 DNS error
63 Connect error
64 Timeout
CO
65 Server error
66 Operation not allow
70 Replay error
71 User error
72 Password error
73 Type error
74 Rest error
75 Passive error
76 Active error
77 Operate error
78 Upload error
79 Download error
80 File error
86 Manual quit
Timeout:60 seconds
Example
[precondition]
AL
[Case 1]
AT+ FTPGET =1
ID NQ
[Result]
OK
TI
+FTPGET:1,1
N F LY
EN
[Case 2]
AT+FTPGET=2,1024
+FTPGET: 2,50
01234567890123456789012345678901234567890123456789
OK
+FTPGET:1,0
Format
Format return
AT+ FTPPUT =? OK
AT+FTPPUT=<mode>[,<reqlength>] If mode is 1 and it is a
successful FTP get session:
OK
+FTPPUT:1,1,<maxlength>
If mode is 1 and it is a failed
FTP get session:
OK
+FTPPUT:1,<error>
If mode is 2 and <reqlength>
is not 0
+FTPPUT:2,<cnflength>
…… //Input data
OK
If mode is 2 and <reqlength>
is 0, it will respond OK, and
FTP session will
be closed
AL
OK
If data transfer finished.
+FTPPUT:1,0
ID NQ
Field
<mode>
TI
1 For opening FTP put session
N F LY
Example
[precondition]
CO
[Case 1]
AT+ FTPPUT =1
[Result]
OK
+ FTPPUT:1,1
[Case 2]
AT+ FTPPUT=2,1024
[intdata]
01234567890123456789012345678901234567890123456789
ctrl+z
[Result]
+ FTPPUT:1,0
OK
AL
29.15 AT+FTPSCONT Save FTP Application Context
The command is used to save FTP Application Context
ID NQ
Format
TI Format
AT+ FTPSCONT=? OK
return
+FTPPORT: <value>
EN
+FTPUN: <value>
+FTPPW: <value>
+FTPMODE: <value>
+FTPTYPE: <value>
+FTPPUTOPT:
<value>
+FTPREST: <value>
+FTPGETNAME:
<value>
+FTPGETPATH:
<value>
+FTPPUTNAME:
<value>
+FTPPUTPATH:
CO
<value>
+FTPTIMEOUT:
<value>
+FTPCID: <value>
OK
AT+
FTPSCONT=<value>
Field
<value>
1 save ftp application context to file
2 read ftp context to system
Example
[precondition]
[Case 1]
AT+ FTPSCONT?
AL
[Result]
ID NQ
+FTPSERV: <182.150.28.206>
+FTPPORT:<2100>
+FTPUN: <cd_ftp>
+FTPPW:<cd_ftp>
TI
+FTPMODE:<1>
N F LY
+FTPTYPE:<I>
EN
+FTPPUTOPT:<STOU>
+FTPREST:<0>
+FTPGETNAME:<deng1.txt>
+FTPGETPATH:</>
+FTPPUTNAME:<deng1.txt>
FTPPUTPATH:</>
FTPCID:<0>
OK
[Case 2]
AT+ FTPSCONT=1
[Result]
CO
OK
[Case 3]
AT+ FTPSCONT=2
[Result]
OK
Format
Format return
AL
AT+ FTPDELE=? OK
AT+ FTPDELE OK
ID NQ
Field TI
The file to be deleted is specified by the "AT+FTPGETNAME" and"AT+FTPGETPATH"
commands.
N F LY
Example
EN
[precondition]
[Case 1]
AT+ FTPDELE
[Result]
OK
Format
Format return
AT+ FTPSIZE =? OK
AT+ FTPSIZE If successed:
OK
+FTPSIZE:1,0,<size>
If failed:
OK
+FTPSIZE:1,<error>,<0>
Field
<error> See "AT+FTPGET"
<size> The file size. Unit: byte
The file is specified by the "AT+FTPGETNAME" and "AT+FTPGETPATH" commands.
Example
[precondition]
[Case 1]
AL
AT+ FTPSIZE
[Result]
ID NQ
OK
TI
+FTPSIZE: 1,0,300
Format
Format return
AT+ FTPSTATE =? OK
AT+ FTPSTATE +FTPSTATE: <state>
OK
Field
<state>
0 idle
1 in the FTP session, including FTPGET, FTPPUT, FTPDELE and FTPSIZE
operation.
CO
Example
[precondition]
[Case 1]
AT+ FTPSTATE
[Result]
+FTPSTATE: 0
OK
Format
Format return
AT+ FTPMKD=? OK
AL
AT+ FTPMKD OK
If success:
OK
ID NQ
TI +FTPMKD: 1,0
If failed:
OK
+FTPMKD: 1,<error>
N F LY
Field
EN
<error> See “AT+FTPGET”
The created folder is specified by the “AT+FTPGETPATH” command.
Example
[precondition]
[Case 1]
AT+ FTPMKD
[Result]
OK
+FTPMKD: 1,0
CO
Format
Format return
AT+ FTPRMD=? OK
AT+ FTPRMD If success:
OK
+FTPRMD: 1,0
If failed:
OK
+FTPRMD: 1,<error>
Field
<error> See “AT+FTPGET”
The removed folder is specified by the “AT+FTPGETPATH” command.
Example
AL
[precondition]
[Case 1]
ID NQ
AT+ FTPRMD TI
[Result]
OK
+FTPRMD: 1,0
N F LY
EN
29.21 AT+FTPLIST Set the Type of Data to Be Transferred
The command is used to set the Type of Data to Be Transferred
Format
Format return
AT+ FTPLIST=? OK
AT+ FTPLIST? + FTPLIST: <value>
OK
AT+FTPLIST=<mode>[,<reqlength>] If mode is 1 and it is a
successful FTP get
session:
OK
CO
+FTPLIST: 1,1
If data transfer is
finished:
+FTPLIST: 1,0
If mode is 1 and it is a
failed FTP get session:
OK
+FTPLIST: 1,<error>
If mode is 2:
+FTPLIST:
2,<cnflength>
012345678…
OK
Field
<mode>
1 For opening FTP get file list session
2 For reading FTP file list
<reqlength> Requested number of data bytes (1-1460) to be read
<cnflength> Confirmed number of data bytes to be read, which may be less than
<reqlength>. 0 indicates that no data can be read.
AL
<error> See “AT+FTPGET”
ID NQ
Example
[precondition]
TI
[Case 1]
N F LY
AT+ FTPLIST =1
EN
[Result]
OK
+ FTPLIST:1,1
[Case 2]
AT+ FTPLIST=2,1024
+FTPLIST: 2,50
2016/08/25 19:20 <DIR> .
2016/08/25 19:20 <DIR> ..
2015/11/04 16:39 <DIR> .android
2016/09/06 18:37 1,164 .bash_history
CO
OK
+FTPLIST:1,0
AL
Format
Format return
AT+ FTPGETTOFS=? OK
ID NQ
AT+ FTPGETTOFS?
TI +FTPGETTOFS:
<status>, <filename>
AT+FTPGETTOFS=<loc>,<filename> OK
N F LY
Field
EN
<status> the process status of downloading and saving File to File System through FTP
0 not in the process
1 during the process
Example
[precondition]
CO
[Case 1]
at+ftpgettofs=0,"aa.txt"
[Result]
OK
+FTPGETTOFS: 0,174125
Format
Format return
AT+ FTPPUTFRMFS =? OK
AT+ FTPPUTFRMFS? + FTPPUTFRMFS: <filename>
OK
AT+FTPPUTFRMFS=<filename> If it is a successful FTP put
session:
OK
AL
If data transfer finished.
+FTPPUTFRMFS:
0,<totalLength>
ID NQ
TI If it is a failed FTP put session:
OK
+FTPPUTFRMFS: <error>
Field
N F LY
[precondition]
[Case 1]
AT+ FTPPUTFRMFS ="deng1.txt"
[Result]
OK
+FTPPUTFRMFS: 0,552
CO
Format
Format return
AT+ FTPQUIT=? OK
AT+ FTPQUIT OK
Field
null
Example
[precondition]
[Case 1]
AT+ FTPQUIT
AL
[Result]
OK
ID NQ
TI
N F LY
29.25 AT+SAPBR Set the info about ftp and active ftp pdp
EN
context
The command is used to set the info about ftp and active ftp pdp context
Format
Format return
AT+ SAPBR =? OK
AT+ SAPBR? + SAPBR: <value>
OK
AT+SAPBR=<cmd_type>,<cid>[,<ConPa OK
ramTag>,<ConParamValue>] If<cmd_type> = 2
+SAPBR:
<cid>,<Status>,<IP_Addr>
OK
CO
If <cmd_type>=4
+SAPBR:
<ConParamTag>,<ConPara
mValue>
OK
Field
<cmd_type>
0 Close bearer
1 Open bearer
2 Query bearer
3 Set bearer parameters
4 Get bearer parameters
<cid> Bearer profile identifier
<Status>
0 Bearer is connecting
1 Bearer is connected
2 Bearer is closing
3 Bearer is closed
<ConParamTag> Bearer parameter
"CONTYPE" Type of Internet connection. Value refer to
AL
<ConParamValue_ConType>
"APN" Access point name string: maximum 64
characters
ID NQ
"USER" User name string: maximum 32 characters
TI
"PWD" Password string: maximum 32 characters
"PHONENUM" Phone number for CSD call
"RATE" CSD connection rate. For value refer to
<ConParamValue_Rate>
N F LY
Example
[precondition]
[Case 1]
at+sapbr=3,1,"apn","cmnet"
CO
[Result]
OK
[Case 2]
at+sapbr=1,1
[Result]
OK
AL
ID NQ
TI
N F LY
EN
CO