Atv81 Atv84

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 158

DownloadAtv81 Atv84
Open PDF In BrowserView PDF
AT commands interface

This
document
is
the
property
of
WAVECOM,
and
is
transferred
to
______________________________ under the conditions of the active Non-Disclosure
Agreement dated __________. Use of this document is subject to the terms of this NDA. This
document will be returned to WAVECOM under request.

Version : 8.4
Date : Oct,1999
Reference : WCOM/GSM/SW/SII015

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

AT commands interface

DOCUMENT AMENDMENTS
COMMENTS
1.0
2.0
3.0
4.0
5.0
5.1
5.2
5.3
6.0
6.1
7.0
7.1
7.2
7.3

29-02-1996
18-03-1996
10-06-1996
08-07-1996
29-07-1996
25-09-1996
03-10-1996
21-10-1996
16-01-1997
10-02-1997
29-05-1997
24-07-1997
16-10-1997
21-12-1997

P
P
P
P
P
P
P
P
P
P
P
P
P
P

7.4

10-02-1998 P

7.5
7.6

31-03-1998 P
30-04-1998 P

7.7

30-06-1998 P

7.8

29-10-1998 P

7.9

10-02-1999 P

N. Higelin
R. Madec
R. Madec
R. Madec
R. Madec
R. Madec
R. Madec
R. Madec
R. Madec
R. Madec
R. Madec
R. Madec
F. Desnoues
F. Desnoues

Creation
Add of new commands
Add of new commands
Add of new commands
Add of new commands
Modification of commands
Add of new commands
Add of V25 ter commands
Add of new commands
Modifications of +CBST, +CRLP, +SIDET
Add of new commands
Modifications for error codes
Network & SIM lock (+CLCK, +CPWD)
SIM Phonebook management
(+CPBS, +CPBR, +CPBF, +CPBW)
FAX management document
F. Desnoues Advice Of Charge management (+CAOC,
+CACM, +CAMM, +CPUC)
F. Desnoues ATV and ATQ commands
F. Desnoues Cell Broadcast Msg management (+CSCB,
+WCBM) and Incoming bearer (+CICB)
O.Capron
New commands +CPINC,+CCID,+CNUM,
+WAIP , +CPBP, +CPBN (phonebook)
O.Capron
SMS commands (+CMGW, +CMSS)
F.Desnoues New formats of Suppl Serv commands
(+CLCK,+CCWA,+CCFC)
Add
comments
pertaining
to
R.Dorey
+IPR,+CBST,+ICF and fax setup.
O.Capron
New +CPIN2, +CIMI, +WIND, +CPOL,
F.Desnoues +WOPN (Operator Name), +WLPR,
+WLPW, +WIOR, +WIOW (GPIO), AT&T
Extension: +CCED (RxLev auto), +CPBS
(Own Nb), +CLCK (FDN), ATD (Temporary
CLIR)

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

i

AT commands interface

8.0

15-04-1999 P

F.Desnoues

New: +CHLD, +CLCC, +CSSN, +CUSD,
+WMGO, +WMSC
Extension: ATD, ATH, ATA, +CCWA,
+CLIP, +COLP, +WIND, +COPS
Modification: +VGR levels

8.1

04-05-1999 P
16-06-1999 P

C.Amiens
C.Foratier

New format of +ECHO?.command.
New: +CCUG, AT&V, ATI, +DOPT
Extension: ATD (Temporary CUG)
Modification:+CRLP, +ILRR, +FCLASS,
add fax class 1 commands,

8.3

21-06-1999 P
27-09-1999 P

C. Amiens
C.Foratier

New: %D, +VIP, +WAC.
New: +WTONE,+WDTMF,+CKPD
Extension: "EN" phonebook
Extension: ATD (GSM sequences)

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

ii

AT commands interface

CONTENTS
1. INTRODUCTION ..................................................................................................................... 1
1.1.
1.2.
1.3.
1.4.

SCOPE OF THIS DOCUMENT .................................................................................................. 1
RELATED DOCUMENTS ......................................................................................................... 1
ETSI SECRETARIAT.............................................................................................................. 2
DEFINITIONS......................................................................................................................... 2

2. AT COMMANDS FEATURES ................................................................................................. 3
2.1.
2.2.
2.3.

WAVECOM LINE SETTINGS ................................................................................................... 3
COMMAND LINE.................................................................................................................... 3
INFORMATION RESPONSES AND RESULT CODES .................................................................. 3

3. GENERAL BEHAVIORS ......................................................................................................... 4
3.1.
3.2.

SIM INSERTION, SIM REMOVAL ......................................................................................... 4
BACKGROUNG INITIALISATION............................................................................................ 5

4. GENERAL COMMANDS ......................................................................................................... 6
4.1.
4.2.
4.3.
4.4.
4.5.
4.6.
4.7.
4.8.
4.9.
4.10.
4.11.
4.12.
4.13.
4.14.

MANUFACTURER IDENTIFICATION +CGMI......................................................................... 6
REQUEST MODEL IDENTIFICATION +CGMM ...................................................................... 6
REQUEST REVISION IDENTIFICATION +CGMR ................................................................... 6
PRODUCT SERIAL NUMBER +CGSN .................................................................................... 7
SELECT TE CHARACTER SET +CSCS................................................................................... 7
REQUEST IMSI +CIMI ........................................................................................................ 7
CARD IDENTIFICATION +CCID........................................................................................... 8
CAPABILITIES LIST +GCAP ................................................................................................. 8
REPEAT LAST COMMAND A/................................................................................................. 8
POWER OFF +CPOF ........................................................................................................... 9
SET PHONE FUNCTIONALITY +CFUN................................................................................. 9
PHONE ACTIVITY STATUS +CPAS .................................................................................... 10
REPORT MOBILE EQUIPEMENT ERRORS +CMEE........................................................... 10
KEYPAD CONTROL +CKPD.............................................................................................. 11

5. CALL CONTROL COMMANDS ........................................................................................... 12
5.1.
5.2.
5.3.
5.4.
5.5.
5.6.

DIAL COMMAND D.............................................................................................................. 12
HANG-UP COMMAND H...................................................................................................... 15
ANSWER A CALL A.............................................................................................................. 15
REMOTE DISCONNECTION .................................................................................................. 16
EXTENDED ERROR REPORT +CEER .................................................................................. 16
DTMF SIGNALS +VTD, +VTS ........................................................................................... 16

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

iii

AT commands interface

5.7.
5.8.
5.9.
5.10.
5.11.
5.12.
5.13.
5.14.
5.15.
5.16.

REDIAL LAST NUMBER ATDL ............................................................................................ 17
AUTOMATIC DIALING WITH DTR AT%DN ...................................................................... 17
AUTOMATIC ANSWER ATS0............................................................................................... 19
INCOMING CALL BEARER +CICB ................................................................................... 20
GAIN CONTROL +VGR, +VGT......................................................................................... 21
MICROPHONE MUTE CONTROL +CMUT........................................................................ 22
SPEAKER & MICROPHONE SELECTION +SPEAKER....................................................... 23
ECHO CANCELATION +ECHO ......................................................................................... 23
SIDETONE MODIFICATION +SIDET................................................................................. 25
INITIALISE VOICE PARAMETERS +VIP ............................................................................ 26

6. NETWORK SERVICE COMMANDS ................................................................................... 27
6.1.
6.2.
6.3.
6.4.
6.5.

SIGNAL QUALITY +CSQ..................................................................................................... 27
OPERATOR SELECTION +COPS ......................................................................................... 28
NETWORK REGISTRATION +CREG ................................................................................... 31
READ OPERATOR NAME +WOPN....................................................................................... 32
PREFERRED OPERATOR LIST +CPOL ................................................................................ 32

7. SECURITY COMMANDS ...................................................................................................... 35
7.1.
7.2.
7.3.
7.4.
7.5.

ENTER PIN +CPIN ............................................................................................................ 35
ENTER PIN2 +CPIN2 ......................................................................................................... 37
PIN REMAINING ATTEMPT NUMBER +CPINC .................................................................. 39
FACILITY LOCK +CLCK .................................................................................................... 39
CHANGE PASSWORD +CPWD ............................................................................................ 41

8. PHONEBOOK COMMANDS ................................................................................................. 43
8.1.
8.2.
8.3.
8.4.
8.5.
8.6.
8.7.
8.8.

SELECT PHONEBOOK MEMORY STORAGE +CPBS ............................................................ 43
READ PHONEBOOK ENTRIES +CPBR ................................................................................. 43
FIND PHONEBOOK ENTRIES +CPBF................................................................................... 44
WRITE PHONEBOOK ENTRY +CPBW ................................................................................ 44
PHONEBOOK PHONE SEARCH +CPBP................................................................................ 47
MOVE ACTION IN PHONEBOOK +CPBN............................................................................. 47
SUBSCRIBER NUMBER +CNUM.......................................................................................... 49
AVOID PHONEBOOK INIT +WAIP ...................................................................................... 50

9. SHORT MESSAGES COMMANDS ...................................................................................... 51
9.1.
9.2.
9.3.
9.4.
9.5.
9.6.

PARAMETERS DEFINITION .................................................................................................. 51
SELECT MESSAGE SERVICE +CSMS................................................................................... 52
PREFERRED MESSAGE STORAGE +CPMS ......................................................................... 53
PREFERRED MESSAGE FORMAT +CMGF .......................................................................... 54
SAVE SETTINGS +CSAS ..................................................................................................... 55
RESTORE SETTINGS +CRES............................................................................................... 55

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

iv

AT commands interface

9.7.
9.8.
9.9.
9.10.
9.11.
9.12.
9.13.
9.14.
9.15.
9.16.
9.17.
9.18.
9.19.
9.20.

SHOW TEXT MODE PARAMETERS +CSDH ......................................................................... 56
NEW MESSAGE INDICATION +CNMI.................................................................................. 56
READ MESSAGE +CMGR ................................................................................................... 58
LIST MESSAGE +CMGL ................................................................................................... 59
SEND MESSAGE +CMGS................................................................................................... 61
WRITE MESSAGE TO MEMORY +CMGW........................................................................ 62
SEND MESSAGE FROM STORAGE +CMSS........................................................................ 63
SET TEXT MODE PARAMETERS +CSMP .......................................................................... 64
DELETE MESSAGE +CMGD.............................................................................................. 66
SERVICE CENTER ADDRESS +CSCA ................................................................................. 66
SELECT CELL BROADCAST MESSAGE TYPES +CSCB ..................................................... 67
CELL BROADCAST MESSAGE IDENTIFIERS +WCBM ...................................................... 67
MESSAGE STATUS MODIFICATION +WMSC .................................................................... 68
MESSAGE OVERWRITING +WMGO ................................................................................ 68

10. SUPPLEMENTARY SERVICES COMMANDS ................................................................. 70
10.1.
10.2.
10.3.
10.4.
10.5.
10.6.
10.7.
10.8.
10.9.
10.10.
10.11.
10.12.
10.13.
10.14.
10.15.
10.16.

CALL FORWARDING +CCFC ............................................................................................ 70
CALL BARRING +CLCK ................................................................................................... 72
MODIFY SS PASSWORD +CPWD...................................................................................... 73
CALL WAITING +CCWA .................................................................................................. 73
CALLING LINE IDENTIFICATION RESTRICTION +CLIR ................................................... 75
CALLING LINE IDENTIFICATION PRESENTATION +CLIP ................................................. 76
CONNECTED LINE IDENTIFICATION PRESENTATION +COLP ......................................... 77
ADVICE OF CHARGE +CAOC ........................................................................................... 78
ACCUMULATED CALL METER +CACM ............................................................................ 79
ACCUMULATED CALL METER MAXIMUM +CAMM........................................................ 80
PRICE PER UNIT AND CURRENCY TABLE +CPUC ........................................................... 81
CALL RELATED SUPPLEMENTARY SERVICES +CHLD.................................................... 81
LIST CURRENT CALLS +CLCC........................................................................................ 82
SUPPLEMENTARY SERVICE NOTIFICATIONS +CSSN...................................................... 83
UNSTRUCTURED SUPPLEMENTARY SERVICE DATA +CUSD ........................................... 85
CLOSED USER GROUP +CCUG ....................................................................................... 86

11. DATA COMMANDS ............................................................................................................. 88
11.1.
11.2.
11.3.
11.4.
11.5.
11.6.
11.7.

BEARER TYPE SELECTION +CBST ................................................................................... 88
SELECT MODE +FCLASS ................................................................................................. 89
SERVICE REPORTING CONTROL +CR............................................................................... 90
CELLULAR RESULT CODES +CRC .................................................................................... 90
DTE-DCE LOCAL RATE REPORTING + ILRR................................................................... 91
RADIO LINK PROTOCOL PARAMETERS +CRLP ............................................................... 91
OTHERS RADIO LINK PARAMETERS +DOPT .................................................................... 92

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

v

AT commands interface

12. FAX COMMANDS ................................................................................................................ 93
12.1.
12.2.
12.3.
12.4.
12.5.
12.6.
12.7.

TRANSMIT SPEED +FTM .................................................................................................. 93
RECEIVE SPEED +FRM..................................................................................................... 93
HDLC TRANSMIT SPEED +FTH ....................................................................................... 94
HDLC RECEIVE SPEED +FRH .......................................................................................... 94
STOP TRANSMISSION AND WAIT +FTS ............................................................................. 94
RECEIVE SILENCE +FRS................................................................................................... 95
SETTING UP THE PC FAX APPLICATION:.......................................................................... 95

13. V24-V25 COMMANDS.......................................................................................................... 96
13.1.
13.2.
13.3.
13.4.
13.5.
13.6.
13.7.
13.8.
13.9.
13.10.
13.11.
13.12.
13.13.
13.14.
13.15.
13.16.

FIXED DTE RATE +IPR .................................................................................................... 96
DTE-DCE CHARACTER FRAMING +ICF .......................................................................... 97
DTE-DCE LOCAL FLOW CONTROL +IFC ........................................................................ 98
SET DCD SIGNAL &C ....................................................................................................... 99
SET DTR SIGNAL &D ....................................................................................................... 99
SET DSR SIGNAL &S ...................................................................................................... 100
BACK TO ONLINE MODE O.............................................................................................. 100
RESULT CODE SUPPRESSION Q....................................................................................... 100
DCE RESPONSE FORMAT V ............................................................................................ 100
DEFAULT CONFIGURATION Z ....................................................................................... 101
SAVE CONFIGURATION &W.......................................................................................... 101
AUTO-TESTS &T ........................................................................................................... 101
ECHO E ......................................................................................................................... 102
RESTORE FACTORY SETTINGS &F................................................................................ 102
DISPLAY CONFIGURATION &V ..................................................................................... 102
REQUEST IDENTIFICATION INFORMATION I ................................................................ 103

14. SPECIFIC AT COMMANDS .............................................................................................. 105
14.1.
14.2.
14.3.
14.4.
14.5.
14.6.
14.7.
14.8.
14.9.
14.10.
14.11.
14.12.
14.13.
14.14.

CELL ENVIRONMENT DESCRIPTION +CCED................................................................. 105
AUTOMATIC RXLEV INDICATION +CCED..................................................................... 107
GENERAL INDICATIONS +WIND .................................................................................... 108
DATA CIPHERING MODE BETWEEN ME AND MSC +ALEA ......................................... 110
DATA CIPHERING MODE +CRYPT ................................................................................ 110
KEY MANAGEMENT +EXPKEY ..................................................................................... 111
INFORMATIONS ON PLMN +CPLMN ............................................................................ 111
ANALOG DIGITAL CONVERTERS MEASUREMENTS +ADC ............................................. 111
MOBILE EQUIPMENT EVENT REPORTING +CMER........................................................ 111
READ LANGUAGE PREFERENCE +WLPR..................................................................... 112
WRITE LANGUAGE PREFERENCE +WLPW.................................................................. 112
READ GPIO VALUE +WIOR......................................................................................... 113
WRITE GPIO VALUE +WIOW ..................................................................................... 113
ABORT COMMAND +WAC ............................................................................................ 113

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

vi

AT commands interface

14.15.
14.16.

PLAY TONE +WTONE .................................................................................................. 114
PLAY DTMF TONE +WDTMF...................................................................................... 116

15. OTHER AT COMMANDS .................................................................................................. 117
15.1.
15.2.
15.3.

V.25 TER RECOMMANDATION ........................................................................................ 117
GSM 07.05 RECOMMANDATION ..................................................................................... 117
GSM 07.07 RECOMMANDATION ..................................................................................... 117

16. APPENDICES ...................................................................................................................... 118
16.1.
16.2.
16.3.
16.4.
16.5.
16.6.
16.7.
16.8.
16.9.
16.10.
16.11.
16.11.1.
16.11.2.
16.11.3.
16.11.4.
16.11.5.
16.12.

ME ERROR RESULT CODE : +CME ERROR: ................................................ 118
MESSAGE SERVICE FAILURE RESULT CODE: +CMS ERROR : ............................ 119
SPECIFIC ERROR RESULT CODES .................................................................................... 119
FAILURE CAUSE FROM GSM 04.08 RECOMMANDATION (+CEER)............................... 120
SPECIFIC FAILURE CAUSE FOR +CEER......................................................................... 121
GSM 04.11 ANNEX E-2: MOBILE ORIGINATING SM-TRANSFER .................................. 121
UNSOLICITED RESULT CODES ......................................................................................... 124
FINAL RESULT CODES ..................................................................................................... 124
INTERMEDIATE RESULT CODES ...................................................................................... 125
PARAMETERS STORAGE ................................................................................................ 125
GSM SEQUENCES LIST .................................................................................................. 127
SECURITY ................................................................................................................. 127
CALL FORWARDING .................................................................................................. 127
CALL BARRING ......................................................................................................... 128
CALL WAITING .......................................................................................................... 129
NUMBER PRESENTATION........................................................................................... 129
OPERATOR NAMES ........................................................................................................ 130

17. ANNEX A (INFORMATIVE) ............................................................................................. 138
INFORMATIVE EXAMPLE ABOUT THE PIN REQUIRED ................................................................. 138
1.1.1.
EXAMPLE 1 : IN THE START THE ME IS POWERED OFF. ................................................. 138
1.1.2.
EXAMPLE 2: IN THE START THE ME HAS ALREADY BEEN POWERED ON......................... 139
INFORMATIVE EXAMPLE WHERE A VOICE CALL IS ORIGINATED. ............................................... 140
INFORMATIVE EXAMPLE ABOUT AN INCOMING CALL. ................................................................ 141
INFORMATIVE EXAMPLE ABOUT A CALL FORWARDING .............................................................. 142
INFORMATIVE EXAMPLE ABOUT A MULTIPARTY......................................................................... 143
INFORMATIVE EXAMPLE ABOUT PHONEBOOKS .......................................................................... 144
1.6.1.
EXAMPLE 1 : THE WHOLE PHONEBOOK OF THE ME IS READ ......................................... 144
1.6.2.
EXAMPLE 2 : ERASE OR WRITE A PHONEBOOK ENTRY .................................................. 145
1.6.3.
EXAMPLE 3 : FIND PHONEBOOK ENTRIES ...................................................................... 146
INFORMATIVE EXAMPLE ABOUT SHORT MESSAGES .................................................................... 147
1.6.4.
EXAMPLE 4 : SEND A SHORT MESSAGE ......................................................................... 147
1.6.5.
EXAMPLE 5: READ SHORT MESSAGES ........................................................................... 148

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

vii

AT commands interface

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

viii

AT commands interface

1.

Introduction

1.1. Scope of this document
This document describes the messages exchanged between an external
application module and the WAVECOM GSM mobile station, based on AT
commands in order to control incoming and outgoing calls.
This document presents the AT-commands implemented for the voice
call teleservice, the data teleservice and the short message teleservice.

1.2. Related documents
This interface specification is based on the following recommandations :
[1] ETSI GSM 07.05 : Digital cellular telecommunications system
(Phase 2) ; Use of DTE-DCE interface for Short Message
Service (SMS) and Cell Broadcast Service (CBS)
[2] ETSI GSM 07.07 : Digital cellular telecommunications system
(phase 2) ; AT command set for GSM Mobile Equipment (ME)
[3] ITU-T Recommandation V.25 ter : Serial asynchronous
automatic dialling and control
[4] ETSI GSM 03.40 : Digital cellular telecommunications system
(phase 2) ; Technical realization of the Short Message Service
(SMS) Point-to-Point (PP)
[5] ETSI GSM 03.38 : Digital cellular telecommunications system
(phase 2) ; Alphabets and language-specific information
[6] ETSI GSM 04.80 : Digital cellular telecommunications system
(Phase 2): Mobile radio interface layer 3, Supplementary
services specification, Formats and coding

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

1

AT commands interface

1.3. ETSI secretariat
The following addresses can be useful to get the latest GSM
recommendations.

Postal address :

F-06921 Sophia Antipolis CEDEX - FRANCE

Office address :

650 Route des Lucioles - Sophia Antipolis –
Valbonne - FRANCE

Internet : secretariat@etsi.fr
Tel :

+33 4 92 94 42 00

Fax :

+33 4 93 65 47 16

1.4. Definitions
In the GSM vocabulary, a call from GSM mobile to the PSTN is named
"mobile originated call" (MOC) or "outgoing call", and a call from fixed network
to a GSM mobile is called "mobile terminated call" (MTC) or "incoming call".

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

2

AT commands interface

2.

AT commands features

2.1. Wavecom line settings
Serial link handler is set to default values (factory settings) :
autobaud, 8 bits data, 1 bit stop, no parity, RTS/CTS flow control.
Please use the commands +IPR, +IFC, +ICF to change these settings.

2.2. Command line
Commands always start with AT (means ATtention !) and finish with a
 character.

2.3. Information responses and result codes
Responses start and end with , except with the ATV0 (DCE
response format) and ATQ1 (result code suppression) commands.
• If the syntax of the command is wrong, the string ERROR is sent.
• If the syntax command is correct but with some incorrect parameters,
the string +CME ERROR :  or +CMS ERROR :  is sent with
different error codes.
• If the command line has been performed successfully, the string OK is
sent.
In some cases like "AT+CPIN?", "AT+EXPKEY?", or incoming events
(unsolicited) the module does not finish its response with the string OK.
In the following examples  and  will be intentionally
omitted.

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

3

AT commands interface

3.

General behaviors

3.1. SIM Insertion, SIM Removal
The SIM card Insertion and Removal procedures are supported. These
are software functions based on the reading of the hardware SIM presence
pin. This pin state (open / closed) is watched continuously.
When the SIM presence pin indicates a presence of a card in the SIM
connector, the module tries to establish a logical SIM session. Depending if
the somewhat is a SIM Card or not, the logical SIM session will be
established or not. The AT+CPIN? delivers the following answers :
-

If SIM presence pin indicates “Nothing”, the answer to AT+CPIN? is
“+CME ERROR 10” (SIM not inserted)

-

If SIM presence pin indicates “something”, and the inserted Card is a
SIM Card, the answer to AT+CPIN? is “+CPIN: xxx” depending of the
SIM PIN state.

-

If SIM presence pin indicates “something’, and the inserted Card is
not a SIM Card, the answer to AT+CPIN? is CME ERROR 10

-

These both last status are not immediately available due to
background initialisation. Between the hardware SIM presence pin
indication of “something” and the previous results the AT+CPIN?
sends “+CME ERROR: 515” (Please wait, init in progress)

When the SIM presence pin indicates an absence, if a SIM Card was
inserted before, an IMSI detach procedure is done, and all the user data are
removed from the module (Phonebooks, SMS etc.). The module is then in
emergency mode.

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

4

AT commands interface

3.2. Backgroung initialisation
After PIN entry, some SIM user data files are loaded in the module
(Phonebooks, SMS status …), but it can take a long time for huge
phonebooks reading. The AT+CPIN? command answers just after verification
of the PIN. User Datas are loaded after the answer in background.
This mean, that some datas may not be available just after the OK from
PIN Entry. Reading of phonebooks will then be refused by the following
“+CME ERROR: 515” or “+CMS ERROR: 515” meaning “please wait, service
is not available, init in progress”.
That kind of answer may be sent by the module at several steps :
-

When trying to execute another AT command before the end
(response) of the previous one.

-

when swapping from (or to) ADN to (or from) FDN and trying to read
immediately the concerned phonebook ;

-

when asking for +CPIN? Status just after a SIM insertion when the
module has not determined that the inserted card is a valid SIM Card.

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

5

AT commands interface

4.

General commands

4.1. Manufacturer identification

+CGMI

This command gives the manufacturer identification.
Application to GSM

AT+CGMI

GSM to application

WAVECOM MODEM
OK

Get
manufacturer
identification
Command valid, Wavecom
modem

4.2. Request model identification

+CGMM

This command is used to get the supported bands (GSM 900, DCS 1800
or PCS 1900). The answer could be a combination of different bands in the
case of multiband modules.
Application to GSM
GSM to application

AT+CGMM
900P
OK

Get hardware version
GSM 900 MHz primary band, or
"900E " (extended band), "1800"
(DCS), "1900" (PCS) or "MULTIBAND"

4.3. Request revision identification +CGMR
This command is used to get the software version.
Application to GSM
GSM to application

AT+CGMR
310_G250.51 806216
032199 17:04
OK

get software version
Software release 3.10 ,révision
51 generated on the 21st of
March 1999

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

6

AT commands interface

4.4. Product Serial Number

+CGSN

This command allows the user application to know the IMEI of the GSM
module. The application sends :
Application to GSM
GSM to application
Application to GSM
GSM to application

AT+CGSN
135790248939
OK
AT+CGSN
+CME ERROR: 22

Request IMEI
IMEI present in EEPROM
Request IMEI
IMEI not found in EEPROM

4.5. Select TE character set

+CSCS

This commands informs the ME which character set is used by the TE.
ME is then able to convert each character of entered or displayed string. This
is used to send, read or write short messages.
Application to GSM
GSM to application
Application to GSM

AT+CSCS="GSM"
OK
AT+CSCS="PCCP437"

GSM to application

OK

GSM default alphabet
Command valid
PC character set Code Page
437
Command valid

4.6. Request IMSI +CIMI
This command is used to read the IMSI (International Mobile Subscriber
Identity) of the SIM card. The PIN should be entered if needed before reading
the IMSI.
Command syntax: AT+CIMI
Response syntax: 
Application to GSM
GSM to application

AT+CIMI
208200120320598

Read the IMSI
IMSI value (15 digits), starting
with MCC (3 digits) / MNC (2
digits, 3 for PCS 1900)

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

7

AT commands interface

See appendice 16.12 for MCC / MNC description.

4.7. Card Identification

+CCID

This command instructs the module to read the EF-CCID file on the SIM
card.
Command syntax :

AT+CCID

Response syntax :

+CCID : 

In case of absent EF-CCID file on the SIM, the +CCID will not be sent.
But the OK will be present.
Application to GSM
GSM to application
Application to GSM
GSM to application

AT+CCID
+CCID : "123456789AB111213141"
OK
AT+CCID ?
+CCID : "123456789AB111213141"

get card id
EF-CCID is present, hexadecimal
format
get current value
Same result as +CCID

Application to GSM
GSM to application

AT+CCID= ?
OK

get possible value
no parameter but this command is
valid

4.8. Capabilities list +GCAP
This command gives the complete capabilities list.
Application to GSM
GSM to application

AT+GCAP
+GCAP: +CGSM +FCLASS
OK

4.9. Repeat last command

get capabilities list
supports GSM commands and FAX

A/

Only A/ command can not be repeated. This command repeats the last
command executed.
Application to GSM

A/

Repeat last command

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

8

AT commands interface

4.10. Power off +CPOF
This specific command stops the GSM software stack and then the
hardware layer. The AT+CFUN=0 command is equivalent to +CPOF
Application to GSM
GSM to application

AT+CPOF
OK

stop GSM stack
Command valid

4.11. Set phone functionality

+CFUN

This command selects the level of functionality in the mobile station.
•When the application wants to stop the module for making a power off,
or if the application wants to force the module for executing a IMSI DETACH
procedure, then it has to send :
AT+CFUN=0 (same as AT+CPOF)
This command executes a IMSI DETACH and makes a backup of some
internal parameters in the SIM and the EEPROM. Then no access to the SIM
card is possible.
If the mobile is not powered off after this command, it shall received
another command to re-start the whole GSM process.
If the mobile is turned off after this command, then the power on will
automatically execute the start of the whole GSM process.
When the application wants to re-start the module (after having done a
AT+CFUN=0 command, and without having cut the power supply), it has to
send :
AT+CFUN=1
This command starts again all the GSM stack and GSM functionality, a
complete software reset is done. All parameters are reset to their previous
E2P value if AT&W was not used.
If you write entries in phonebook (+CPBW) and then reset the module
directly (AT+CFUN=1, without any AT+CFUN=0 before), some entries may
not be written (SIM task does not have the time to write entries in SIM card)

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

9

AT commands interface

Also, the OK response will be sent at the last defined baud rate defined
by +IPR command. With autobauding the response can be at a different
baud rate, so it is better to save the defined baud rate with AT&W before
directly send the AT+CFUN=1 command.
Application to GSM
GSM to application
Application to GSM

AT+CFUN?
+CFUN: 1
OK
AT+CFUN=0

GSM to application
Application to GSM

OK
AT+CFUN=1

GSM to application

OK

Ask for current functionality level
Full functionality
Set minimum functionality, IMSI
detach procedure
Command valid
Set the full functionality mode with
a complete software reset
Command valid

4.12. Phone activity status +CPAS
This command returns the activity status of the mobile.
Application to GSM AT+CPAS
GSM to application +CPAS: 
OK

Current activity status
 can have the following values :
0 : ready (allow commands from TA/TE)
1 : unavailable (does not allow cmds)
2 : unknown
3 : ringing (ringer is active)
4 : call in progress
5 : asleep (low functionality)

4.13. Report Mobile Equipement errors

+CMEE

This command disables or enables the use of result code
"+CME ERROR : " or "+CMS ERROR :" instead of simply
"ERROR". See appendice 16.1 for +CME ERROR result codes description
and appendice 16.2 for +CMS ERROR result codes.
Application to GSM

AT+CMEE=0

GSM to application
Application to GSM

OK
AT+CMEE=1

GSM to application

OK

Disable ME error reports, use only
« ERROR »
Enable « +CME ERROR :  »
Or « +CMS ERROR :  »

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

10

AT commands interface

4.14. Keypad control +CKPD
Command syntax: +CKPD=
Execution command emulates ME keypad by giving each keystroke as a
character in a string .
The supported GSM sequences are listed in 16.11.
If emulating fails in an ME error, +CME ERROR:  is returned.
If emulating succeeds, the result is dependent of the GSM sequence.
: string of following characters (0-9,*,#)

Application to GSM
GSM to application
Application to GSM
GSM to application

AT+CKPD="*#21#"
+CCFC: 0,7
AT+CKPD="1234"
+CME ERROR 3

Check all call forwarding status
Sequence not allowed

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

11

AT commands interface

5.

Call Control commands

5.1. Dial command D
Command syntax:

ATD  [I / i] [G/g] [;]
ATD>  [I / i] [G/g] [;]
ATD> mem  [I / i] [G/g] [;]
ATD>  [I / i] [G/g] [;]
ATD 

The ATD command is used to establish a speech, data or fax call.
According to GSM 02.30, dial command also controls supplementary
services.
For a data or fax call, the application sends to the GSM module the
following ASCII string : (the bearer has to be selected before with the +CBST
command)
ATD

where  is the called phone number.

For a voice call, the application sends to the GSM module the following
ASCII string : (the bearer may be selected before, if not a default bearer is
used)
ATD;

where  is the called phone number.

Please, notice that in case of international number, the local
international prefix has not to be set (usually 00) but need to be replaced by
the '+' character.
Example : to establish a voice call to Wavecom from another country,
the AT command shall be :
ATD+33146290800;

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

12

AT commands interface

Notice that some country can have particular numbering rules for their
GSM handset numbering.

The answer to the ATD command can be one of the following ones:
Verbose result code

Numeric (V0 set)

Description

OK

0

if the call succeeds, for voice call
only

CONNECT 

10,11,12,13,14,15

if the call succeeds, for data calls
only,  takes the value
negotiated by the GSM module.

BUSY

7

If the called party is already in
communication

NO ANSWER

8

If no hang up is detected after a fixed
network time-out

NO CARRIER

3

Call setup failed or remote user
release.
Use
the
AT+CEER
command to know the failure cause

See paragraph 16.8 for the description of all numeric result codes
(ATV0)
Direct dialling from a phonebook location (stored in SIM card) can be
done with the following command :
ATD> ; for calling  from the selected phonebook (by
+CPBS command)
ATD> "BILL";

for calling "BILL" from the the selected phonebook

ATD> mem  (mem is “SM”, “FD” or “ON”, see +CPBS
command) is a way to directly dial from a phonebook number.
Application to GSM

AT+CPBS?

GSM to application

+CPBS:”FD”,5,10

Which
phonebook
selected ?
FDN
phonebook

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

is
is

13

AT commands interface

Application to GSM

ATD>SM6;

GSM to application

OK

selected, 5 locations are
used and 10 locations are
available.
Call index 6 from ADN
phonebook
Call succeeds

When FDN phonebook has been locked only the numbers beginning
with the digits of FDN phonebook entries can be called.
For example, if “014629” is written in the FDN phonebook all the phone
numbers beginning with these 6 digits can be called.
It’s allowed to override the CLIR supplementary service subscription for
this call only.
“I” means “invocation” (restrict CLI presentation)
“i” means “suppression” (allow CLI presentation).
It's allowed to control the CUG supplementary service information by
“G” or “g” for this call only. The index and info values set with command
+CCUG are used.
An outgoing call attempt could be refused if the AOC service is active
and the credit is expired (NO CARRIER)
When trying to make an outgoing call while there is an active call, the
active call is first put on hold, then the call setup is made.

According to GSM 02.30, GSM sequences may be controlled using dial
command. These sequences can contain “*”, “#”. But “;” is forbidden.
If the sequence is not supported or fails, +CME ERROR:  is
returned.
See paragraph 16.11 to have the list of supported sequences.
Application to GSM

ATD*#21#

Check all call forwarding status

GSM to application

+CCFC: 0,7

No call forwarding

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

14

AT commands interface

Application to GSM

ATD**61*+33146290800**25#

GSM to application
Application to GSM
GSM to application

OK
ATD*2#
+CME ERROR 3

5.2. Hang-Up command

Register call forwarding on no
reply, with no reply timer fixed at
25 s.
Done
Bad sequence

H

The command ATH (or ATH0) is used by the application to disconnect
the remote user. In case of multiple calls, all calls are released (active, held
and waiting calls).
The specific Wavecom command ATH1 has been appended to
disconnect only the outgoing call. It can be useful in case of multi
communication.
Application to GSM
GSM to application

ATH
OK

Application to GSM

ATH1

GSM to application

OK

5.3. Answer a call

ask for disconnection
All calls, if any, are
released
ask for outgoing call
disconnection
Outgoing call, if any, is
released

A

When the GSM module receives a call, it set the RingInd signal and
sends to the application the ASCII string “RING” or “+CRING: ” if
cellular result code (+CRC) is enabled. Then it waits for the application to
accept the call.
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application

RING
ATA
OK
ATH
NO CARRIER

Incoming call
Answer to this incoming call
Call accepted
Disconnect call
Call disconnected

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

15

AT commands interface

5.4. Remote disconnection
This message is used by the GSM module to indicate to the application
that an active call has been released by the remote user.
The GSM module sends "NO CARRIER" to the application, and set the
DCD signal.
Also, in case AOC, the module can stop the communication if the credit
is over (release cause 68 with +CEER command)

5.5. Extended error report

+CEER

If the last call setup (originating or answering) fails, this command gives
the reason of the call release.
Application to GSM
GSM to application
Application to GSM
GSM to application

ATD123456789 ;
NO CARRIER
AT+CEER
+CEER : Error 
OK

outgoing voice call
Call setup failure
ask for reason of release
 is the cause information
element
values
from
GSM
recommandation 04.08 or specific

The cause information element from GSM 04.08 is given below in
chapter 16.4, or in chapter 16.5 for specific failure causes.
The “NO CARRIER” indicates that the AT+CEER information is available
for a failure diagnostic.

5.6. DTMF signals

+VTD, +VTS

The GSM module offers the user application to send DTMF tones on the
GSM network. One command shall be used for defining the duration of the
tones (default value is 300 ms), the other for sending the Tones.
For defining the duration, the application uses :
AT+VTD=

where *100 gives the duration in ms.

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

16

AT commands interface

If n < 4 the tone duration is 300 ms.
Application to GSM
GSM to application
Application to GSM
GSM to application

AT+VTD=6
OK
AT+VTD=0
OK

for defining 600 ms tone duration
command valid
for setting the manufacturer default value

For sending DTMF tones (only when an active call exists), the
application uses :
AT+VTS=
Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application

where  is in {0-9,*,#,A,B,C,D}

AT+VTS=A
OK
AT+VTS=11
+CME ERROR: 4
AT+VTS=4
+CME ERROR: 3

command valid
if the  is wrong
if there is no communication

Example : to send the Tone sequence 13#, the application shall send :
AT+VTS=1;+VTS=3;+VTS=#
OK

5.7. Redial last number

ATDL

This command is used by the application to redial the last number used
in the ATD command. The last dialled number is displayed followed by “;” for
speech calls only
Application to GSM
GSM to application

ATDL
0146290800;
OK

5.8. Automatic dialing with DTR

redial last number
last call was a speech call
command valid

AT%Dn

This command allows to activate and deactivate automatic dialing of the
phone number stored in the ifirst location of ADN phonebook. The number is
dialed on DTR OFF to ON transition.

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

17

AT commands interface

Sets commands :

AT%D[;]

Options :

n
;

(0-1)

for activate or deactivate the
automatic dialing.
Informs the module that the
number is a voice rather than
a fax or data number.

AT%D0

Deactivates automatic DTR dialing.

AT%D1;

Activates automatic DTR dialing if DTR switches from OFF to ON;
Dials the phone number in the first location of ADN phonebook.
Speech call
Activates automatic DTR dialing if DTR switches from OFF to ON;
Dials the phone number in the first location of ADN phonebook.
Data or Fax call.

AT%D1

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

18

AT commands interface

Example :
Application to GSM
GSM to application

AT%D1;
OK

Activates DTR dialing.
Command has been
executed.

DTR is OFF
DTR switches ON

The number in the first
location of the ADN
phonebook is dialed
automatically.

DTR switches OFF

5.9. Automatic answer

The module goes on-hook.

ATS0

This S0-parameter controls the automatic answering feature of the
mobile.
Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application

ATS0=2
OK
ATS0?
002
OK
ATS0=0
OK

Automatic answer after 2 rings
Current value
always 3 characters with leading zeros
no automatic answer
command valid

All others S-parameters (S6,S7,S8 ...) are not implemented.

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

19

AT commands interface

5.10. Incoming Call Bearer
Command syntax :

+CICB
AT+CICB= 

This specific command is used for incoming call type when no incoming
bearer is given (single numbering scheme, see +CSNS).
 values :
0:
1:
2:
Application to GSM
GSM to Application
Application to GSM
GSM to Application
Application to GSM
GSM to Application
Application to GSM
GSM to Application

Data
Fax
Speech
AT+CICB=1
OK
AT+CICB=2
OK
AT+CICB?
+CICB: 2
AT+CICB=?
+CICB: (0-2)

If no incoming bearer, force a fax call
Command accepted
If no incoming bearer, force a speech call
Command accepted
Interrogate value
Default incoming bearer: speech call
Test command
Speech, data or fax default incoming
bearer

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

20

AT commands interface

5.11. Gain control

+VGR, +VGT

This command shall be used by the application to tune the receive gain
of the speaker and transmit gain of the microphone. The application shall
send
AT+VGR=

for the receive gain

AT+VGT=

for the transmit gain

0 to 15

+12 db

0 to 31

+14 db

16 to 31

+8.9 db

32 to 63

+17 db

32 to 47

+7.5 db

64 to 95

+20 db

48 to 63

+5.1 db

96 to 127

+23 db

64 to 79

+2.9 db

128 to 159

+26 db

80 to 95

+0.5 db

160 to 191

+29 db

96 to 111

-1.8 db

192 to 223

+32 db

112 to 127

-3.7 db

224 to 255

+35 db

128 to 143

-6.5 db

144 to 159

-8.9 db

160 to 175

-11.2 db

176 to 191

-13.6 db

192 to 207

-16 db

208 to 223

-18.5 db

224 to 239

-21 db

240 to 255

-23.5 db

16 levels for receive gain are provided and 8 levels for transmit gain.
Application to GSM
GSM to application
Application to GSM
GSM to application

AT+VGR=25
OK
AT+VGT=45
OK

Command valid
Command valid

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

21

AT commands interface

5.12. Microphone Mute Control +CMUT
Command syntax:

AT+CMUT = 

This command instructs the module to set the microphone mute or not
for the active microphone (defined with+SPEAKER command). This
command is only allowed during a call.
 takes the following values :
0 : microphone mute off (default value).
1 : microphone mute on.
Application to GSM
GSM to application

AT+CMUT=?
+CMUT : (0,1)
OK
AT+CMUT?
+CMUT : 0
OK
AT+CMUT=1
OK

Test command
Enable/disable mute

Application to GSM

AT+CMUT?
+CMUT : 1
OK
AT+CMUT=0

GSM to application

+CME ERROR: 3

Ask for current value
Mute is active (call
active)
Mute OFF (call not
active)
Command not valid

Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application

Ask for current value
Current value is OFF
Mute ON (call active)
Command valid

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

22

AT commands interface

5.13. Speaker & Microphone selection

+SPEAKER

This specific command is used to choose the speaker and the
microphone. The application shall send
AT+SPEAKER=

0

SPEAKER ONE, MICRO ONE

1

SPEAKER TWO, MICRO TWO

Application to GSM
GSM to application
Application to GSM
GSM to application

AT+SPEAKER=0
OK
AT+SPEAKER?
+SPEAKER: 0
OK

5.14. Echo Cancelation

SPEAKER ONE and MICRO one
Command valid
SPEAKER ONE and MICRO ONE
are active

+ECHO

Command syntax: AT+ECHO= , [,,,
,  ]
This specific command is used to activate, deactivate or configure
the Echo Cancelation function (for voice calls, in small rooms, cars…)

Defined Values
:
0: Deactivate Echo
1: Activate Echo
2: Configure the echo cancelation (automatically stored in E2P)

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

23

AT commands interface

 : Number of taps of the adaptive filter. This value is directly
related to the length of the longest echo path (240 words = 30 ms echo path
delay). Values from 1 to 192, default is 160
 : Threshold for convergence parameter. This specifies the
level of energy computed on  samples needed to assume
algorithm convergence. A low value provides a high convergence and a high
value a high stability. Values from 0 to 45, default is 12.
 : Double talk sensitivity. This reflect the ratio between received
and sent energy to assume double talk occured. A low value provides a high
sensibility and a high value a low one. Values from 0 to 10, default is 5.
 : Far end speaker detection - algorithm adaptation. This is
related to then energy level needed on the receive path to allow filter taps
adaptation. If  = 0 the algorithm will always adjust the filter. Values
from 0 to 1000, default is 512.
 : Number of samples used to compute energy for algorithm
convergence evaluation. Values from 1 to 30, default is 10
Read Command:

AT+ECHO?

This command returns the current settings of the Echo cancelation.
Returns:+ECHO:,,,,, 


0
1
2

Echo Desactivate.
Echo Activate for Mic/Speak one.
Echo Activate for Mic/Speak two.

Example:
Application to GSM
GSM to application
Application to GSM

AT+SPEAKER?
+SPEAKER: 0
OK
AT+ECHO=1

GSM to application
Application to GSM
GSM to application

OK
AT+ECHO?
+ECHO: 1,160,12,5,512,10

SPEAKER ONE and MICRO ONE
are active
Active Echocancelation for
Mic/Speak one.
Read current settings

OK

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

24

AT commands interface

Application to GSM
GSM to application

AT+ECHO=2
+CME ERROR: 3

Configure the Echo cancelation
The parameters are missing.

Application to GSM
GSM to application

AT+ECHO=2,0,12,5,512,10
+CME ERROR: 3

Configure the Echo cancelation
The  parameter is wrong.
Values from 1 to 192

5.15. SideTone modification
Command syntax :

+SIDET

AT+SIDET=,

This specific command is used to get an echo of the voice in the
speaker (to have a microphone feedback in the speaker)


Level



Presence

0

0 db

0

SideTone is disabled

1

- 6 db

1

SideTone is enabled

2

-12 db

3

-18 db

Application to GSM
GSM to application
Application to GSM
GSM to application

AT+SIDET=1,0
OK
AT+SIDET?
+SIDET: 1,0
OK

Command valid
Current value
Command valid

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

25

AT commands interface

5.16. Initialise Voice Parameters +VIP
This command allows to restore the factory settings about the voice
parameters from EEPROM.
These voice parameters include :
•
•
•
•
•

Gain control,
Microphone mute control,
Speaker & Microphone selection,
Echo cancelation,
Side tone modification.

Command

Return

AT+VIP=
AT+VIP=?

+VIP: 1

AT+VIP?

+VIP: (1)

Example :
Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application

AT+VIP?
+VIP: 1
OK
AT+VIP=2
+CME ERROR: 3
AT+VIP=1
OK
AT+VIP=?
+VIP: (1)
OK

Syntax error
Restore the factory settings in
EEPROM.
The command has been executed
List of supported s

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

26

AT commands interface

6.

Network service commands

6.1. Signal Quality

+CSQ

This command shall be used to know the received signal strength
indication () and the channel bit error rate () with or without any
SIM card inserted.
 :
0
: -113 dBm or less
1
: -111 dBm
2...30 : -109 to -53 dBm
31
: -51dBm or greater
99
: not known or not detectable
 :
0...7 : as RXQUAL values in the table GSM 05.08
99 : not known or not detectable

Application to GSM
GSM to application

AT+CSQ
+CSQ: ,
OK

 and  as defined before

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

27

AT commands interface

6.2. Operator selection

+COPS

To select the operator, three possibilities exist :
1- The mobile enters the manual mode, and then try to find an operator
which is indicated by the application. If it finds and registers correctly, then
the mobile stays in idle mode.
2- The mobile enters the automatic mode, and then try to find the home
operator. If it finds and registers correctly, then the mobile stays in idle mode ;
if not, the mobile search automatically another network.
3- The mobile enters the manual/automatic mode, and then try to find
an operator which is indicated by the application (like in manual mode) . If this
attempt fails the automatic mode is entered.
Read command returns the current mode and the currently selected
operator. Just notice that in manual mode, this PLMN could not be the one
the mobile has to register (searching phase).
To force an attempt to select and register a network operator, the
application must send the following command :
Command syntax:
AT+COPS=, [ [ ,  ] ]
Possible responses for AT+COPS=:
OK

(Network is selected in full service)

+CME ERROR: 30

(No network service),

+CME ERROR: 32

(Network not allowed – emergency calls only)

+CME ERROR: 3

(During a call not allowed)

+CME ERROR: 4

(Wrong parameters)

Response syntax for AT+COPS?:
+COPS:  [, ,  ]

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

28

AT commands interface

Response syntax for AT+COPS=?:
+COPS: [list of supported (, long alphanumeric ,
short alphanumeric s, numeric ) s]

The parameters values are the following ones:
:
0: automatic (default value)
1: manual
3: set only  (for read command AT+COPS?)
4: manual / automatic ( shall be present), if manual
selection fails, automatic mode is entered.

: format of  field
0: long format alphanumeric 
1: short format alphanumeric 
2: numeric  (default value)
: status of 
0: unknown
1: available
2: current
3: forbidden
: operator identifier
operator selection).,

(MCC/MNC in numeric format only for

Long alphanumeric format can be up to 16 characters long (see
appendice 16.12 for operator names description, field is “Name”)
Short alphanumeric format can be up to 8 characters long.
Application to GSM
GSM to application

AT+COPS?
+COPS: 0,2,20801
OK

Ask for current plmn
Home PLMN is France telecom
Itineris

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

29

AT commands interface

Application to GSM
GSM to application

Application to GSM
GSM to application

AT+COPS=?
+COPS: (2,”F Itineris”,
“Itine”,”20801”), (3,”F SFR”,
“SFR”,”20810”)
OK
AT+COPS=1,2,20810
+CME ERROR: 32

Application to GSM
GSM to application
Application to GSM

AT+COPS=1,1,20810
+CME ERROR: 3
AT+COPS=0,2

GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application

OK
AT+COPS=3,0
OK
AT+COPS?
+COPS: 0,0,”F Itineris”
OK
AT+COPS=1,0,”F SFR”
+CME ERROR: 32

Application to GSM

AT+COPS=4,0,”F SFR”

GSM to application
Application to GSM
GSM to application

OK
AT+COPS?
+COPS: 0,0,”F Itineris”
OK

Ask for PLMN list
Home PLMN is France Telecom
SFR network has been seen

Ask for registration on SFR network
Network not allowed – emergency
calls only
Ask for registration on SFR network
Operation not allowed
Ask for registration on home
network
Succeed
Ask for setting alphanumeric format
Succeed
Ask for current plmn
Home PLMN is France telecom
Itineris
Ask for registration on SFR network
Network not allowed – emergency
calls only
Ask for registration on SFR network
in manual/automatic mode
Command succeed
Ask for current plmn
Home PLMN is France telecom
Itineris !
So the attempt to register on SFR
Network has failed but the
automatic selection on Home
PLMN has succeed.

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

30

AT commands interface

6.3. Network registration +CREG
This command is used by the application to know the registration status
of the mobile.
Command syntax :

AT+CREG= 

Response syntax :

+CREG: ,  [ ,, ]
for AT+CREG? command only


0: Disable network registration unsolicited result code (default)
1: Enable network registration code result code +CREG : 
2: Enable network registration and location information unsolicited
result code +CREG: ,, if there is a change of the network cell.

0 : not registered, ME is not currently searching a new operator
1 : registered, home network
2 : not registered, ME currently searching a new operator to register to
3 : registration denied
4 : unknown
5 : registered, roaming
: string type; two byte location area code in hexadecimal format
(e.g. “00C3” equals 193 in decimal)
: string type; two byte cell ID in hexadecimal format
Application to GSM
GSM to application
Application to GSM

AT+CREG?
+CREG: ,
OK
AT+CREG=

GSM to application
Application to GSM
GSM to application

OK
AT+CREG=?
+CREG: (0-2)

as defined before
disable/enable
network
unsolicited result code
command valid

registration

0,1,2  values are supported

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

31

AT commands interface

6.4. Read operator name +WOPN
This specific command returns the operator name in alphanumeric
format when given the numeric format.
Command syntax:

AT+WOPN=,

Response syntax:

+WOPN: ,

 is the required format. Only long (0) and short (1) alphanumeric
formats are supported.
 is the operator in numeric format.
 is the operator in long or short alphanumeric format (see
appendice 16.12 for operator names description)

Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application

AT+WOPN=?
OK
AT+WOPN=0,20801
+WOPN: 0,"F Itineris"
OK
AT+WOPN=0,99999
+CME ERROR : 22

6.5. Preferred operator list

Test command
Give an operator in numeric format
Alphanumeric answer
Give a wrong operator
Not Found

+CPOL

This command is used to edit the SIM preferred list of networks.
Command syntax:

AT+CPOL= [  ][ ,  [ ,  ] ]

The different possibilities are:
AT+CPOL = 

to delete an entry.

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

32

AT commands interface

AT+CPOL = ,  to set the format used by the read command
(AT+CPOL?).
AT+CPOL = , ,  to put  in the next free location.
AT+CPOL =  ,  ,  to write  in the 
at the  .
The supported format are those of the +COPS command.
The length of this list is limited to 8 entries .

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

33

AT commands interface

Application to GSM
GSM to application

AT+CPOL?
+CPOL: 1,2,26201
+CPOL: 6,2,20810
OK
AT+CPOL=,0
OK
AT+CPOL?
+CPOL: 1,0,”D1-TELEKOM”
+CPOL: 6,0,”F SFR”
OK
AT+CPOL=7,2,20801
OK
AT+CPOL?
+CPOL: 1,0,”D1-TELEKOM”
+CPOL: 6,0,”F SFR”
+CPOL: 7,0,”F Itineris”
OK
AT+CPOL=7
OK
AT+CPOL?
+CPOL: 1,0,”D1-TELEKOM”
+CPOL: 6,0,”F SFR”
OK
AT+CPOL=8,2,77777
OK
AT+CPOL?
+CPOL: 1,0,”D1-TELEKOM”
+CPOL: 6,0,”F SFR”
+CPOL: 8,2,77777
OK

Ask for preferred list of networks
Preferred list of networks in
numeric format

Application to GSM

AT+CPOL=9,0,”F Itineris”

Application to GSM
GSM to application

AT+CPOL?
+CPOL: 1,0,”D1-TELEKOM”
+CPOL: 6,0,”F SFR”
+CPOL: 8,2,77777
+CPOL: 9,0,”F Itineris”
OK

Add an inexistent network to the list
Format text
Ask for preferred list of networks
Preferred list of netwoks in long
alphanumeric format.

Application to GSM
GSM to application
Application to GSM
GSM to application

Application to GSM
GSM to application
Application to GSM
GSM to application

Application to GSM
GSM to application
Application to GSM
GSM to application

Application to GSM
GSM to application
Application to GSM
GSM to application

Select long alphanumeric format
Ask for preferred list of networks
Preferred list of networks in long
alphanumeric format
Add a network to the list
Ask for preferred list of networks
Preferred list of networks in long
alphanumeric format
Delete 7th location
Ask for preferred list of networks
Preferred list of networks in long
alphanumeric format
Add an inexistent network to the list
Ask for preferred list of networks
Preferred list of networks in long
alphanumeric format but 8th entry is
unknown so the module edits it in
the numeric format.

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

34

AT commands interface

7.

Security commands

7.1. Enter PIN +CPIN
This command is used to enter ME passwords (CHV1 / CHV2 / PUK1 /
PUK2…) which are needed before any other functionality of the ME can be
used. The CHV1/CHV2 length is between 4 and 8 digits, the PUK1/PUK2
length is 8 digits only.
If the user application try to establish an outgoing call before having
validated the SIM PIN code (CHV1), then the GSM module will refuse the
"ATD" command with a "+CME ERROR: 11" (SIM PIN required).
It's up to the application to validate the PIN after each reset or power on
if the PIN was enabled. The application shall therefore use the command :
AT+CPIN=
Application to GSM
GSM to application
Application to GSM
GSM to application

AT+CPIN=1234
OK
AT+CPIN=5678
+CME ERROR: 3

enter PIN
PIN code is correct
enter PIN
operation not allowed, PIN previously entered

After 3 unsuccessful codes, the PUK will then be required. The PUK
validation forces the user to enter as a second parameter a new PIN code
which will be the new PIN code if the PUK validation succeeds. The CHV1 is
then enabled if the PUK1 is correct. The application shall therefore use the
command :
AT+CPIN=,
Application to GSM
GSM to application
Application to GSM
GSM to application

AT+CPIN=00000000,1234
+CME ERROR: 16
AT+CPIN=12345678,1234
OK

enter PUK and new PIN
Incorrect PUK
enter PUK and new PIN, 2nd attempt
PUK correct, new PIN stored

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

35

AT commands interface

To know which code has to be entered (or not), the following
interrogation command can be used :
AT+CPIN?
The possible responses are :
+CPIN: READY
+CPIN: SIM PIN
+CPIN: SIM PUK
+CPIN: SIM PIN2
+CPIN: SIM PUK2
+CPIN: PH-SIM PIN
+CPIN: PH-NET PIN
+CME ERROR: 

ME is not pending for any password
CHV1 is required
PUK1 is required
CHV2 is required
PUK2 is required
SIM lock (phone-to-SIM) is required
Network personnalisation is required
SIM failure (13) absent (10) etc...

Please note that in this case the mobile does not finish its response with
the OK string.
The response +CME ERROR : 13 (SIM failure) is returned after 10
unsuccessful PUK presentations. The SIM card is then out of order and shall
be replaced by a new one.
Example : 3 failed PIN validations + 1 successful PUK validation
AT+CPIN?
+CPIN: SIM PIN
AT+CPIN=1235
+CME ERROR: 16
AT+CPIN=1236
+CME ERROR: 16
AT+CPIN=1237
+CME ERROR: 16
AT+CPIN?
+CPIN: SIM PUK
AT+CPIN=99999999,5678
OK
AT+CPIN?
+CPIN: READY

Read the PIN status
The GSM module requires SIM PIN
First attempt to enter a SIM PIN
Bad PIN
Second attempt
Bad PIN
Third attempt
Bad PIN
Read PIN state
The GSM module requires PUK
The PUK is entered, the new PIN shall be
5678 PUK validation is OK. New Pin is 5678
Read PIN state
GSM module is ready

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

36

AT commands interface

If the user try to do something which requires PIN2 (CHV2) the GSM
module will refuse his action with a “+CME ERROR: 17” (SIM PIN2 required).
Then the GSM module is waiting SIM PIN2 to be given.
Of course if SIM PIN2 is blocked , SIM PUK2 is required instead of SIM
PIN2.
For instance, the GSM module needs PIN2 to write in the fixed dialling
phonebook (FDN) , so if SIM PIN2 authentification has not been done during
the current cession the SIM PIN2 is required:
Application to GSM
GSM to application
Application to GSM

AT+CPBS=”FD”
Choose FDN
OK
AT+CPBW=5,"01290917",129,"Jacky" write in FDN at location 5

GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM

+CME ERROR:17
AT+CPIN?
SIM PIN2
AT+CPIN=5678
OK
AT+CPBW=5,"01290917",129,"Jacky"

SIM PIN2 is required

GSM to application

OK

Now writing in FDN is
allowed

SIM PIN2 is required
Enter SIM PIN2
write in FDN at location 5

Please note that the GSM module ask only once PIN2 or PUK2, so if
they aren’t entered right, the next +CPIN? command will return “+CPIN:
READY”.
Remark
In the way Application to GSM, an "h" character shall be added before
the PIN value if cyphering mode (with D.E.S algorithm ) is on. See +EXPKEY
command.
Same remark for +CLCK and +CPWD commands.

7.2. Enter PIN2 +CPIN2
This specific command is used to validate the PIN2 code (CHV2), or to
validate the PUK2 code (UNBLOCK CHV2) and to define a new PIN2 code.

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

37

AT commands interface

Of course +CPIN command allows to validate PIN2 or PUK2 codes but
only when the last executed command resulted in PIN2 authentification
failure.
The PIN2 length is between 4 and 8 digits, the PUK2 length is 8 digits
only.
AT+CPIN2=
Application to GSM
GSM to application
Application to GSM
GSM to application

AT+CPIN2=1234
OK
AT+CPIN2=5678
+CME ERROR: 3

enter PIN2
PIN2 code is correct
enter PIN2
operation not allowed,
previously entered

PIN2

After 3 unsuccessful codes, the PUK2 will then be required. The PUK2
validation forces the user to enter as a second parameter a new PIN2 code
which will be the new PIN2 code if the PUK1 validation succeeds. The
application shall therefore use the command :
AT+CPIN2=,
Application to GSM
GSM to application
Application to GSM

AT+CPIN2=00000000,1234
+CME ERROR: 16
AT+CPIN2=12345678,1234

GSM to application

OK

enter PUK2 and new PIN2
Incorrect Password (PUK2)
nd
enter PUK2 and new PIN1, 2
attempt
PUK2 correct, new PIN2 stored

To know which code has to be entered (or not), the following
interrogation command can be used :
AT+CPIN2?
The possible responses are :
+CPIN2: READY
+CPIN2: SIM PIN2
+CPIN2: SIM PUK2
+CME ERROR: 

No PIN2 is needed
PIN2 is required
PUK2 is required
Absent (10) etc...

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

38

AT commands interface

7.3. PIN remaining attempt number +CPINC
This specific command instructs the module to display the number of valid tries for PIN1
(CHV1), PIN2 (CHV2), PUK1 (UNBLOCK CHV1) and PUK2 (UNBLOCK CHV2) identifiers.
Command syntax :

AT+CPINC

Response syntax :

+CPINC : ,,,

,  are the remaining tries of PIN1, PIN2 (0 = blocked, 3 max)
,  are the remaining tries of PUK1, PUK2 (0 = blocked, 10 max)

To make it running, the card should be present at the initialisation time,
in the opposite case, an error will be sent (+CME ERROR : 10).
Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application

AT+CPINC
+CPINC : 2,3,10,10
AT+CPINC?
+CPINC : 2,3,10,10
AT+CPINC=?
OK

7.4. Facility lock

Ask remaining tries
First CHV1 attempt was a failure
Ask current values
First attempt was a failure
Ask possible values

+CLCK

This command shall be used by the application to lock, unlock or
interrogate a ME or network facility .
Command syntax: AT+CLCK= ,[,[,] ]
Response syntax: +CLCK:  [ , ]
+CLCK: ,
[…]]

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

39

AT commands interface

The following  values are supported:
"PS" : SIM lock facility with a 8 digits password.
"SC" : PIN enable ( = 1) / disable ( = 0)
"AO" : BAOC (Barr All Outgoing Calls)
"OI" : BOIC (Barr Outgoing International Calls)
"OX" : BOIC-exHC (Barr Outg. Internat Calls except to Home Country)
"AI" : BAIC (Barr All Incoming Calls)
"IR" : BIC-Roam (Barr Inc. when Roaming outside Home Country)
"AB" : All Barring services
"AG" : All outGoing barring services
"AC" : All inComing barring services
"PN" : Network lock with a 8 digits password (NCK).
“FD”: SIM Fixed Dialling Numbers (FDN) memory feature
(PIN2 is required as )


0 : unlock the facility
1 : lock the facility
2 : query status

 : A facility status can be changed for only one class, or for all
classes (7 or omitted).
1 : Voice (telephony)
2 : Data (refer to all bearer services)
4 : Fax (facsimile services)
8 : Short Message service
7 : equal to all classes (Default value)

Any attempt to combine different classes will result in activation /
desactivation / interrogation of all classes.

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

40

AT commands interface

The password maximum length is given with the AT+CPWD=?
command.
Application to GSM
GSM to application
Application to GSM
GSM to application

Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application

Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application

AT+CLCK="SC",1,1234
OK
AT+CLCK?
+CLCK: ("PS", 0),("SC", 1), ("PN",0),
(“FD”,0)
OK
(no longer supported in GSM 07.07)
AT+CLCK="SC",0,5555
+CME ERROR: 16
AT+CPIN=1234
OK
AT+CLCK= ?
+CLCK : ("PS","SC","AO","OI", "OX",
"AI", "IR","AB", "AG","AC", “FD”, "PN")
OK
AT+CLCK="PN",1,12345678
OK
AT+CLCK="AO",1,1234,2
OK
AT+CLCK="AO",2
 +CLCK : 1,2
OK

7.5. Change password
Command syntax :

enable PIN
PIN was right
Read PIN status
PIN is enabled, no SIM
lock, no network lock, no
information on Call barring
disable PIN
PIN was wrong
Enter PIN
PIN was good
request supported facilities
supported facilities

Activate network lock
Network lock activated
Activate All Outgoing Calls
Barring for Data Calls
Call Barring is activate
Query BAOC status
BAOC activate for Data
calls only

+CPWD
AT+CPWD= , , 

This command shall be used by the application to change a password
(PIN, call barring, NCK...). The facility values () are the same as for
+CLCK command, with a “P2” facility to manage SIM PIN2.
For the network lock ("PN"), the unlock is forbidden after 10 failed
attempts to disable (unlock) the network lock with an incorrect password.
Application to GSM
GSM to application

AT+CPWD=?
+CPWD: ("PS", 8),("SC", 8),("AO", 4),
("OI", 4), ("OX", 4),("AI", 4),("IR", 4),

Possible values
CHV1/CHV2 must be on 8
digits maximum (4 min)

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

41

AT commands interface

Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application

("AB", 4), ("AG", 4), ("AC", 4),
("P2", 8), ("FD", 8), ("PN", 8)
OK
AT+CPWD="SC",1234,5555
OK
AT+CPWD="SC",1234,5555
+CME ERROR: 16
AT+CPIN=5555
OK
AT+CPWD="PN",12345678,00000000
OK

For Call Barring, 4 digits
maximum
change PIN
PIN iwas good
Change PIN
PIN was wrong
Enter PIN
PIN was good
change NCK
NCK changed for net lock

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

42

AT commands interface

8.

Phonebook commands

8.1. Select phonebook memory storage +CPBS
This command selects phonebook memory storage. The available
phonebooks are the ADN (SIM), FDN (SIM fixdialling, restricted phonebook),
MSISDN (SIM own numbers) and EN (SIM emergency number) phonebooks.
Application to GSM
GSM to application

AT+CPBS= "SM"
OK

Application to GSM
GSM to application

AT+CPBS=?
+CPBS: ("SM",”FD”,”ON”,"EN")
OK
AT+CPBS ?
+CPBS : "SM",10,20
OK

Application to GSM
GSM to application

Select ADN phonebook
ADN
phonebook
is
selected
Possible values
ADN,
FDN,
MSISDN
phonebooks supported
Status
ADN phonebook selected,
10 used locations, 20
locations available

The ADN phonebook could not be selected is FDN is active.

8.2. Read phonebook entries +CPBR
This command returns phonebook entries for a location range from the
current phonebook memory storage selected with +CPBS.

Application to GSM
GSM to application

AT+CPBR=?
+CPBR: (1-50), 20,10
OK

Application to GSM

AT+CPBR=12,14

Test command
50 locations (from 1 to 50),
max length of 20 for phone
10 characters max for the
associated text
Read entries from 12 to 14

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

43

AT commands interface

GSM to application

Application to GSM
GSM to application
Application to GSM
GSM to application

+CPBR : 12,"112",129,"Emergency"
+CPBR : 13,"+331290909",145, "Fred"
+CPBR :
14, "0146290808",129, "Zazi"
OK
AT+CPBR=10
+CPBR :10,"0146290921",129,"Rob"
OK
AT+CPBR=52
+CME ERROR: 21

Display locations 12,13,14
with Location, Number,
Type (TON/NPI), Text

Read entry 10
Display location 10
Read entry 52 (wrong)
Invalid index

8.3. Find phonebook entries +CPBF
This command returns phonebook entries which alphanumeric field start
with a given string. The AT+CPBF= "" command can be used to display all
phonebook entries sorted in alphabetical order.
This command is not allowed for "EN" phonebook, which does not
contain alphanumeric field.
Application to GSM
GSM to application
Application to GSM
GSM to application

Application to GSM
GSM to application

AT+CPBF=?
+CPBF: 20,10
OK
AT+CPBF= "E"
+CPBF : 12,"112",129,"Emergency"
+CPBF : 15,"+331290101",145, "Eric"
OK
AT+CPBF="H"
+CME ERROR: 22

Test command
max length of 20 for phone
10 characters for the text
Read entries with "E"
Display locations with text
field starting with "E"
Read entries with "H"
Entry not found

8.4. Write phonebook entry +CPBW
This command writes phonebook entry in location number  in the
current phonebook memory storage.
This command is not allowed for "EN" phonebook, which is not writable.
Application to GSM
GSM to application

AT+CPBW=?
+CPBW: (1-50),20,(129,145),10

Test command
50
locations,

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

phone

44

AT commands interface

OK
Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application

length=20, TON/NPI of
129 or 145, text length=10
AT+CPBW=3
Erase location 3
OK
Location 3 erased
AT+CPBW=5,"112",129 ,"SOS"
Write at location 5
OK
Location 5 written
AT+CPBW=5,"01290917",129,"Jacky" Overwrite location 5
OK
AT+CPBW=,"+33145221100",145,
"SOS"
OK
AT+CPBW=,"0345221100",129,"SOS"

+CME ERROR: 20
AT+CPBW=57,"112",129 ,"WM"
+CME ERROR: 21
AT+CPBW=7,"012345678901234567
890",129 ,"WAVE"
+CME ERROR: 26
AT+CPBW=7,"0122334455",129 ,
"WAVECOM TEL"
+CME ERROR: 24

Location 5 is overwritten
Write at the first free
location
Free location is written
Write at the first free
location
Phonebook full
Write at loc 57 (wrong)
Invalid index
Write at loc 7 a long Phone
number (21 digits)
Phone too long
Write at loc 7 a long Text
(11 characters)
Text too long

When the fixed dialling phonebook (FDN) is locked , this command is not
allowed. Moreover , when FDN is unlocked , PIN2 is required to write in the
FDN phonebook.
But if PIN2 authentification has been done during the current cession ,
+CPBW command with FDN is allowed .
Application to GSM
GSM to application
Application to GSM

AT+CPBS=”FD”
Choose FDN
OK
AT+CPBW=5,"01290917",129,"Jacky" write in FDN at location 5

GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM

+CME ERROR:17
AT+CPIN?
SIM PIN2
AT+CPIN=5678
OK
AT+CPBW=5,"01290917",129,"Jacky"

SIM PIN2 is required
SIM PIN2 is required
Enter SIM PIN2
write in FDN at location 5

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

45

AT commands interface

GSM to application

OK

Now writing in FDN is
allowed

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

46

AT commands interface

8.5. Phonebook phone search +CPBP
This specific command instructs the module to look in the phonebook
for an item having the same phone number that defined in parameter.
Command syntax :

AT+CPBP=

 is coded like all phone numbers in GSM 07.07 or GSM
07.05 .
Application to GSM

AT+CPBP= "+331290101"

GSM to application

+CPBP : 15,"+331290101",145, "Eric"
OK
AT+CPBP= "+331290101"

Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application

+CPBP : 15,"+331290101",145, "Eric"
OK
AT+CPBP= "+331290101"
+CPBP : 15,"+331290101",145, "Eric"
OK
AT+CPBP= "01290101"
+CPBP : 15,"+331290101",145, "Eric"
OK
AT+CPBP= "0129"
+CME ERROR: 22

Read entries with
phone number
Display location with
phone number
Read entries with
phone number
Display location with
phone number
Read entries with
phone number
Display location with
phone number
Read entries with
phone number
Display location with
phone number
Read entries with "H"
Entry not found

this
this
this
this
this
this
this
this

8.6. Move action in phonebook +CPBN
Command syntax:

AT+CPBN = 

This specific command instructs the module to make a forward or a
backward move in the phonebook (in alphabetical order).
This command is not allowed for "EN" phonebook, which does not
contain alphanumeric field.

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

47

AT commands interface

 may take the following values : 0 for First item, 1 for Last item, 2
for Next valid item in alphabetical order, 3 for Previous valid item in
alphabetical order, 4 for Last read item and 5 for Last written item.

Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application

Application to GSM
GSM to application
Application to GSM
GSM to application

Application to GSM
GSM to application
Application to GSM
GSM to application

AT+CPBN= ?
+CPBN=<0-3>
AT+CPBN= 0
+CPBN : 15,"+331290101",145, "Eric"
OK
AT+CPBN=2
+CPBN :5,"+33147658987",145, "Fran
k"
OK
AT+CPBN=2
+CPBN : 6,"+331290302",145, "Marc"
OK
AT+CPBN=3
+CPBN :5,"+33147658987",145, "Fran
k"
OK
AT+CPBN=1
+CPBN : 6,"+331290302",145, "Marc"
OK
AT+CPBN=2
+CPBN : 15,"+331290101",145, "Eric"
OK

Test Command
Possible Modes
Read the first location
Display the first location
Read the next location
Display
the
second
location
Read the next location
Display the third location
Read the previous location
Display
the
second
location
Read the last location
Display the last location
Read the next location
Display the first location

Using mode 4 and 5 with +CPBF command and CPBW :
Application to GSM
GSM to application
Application to GSM
GSM to application

Application to GSM
GSM to application
Application to GSM

AT+CPBF=”Er”
+CPBF : 15,"+331290101",145, "Eric"
OK
AT+CPBN=2
+CPBN :5,"+33147658987",145, "Fran
k"
OK
AT+CPBF=”Er”
+CPBF : 15,"+331290101",145, "Eric"
OK
AT+CPBN=4

Find “Er” in phonebook
Display this location
Read the next location
Display
the
following
location
Find “Er” in phonebook
Display this location
Read

the

Last

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

read

48

AT commands interface

GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application
GSM to application
Application to GSM
GSM to application

location
Display the Last read
location
AT+CPBW=,"0146290800",129, "WM" Write an item at the first
free location
OK
No information about this
location …
AT+CPBN=4
Read the Last read
location
+CPBN :15,"+331290101",145, "Eric" Display the Last read
location
+CPBN : 38,"0146290800",129, "WM" Display the Last writen
item with its location.
AT+CPBN=4
Read the Last read item
+CPBN : 38,"0146290800",129, "WM" Now the last read item is
the last writen item too
+CPBN :15,"+331290101",145, "Eric"

Please note that the AT+CPBN=5 command is useful after an
AT+CPBW command used without a location.

8.7. Subscriber number +CNUM
This command returns the MSISDN(s) related to the subscriber.
If subscriber has different MSISDNs for different services, each MSISDN
is returned in a separate line.
Command syntax :

AT+CNUM

Response syntax ;
+CNUM : , , 
 +CNUM : , ,  ....
Defined values


: optional alphanumeric string associated with 

 : string type phone number of format specified by 

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

49

AT commands interface



Application to GSM
GSM to application
Application to GSM
GSM to application

: type of adress octet in integer format

AT+CNUM
+CNUM : "Phone" , "0612345678", 129
+CNUM : "Fax", "0687654321",129
AT+CNUM= ?
OK

Get MSISDN(s)
MSISDNs

8.8. Avoid phonebook init +WAIP
This specific command allows to inhibit the initialization of SIM
phonebooks (loading of the ADNs and FDNs only) during the next boots.
Command syntax :

AT+WAIP=



Action

0

Normal initialization (with phonebooks)

1

No phonebook initialization for ADN and FDN

Application to GSM
GSM to application

Application to GSM

AT+WAIP?
+WAIP : 0
OK
AT+WAIP= ?
+WAIP : (0,1)
OK
AT+WAIP=1

GSM to application
Application to GSM

OK
AT&W

Application to GSM
GSM to application

current values ?
Default
value
phonebooks)
possible values ?
disable / enable

(init

Inhibit
initialization
of
phonebooks (next boot)
no answer
Save
modifications
in
EEPROM

Be careful: The given value should be stored in EEPROM, so the
command AT&W must be used to save the new  value.

This confidential document is the property of WAVECOM and may not be copied or circulated without permission

50

AT commands interface

9.

Short Messages commands

9.1. Parameters definition


Destination Address, coded like GSM 03.40 TP-DA



Data Coding Scheme, coded like in document [5].

Discharge Time in string format : "yy/MM/dd,hh :mm :ss±zz" (Year [00-99], Month [01-12], Day [01-31], Hour, Minute, Second and Time Zone [quarters of an hour] ) First Octet, coded like SMS-SUBMIT first octet in document [4], default value is 17 for SMS-SUBMIT Place of storage in memory. Text mode (+CMGF=1): number of characters PDU mode (+CMGF=0): length of the TP data unit in octets Memory used to list, read and delete messages (+CMGL, +CMGR and +CMGD). Memory used to write and send messages (+CMGW, +CMSS). CBM Message Identifier. Message Reference. Originator Address. Protocol Identifier. For SMS : GSM 04.11 SC address followed by GSM 03.40 TPDU in hexadecimal format, coded as specified in doc [4] For CBS : GSM 03.41 TPDU in hexadecimal format Recipient Address. Service Center Address This confidential document is the property of WAVECOM and may not be copied or circulated without permission 51 AT commands interface Service Center Time Stamp in string format : "yy/MM/dd,hh :mm :ss±zz" (Year/Month/Day,Hour:Min:Seconds±TimeZone) CBM Serial Number Status of a SMS-STATUS-REPORT status of message in memory. Type-of-Address of . Type-of-Address of . Type-of-Address of . Number of message locations in . Number of messages locations in Total number of messages locations in . Total number of messages locations in Validity Period of the short message, default value is 167 9.2. Select message service +CSMS The supported services are GSM originated (SMS-MO) and terminated short message (SMS-MT), Cell Broadcast Message (SMS-CB) services. The syntax is : AT+CSMS= : 0 : SMS AT commands are compatible with GSM 07.05 Phase 2 version 4.7.0. 1 : SMS AT commands are compatible with GSM 07.05 Phase 2 + version . Application to GSM GSM to application Application to GSM GSM to application GSM to application AT+CSMS=0 +CSMS: 1, 1, 1 OK AT+CSMS=1 +CMS ERROR: 301 +CSMS: 0, 1, 1, 1 OK SMS AT command Phase 2 version 4.7.0 SMS-MO,SMS-MT and SMS-CB supported SMS AT command Phase 2 + SMS service Phase 2+ not supported GSM 03.40 et 03.41 (SMS AT command Phase 2 version 4.7.0), This confidential document is the property of WAVECOM and may not be copied or circulated without permission 52 AT commands interface Application to GSM GSM to application SMS-MO,SMS-MT and SMS-CB supported Possible service Only GSM 03.40 et 03.41 is possible (SMS AT command Phase 2 version 4.7.0) AT+CSMS=? +CSMS: (0) OK 9.3. Preferred Message Storage +CPMS This command allows to define the message storage area to be used for reading, writing… Command syntax : AT+CPMS=, [] : Memory used to list, read and delete messages. It can be: - “SM” : SMS message storage (in SIM) (default) - “BM”: CBM message storage (in volatile memory). : Memory used to write and send messages - “SM” : SMS message storage (in SIM) (default). If the command is correct, the following indication message is sent: +CPMS: ,,, When is selected, all following +CMGL, +CMGR and +CMGD commands are related to the type of SMS stored in this memory. Application to GSM GSM to application Application to GSM GSM to application Application to GSM GSM to application Application to GSM GSM to application AT+CPMS=? +CPMS: (("SM","BM"),("SM")) OK AT+CPMS? +CPMS: "SM", 3, 10,"SM",3,10 OK AT+CPMS="AM" +CMS ERROR: 302 AT+CPMS="BM" +CPMS: 2, 20,3,10 OK Possible message storages Read, list, delete: SMS or CBM Write,send: SMS Read it Read, write…SMS from/to SIM 3 SMS are stored in SIM. 10 is the total available SIM memory. Select false message storage Select CBM message storage Read, list,delete CBM from RAM 2 CBM are stored in RAM This confidential document is the property of WAVECOM and may not be copied or circulated without permission 53 AT commands interface Application to GSM GSM to application AT+CPMS? +CPMS: "BM", 2, 20,"SM",3,10 OK Read it Read, list,delete CBM from RAM Write SMS to SIM. 9.4. Preferred Message Format +CMGF The formats implemented are the text mode and the PDU mode. In PDU mode, a complete SMS Message including all header information is passed as a binary string (in hexadecimal format, so only this set of characters is allowed : {‘0’,’1’,’2’,’3’,’4’,’5’,’6’,’7’,’8’,’9’, ‘A’, ‘B’,’C’,’D’,’E’,’F’} ). Each pair or characters is converted to a byte (ex : ‘41’ is converted to the ASCII character ‘A’, whoes ASCII code is 0x41 or 65). In Text mode, every commands and responses are in ASCII characters. The chosen format is stored in EEPROM by the command +CSAS. Application to GSM GSM to application Application to GSM GSM to application AT+CMGF ? +CMGF: 1 OK AT+CMGF=? +CMGF: (0-1) OK current message format Text mode Possible message format Text or PDU modes are available Example to send a SMS Message in PDU mode Application to GSM GSM to application Application to GSM GSM to application AT+CMGF=0 OK AT+CMGS=14 0001030691214365000004C9E9340B +CMGS: 4 OK PDU message format PDU mode valid Send complete MSG in PDU mode, no SC address MSG correctly sent, is returned The message is composed of the SC address (« 00 means no SC address given, use default SC address read with +CSCA command) and the TPDU message. The length of octets of the TPDU buffer is 14, coded as GSM 03.40 This confidential document is the property of WAVECOM and may not be copied or circulated without permission 54 AT commands interface In this case the TPDU is : 0x01 0x03 0x06 0x91 0x21 0x43 0x65 0x00 0x00 0x04 0xC9 0xE9 0x34 0x0B, which means regarding GSM 03.40 : : 0x01 (SMS-SUBMIT, no validity period) (TP-MR): 0x03 (Message Reference) (TP-DA) : 0x06 0x91 0x21 0x43 0x65 (destination address +123456) (TP-PID): 0x00 (Protocol Identifier) (TP-DCS): 0x00 (Data Coding Scheme : 7 bits alphabet) (TP-UDL): 0x04 (User Data Length, 4 characters of text) TP-UD : 0xC9 0xE9 0x34 0x0B (User Data : ISSY) TPDU in hexadecimal format must be converted into two ASCII characters, e.g. octet with hexadecimal value 0x2A is presented to the mobile as two characters ‘2’ (ASCII 50) and ‘A’ (ASCII 65). 9.5. Save Settings +CSAS All settings specified in command +CSCA and +CSMP are stored in EEPROM if the SIM card is a phase 1 card or in the SIM card if it is phase 2. Application to GSM GSM to application AT+CSAS OK 9.6. Restore settings Store +CSCA and +CSMP parameters Parameters are saved +CRES All settings specified in command +CSCA and +CSMP are restored from EEPROM if the SIM card is phase 1 or from the SIM card if it is a phase 2 SIM card. Application to GSM GSM to application AT+CRES OK Restore +CSCA and +CSMP parameters Parameters are restored This confidential document is the property of WAVECOM and may not be copied or circulated without permission 55 AT commands interface 9.7. Show text mode parameters +CSDH This commands gives more informations in text mode result codes. These informations are in brackets in commands +CMTI, +CMT, +CDS, +CMGR, +CMGL. Application to GSM GSM to application AT+CSDH? +CSDH: 0 OK current value do not show header values 9.8. New message indication +CNMI This command selects the procedure how receiving the message from the network.The application must send the following command : Command syntax : AT+CNMI=,,,, : controls the processing of unsolicited result codes Only =2 is supported. Any other value for (0,1 or 3) is accepted (return code will be OK), but the processing of unsollicited result codes will be the same than for =2. 0 1 2 3 Buffer unsolicited result codes in the TA. If TA result code buffer is full, indications can be buffered in some other place or the oldest indications may be discarded and replaced with the new received indications. Discard indication and reject new received message unsolicited result codes when TA-TE link is reserved. Otherwise forward them directly to the TE. Buffer unsolicited result codes in the TA when TA-TE link is reserved and flush them to the TE after reservation. Otherwise forward them directly to the TE Forward unsolicited result codes directly to the TE. TA-TE link specific inband used to embed result codes and data when TA is in on-line data mode. This confidential document is the property of WAVECOM and may not be copied or circulated without permission 56 AT commands interface : sets the result code indication routing for SMS-DELIVERs. Default is 0. 0 1 2 3 No SMS-DELIVER indications are routed. SMS-DELIVERs are routed using unsolicited code : +CMTI : « SM », SMS-DELIVERs (except class 2 messages) are routed using unsollicited code : +CMT : [,] (PDU mode) or +CMT : ,[,] [,, , , , , , ] (text mode) Class 3 SMS-DELIVERS are routed directly using code in =2 ; Message of other classes result in indication =1 : set the rules for storing received CBMs (Cell Broadcast Message) types depend on its coding scheme, the setting of Select CBM Types (+CSCB command) and . Default is 0. 0 1 2 3 No CBM indications are routed to the TE. The CBMs are stored. The CBM is stored and an indication of the memory location is routed to the customer application using unsolicited result code: +CBMI: “BM”, New CBMs are routed directly to the TE using unsolicited result code. +CBM : (PDU mode) or +CBM :,, ,, (Text mode) Class 3 CBMs : as =2. Other classes CBMs : as =1. for SMS-STATUS-REPORTs. Default is 0. 0 1 No SMS-STATUS-REPORTs are routed. SMS-STATUS-REPORTs are routed using unsolicited code : +CDS : (PDU mode) or +CDS : ,, [] , [], ,
, (Text mode) Default is 0. This confidential document is the property of WAVECOM and may not be copied or circulated without permission 57 AT commands interface 0 1 TA buffer of unsolicited result codes defined within this command is flushed to the TE when 1...3 is entered (OK response shall be given before flushing the codes) TA buffer of unsolicited result codes defined within this command is cleared when 1...3 is entered. Application to GSM GSM to application GSM to application Application to GSM GSM to application GSM to application Application to GSM GSM to application Application to GSM GSM to application GSM to application AT+CNMI=2,1,0,0,0 OK +CMTI : "SM", 1 AT+CNMI=2,2,0,0,0 OK +CMT :"123456","98/10/01,12 :30 :00+00", 129, 4, 32, 240, "15379", 129,5 Received Message AT+CNMI=2,0,0,1,0 OK AT+CMGS="+33146290800" Message to send +CMGS : 7 OK +CDS : 2, 116, "+33146290800",145, "98/10/01,12 :30 :07+04", "98/10/01 12 :30 :08+04", 0 =1 Message received =2 Message received =1 Send a message in text mode Successful transmission Message was delivered correctly 9.9. Read message +CMGR This command allows the application to read stored messages. Command syntax : AT+CMGR= Response syntax for text mode: +CMGR :,,[,] [,,, ,,,,] (for SMS-DELIVER only) +CMGR :,,[,] [,,,,, [], , ,] (for SMS-SUBMIT only) This confidential document is the property of WAVECOM and may not be copied or circulated without permission 58 AT commands interface Response syntax for PDU mode: +CMGR: , [] , A message read with status "REC UNREAD" will be updated in memory with the status "REC READ" because it has been read. Example : GSM to application Application to GSM GSM to application Application to GSM GSM to application Application to GSM GSM to application Application to GSM GSM to application +CMTI: "SM",1 AT+CMGR=1 +CMGR: "REC UNREAD", "0146290800","98/10/01,18 :22 :11+0 0" , ABCdefGHI OK AT+CMGR=1 +CMGR: "REC READ", "0146290800","98/10/01,18 :22 :11+0 0", ABCdefGHI OK AT+CMGR=2 +CMS ERROR: 321 AT+CMGF=0 ;+CMGR=1 +CMGR: 2,, OK 9.10. List message New message received read the message read again the message message is read now, Read a bad index error : invalid index in PDU mode Message is stored unsent, no field but +CMGL This command allows the application to read stored messages, by indicating the type of the message to read. Command syntax : AT+CMGL= Response syntax for text mode: +CMGL : ,,[,], [, , ] (for SMS-DELIVER and SMS-SUBMIT, may be followed by other +CMGL:…) This confidential document is the property of WAVECOM and may not be copied or circulated without permission 59 AT commands interface Response syntax for PDU mode: +CMGL : ,, [], (for SMS-DELIVER and SMS-SUBMIT, may be followed by other +CMGL:…) possible values (status of message in memory) : PDU mode Text mode 0 "REC UNREAD" ( received unread message ) 1 "REC READ" ( received read message ) 2 "STO UNSENT" ( stored unsent message ) 3 "STO SENT" ( stored sent message ) 4 "ALL" ( all messages ) Application to GSM AT+CMGL=”REC UNREAD” GSM to application +CMGL: 1, "REC UNREAD", "0146290800", Unread Message! +CMGL: 3, "REC UNREAD", "46290800", Another Unread Message! OK AT+CMGL=”REC READ” Application to GSM GSM to application Application to GSM +CMGL: 2, "REC READ", "0146290800", Keep cool OK AT+CMGL="STO SENT" GSM to application +CMS ERROR: 322 List unread messages in text mode 2 messages are unread, these messages will then have their status changed to “REC READ”. (+CSDH: 0) List read messages in text mode read stored and messages No message found This confidential document is the property of WAVECOM and may not be copied or circulated without permission sent 60 AT commands interface 9.11. Send message +CMGS Command syntax in text mode : AT+CMGS= [ , ] text is entered Command syntax in PDU mode : AT+CMGS= PDU is entered The
field is the address of the terminal network to whom the message is sent. To send the message, simply type character (ASCII 26). The text can contain all existing character except and (ASCII 27). This command is abortable using the character when entering text. In PDU mode, only hexadecimal characters are used (‘0’...’9’,’A’...’F’). Example of use : Application to GSM GSM to application Application to GSM GSM to application AT+CMGS="+33146290800" Please Call me soon, Fred. +CMGS : OK AT+CMGS= +CMGS : OK Send a message in text mode Successful transmission Send a message in PDU mode Successful transmission The message reference which is returned back to the application is allocated by the GSM module. This number begins with 0 and is incremented by one for each outgoing message (successful and failure case) ; it is cyclic on one byte (0 follows 255). This confidential document is the property of WAVECOM and may not be copied or circulated without permission 61 AT commands interface Note : this number is not a storage number - outgoing messages are not stored. 9.12. Write Message to Memory +CMGW This command stores a message to memory storage (either SMSSUBMIT or SMS-DELIVERS). The memory location is returned (no choice possible as with phonebooks +CPBW). The entering of text or PDU is done similarly as specified in command Send Message +CMGS. Command syntax in text mode : cases) ( is returned in both AT+CMGW= [, [, ] ] enter text Command syntax in PDU mode : AT+CMGW= [,] give PDU Response syntax: +CMGW: or +CMS ERROR: if writing fails Parameter Definition : : Originating or Destination Adress Value in string format. : Type of Originating / Destination Adress. This confidential document is the property of WAVECOM and may not be copied or circulated without permission 62 AT commands interface : Integer type in PDU mode (default 2 for +CMGW), or string type in text mode (default "STO UNSENT" for +CMGW). It indicates the status of message in memory. If is omitted , the stored message is considered like a message to be send. Defined values : PDU mode 0 1 2 3 Text mode "REC UNREAD" "REC READ" "STO UNSENT" "STO SENT" : The length of the actual data unit in octets Example: Application to GSM GSM to application Application to GSM GSM to application AT+CMGW="+33146290800" Hello, how are you ? +CMGW : 4 OK AT+CMGW= +CMGW : OK 9.13. Send Message From Storage Write a message in text mode Message stored in index 4 Write a message in PDU mode Message stored in +CMSS This command sends message with location value from storage to the network. Command syntax: AT+CMSS=[, [,] ] Response syntax: +CMSS : or +CMS ERROR: if sending fails This confidential document is the property of WAVECOM and may not be copied or circulated without permission 63 AT commands interface If new recipient address is given, it will be used instead of the one stored with the message. Example of use in Text Mode: Application to GSM AT+CMGW=0660123456 Today is my birthday +CMGW : 5 OK AT+CMSS=5 +CMSS : OK AT+CMSS=5, 0680654321 GSM to application Application to GSM GSM to application Application to GSM GSM to application Write a message in text mode Message stored in index 5 Send the message 5 Successful Transmission Send the message 5 to a different GSM Successful Transmission +CMSS : OK 9.14. Set Text Mode Parameters +CSMP This command shall be used to select value for the , , the . The application must send the following command : Command syntax : AT+CSMP=, , , byte is composed of 6 differents fields : b7 RP b6 B5 UDHI SRR b4 b3 VPF b2 b1 RD b0 MTI RP : Reply Path, not used in text mode. UDHI : User Data Header Information, b6=1 if the beginning of the User Data field contains a Header in addition to the short message. This option is not supported in +CSMP command, but can be used in PDU mode (+CMGS). This confidential document is the property of WAVECOM and may not be copied or circulated without permission 64 AT commands interface SRR : Status Report Request, b5=1 if a status report is requested. This mode is supported. VPF : Validity Period Format b4=0 & b3=0 -> field is not present b4=1 & b3=0 -> field is present in relative format Others formats (absolute & enhanced) are not supported. RD : Reject Duplicates, b2=1 to instruct the SC to reject an SMSSUBMIT for an SM still held in the SC which has the same and the same as the previously submitted SM from the same . MTI : Message Type Indicator b1=0 & b0=0 -> SMS-DELIVER (in the direction SC to MS) b1=0 & b0=1 -> SMS-SUBMIT (in the direction MS to SC) In text mode is only coded in "relative" format. The default value is 167 (24 hours). This means that one octet can describe different values : VP value 0 to 143 144 to 167 168 to 196 197 to 255 Validity period value (VP + 1) x 5 minutes (up to 12 hours) 12 hours + ( (VP - 143) x 30 minutes ) (VP - 166) x 1 day (VP - 192) x 1 week is used to indicate the higher layer protocol being used or indicates interworking with a certain type of telematic device. For example, 0x22 is for group 3 telefax, 0x24 is for voice telephone, 0x25 is for ERMES. is used to determine the way the information is encoded. UCS2 alphabet and compressed text are not supported. Only GSM default alphabet and 8 bit data are supported. Application to GSM GSM to application AT+CSMP? +CSMP: 0,0,0,0 OK current values no validity period = PCCP437 alphabet (8 bits -> 7 This confidential document is the property of WAVECOM and may not be copied or circulated without permission 65 AT commands interface Application to GSM GSM to application bits ) AT+CSMP=17,23,64,244 = 23 (2 hours, relative format) = GSM 8 bits alphabet OK command correct 9.15. Delete message +CMGD This command shall be used after a read-command in order to delete the any stored message. For example : GSM to application Application to GSM GSM to application Application to GSM GSM to application +CMTI: "SM",3 AT+CMGR=3 +CMGR: "REC UNREAD", "0146290800",,"98/10/01,18 :19 :20+0 0" Received Message! OK AT+CMGD=3 OK 9.16. Service center address New message received Read it Unread message received from 0146290800 on the 01/10/1998 at 18H 19m 20s Delete it Message deleted +CSCA This command shall be used to indicate to which service center the message has to be sent. The GSM module has no default value for this address. If the application tries to send a message without having indicated the service center address, an error will be generated. So, the application has to indicate this address at initialization. This address is then valid all the time. The application may change it if needed. Application to GSM GSM to Application Application to GSM GSM to application Application to GSM AT+CMGS="+33146290800" Hello, how are you ? +CMS ERROR : 330 AT+CSCA="0696741234" OK AT+CMGS="+33146290800" Send a message Service center unknown Service center initialization Send again the This confidential document is the property of WAVECOM and may not be copied or circulated without permission same 66 AT commands interface GSM to application : Happy Birthday ! +CMGS : 1 OK message Successful transmission 9.17. Select Cell Broadcast Message Types +CSCB Command syntax: AT+CSCB= , [ , [ ] ] Set command selects which types of CBMs are to be received by the ME, This command is allowed in both PDU and text modes. The parameter of +CNMI command controls the message indication. Test read command (AT+CSCB ?) is not supported. The activation of CBM reception (=0) can select only specific Message Identifiers (list in ) for specific Languages (list in ), but the deactivation stops any reception of CBMs (only AT+CSCB=1 is allowed) Message Identifiers ( parameter) indicates which type of message identifiers the ME should listen to. Supported languages ( parameter) are : 0 for German, 1 for English, 2 for Italian, 3 for French, 4 for Spanish, 5 for Dutch, 6 for Swedish, 7 for Danish, 8 for Portugese, 9 for Finnish, 10 for Norwegian, 11 for Greek, 12 for Turkish, 13 for Hungarian, 14 for Polish and 32 for Czech. Application to GSM AT+CSCB=0,"15-17,50,86", "" GSM to Application Application to GSM OK +CBM : 10 00112233445566778899 GSM to application Application to GSM AT+CSCB=1 OK Accept SMS-CB types 15,16,17,50 and 86 in any language CBMs can be received CBM length of a received Cell Broadcast message (SMS-CB), CBM bytes in PDU mode Deactivate the reception of CBMs CBM reception is completely stopped 9.18. Cell Broadcast Message Identifiers Command syntax : +WCBM AT+WCBM= [, , ] This confidential document is the property of WAVECOM and may not be copied or circulated without permission 67 AT commands interface This specific command is used to read the SIM file EF-CBMI. This file is not used with +CSCB command, the application should read this file (AT+WCBM ?) and combine the Message Identifiers with those required for the application. Application to GSM GSM to Application Application to GSM GSM to application AT+WCBM="10,100,1000,100 00" OK AT+WCBM ? +WCBM="10,100,1000,10000" 9.19. Message status modification Command syntax : Write 4 message identifiers in EFCBMI CBMIs are stored if EF-CBMI Read the CBMIs in EF-CBMI 4 CBMIs are stored if EF-CBMI +WMSC AT+WMSC= , location number of the stored message (integer) new status to be stored, as for +CMGL command Possible responses: OK if the location is valid +CMS ERROR: 321 if is invalid or free +CMS ERROR: 302 if the new and the previous one are incompatible (1) Note 1 : The accepted status changes are from READ to NOT READ and vice versa, and from SENT to NOT SENT and vice versa. If all the parameters are correct, the module overwrites the whole SMS in the SIM. Only the first byte (Status byte) is changed. 9.20. Message overwriting +WMGO The +CMGW writes a SMS to the first free location. To write a SMS to a specified location, the +WMGO specific command forces the module to write a SMS (with +CMGW command) to the location specified with +WMGO, but just for one +CMGW command. This confidential document is the property of WAVECOM and may not be copied or circulated without permission 68 AT commands interface Command syntax : AT+WMGO= location number of the SIM record to write or overwrite Possible responses: OK if is a valid SMS location, for AT+WMGO=? and for AT+WMGO? +CMS ERROR: 321 if is out of the SIM capacity range. +WMGO: for AT+WMGO? Then on the next AT+CMGW commnand, the used record number will be that one specifed by AT+WMGO command. The location is then forgotten, and to make a second overwrting, the +WMGO shall be used again. If the external application specifies a free location, and if an incoming message is received before the AT+CMGW command, the module may store the incoming message in a free location, which could be unfortunately the one specified by +WMGO (the module does not prevent this case). Then if the user issues a AT+CMGW command, without changing the AT+WMGO location, the new message will be overwritten ! Be aware that this location number is not kept over a software reset. This confidential document is the property of WAVECOM and may not be copied or circulated without permission 69 AT commands interface 10. Supplementary Services commands 10.1. Call forwarding +CCFC This commands allows control of the call forwarding supplementary service. Command syntax: AT+CCFC= , [, [, [, [,

Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.2
Linearized                      : No
Page Count                      : 158
Creator                         : Microsoft Word
Create Date                     : 25 October 1999 10:37
Title                           : atv81.PDF
Author                          : Unknown
Producer                        : Acrobat PDFWriter 3.02 for Windows
Subject                         : 
EXIF Metadata provided by EXIF.tools

Navigation menu