Digital cellular telecommunications system (Phase 2) (GSM); AT command set for GSM Mobile Equipment (ME) (GSM 07.07 version 4.4.1)

RE/SMG-040707PR3

Digitalni celični telekomunikacijski sistem (faza 2) – Nabor ukazov AT za GSM mobilno opremo (ME) (GSM 07.07, različica 4.4.1)

General Information

Status
Published
Publication Date
22-Mar-1999
Technical Committee
Current Stage
12 - Completion
Due Date
26-Mar-1999
Completion Date
23-Mar-1999

Buy Standard

Standard
ETS 300 642 E4:2003
English language
78 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (Sample)

SLOVENSKI STANDARD
SIST ETS 300 642 E4:2003
01-december-2003
'LJLWDOQLFHOLþQLWHOHNRPXQLNDFLMVNLVLVWHP ID]D ±1DERUXND]RY$7]D*60
PRELOQRRSUHPR 0(  *60UD]OLþLFD
Digital cellular telecommunications system (Phase 2) (GSM); AT command set for GSM
Mobile Equipment (ME) (GSM 07.07 version 4.4.1)
Ta slovenski standard je istoveten z: ETS 300 642 Edition 4
ICS:
33.070.50 Globalni sistem za mobilno Global System for Mobile
telekomunikacijo (GSM) Communication (GSM)
SIST ETS 300 642 E4:2003 en
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------

SIST ETS 300 642 E4:2003

---------------------- Page: 2 ----------------------

SIST ETS 300 642 E4:2003
EUROPEAN ETS 300 642
TELECOMMUNICATION March 1999
STANDARD Fourth Edition
Source: SMG Reference: RE/SMG-040707PR3
ICS: 33.020
Key words: Digital cellular telecommunications system, Global System for Mobile communications (GSM)
R
GLOBAL SYSTEM FOR
MOBILE COMMUNICATIONS
Digital cellular telecommunications system (Phase 2);
AT command set for GSM Mobile Equipment (ME)
(GSM 07.07 version 4.4.1)
ETSI
European Telecommunications Standards Institute
ETSI Secretariat
Postal address: F-06921 Sophia Antipolis CEDEX - FRANCE
Office address: 650 Route des Lucioles - Sophia Antipolis - Valbonne - FRANCE
Internet: secretariat@etsi.fr - http://www.etsi.org
Tel.: +33 4 92 94 42 00 - Fax: +33 4 93 65 47 16
Copyright Notification: No part may be reproduced except as authorized by written permission. The copyright and the
foregoing restriction extend to reproduction in all media.
© European Telecommunications Standards Institute 1999. All rights reserved.

---------------------- Page: 3 ----------------------

SIST ETS 300 642 E4:2003
Page 2
ETS 300 642 (GSM 07.07 version 4.4.1): March 1999
Whilst every care has been taken in the preparation and publication of this document, errors in content,
typographical or otherwise, may occur. If you have comments concerning its accuracy, please write to
"ETSI Standards Making Support Dept." at the address shown on the title page.

---------------------- Page: 4 ----------------------

SIST ETS 300 642 E4:2003
Page 3
ETS 300 642 (GSM 07.07 version 4.4.1): March 1999
Contents
Intellectual Property Rights.6
Foreword .6
1 Scope .8
2 References.8
3 Abbreviations and definitions .10
3.1 Abbreviations .10
3.2 Definitions .10
4 AT command syntax .11
4.1 Command line.11
4.2 Information responses and result codes.11
4.3 ITU-T V.25ter [14] TE-TA interface commands.12
5 General commands.12
5.1 Request manufacturer identification +CGMI.12
5.2 Request model identification +CGMM .13
5.3 Request revision identification +CGMR .13
5.4 Request product serial number identification +CGSN .14
5.5 Select TE character set +CSCS .14
5.6 ITU-T V.25ter [14] generic TA control commands.15
5.7 PCCA STD-101 [17] select wireless network +WS46 .15
5.8 Informative examples.16
6 Call control commands and methods.18
6.1 Select type of address +CSTA.18
6.2 ITU-T V.25ter [14] dial command D.18
6.3 Direct dialing from phonebooks .19
6.4 Call mode +CMOD.20
6.5 Hangup call +CHUP.20
6.6 Alternating mode call control method .21
6.7 Select bearer service type +CBST.23
6.8 Radio link protocol +CRLP.24
6.9 Service reporting control +CR.24
6.10 Extended error report +CEER.25
6.11 Cellular result codes +CRC .26
6.12 ITU-T V.25ter [14] call control commands.27
6.13 ITU-T V.25ter [14] data compression commands.27
6.14 Informative examples.27
7 Network service related commands.29
7.1 Subscriber number +CNUM.29
7.2 Network registration +CREG .30
7.3 Operator selection +COPS .30
7.4 Facility lock +CLCK.32
7.5 Change password +CPWD.33
7.6 Calling line identification presentation +CLIP.33
7.7 Calling line identification restriction +CLIR.34
7.8 Connected line identification presentation +COLP .35
7.9 Closed user group +CCUG.36
7.10 Call forwarding number and conditions +CCFC .37
7.11 Call waiting +CCWA .38
7.12 Call hold and multiparty +CHLD.39

---------------------- Page: 5 ----------------------

SIST ETS 300 642 E4:2003
Page 4
ETS 300 642 (GSM 07.07 version 4.4.1): March 1999
7.13 Call transfer +CTFR . 39
7.14 Unsupported GSM supplementary services. 40
7.15 Informative examples.40
8 Mobile Equipment control and status commands. 42
8.1 Phone activity status +CPAS. 43
8.2 Set phone functionality +CFUN. 43
8.3 Enter PIN +CPIN . 44
8.4 Battery charge +CBC . 45
8.5 Signal quality +CSQ .45
8.6 Mobile Equipment control mode +CMEC. 46
8.7 Keypad control +CKPD . 47
8.8 Display control +CDIS . 48
8.9 Indicator control +CIND. 49
8.10 Mobile Equipment event reporting +CMER. 50
8.11 Select phonebook memory storage +CPBS. 51
8.12 Read phonebook entries +CPBR. 52
8.13 Find phonebook entries +CPBF. 53
8.14 Write phonebook entry +CPBW. 54
8.15 Clock +CCLK. 55
8.16 Alarm +CALA . 55
8.17 Generic SIM access +CSIM. 56
8.18 Informative examples.57
9 Mobile Equipment errors. 61
9.1 Report Mobile Equipment error +CMEE. 61
9.2 Mobile Equipment error result code +CME ERROR . 61
9.3 Informative examples. 62
Annex A (normative): Summary of commands from other standards . 63
Annex B (normative): Summary of result codes. 65
Annex C (informative): Commands from TIA IS-101. 66
C.1 Select mode +FCLASS. 67
C.2 Buffer threshold setting +VBT. 67
C.3 Calling number ID presentation +VCID . 68
C.4 Receive gain selection +VGR. 68
C.5 Transmit gain selection +VGT . 68
C.6 Initialise voice parameters +VIP . 69
C.7 Inactivity timer +VIT . 69
C.8 Line selection +VLS. 69
C.9 Receive data state +VRX . 71
C.10 Select compression method +VSM . 71
C.11 DTMF and tone generation +VTS. 71
C.12 Tone duration +VTD . 72
C.13 Transmit data state +VTX. 72
Annex D (informative): Bibliography . 73

---------------------- Page: 6 ----------------------

SIST ETS 300 642 E4:2003
Page 5
ETS 300 642 (GSM 07.07 version 4.4.1): March 1999
Annex E (informative): Mobile originated alternating voice/data call example.74
Annex F (informative): Mobile terminated voice followed by data call example.75
Annex G (informative): Voice call example.76
Annex H (informative): Change Request History .77
History.78

---------------------- Page: 7 ----------------------

SIST ETS 300 642 E4:2003
Page 6
ETS 300 642 (GSM 07.07 version 4.4.1): March 1999
Intellectual Property Rights
IPRs essential or potentially essential to the present document may have been declared to ETSI. The
information pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-
members, and can be found in SR 000 314: "Intellectual Property Rights (IPRs); Essential, or potentially
Essential, IPRs notified to ETSI in respect of ETSI standards", which is available free of charge from the
ETSI Secretariat. Latest updates are available on the ETSI Web server (http://www.etsi.org/ipr).
Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI.
No guarantee can be given as to the existence of other IPRs not referenced in SR 000 314 (or the
updates on the ETSI Web server) which are, or may be, or may become, essential to the present
document.
Foreword
This European Telecommunication Standard (ETS) has been produced by the Special Mobile Group
(SMG) Technical Committee of the European Telecommunications Standards Institute (ETSI).
This ETS specifies a profile of AT commands and recommends that this profile be used for controlling
Mobile Equipment (ME) functions and GSM network services from a Terminal Equipment (TE) through
Terminal Adaptor (TA) for the Digital cellular telecommunications system.
The contents of this ETS is subject to continuing work within SMG and may change following formal SMG
approval. Should SMG modify the contents of this ETS, it will be resubmitted for OAP by ETSI with an
identifying change of release date and an increase in version number as follows:
Version 4.x.y
where:
4 indicates GSM Phase 2;
x the second digit is incremented for all changes of substance, i.e. technical enhancements,
corrections, updates, etc.
y the third digit is incremented when editorial only changes have been incorporated in the
specification.
Transposition dates
Date of adoption of this ETS: 26 March 1999
Date of latest announcement of this ETS (doa): 30 June 1999
Date of latest publication of new National Standard
or endorsement of this ETS (dop/e): 31 December 1999
Date of withdrawal of any conflicting National Standard (dow): 31 December 1999

---------------------- Page: 8 ----------------------

SIST ETS 300 642 E4:2003
Page 7
ETS 300 642 (GSM 07.07 version 4.4.1): March 1999
Blank page

---------------------- Page: 9 ----------------------

SIST ETS 300 642 E4:2003
Page 8
ETS 300 642 (GSM 07.07 version 4.4.1): March 1999
1 Scope
This European Telecommunications Standard (ETS) specifies a profile of AT commands and
recommends that this profile be used for controlling Mobile Equipment (ME) functions and GSM network
services from a Terminal Equipment (TE) through Terminal Adaptor (TA). The command prefix +C is
reserved for Digital Cellular in ITU-T Recommendation V.25ter [14]. This ETS has also the syntax details
used to construct these extended GSM commands. Commands from ITU-T Recommendation V.25ter
[14] and existing digital cellular standards (TIA IS-99 [15] and TIA IS-135 [16]) are used whenever
applicable. Some of the new commands are defined in such way that they can be easily applied to ME of
networks other than GSM. ITU-T T.31 [11] and ITU-T T.32 [12] fax AT commands may be used for GSM
fax transmission from TE.
This ETS assumes an abstract architecture comprising of a TE (e.g. a computer) and a ME interfaced by
a TA (see figure 1). The span of control of the defined commands should allow to handle any physical
implementation that this abstract architecture may lead to:
- TA, ME and TE as three separate entities;
- TA integrated under the ME cover, and the TE implemented as a separate entity;
- TA integrated under the TE cover, and the ME implemented as a separate entity;
- TA and ME integrated under the TE cover as a single entity.
The commands described in this ETS may be observed on the link between the TE and the TA. However,
most of the commands retrieve information about the ME, not about the TA.
responses ME status
TE TA ME
AT cmds ME control
network messages
USER & APPLICATIONS NETWORK
Figure 1: Setup
Interface between TE and TA is intended to operate over existing serial (ITU-T Recommendation V.24)
cables, infrared link, and all link types with similar behaviour. For correct operation many of the defined
commands require eight bit data and therefore it is recommended that TE-TA link is set to eight bits/ byte
mode. (For infrared operation implementation refer informative references IrDA and TIA-617.) Interface
between TA and ME is dependent on the interface in the ME.
2 References
This ETS incorporates by dated and undated reference, provisions from other publications. These
normative references are cited at the appropriate places in the text and the publications are listed
hereafter. For dated references, subsequent amendments to or revisions of any of these publications
apply to this ETS only when incorporated in it by amendment or revision. For undated references the latest
edition of the publication referred to applies.
[1] GSM 02.02 (ETS 300 501): "Digital cellular telecommunication system
(Phase 2); Bearer Services (BS) supported by a GSM Public Land Mobile
Network (PLMN)".
[2] GSM 02.03 (ETS 300 502): "Digital cellular telecommunication system
(Phase 2); Teleservices supported by a GSM Public Land Mobile Network
(PLMN)".
[3] GSM 02.81 (ETS 300 514): "Digital cellular telecommunication system
(Phase 2); Line identification supplementary services - Stage 1".

---------------------- Page: 10 ----------------------

SIST ETS 300 642 E4:2003
Page 9
ETS 300 642 (GSM 07.07 version 4.4.1): March 1999
[4] GSM 02.82 (ETS 300 515): "Digital cellular telecommunication system
(Phase 2); Call Forwarding (CF) supplementary services - Stage 1".
[5] GSM 02.83 (ETS 300 516): "Digital cellular telecommunication system
(Phase 2); Call Waiting (CW) and Call Hold (HOLD) supplementary services -
Stage 1".
[6] GSM 02.88 (ETS 300 520): "Digital cellular telecommunication system
(Phase 2); Call Barring (CB) supplementary services - Stage 1".
[7] GSM 03.03 (ETS 300 523): "Digital cellular telecommunication system
(Phase 2); Numbering, addressing and identification".
[8] GSM 04.08 (ETS 300 557): "Digital cellular telecommunication system
(Phase 2); Mobile radio interface layer 3 specification".
[9] GSM MoU SE.13, GSM MoU Association Permanent Reference Document
SE.13 (October 1994): "GSM Mobile Network Codes and Names".
[10] ITU-T Recommendation E.212: "Identification plan for land mobile stations".
[11] ITU-T Recommendation T.31: "Asynchronous facsimile DCE control, service
class 1".
[12] ITU-T Recommendation T.32: "Asynchronous facsimile DCE control, service
class 2".
[13] ITU-T Recommendation T.50: "International Reference Alphabet (IRA)
(Formerly International Alphabet No. 5 or IA5) - Information technology - 7-bit
coded character set for information exchange".
[14] ITU-T Draft new Recommendation V.25ter: "Serial asynchronous automatic
dialling and control".
[15] Telecommunications Industry Association TIA IS-99: "Data Services Option
Standard for Wideband Spread Spectrum Digital Cellular System”.
[16] Telecommunications Industry Association TIA IS-135: "800 MHz Cellular
Systems, TDMA Services, Async Data and Fax".
[17] Portable Computer and Communications Association PCCA STD-101 Data
Transmission Systems and Equipment: “Serial Asynchronous Automatic Dialing
and Control for Character Mode DCE on Wireless Data Services”
[18] GSM 04.22 (ETS 300 563): "Digital cellular telecommunication system
(Phase 2); Radio Link Protocol (RLP) for data and telematic services on the
Mobile Station - Base Station System (MS - BSS) interface and the Base Station
System - Mobile-services Switching Centre (BSS - MSC) interface".
[19] GSM 02.30 (ETS 300 511): "Digital cellular telecommunication system
(Phase 2); Man Machine Interface (MMI) of the Mobile Station (MS)”.
[20] GSM 05.08 (ETS 300 578): "Digital cellular telecommunication system
(Phase 2); Radio subsystem link control”.
[21] GSM 02.85 (ETS 300 518): "Digital cellular telecommunication system
(Phase 2); Closed User Group (CUG) supplementary services - Stage 1”.
[22] GSM 02.84 (ETS 300 517): “Digital cellular telecommunication system
(Phase 2); MultiParty (MPTY) supplementary services - Stage 1”.

---------------------- Page: 11 ----------------------

SIST ETS 300 642 E4:2003
Page 10
ETS 300 642 (GSM 07.07 version 4.4.1): March 1999
3 Abbreviations and definitions
3.1 Abbreviations
For the purposes of this ETS the following abbreviations apply:
AT ATtention; this two-character abbreviation is always used to start a command line to be
sent from TE to TA
BCD Binary Coded Decimal
ETSI European Telecommunications Standards Institute
IMEI International Mobile station Equipment Identity
IRA International Reference Alphabet (ITU-T T.50 [13])
IrDA Infrared Data Association
ISO International Standards Organisation
ITU-T International Telecommunication Union - Telecommunications Standardization Sector
ME Mobile Equipment, e.g. a GSM phone (equal to MS; Mobile Station)
MoU Memorandum of Understanding (GSM operator joint)
PCCA Portable Computer and Communications Association
RLP Radio Link Protocol
SIM Subscriber Identity Module
TA Terminal Adaptor, e.g. a GSM data card (equal to DCE; Data Circuit terminating
Equipment)
TE Terminal Equipment, e.g. a computer (equal to DTE; Data Terminal Equipment)
TIA Telecommunications Industry Association
3.2 Definitions
For the purposes of this ETS the following syntactical definitions apply (refer also clause 4):
Carriage return character, which value is specified with command S3.
Linefeed character, which value is specified with command S4.
<.> Name enclosed in angle brackets is a syntactical element. Brackets themselves
do not appear in the command line.
[.] Optional subparameter of a command or an optional part of TA information
response is enclosed in square brackets. Brackets themselves do not appear in
the command line. When subparameter is not given in parameter type
commands, new value equals to its previous value. In action type commands,
action should be done on the basis of the recommended default setting of the
subparameter.
underline Underlined defined subparameter value is the recommended default setting of
this subparameter. In parameter type commands, this value should be used in
factory settings which are configured by V.25ter [14] command &F0. In action
type commands, this value should be used when subparameter is not given.

---------------------- Page: 12 ----------------------

SIST ETS 300 642 E4:2003
Page 11
ETS 300 642 (GSM 07.07 version 4.4.1): March 1999
4 AT command syntax
This clause summarizes general aspects on AT commands and issues related to them. For further
information refer ITU-T Recommendation V.25ter [14].
4.1 Command line
See figure 2 for general structure of a command line. Standardized basic commands are found only in
V.25ter [14]. GSM commands use syntax rules of extended commands. Every extended command has a
test command (trailing =?) to test the existence of the command and to give information about the type of
its subparameters. Parameter type commands also have a read command (trailing ?) to check the current
values of subparameters. Action type commands do not store the values of any of their possible
subparameters, and therefore do not have a read command.
read command for checking
current subparameter values
subparameter
command line
extended commands are
command line prefix
termination character
delimited with semicolon
ATCMD1 CMD2=12; +CMD1; +CMD2=,,15; +CMD2?; +CMD2=?
subparameters
basic command
may be omitted
(no + prefix)
extended command
test command for checking
(prefixed with +)
possible subparameter values
Figure 2: Basic structure of a command line
If verbose responses are enabled with command V1 and all commands in a command line has been
performed successfully, result code OK is sent from the TA to the TE. If numeric
responses are enabled with command V0, result code 0 is sent instead.
If verbose responses are enabled with command V1 and subparameter values of a command are not
accepted by the TA (or command itself is invalid, or command cannot be performed for some reason),
result code ERROR is sent to the TE and no subsequent commands in the command
line are processed. If numeric responses are enabled with command V0, result code 4 is sent
instead. ERROR (or 4) response may be replaced by +CME ERROR: (refer clause 9) when
command was not processed due to an error related to ME operation.
4.2 Information responses and result codes
The TA response for the example command line of figure 2 could be as shown in figure 3. Here, verbose
response format is enabled with command V1. If numeric format V0 would have been used,
headers of information responses would have been left out and final result code changed to 0.
also string type subparameters possible
information response to +CMD2=?
information response to +CMD2?
+CMD2: 3,0,15,"GSM"
+CMD2: (0-3),(0,1),(0-12,15),("GSM","IRA")
OK
shows acceptable ranges of each subparameter
final result code
Figure 3: Response to a command line

---------------------- Page: 13 ----------------------

SIST ETS 300 642 E4:2003
Page 12
ETS 300 642 (GSM 07.07 version 4.4.1): March 1999
So called intermediate result codes inform about progress of TA operation (e.g. connection establishment
CONNECT), and so called unsolicited result codes indicate occurrence of an event not directly associated
with issuance of a command from TE (e.g. ring indication RING).
4.3 ITU-T V.25ter [14] TE-TA interface commands
Table 1 summarizes V.25ter [14] commands relating to command line and response formatting, and TA-
TE interface operation. All are applicable to GSM terminals.
Table 1: V.25ter commands relating to TE-TA interface
Command Section Impl. Use in GSM
S3=[]
6.2.1 mand. command line termination character (mandatory default setting IRA
13)
S4=[]
6.2.2 mand. response formatting character (recommended default IRA 10)
S5=[]
6.2.3 mand. command line editing character (recommended default IRA 8)
E[]
6.2.4 mand. command echo (recommended default 1 i.e. TA echoes commands
back)
Q[]
6.2.5 mand. result code suppression (recommended default 0 i.e. TA transmits
result codes)
V[]
6.2.6 mand. TA response format (recommended default 1 i.e. verbose format)
X[]
6.2.7 mand. defines CONNECT result code format; values manufacturer specific
&C[]
6.2.8 mand. determ
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.