AT Commands Interface Guide 011

AT Commands Interface Guide - 011 AT Commands Interface Guide - 011

AT Commands Interface Guide - 011 AT Commands Interface Guide - 011

User Manual: AT Commands Interface Guide - 011

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

DownloadAT Commands Interface Guide - 011
Open PDF In BrowserView PDF
pochette MUSE

15/11/01

17:12

Page 1

GIVE W INGS TO
YOUR IDEAS

AT Commands Interface Guide
Revision: 011
Date: June 2003

PLUG

IN

TO

THE

WIRELESS

WORLD

Page: 1 / 64
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement.
Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à
des tiers sans son autorisation préalable.

AT Commands Interface
Guide

Revision :

011

Date :

20 June 2003

Reference :

WM_ASW_OAT_UGD_004

Page : 1 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

Level
001/9.1
002

Date
01/11/01
27/02/02

History of the evolution
Full revision
Updates : +VGR, +WSST, +WOPEN, +CMER, +CLCK,
+WLCK, +WBW, +WBR
Add: +WBM, +WBR, +WBW
Modifications on Gpio and Bus commands
New commands: +WATH, +WLOC
add WIND level:
level 11 for checksum of phonebooks
level 12 for interrupt
new fetures: “loca” and “interrupt”
Correction : +ATO
+WBW / +WBR parameters modification
GPRS commands
Add commands : +WIMEI, +CPLS
Update : +CPOL +CMER +CPLW +CGSN +WFM,
+WCDP, +CRMP, +ECHO, +VGT, +ICF, +VIP,
+SPEAKER, +CCFC
Add CME ERROR 27
Update DOPT description, add details for AT&F
Correct AT%C default value
Update Table 19.10 for +CPHS command.
Update AT examples
Correct AT+DR=? response
Add optional lac parameter for AT+WOPN
Update commands +VTD, +VTS, +CCFC, +CCWA,
+SIDET, +CSQ, +WDTMF, +WBCI, +CIEV, +CMEC,
+CIND, +COPN, +CMBS, +WSVN, +CMER, +WALS,
+WNON, +WDCI, +WCPI, +WCSP, +CPHS, +WVMI,
+WMBN, +WDCI, +CCFC, +WOPEN, +WFM,
+CGEREP, +CGATT, \N, +CGDCONT, +CGSMS,
+CGANS, +CGPADDR

003

27/02/02

004
005

05/04/02
Jul 02

006

Aug 02

007

Oct 02

008

Jan 03

009

03/03

010

20/05/03

Updates for X40a release. Update §19.10 Table for
+IPR, +CGDCONT, +CPHS commands.
Update examples for +WCDP, +CRLP.
Update commands +VIP, +DS, +CIND, +CCLK.
Update the network service codes (BS) in §19.11.2,
Insert the HR_ECHO feature,
Added Appendix H for interoperability commands

011

20/06/03

Additional detail corrections.

Modify +WMBS,
Add GPRS commands
Update or correct +W32K, +WBM, +WBR, +WBW,
+WCFM, +ILLR, +CR, +CRC, +CLIR, +DS, +CCWA,
+CGSMS, +CGCLASS, +WGPRS, +CGACT, +WRST,
+WALS, +CGREG, &F, +CMER, +ECHO, +WALS,
+WCSP, +WMBS, +WFM
Update GPIO configuration
Update operator table
Update parallel bus parameters
Add alphabetical index for commands and responses
Update operator names, presentation, add Overview
paragraph

Page : 2 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

Contents
1

Introduction ............................................................................. 11

1.1

Scope of this document.........................................................................11

1.2

Related documents................................................................................11

1.3

ETSI secretariat .....................................................................................12

1.4

Definitions .............................................................................................12

1.5

Presentation rules .................................................................................12

2

AT commands features............................................................. 13

2.1

Wavecom line settings ..........................................................................13

2.2

Command line .......................................................................................13

2.3

Information responses and result codes ................................................13

3

General behaviors ..................................................................... 14

3.1

SIM Insertion, SIM Removal ..................................................................14

3.2

Background initialization .......................................................................15

4

General commands ................................................................... 16

4.1

Manufacturer identification +CGMI ......................................................16

4.2

Request model identification +CGMM ..................................................16

4.3

Request revision identification +CGMR ................................................17

4.4

Product Serial Number +CGSN.............................................................17

4.5

Select TE character set +CSCS .............................................................18

4.6

Wavecom Phonebook Character Set +WPCS........................................19

4.7

Request IMSI +CIMI .............................................................................20

4.8

Card Identification +CCID .....................................................................21

4.9

Capabilities list +GCAP.........................................................................21

4.10

Repeat last command A/.......................................................................22

4.11

Power off +CPOF..................................................................................22

4.12

Set phone functionality +CFUN ............................................................23

4.13

Phone activity status +CPAS ................................................................24

4.14

Report Mobile Equipment errors +CMEE ..............................................25

4.15

Keypad control +CKPD .........................................................................26

4.16

Clock Management +CCLK ...................................................................27

Page : 3 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
4.17

Alarm Management +CALA..................................................................28

4.18

Ring Melody Playback +CRMP .............................................................29

4.19

Ringer Sound Level +CRSL ...................................................................30

5

Call Control commands ............................................................ 31

5.1

Dial command D....................................................................................31

5.2

Hang-Up command H...........................................................................33

5.3

Answer a call A ....................................................................................34

5.4

Remote disconnection ...........................................................................34

5.5

Extended error report +CEER................................................................35

5.6

DTMF signals +VTD, +VTS ..................................................................36

5.7

Redial last telephone number ATDL......................................................37

5.8

Automatic dialing with DTR AT%Dn .....................................................38

5.9

Automatic answer ATS0 ......................................................................39

5.10

Incoming Call Bearer +CICB .................................................................40

5.11

Single Numbering Scheme +CSNS .......................................................41

5.12

Gain control +VGR, +VGT.....................................................................42

5.13

Microphone Mute Control +CMUT .......................................................44

5.14

Speaker & Microphone selection +SPEAKER ........................................45

5.15

Echo Cancellation +ECHO.....................................................................46

5.16

SideTone modification +SIDET .............................................................49

5.17

Initialize Voice Parameters +VIP............................................................50

6

Network service commands ..................................................... 51

6.1

Signal Quality +CSQ.............................................................................51

6.2

Operator selection +COPS ....................................................................52

6.3

Network registration +CREG ................................................................54

6.4

Read operator name +WOPN ...............................................................55

6.5

Selection of Preferred PLMN list +CPLS................................................56

6.6

Preferred operator list +CPOL ...............................................................57

6.7

Read operator name +COPN ................................................................60

7

Security commands .................................................................. 61

7.1

Enter PIN +CPIN ...................................................................................61

7.2

Enter PIN2 +CPIN2 ...............................................................................63

7.3

PIN remaining attempt number +CPINC ...............................................65

7.4

Facility lock +CLCK ...............................................................................66

7.5

Change password +CPWD ...................................................................68

Page : 2 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
8

Phonebook commands ............................................................. 70

8.1

Select phonebook memory storage +CPBS...........................................70

8.2

Read phonebook entries +CPBR ...........................................................71

8.3

Find phonebook entries +CPBF ............................................................72

8.4

Write phonebook entry +CPBW............................................................73

8.5

Phonebook phone search +CPBP .........................................................75

8.6

Move action in phonebook +CPBN .......................................................76

8.7

Subscriber number +CNUM .................................................................78

8.8

Avoid phonebook init +WAIP................................................................79

8.9

Delete Calls Phonebook +WDCP............................................................80

8.10

Set Voice Mail Number +CSVM .............................................................81

9

Short Messages commands...................................................... 82

9.1

Parameters definition ............................................................................82

9.2

Select message service +CSMS ...........................................................83

9.3

New Message Acknowledgement +CNMA...........................................84

9.4

Preferred Message Storage +CPMS .....................................................86

9.5

Preferred Message Format +CMGF ......................................................87

9.6

Save Settings +CSAS ...........................................................................89

9.7

Restore settings +CRES........................................................................89

9.8

Show text mode parameters +CSDH....................................................90

9.9

New message indication +CNMI ..........................................................91

9.10

Read message +CMGR.........................................................................93

9.11

List message +CMGL ...........................................................................95

9.12

Send message +CMGS.........................................................................97

9.13

Write Message to Memory +CMGW.....................................................98

9.14

Send Message From Storage +CMSS...................................................99

9.15

Set Text Mode Parameters +CSMP ....................................................100

9.16

Delete message +CMGD ....................................................................102

9.17

Service center address +CSCA ...........................................................103

9.18

Select Cell Broadcast Message Types +CSCB.....................................104

9.19

Cell Broadcast Message Identifiers +WCBM.......................................105

9.20

Message status modification +WMSC................................................106

9.21

Message overwriting +WMGO ...........................................................107

9.22

Unchange SMS Status +WUSS ...........................................................108

Page : 3 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
10

Supplementary Services commands ....................................... 109

10.1

Call forwarding +CCFC .......................................................................109

10.2

Call barring +CLCK .............................................................................110

10.3

Modify SS password +CPWD.............................................................111

10.4

Call waiting +CCWA...........................................................................112

10.5

Calling line identification restriction +CLIR..........................................113

10.6

Calling line identification presentation +CLIP ......................................114

10.7

Connected line identification presentation +COLP ..............................115

10.8

Advice of charge +CAOC ....................................................................116

10.9

Accumulated call meter +CACM.........................................................117

10.10 Accumulated call meter maximum +CAMM .......................................118
10.11 Price per unit and currency table +CPUC ............................................119
10.12 Call related supplementary services +CHLD........................................119
10.13 List current calls +CLCC ......................................................................120
10.14 Supplementary service notifications +CSSN .......................................121
10.15 Unstructured supplementary service data +CUSD ..............................123
10.16 Closed user group +CCUG..................................................................124
11

Data commands ..................................................................... 125

11.1

Using AT Commands during a data connection...................................125

11.2

Bearer type selection +CBST ..............................................................125

11.3

Select mode +FCLASS........................................................................127

11.4

Service reporting control +CR .............................................................127

11.5

Cellular result codes +CRC .................................................................128

11.6

DTE-DCE local rate reporting +ILRR ......................................................129

11.7

Radio link protocol parameters +CRLP................................................130

11.8

Others radio link parameters +DOPT ..................................................131

11.9

Select data compression %C ...............................................................132

11.10 V42 bis data compression +DS ..........................................................132
11.11 V42 bis data compression report +DR ................................................133
11.12 Select data error correcting mode \N...................................................134
12

Fax commands ....................................................................... 135

12.1

Transmit speed +FTM ........................................................................135

12.2

Receive speed +FRM ..........................................................................136

12.3

HDLC transmit speed +FTH................................................................136

12.4

HDLC receive speed +FRH ..................................................................137

Page : 4 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
12.5

Stop transmission and wait +FTS ......................................................137

12.6

Receive silence +FRS..........................................................................138

12.7

Setting up the PC fax application:........................................................138

13

Fax class 2 commands............................................................ 139

13.1

Transmit Data +FDT...........................................................................139

13.2

Receive Data +FDR.............................................................................139

13.3

Transmit page ponctuation +FET .......................................................139

13.4

Page transfer status parameters +FPTS .............................................140

13.5

Terminate Session +FK.......................................................................140

13.6

Page transfer bit order +FBOR............................................................141

13.7

Buffer size report +FBUF ....................................................................141

13.8

Copy quality checking +FCQ...............................................................142

13.9

Capability to receive +FCR ..................................................................142

13.10 Current sessions parameters +FDIS ...................................................143
13.11 DCE capabilities parameters +FDCC ...................................................145
13.12 Local ID string +FLID ..........................................................................145
13.13 Page transfer timeout parameter +FPHCTO ........................................146
13.14 Fax Class 2 indication messages .........................................................147
14

V24-V25 commands ............................................................... 148

14.1

Fixed DTE rate +IPR ...........................................................................148

14.2

DTE-DCE character framing +ICF .......................................................149

14.3

DTE-DCE local flow control

14.4

Set DCD signal &C .............................................................................151

14.5

Set DTR signal &D..............................................................................151

14.6

Set DSR signal &S..............................................................................152

14.7

Back to online mode O........................................................................153

14.8

Result code suppression Q .................................................................153

14.9

DCE response format

+IFC .......................................................150

V......................................................................154

14.10 Default configuration Z .......................................................................154
14.11 Save configuration &W.......................................................................155
14.12 Auto-tests &T.....................................................................................155
14.13 Echo E ................................................................................................156
14.14 Restore factory settings &F ................................................................156
14.15 Display configuration &V ....................................................................157
14.16 Request identification information I ....................................................158
14.17 Data / Commands Multiplexing +WMUX ............................................159
Page : 5 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
15

Specific AT commands ........................................................... 160

15.1

Cell environment description +CCED ..................................................160

15.2

General Indications +WIND ................................................................162

15.3

Analog digital converters measurements +ADC..................................165

15.4

Mobile Equipment event reporting +CMER.........................................167

15.5

Indicator control +CIND .......................................................................168

15.6

Mobile equipment control mode +CMEC .............................................170

15.7

Read Language Preference +WLPR.....................................................170

15.8

Write Language Preference +WLPW...................................................172

15.9

Read GPIO value +WIOR ....................................................................172

15.10 Write GPIO value +WIOW...................................................................173
15.11 Input/Output Management +WIOM....................................................173
15.12 Abort command +WAC ......................................................................175
15.13 Play tone +WTONE.............................................................................176
15.14 Play DTMF tone +WDTMF .................................................................178
15.15 Wavecom Downloading +WDWL .......................................................179
15.16 Wavecom Voice Rate +WVR ...............................................................179
15.17 Data Rate

+WDR ...............................................................................180

15.18 Hardware Version +WHWV ................................................................181
15.19 Date of Production +WDOP ................................................................181
15.20 Wavecom Select Voice Gain +WSVG ...................................................182
15.21 Wavecom Status Request +WSTR ......................................................183
15.22 Wavecom Scan +WSCAN....................................................................184
15.23 Wavecom Ring Indicator Mode +WRIM...............................................185
15.24 Wavecom 32kHz Power down Mode +W32K ......................................186
15.25 Wavecom Change Default Melody +WCDM ........................................187
15.26 Wavecom Software version +WSSW..................................................188
15.27 Wavecom Custom Character Set +WCCS ............................................188
15.28 Wavecom LoCK +WLCK .....................................................................190
15.29 CPHS command: +CPHS .....................................................................191
15.30 Unsolicited result : Wavecom Voice Mail Indicator : +WVMI ...............194
15.31 Unsolicited result : Wavecom diverted call indicator: +WDCI...............195
15.32 Wavecom network operator name: +WNON........................................196
15.33 Wavecom CPHS information: +WCPI...................................................197
15.34 Wavecom customer service profile: +WCSP ........................................198
15.35 Wavecom Battery Charge Management +WBCM ...............................199
15.36 Unsolicited result : Wavecom Battery Charge Indication +WBCI..........201
Page : 6 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
15.37 Features Management +WFM............................................................202
15.38 Commercial Features Management +WCFM ......................................205
15.39 Wavecom Customer storage mirror +WMIR .......................................206
15.40 Wavecom Change Default Player +WCDP ..........................................207
15.41 Wavecom CPHS Mail Box Number: +WMBN ......................................208
15.42 Wavecom Alternate Line Service: +WALS............................................209
15.43 Wavecom Open AT control command +WOPEN ................................210
15.44 Wavecom Reset

+WRST....................................................................212

15.45 Set Standard Tone +WSST.................................................................213
15.46 Wavecom Location +WLOC ................................................................213
15.47 Wavecom Bus Read +WBR ................................................................216
15.48 Wavecom Bus Write +WBW...............................................................218
15.49 Wavecom Bus Management +WBM ..................................................219
15.50 Wavecom Hang-up +WATH ...............................................................223
15.51 Write IMEI +WIMEI ............................................................................224
15.52 Write IMEI SVN: +WSVN .....................................................................225
15.53 Wavecom multi-band selection command: +WMBS............................226
16

SIM TOOLKIT .......................................................................... 227

16.1

Overview of SIM Application ToolKit ...................................................227

16.2

Messages exchanged during a SIM ToolKit operation. ........................229

16.3

SIM TOOLKIT COMMANDS.................................................................230

17

GPRS commands .................................................................... 242

17.1

Define PDP Context +CGDCONT .........................................................242

17.2

Quality of Service Profile (Requested) +CGQREQ .................................244

17.3

Quality of Service Profile (Minimum acceptable) +CGQMIN .................247

17.4

GPRS attach or detach +CGATT ..........................................................249

17.5

PDP context activate or deactivate +CGACT ........................................250

17.6

Enter data state +CGDATA ..................................................................251

17.7

GPRS mobile station class +CGCLASS ................................................252

17.8

Select service for MO SMS messages +CGSMS ..................................254

17.9

GPRS event reporting +CGEREP ..........................................................255

17.10 GPRS network registration status +CGREG .........................................256
17.11 Request GPRS IP service 'D' .................................................................258
17.12 Network requested PDP context activation ..........................................259
17.13 Automatic response to a network request for PDP context activation
+CGAUTO .....................................................................................................260
Page : 7 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
17.14 Manual response to a network request for PDP context activation
+CGANS ......................................................................................................261
17.15 Show PDP address +CGPADDR ..........................................................263
17.16 Cellular result codes +CRC ..................................................................264
17.17 Service reporting control +CR .............................................................265
17.18 Extended error report +CEER ..............................................................266
17.19 GPRS PARAMETERS CUSTOMIZATION: +WGPRS..............................266
17.20 Full AT GPRS commands examples.....................................................268
18

Other AT commands ............................................................... 270

18.1

V.25 ter recommendation ....................................................................270

18.2

GSM 07.05 recommendation...............................................................270

18.3

GSM 07.07 recommendation...............................................................270

19

Appendixes ............................................................................. 271

19.1

ME error result code : +CME ERROR:  .....................................271

19.2

Message service failure result code: +CMS ERROR :  ..................272

19.3

Specific error result codes ...................................................................273

19.4

Failure Cause from GSM 04.08 recommendation (+CEER)...................274

19.5

Specific Failure Cause for +CEER .........................................................275

19.6

GSM 04.11 Annex E-2: Mobile originating SM-transfer......................276

19.7

Unsolicited result codes.......................................................................278

19.8

Final result codes ................................................................................278

19.9

Intermediate result codes ....................................................................279

19.10 Parameters storage .............................................................................279
19.11 GSM sequences list.............................................................................283
19.12 Operator names...................................................................................285
19.13 Data / Commands multiplexing protocol ..............................................298
19.14 CPHS Information field ........................................................................301
19.15 CSP constants .....................................................................................302
20

APPENDIX A (informative) ...................................................... 305

20.1

Examples with the PIN required ..........................................................305

20.2

Examples where a voice call is originated. ...........................................306

20.3

Example with incoming calls ...............................................................306

20.4

Example of a call forwarding ...............................................................307

20.5

Example of a multiparty call.................................................................307

20.6

Examples about phonebooks ...............................................................308

Page : 8 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
20.7

Examples about short messages .........................................................309

20.8

Examples about Fax class 2 ................................................................310

21

APPENDIX B: Support of SIM ToolKit by the M.E. ................... 312

22

APPENDIX C: Structure of TERMINAL PROFILE ....................... 314

23

APPENDIX D: Command Type and Next Action Indicator. ....... 316

24

APPENDIX E: Coding of Alpha fields in the SIM for UCS2 ....... 317

25

APPENDIX F: Specification of Power Down Control via RS232 319

26
APPENDIX G: Conditions for command execution and
dependence to SIM.......................................................................... 321
26.1

General commands..............................................................................321

26.2

Call Control commands .......................................................................322

26.3

Network service commands ................................................................322

26.4

Security commands.............................................................................322

26.5

Phonebook commands ........................................................................322

26.6

Short Messages commands ................................................................323

26.7

Supplementary Services commands ....................................................323

26.8

Data commands ..................................................................................324

26.9

Fax commands ....................................................................................324

26.10 Class 2 Commands..............................................................................324
26.11 V24-V25 commands............................................................................325
26.12 Specific AT commands ........................................................................325
26.13 SIM Toolkit commands........................................................................326
26.14 GPRS commands.................................................................................326
27

APPENDIX H: Interoperability commands always reply OK ...... 327

28

Alphabetical Index for AT commands and responses .............. 328

Page : 9 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

Overview
The aim of this document is to provide WAVECOM customers with a full
description of the AT commands associated with AT software release X40a.

WAVECOM®, WISMO®, MUSE Platform™ are trademarks or registered
trademarks of Wavecom S.A. in France or in other countries. All other company
and/or product names mentioned may be trademarks or registered trademarks
of their respective owners.
WAVECOM S.A. may, at any time and without notice, make changes or
improvements to the products and services offered and/or cease producing or
commercializing them.
This document is copyrighted material of WAVECOM S.A. © 2003. All rights
reserved.

Page : 10 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

1 Introduction
1.1 Scope of this document
This document describes the AT-command based messages exchanged
between an application and the WAVECOM products in order to manage GSM
related events or
services.
Wavecom Module

External
Application

AT

Send AT command

Receive AT response

Serial Link

1.2 Related documents
This interface specification is based on the following recommendations:

[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 Recommendation V.25 ter: Serial asynchronous automatic dialling
and control
[4] ETSI GSM 03.40: Digital cellular telecommunications system (Phase 2);
Technical implementation 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
Page : 11 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

[6] ETSI GSM 04.80: Digital cellular telecommunications system (Phase 2):
Mobile radio interface layer 3, Supplementary service specification, Formats
and coding

1.3 ETSI secretariat
The following addresses may be of use in obtaining the latest GSM
recommendations:
Postal address: F-06921 Sophia Antipolis CEDEX – France
Office address: 650 Route des Lucioles – Sophia Antipolis – Valbonne – France
e-mail: secretariat@etsi.fr
Tel: +33 4 92 94 42 00
Fax: +33 4 93 65 47 16

1.4 Definitions
The words, “Mobile Station” (MS) or “Mobile Equipment” (ME) are used for
mobile terminals supporting GSM services.
A call from a GSM mobile station to the PSTN is called a “mobile originated
call” (MOC) or “outgoing call”, and a call from a fixed network to a GSM mobile
station is called a “mobile terminated call” (MTC) or “incoming call”.
In this document, the word “product” refers to any Wavecom product
supporting the AT commands interface.

1.5 Presentation rules
In the following, the AT commands are presented with as much precision as
possible, through three paragraphs. A “Description” paragraph provides
general information on the AT command (or response) behaviour. A
“Syntax”paragraph describes the way to use it, the possible answers, through
a readable format. A “Defined values” paragraph provides parameters values,
as well for the AT command as for the corresponding responses.
Schemas are provided where necessary.

Page : 12 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

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

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

2.3 Information responses and result codes
Responses start and end with  (except for the ATV0 DCE response
format) and the ATQ1 (result code suppression) commands.
•
If command syntax is incorrect, the “ERROR” string is returned,.
If command syntax is correct but transmitted with wrong parameters,
•
the +CME ERROR:  or +CMS ERROR:  strings is returned
with adequate error codes if CMEE was previously set to 1. By default,
CMEE is set to 0, and the error message is only “ERROR”.
•
If the command line has been executed successfully, an “OK” string is
returned.
In some cases, such as “AT+CPIN?” or (unsolicited) incoming events, the
product does not return the “OK” string as a response.
In the following examples  and  are intentionally omitted.

Page : 13 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

3 General behaviors
3.1 SIM Insertion, SIM Removal
SIM card Insertion and Removal procedures are supported. There are software
functions relying on positive reading of the hardware SIM detect pin. This pin
state (open/closed) is permanently monitored.
When the SIM detect pin indicates that a card is present in the SIM connector,
the product tries to set up a logical SIM session. The logical SIM session will
be set up or not depending on whether the detected card is a SIM Card or not.
The AT+CPIN? command delivers the following responses:
•
•

•
•

If the SIM detect pin indicates “absent”, the response to AT+CPIN? is
“+CME ERROR 10” (SIM not inserted).
If the SIM detect pin indicates “present”, and the inserted card is a SIM
card, the response to AT+CPIN? is “+CPIN: xxx” depending on SIM PIN
state.
If the SIM detect pin indicates “present”, and the inserted card is not a
SIM card, the response to AT+CPIN? is “+CME ERROR 10”.
These last two states are not provided immediately due to background
initialization. Between the hardware SIM detect pin indicating “present”
and the final results, the AT+CPIN? sends “+CME ERROR: 515” (Please
wait, init in progress).

When the SIM detect pin indicates card absence, and if a SIM Card was
previously inserted, an IMSI detach procedure is performed, all user data is
removed from the product (Phonebooks, SMS etc.). The product then switches
to emergency mode.

Page : 14 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

3.2 Background initialization
After entering the PIN (Personal Identification Number), some SIM user data
files are loaded into the product (phonebooks, SMS status, etc.). Please be
aware that it might take some time to read a large phonebook.
The AT+CPIN? command response occurs after the PIN checking. After this
response user data is loaded in background. This means that some data may
not be available just when PIN entry is confirmed by ’OK’. The reading of
phonebooks will then be refused by “+CME ERROR: 515” or “+CMS ERROR:
515” meaning, “Please wait, service is not available yet, init in progress”.
This type of answer may be sent by the product at several points:
when trying to execute another AT command before the previous one is
•
completed (before response),
•
when switching from ADN to FDN (or FDN to ADN) and trying to read
the relevant phonebook immediately,
•
when asking for +CPIN? status immediately after SIM insertion and
before the product has determined if the inserted card is a valid SIM
card.

Page : 15 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

4 General commands
4.1 Manufacturer identification +CGMI
4.1.1 Description :
This command gives the manufacturer identification.
4.1.2 Syntax :
Command syntax : AT+CGMI
Command
AT+CGMI

Note : Get manufacturer identification

Possible responses
WAVECOM MODEM
OK

Note : Command valid, Wavecom modem

4.1.3 Defined values :
No parameter

4.2 Request model identification +CGMM
4.2.1 Description :
This command is used to get the supported frequency bands. With multi-band
products the response may be a combination of different bands.
4.2.2 Syntax :
Command syntax : AT+CGMM
Command
AT+CGMM

Note : Get hardware version

Possible responses
900P
OK

Note : GSM 900 MHz primary band.
Other possible answers: “900E”
(extended band), “1800” (DCS), “1900”
(PCS) or “MULTIBAND”

4.2.3 Defined values :
No parameter

Page : 16 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

4.3 Request revision identification +CGMR
4.3.1 Description :
This command is used to get the revised software version.

4.3.2 Syntax :
Command syntax : AT+CGMR
Command
AT+CGMR

Note : Get software version

Possible responses
440_09gm.Q2406A 1266500 020503
17:06
OK

Note : Software release 4.40, generated
on the 05th of February 2003

4.3.3 Defined values :
No parameter

4.4 Product Serial Number +CGSN
4.4.1 Description :
This command allows the user application to get the IMEI (International Mobile
Equipment Identity, 15 digits number) of the product.
4.4.2 Syntax :
Command syntax : AT+CGSN
Command
AT+CGSN

Possible responses
012345678901234
OK

Note : Get the IMEI

Note : IMEI read from EEPROM

AT+CGSN

+CME ERROR: 22

Note : Get the IMEI

Note : IMEI not found in EEPROM

4.4.3 Defined values :
No parameter

Page : 17 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

4.5 Select TE character set +CSCS
4.5.1 Description :
This command informs the ME which character set is used by the TE. The ME
can convert each character of entered or displayed strings. This is used to
send, read or write short messages. See also +WPCS for the phonebooks’
character sets.
4.5.2 Syntax :
Command syntax : AT+CSCS=
Command
Possible responses
AT+CSCS=”GSM”

Note : GSM default alphabet
AT+CSCS=”PCCP437”
Note : PC character set code page 437
AT+CSCS=?
Note : Get possible values

OK

Note : Command valid

OK

Note : Command valid
+CSCS:
("GSM","PCCP437","CUSTOM","HEX")
OK
Note : Possible values

4.5.3 Defined values :

“GSM”
GSM default alphabet.
“PCCP437”
PC character set code page 437.
“CUSTOM”
User defined character set (cf. +WCCS command).
“HEX”
Hexadecimal mode. No character set used ; the user can read or
write hexadecimal values.

Page : 18 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

4.6 Wavecom Phonebook Character Set +WPCS
4.6.1 Description :
This specific command informs the ME which character set is used by the TE
for the phonebooks. The ME can convert each character of entered or displayed
strings. This is used to read or write phonebook entries. See also +CSCS for
the short messages character sets.
4.6.2 Syntax :
Command syntax : AT+WPCS=
Command
Possible responses
AT+WPCS=”TRANSPARENT”

Note : Transparent mode
AT+WPCS=”CUSTOM”
Note : Custom character set
AT+WPCS=?
Note : Get possible values

OK

Note : Command valid

OK

Note : Command valid

+WPCS:
("TRANSPARENT","HEX","CUSTOM")
OK

Note : Possible values

4.6.3 Defined values :

“TRANSPARENT”
“CUSTOM”
“HEX”

Transparent mode. The strings are displayed and entered
as they are stored in SIM or in ME.
User defined character set (cf. +WCCS command).
Hexadecimal mode. No character set used ; the user can
read or write hexadecimal values.

Page : 19 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

4.7 Request IMSI +CIMI
4.7.1 Description :
This command is used to read and identify the IMSI (International Mobile
Subscriber Identity) of the SIM card. The PIN may need to be entered before
reading the IMSI.

4.7.2 Syntax
Command syntax : AT+CIMI
Command
AT+CIMI

Note : Read the IMSI

Possible responses
208200120320598
OK

Note : IMSI value (15 digits), starting
with MCC (3 digits) / MNC (2 digits, 3 for
PCS 1900)
See appendix 19.12 for MCC / MNC description.
4.7.3 Defined values :
No parameter

Page : 20 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

4.8 Card Identification +CCID
4.8.1 Description :
This command orders the product to read the EF-CCID file on the SIM card.
4.8.2 Syntax :
Command syntax : AT+CCID
Command

Possible responses

AT+CCID

+CCID: “123456789AB111213141”

Note : Get card ID
Note : Get current value

Note : EF-CCID is present, hexadecimal
format
+ CCID: “123456789AB111213141”
Note : Same result as +CCID

AT+CCID= ?

OK

AT+CCID?

Note : Get possible value

Note : No parameter but this command is
valid

4.8.3 Defined values :
No parameter
If there is no EF-CCID file present on the SIM, the +CCID answer will not be
sent, but the OK message will be returned.

4.9 Capabilities list +GCAP
4.9.1 Description :
This command gets the complete list of capabilities.
4.9.2 Syntax :
Command syntax : AT+GCAP
Command
AT+GCAP

Note : Get capabilities list

Possible responses
+GCAP: +CGSM +FCLASS
OK

Note : Supports GSM and FAX
commands

4.9.3 Defined values :
No parameter

Page : 21 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

4.10

Repeat last command A/

4.10.1

Description :

This command repeats the previous command. Only the A/ command itself
cannot be repeated.
4.10.2

Syntax :

Command syntax : A/
Command

Possible responses

A/

Note : Repeat last command

4.10.3

Defined values :

No parameter

4.11

Power off +CPOF

4.11.1

Description :

This specific command stops the GSM software stack as well as the hardware
layer. The AT+CFUN=0 command is equivalent to +CPOF.
4.11.2

Syntax :

Command syntax : AT+CPOF
Command

Possible responses

AT+CPOF

OK

Note : Stop GSM stack

4.11.3

Note : Command valid

Defined values :

No parameter

Page : 22 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

4.12

Set phone functionality +CFUN

4.12.1

Description :

This command selects the mobile station’s level of functionality.
When the application wants to stop the product with a power off, or if the
application wants to force the product to execute an IMSI DETACH procedure,
then it must send:
AT+CFUN=0 (equivalent to AT+CPOF)
This command executes an IMSI DETACH and makes a backup copy of some
internal parameters in SIM and in EEPROM. The SIM card cannot then be
accessed.
If the mobile equipment is not powered off by the application after this
command has been sent, a re-start command (AT+CFUN=1) will have to
issued to restart the whole GSM registration process.
If the mobile equipment is turned off after this command, then a power on will
automatically restart the whole GSM process.
The AT+CFUN=1 command restarts the entire GSM stack and GSM
functionality: a complete software reset is performed. All parameters are reset
to their previous values if AT&W was not used.
If you write entries in the phonebook (+CPBW) and then reset the product
directly (AT+CFUN=1, with no previous AT+CFUN=0 command), some entries
may not be written (the SIM task does not have enough time to write entries in
the SIM card).
In addition, the OK response will be sent at the last baud rate defined by the
+IPR command. With the autobauding mode the response can be at a different
baud rate, it is therefore preferable to save the defined baud rate with AT&W
before directly sending the AT+CFUN=1 command.
4.12.2

Syntax :

Command syntax : AT+CFUN=
Command
Possible responses
AT+CFUN?

Note : Ask for current functionality level

+CFUN: 1
OK

AT+CFUN=0

OK

Note : Full functionality

Note : Set minimum functionality, IMSI
Note : Command valid
detach procedure
AT+CFUN=1
OK
Note : Set the full functionality mode with a Note : Command valid
complete software reset

Page : 23 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

4.12.3

Defined values :


0 : Set minimum functionality, IMSI detach procedure
1 : Set the full functionality mode with a complete software reset

4.13

Phone activity status +CPAS

4.13.1

Description :

This command returns the activity status of the mobile equipment.
4.13.2

Syntax :

Command syntax : AT+CPAS
Command
AT+CPAS

Note : Current activity status

4.13.3

Possible responses
+CPAS: 
OK

Defined values :


0
ready (allow commands from TA/TE)
1
unavailable (does not allow commands)
2
unknown
3
ringing (ringer is active)
4
call in progress
5
asleep (low functionality)

Page : 24 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

4.14

Report Mobile Equipment errors +CMEE

4.14.1

Description :

This command disables or enables the use of the “+CME ERROR : ” or
“+CMS ERROR :” result code instead of simply “ERROR”. See appendix
19.1 for +CME ERROR result codes description and appendix 19.2 for +CMS
ERROR result codes.
4.14.2

Syntax :

Command syntax : AT+CMEE=
Command
Possible responses
AT+CMEE=0

Note : Disable ME error reports, use only
« ERROR »
AT+CMEE=1
Note : Enable «+CME ERROR: » or
«+CMS ERROR: »
4.14.3

OK
OK

Defined values :


0 : Disable ME error reports, use only « ERROR »
1 : Enable «+CME ERROR: » or «+CMS ERROR: »

Page : 25 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

4.15

Keypad control +CKPD

4.15.1

Description :

This command emulates the ME keypad by sending each keystroke as a
character in a  string.
The supported GSM sequences are listed in the appendix.
If emulation fails, a +CME ERROR:  is returned.
If emulation succeeds, the result depends on the GSM sequence activated:
Note: In the case where the FDN phonebook is activated, the sequences
concerning “call forwarding” are allowed only if the entire sequence is written
in the FDN.
4.15.2

Syntax :

Command syntax : AT+CKPD=
Command

Possible responses

AT+CKPD=”*#21#”

+CCFC: 0,7

Note : Check every call forwarding status
AT+CKPD=”1234”
Note : Sequence not allowed
4.15.3

+CME ERROR 3

Defined values :


Keyboard sequence : string of the following characters (0-9,*,#).

Page : 26 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

4.16

Clock Management +CCLK

4.16.1

Description :

This command is used to set or get the current date and time of the ME realtime clock.
4.16.2

Syntax :

Command syntax : AT+CCLK=
Command
Possible responses
AT+CCLK=”00/06/09,17:33:00”

Note : set date to June 9th, 2000, and time
to 5:33pm
AT+CCLK=”00/13/13,12:00:00”
Note : Incorrect month entered
AT+CCLK?
Note : Get current date and time

4.16.3

OK

Note : Date/Time stored

+CME ERROR 3
+CCLK: “00/06/09,17:34:23”
OK

Note : current date is June 9th, 2000
current time is 5:34:23 pm

Defined values :


String format for date/time is: “yy/MM/dd,hh:mm:ss”.
Valid years are 98 (for 1998) to 97 (for 2097). The seconds field is not
mandatory. Default date/time is “98/01/01,00:00:00” (January 1st, 1998 /
midnight).

Page : 27 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

4.17

Alarm Management +CALA

4.17.1

Description :

This command is used to set alarms date/time in the ME.
The maximum number of alarms is 16.
4.17.2

Syntax :

Command syntax : AT+CALA= (set alarm)
AT+CALA=””, (delete alarm)
Command
Possible responses
AT+CALA=”00/06/09,07:30”

Note : set an alarm for June 9th, 2000 at
7:30 am
AT+CALA=”99/03/05,13:00:00”
Note : set an alarm for March 5th, 1999 at
1:00 pm
AT+CALA?
Note : list all alarms

AT+CALA=””,3

Note : delete alarm index 3

AT+CALA?

Note : list all alarms

4.17.3

OK

Note : Alarm stored

+CME ERROR 3

Note : Invalid alarm (date/time expired)

+CALA: “00/06/08,15:25:00”,1
+CALA: “00/06/09,07:30:00”,2
+CALA: “00/06/10,23:59:00”,3

Note : three alarms are set (index 1, 2, 3)
+CALA: “00/06/08,15:25:00”,1
Note : an alarm occurs (index 1)
OK
Note : Alarm index 3 deleted
+CALA: “00/06/09,07:30:00”,2
Note : Only one alarm (index 2)

Defined values :


String format for alarms : “yy/MM/dd,hh:mm:ss” (see +CCLK).
Note : Seconds are not taken into account.

offset in the alarm list, range 1 to 16.

Page : 28 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

4.18

Ring Melody Playback +CRMP

4.18.1
Description
This command allows a melody to be played. All melodies are manufacturer
defined.
For incoming voice, data or fax calls, 10 manufacturer-defined melodies can be
played back (in a loop).
For an incoming short message, 2 manufacturer-defined sounds can be played
back (once). Melody #1: short beep / Melody #2: long beep.
Note:

loop melodies (for voice/data/fax call) must be stopped by a +CRMP command
with the  field set to 0 (example: +CRMP=0,,,0).
When the  parameter is given, this overwrites the 
value of the +CRSL command. If the  parameter is not given, the
 value of +CRSL is used as default value.

4.18.2

Syntax :

Command syntax : AT+CRMP=[,,,]
Command
Possible responses
AT+CRMP=0,7,0,2

Note : Play voice call melody index 2 with
volume level 7.
AT+CRMP=0,,,0
Note : Stop the melody.
AT+CRMP=?
Note : supported parameters
4.18.3

OK

Note : Melody Playback.

OK

Note : The melody is stopped.

+CRMP: (0-3),(0-15),0,(0-10)
OK

Defined values :


0
Incoming voice call
1
Incoming data call
2
Incoming fax call
3
Incoming short message (SMS)

0
Min volume
…
6
Default volume
15 Max volume

0
Manufacturer Defined (default)

0
Stop Melody Playback
1-10 Melody ID for voice/data/fax call type (default : 1)
1-2
Melody ID for short message (default : 1)

Page : 29 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

4.19

Ringer Sound Level +CRSL

4.19.1

Description :

This command is used to set/get the sound level of the ringer on incoming
calls. The set command changes the default  value of the +CRMP
command.
4.19.2

Syntax :

Command syntax : AT+CRSL=
Command
Possible responses
AT+CRSL=0

Note : Set volume to Min.

AT+CRSL=15

Note : Set volume to Max.

AT+CRSL?

Note : get current ringer sound level
AT+CRSL=?

Note : supported parameters

4.19.3

OK

Note : Current ring playing with Min.
volume.
OK
Note : Current ring playing with Max.
volume.
+CRSL: 15
OK
Note : Current level is 15 (max.)
+CRSL: (0-15)
OK

Defined values :


0
Min volume
6
Default volume (default)
15 Max volume

Page : 30 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

5 Call Control commands
5.1 Dial command D
5.1.1 Description :
The ATD command is used to set a voice, data or fax call. As per GSM 02.30,
the dial command also controls supplementary services.
For a data or a fax call, the application sends the following ASCII string to the
product (the bearer must be previously selected with the +CBST command):
ATD
where  is the destination phone number.
For a voice call, the application sends the following ASCII string to the product:
(the bearer may be selected previously, if not a default bearer is used).
ATD;
where  is the destination phone number.
Please note that for an international number, the local international prefix does
not need to be set (usually 00) but does need to be replaced by the ‘+’
character.
Example: to set up a voice call to Wavecom offices from another country, the
AT command is: “ATD+33146290800;”
Note that some countries may have specific numbering rules for their GSM
handset numbering.
The response to the ATD command is one of the following:
Verbose
result Numeric
code Description
code
(with ATV0 set)
OK
0
if the call succeeds, for voice call only
CONNECT
10,11,12,13,14, if the call succeeds, for data calls only,

15
 takes the value negotiated by the
product.
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
Direct dialling from a phonebook (stored in the SIM card) can be performed
with the following command:
ATD> ;
to call  from the selected phonebook (by the
+CPBS command)
ATD> “BILL”;
to call “BILL” from the selected phonebook
ATD> mem 
(mem is “SM","LD","MC","ME","RC","MT" or "SN",
see +CPBS command) allows direct dialling from a phonebook number. Does
not function with "ON" mem.

Page : 31 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
5.1.2 Syntax :
Command syntax : ATD[][;]
ATD>[][][;]
ATD>[][][;]
Command
Possible responses
AT+CPBS?

Note : Which phonebook is selected ?

ATD>SM6;

Note : Call index 6 from AND phonebook

+CPBS:”SM”,8,10

Note : ADN phonebook is selected, 8
locations are used and 10 locations are
available
OK
Note : Call succeeds

When the FDN phonebook has been locked, only numbers beginning with the
digits of FDN phonebook entries can be called.
For example, if “014629” is entered in the FDN phonebook all the phone
numbers beginning with these 6 digits can be called.
The CLIR supplementary service subscription can be overridden for this call
only.
“I” means “invocation” (restrict CLI presentation).
“i” means “suppression” (allow CLI presentation).
Control of CUG supplementary service information by “G” or “g” is allowed for
this call only. The index and info values set with the +CCUG command are
used.
An outgoing call attempt could be refused if the AOC service is active and
credit has expired (NO CARRIER).
When trying to set up an outgoing call while there is an active call, the active
call is first put on hold, then the call set up is carried out.
As per GSM 02.30, GSM sequences may be controlled using dial commands.
These sequences can contain “*”, “#”, but “;” is forbidden.
If the sequence is not supported or fails, +CME ERROR:  is returned.
In the case where the FDN phonebook is activated, the sequences concerning
call forwarding are allowed only if there are written in the FDN.
See paragraph 19.11 to have the list of supported sequences.
Command

Possible responses

ATD*#21#

+CCFC: 0,7

Note : Check any call forwarding status
ATD**61*+33146290800**25#
Note : Register call forwarding on no reply,
with no reply timer fixed at 25 s.
ATD*2#
Note : Bad sequence

Note : No call forwarding

OK

Note : done

+CME ERROR 3

5.1.3 Defined values :

destination phone number
 (optional parameter)
“I” means “invocation” (restrict CLI presentation).
“i” means “suppression” (allow CLI presentation).
Page : 32 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

phonebook (one of “SM","LD","MC","ME","RC","MT" or "SN"). A default value can
be selected by +CPBS command.

call number at indicated offset from the phonebook selected by the +CPBS
command

call number corresponding to given name from the phonebook selected by the
+CPBS command

5.2 Hang-Up command H
5.2.1 Description :
The ATH (or ATH0) command is used by the application to disconnect the
remote user. In the case of multiple calls, all calls are released (active, on-hold
and waiting calls).
The specific Wavecom ATH1 command has been appended to disconnect the
current outgoing call, only in dialing or alerting state (ie. ATH1 can be used
only after the ATD command, and before its terminal response (OK, NO
CARRIER, ...). It can be useful in the case of multiple calls.
5.2.2 Syntax :
Command syntax : ATH
Command

Possible responses

ATH

OK

Note : Ask for disconnection
ATH1
Note : Ask for outgoing call disconnection

Note : Every call, if any, are released

OK

Note : Outgoing call, if any, is released

5.2.3 Defined values :

0 : Ask for disconnection (default value)
1 : Ask for outgoing call disconnection

Page : 33 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

5.3 Answer a call A
5.3.1 Description :
When the product receives a call, it sets the RingInd signal and sends the
ASCII “RING” or “+CRING: ” string to the application (+CRING if the
cellular result code +CRC is enabled). Then it waits for the application to accept
the call with the ATA command.
5.3.2 Syntax :
Command syntax : ATA
Command

Possible responses
RING

Note : Incoming call

ATA

OK

ATH

OK

Note : Answer to this incoming call
Note : Disconnect call

Note : Call accepted
Note : Call disconnected

5.3.3 Defined values :
No parameter

5.4 Remote disconnection
This message is used by the product to inform the application that an active
call has been released by the remote user.
The product sends “NO CARRIER” to the application and sets the DCD signal.
In addition, for AOC, the product can release the call if credit has expired
(release cause 68 with +CEER command).

Page : 34 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

5.5 Extended error report +CEER
5.5.1 Description :
This command gives the cause of call release when the last call set up
(originating or answering) failed.

5.5.2 Syntax :
Command syntax : AT+CEER
Command

Possible responses

ATD123456789;

NO CARRIER

Note : Outgoing voice call
AT+CEER
Note : Ask for reason of release

Note : Call setup failure

+CEER : Error 
OK

Note : is the cause information
element values from GSM
recommendation 04.08 or specific Call
accepted

For the cause information element from GSM 04.08 see chapter 18.4 or 18.5.
“NO CARRIER” indicates that the AT+CEER information is available for failure
diagnosis.
5.5.3 Defined values :
No parameter

Page : 35 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

5.6 DTMF signals +VTD, +VTS
5.6.1 +VTD Description :
The product enables the user application to send DTMF tones over the GSM
network. This command is used to define tone duration (the default value is
300ms).
5.6.2 +VTD Syntax :
Command syntax : AT+VTD=
Command

Possible responses

AT+VTD=6

OK

Note : To define 600 ms tone duration
AT+VTD=0
Note : To set the default value
AT+VTD?
Note : interrogate current tone duration
AT+VTD=?

Note : Command valid
OK
+VTD : 
OK
+VTD : (0-255)
OK

5.6.3 Defined values :
 : tone duration
*100 is the duration in ms.
If n < 4, tone duration is 300 ms; if n > 255, the value is used modulo 256.
Default value is 300 ms, that is  = 3.

Page : 36 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

5.6.4 +VTS Description :
The product enables the user application to send DTMF tones over the GSM
network. This command enables tones to be transmitted, only when there is
an active call.
5.6.5 +VTS Syntax :
Command syntax : AT+VTS=
Command

Possible responses

AT+VTS=A

OK

AT+VTS=11
AT+VTS=4

Note : Command valid
+CME ERROR: 4
Note : If the  is wrong
+CME ERROR: 3
Note : If there is no communication

AT+VTS=1;+VTS=3;+VTS=#
OK

Note : send tone sequence 13#

5.6.6 Defined values :
 : DTMF tone to transmit
 is in {0-9,*,#,A,B,C,D}

5.7 Redial last telephone number ATDL
5.7.1 Description :
This command is used by the application to redial the last number used in the
ATD command. The last number dialled is displayed followed by “;” for voice
calls only
5.7.2 Syntax :
Command syntax : ATDL
Command
ATDL

Note : Redial last number

Possible responses
0146290800;
OK

Note : Last call was a voice call.
Command valid

5.7.3 Defined values :
No parameter

Page : 37 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

5.8 Automatic dialing with DTR AT%Dn
5.8.1 Description :
This command enables and disables:
automatic dialling of the phone number stored in the first location of the
•
ADN phonebook,
automatic sending of the short message (SMS) stored in the first
•
location of the SIM.
The number is dialled when DTR OFF switches ON.
The short message is sent when DTR OFF switches ON.
5.8.2 Syntax :
Command syntax : AT%D[ ;]
Command

Possible responses

AT%D1;

OK

Note : Activates DTR number dialling
DTR is OFF
DTR switches ON
Note : The number in the first location of
the ADN is dialled automatically
DTR switches OFF
Note : The product goes on-hook
AT%D2
Note : Activates DTR short message
sending

Note : Command has been executed

OK

Note : Command has been executed

5.8.3 Defined values :
 (0-2)
to enable or disable automatic message transmission or number dialling.
Informs the product that the number is a voice rather than a fax or data
number.
AT%D0
Disables automatic DTR number dialling / message transmission.
AT%D1;
Enables automatic DTR dialling if DTR switches from OFF to ON; Dials the
phone number in the first location of the ADN phonebook. Voice call.
AT%D1
Activates automatic DTR dialling if DTR switches from OFF to ON; Dials the
phone number in the first location of the ADN phonebook. Data or Fax call.
AT%D2
Activates automatic DTR message transmission if DTR switches from OFF to
ON.

Page : 38 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

5.9 Automatic answer ATS0
5.9.1 Description :
This S0 parameter determines and controls the product automatic answering
mode.
5.9.2 Syntax :
Command syntax : ATS0=
Command

Possible responses

ATS0=2

OK

Note : Automatic answer after 2 rings
ATS0?
Note : Current value

002
OK

Note : always 3 characters padded with
zeros
ATS0=0
OK
Note : No automatic answer
Note : Command valid
All others S-parameters (S6,S7,S8 …) are not implemented.
5.9.3 Defined values :

number of rings before automatic answer (3 characters padded with zeros).
Range of values is 0 to 255.

Page : 39 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

5.10

Incoming Call Bearer +CICB

5.10.1

Description :

This specific command is used to set the type of incoming calls when no
incoming bearer is given (see +CSNS).
Note:

setting the +CICB command affects the current value of +CSNS.

5.10.2

Syntax :

Command syntax : AT+CICB=
Command

Possible responses

AT+CICB=1

OK

Note : If no incoming bearer, force a fax call
AT+CICB=2
Note : If no incoming bearer, force a voice
call
AT+CICB?
Note : Interrogate value
AT+CICB=?

Note : Test command

5.10.3

Note : Command accepted

OK

Note : Command accepted

+CICB: 2
OK

Note : Default incoming bearer: voice call

+CICB: (0-2)
OK

Note : Speech, data or fax default
incoming bearer

Defined values :


0 : Data
1 : Fax
2 : Speech

Page : 40 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

5.11

Single Numbering Scheme +CSNS

5.11.1

Description :

This command selects the bearer to be used when an MT single numbering
scheme call is set up (see +CICB).
Note:

setting the +CSNS command affects the current value of +CICB.

5.11.2

Syntax :

Command syntax : AT+CSNS
Command

Possible responses

AT+CSNS=2

OK

Note : force a fax call
AT+CSNS=0
Note : force a voice call
AT+CSNS?
Note : Interrogate value
AT+CSNS=?

Note : Test command

5.11.3

Note : Command accepted

OK

Note : Command accepted
+CSNS: 0
OK
Note : Default incoming bearer: voice call
+CSNS: (0,2,4)
OK
Note : Voice, data or fax default incoming
bearer

Defined values :


0 : Voice
2 : Fax
4 : Data

Page : 41 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

5.12

Gain control +VGR, +VGT

5.12.1

Description :

This command is used by the application to tune the receive gain of the
speaker and the transmit gain of the microphone.
5.12.2

Syntax :

Command syntax : AT+VGR=
AT+VGT=
Command

Possible responses

AT+VGR=25

OK

AT+VGT=45
AT+VGR?

Note : Interrogate value

AT+VGR=?

Note : Test command

AT+VGT?

Note : Interrogate value

AT+VGT=?

Note : Test command

Note : Command valid
OK
Note : Command valid
+VGR: 64
OK
Note : Default receive gain
+VGR : (0-255)
OK
Note : Possible values
+VGT: 64
OK
Note : Default transmit gain
+VGT : (0-255)
OK
Note : Possible values

Note : For the AT+VGT ? command with controller 1 set, the value is the lower
value of range, where as with controller 2, value correspond to the entered
value with AT+VGT=xx.

Page : 42 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
5.12.3
Defined values :
 : reception gain
 : transmission gain
The application sends:
AT+VGR=

for
receive AT+VGT=
gain

for
transmit AT+VGT=
gain

for
transmit
gain

Controller 1

Controller 1

Controller 2

Controller 2

0 to 15

+6 db

0 to 31

+30 db

0

+0 db

16 to 31

+4 db

32 to 63

+33 db

1

+0,5 db

32 to 47

+2 db

64 to 95

+36 db

2

+1 db

48 to 63

+0 db

96 to 127

+39 db

3

+1,5 db

64 to 79

-2 db

128 to 159

+42 db

…

…

80 to 95

-4 db

160 to 191

+45 db

19

+9,5 db

96 to 111

-6 db

192 to 223

+48 db

20

+10 db

112 to 127

-8 db

224 to 255

+51 db

21 (**)

+10.5 db

128 to 143

-10 db

22 (**)

+11 db

144 to 159

-12 db

23 (**)

+11.5 db

160 to 175

-14 db

…

176 to 191

-16 db

58 (**)

+29 db

192 to 207

-18 db

59 (**)

+29.5 db

208 to 223

-20 db

60 (**)

+30 db

224 to 255 (*)

-22 db

61

+30,5 db

62

+31 db

…

…

101

+50,5 db

102

+51 db

103 to 127

reserved

128 to 242

reserved

243

-6,5 db

244

-6 db

245

-5,5 db

246

-5 db

…

…

255

-0,5 db

(*) For Wismo Quik Q22xx : 224 to 239 : -22db / 240 to 255 : -24db

(**) For Wismo Quik Q22xx : 21 to 60 : +30db

The gain values listed here are relative, for absolute (electrical) values please
refer to the specific hardware documentation of the module used in the
application.

Page : 43 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

5.13

Microphone Mute Control +CMUT

5.13.1

Description :

This command is used to mute the microphone input on the product (for the
active microphone set with the +SPEAKER command). This command is only
allowed during a call.
5.13.2

Syntax :

Command syntax : AT+CMUT=
Command
AT+CMUT=?

Note : Test command
AT+CMUT?

Note : Ask for current value

Possible responses
+CMUT : (0,1)
OK

Note : Enable / disable mute

+CMUT : 0
OK

Note : Current value is OFF

AT+CMUT=1

OK

AT+CMUT?

+CMUT : 1
OK

Note : Mute ON (call active)
Note : Ask for current value

AT+CMUT=0

Note : Mute OFF (call not active)

5.13.3

Note : Command valid
Note : Mute is active (call active)

+CME ERROR:3

Note : Command not valid

Defined values :


0 : microphone mute off (default value).
1 : microphone mute on.

Page : 44 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

5.14

Speaker & Microphone selection +SPEAKER

5.14.1

Description

This specific command is used to select the speaker and the microphone set.
5.14.2

Syntax :

Command syntax : AT+SPEAKER=
Command

Possible responses

AT+SPEAKER=0

OK

Note : Speaker ONE and Micro ONE
AT+SPEAKER?

AT+SPEAKER=?

5.14.3

Note : Command valid

+SPEAKER: 0
OK

Note : Speaker ONE and Micro ONE are
active
+SPEAKER: (0,1)
OK

Defined values :


0 : SPEAKER ONE, MICRO ONE
1 : SPEAKER TWO, MICRO TWO

Page : 45 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

5.15

Echo Cancellation +ECHO

5.15.1

Description :

This specific command is used to enable, disable or configure the Echo
Cancellation functions for voice calls (in rooms, in cars, etc.).
It is necessary to tune the Microphone gain (AT+VGT) and the Speaker gain
(AT+VGR) before activating the Echo Cancellation.

5.15.2

Syntax :

Command syntax :
AT+ECHO=  [,,
,,,,,]
Command
Possible responses
AT+CMEE=1

Note: Enables the use of result code
AT+SPEAKER?

AT+SIDET=0

Note: Deactivate the Sidetone

AT+SIDET?
AT+ECHO?

Note : Read current settings

AT+ECHO=1,1,0,3,10,7

Note : Active Echo cancellation 1 for
Mic/Spk one.
AT+ECHO?
Note : Read current settings
AT+ECHO=1,3,30,8000,256
Note : Activate the Echo cancellation 3
AT+ECHO?

Note : Read the Echo cancellation settings

AT+CFUN=1

Note: Reset the product

AT+ECHO?

Note : Read current settings
AT+ECHO=0
Note: Deactivate the Echo Cancellation

OK
+ SPEAKER: 0
OK

Note : Speaker ONE and Micro ONE are
active
OK
+SIDET: 0,0
+ECHO: 0,1,0,3,10,7
OK
OK
+ECHO: 1,1,0,3,10,7
OK
+CME ERROR: 519

Note : The new algorithm will be
activated after a reset of the product
+ECHO: 3,3,30,8000,256
OK
OK
+ECHO: 1,3,30,8000,256
OK
OK

Page : 46 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

5.15.3

Defined values:


0 : Deactivate Echo
1 : Activate Echo
When mode = 1 is choosen, AlgoId is mandatory.

1 : Echo cancellation 1
3 : Echo cancellation 3
To use Echo cancellation 3, the ECHO feature must be activated.
Echo cancellation 1 (4 parameters) :
• The parameter  specifies the maximum attenuation of the
switch

0: 31 db (default)
1: 29 db
2: 27 db
3: 25 db
…
14: 3 db
15: 1 db
•

The parameter  specifies the attenuation step between
attenuation and no attenuation.

0: 1 db
1: 2 db
2: 3 db
3: 4 db (default)

•

The  parameter specifies the relative threshold between
max and min energy information.
The allowed range is [ 0 ; 31 ]. (10 by default)
The  parameter specifies threshold of max energy
information.
The allowed range is [ 0 ; 31 ]. (7 by default)

•

Page : 47 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
Echo Cancellation 3 (3 parameters) :
• 
high value leads to high echo attenuation but the fullduplex quality will be less efficient.
The allowed range is [ 0 ; 63 ]. (30 by default)
•


indicates the noise threshold. Low value leads to high
noise attenuation. The threshold 32767 indicates no noise attenuation.
The allowed range is [0 ;32767]. (8000 default)

•

 indicates the Number of Taps of the Adaptive Filter. The
allowed range is [64 ;256]. (256 by default)-64 taps is for short Echo256 taps is for long Echo.

Read Command:
AT+ECHO?
This command returns the current settings of the Echo cancellation.
Returns:
+ECHO: ,, ,, ,
, ,
The number of parameters displayed depends on the algorythm used. For Echo
cancellation 1, 4 parameters are displayed, 3 parameters are displayed for Echo
cancellation 3.

0
Echo Deactivated.
1
Echo Activated for Mic/Spk one.
2
Echo Activated for Mic/Spk two.
3
Reset the product.
Note: You can activate/deactivate the echo cancellation during a call without
resetting the product if the  parameter is not changed. But you have
to use the syntax with all parameters : AT+ECHO=1,3,30,8000,256 for
instance.

Page : 48 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

5.16

SideTone modification +SIDET

5.16.1

Description :

This specific command is used to set the level of audio feedback in the speaker
(microphone feedback in the speaker).
5.16.2

Syntax :

Command syntax : AT+SIDET=[,]
Command
Possible responses
AT+SIDET=1,0

OK

AT+SIDET?

+SIDET: 1,0
OK

Note : Current value

AT+SIDET=?

5.16.3

Note : Command valid

Note : Command valid
+SIDET: (0-1),(0-3)
OK

Defined values :


0: SideTone is disabled
1: SideTone is enabled
 ( default value 0 will be used if this parameter is not given)
0: 0 db
1: - 6 db
2: - 12 db
3: - 18 db

Page : 49 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

5.17

Initialize Voice Parameters +VIP

5.17.1

Description :

This command allows factory settings for voice parameters to be restored from
EEPROM.
These voice parameters include:
Gain control (+VGR & +VGT commands),
•
Gain controller (+WSVG command),
•
•
Microphone mute control (+CMUT command),
•
Speaker & Microphone selection (+SPEAKER command),
Echo cancellation (+ECHO command),
•
Side tone modification (+SIDET command).
•
5.17.2

Syntax :

Command syntax : AT+VIP=
.Command

Possible responses

AT+VIP?

+VIP: 1
OK

AT+VIP=2

+CME ERROR: 3

Note : Syntax error
AT+VIP=1
Note : Restore the factory settings from
EEPROM
AT+VIP=1

Note : Restore the factory settings from
EEPROM with the current Echo
cancellation algo (different of the default
algo).
AT+VIP=?
Note : List of supported s
5.17.3

OK

Note : The command has been executed

CME ERROR: 519

Note : Reset the product to accept the
new algo.

+VIP: (1)
OK

Defined values :


1 : Restore all voice parameters
Other values are not supported.

Page : 50 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

6 Network service commands
6.1 Signal Quality +CSQ
6.1.1 Description :
This command is used to ascertain the received signal strength indication
() and the channel bit error rate () with or without a SIM card
inserted.
6.1.2 Syntax :
Command syntax : AT+CSQ
Command
AT+CSQ

Possible responses
+CSQ: ,
OK

Note :  and  as defined below

6.1.3 Defined values :
 :
0:
-113 dBm or less
1:
-111 dBm
2 to 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

Page : 51 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

6.2 Operator selection +COPS
6.2.1 Description :
There are three possible ways of selecting an operator (PLMN):
1)
The product is in manual mode. It then tries to find the operator specified
by the application and if found, tries to register.
2)
The product is in automatic mode. It then tries to find the home operator
and if found, tries to register. If not found, the product automatically searches
for another network.
3)
The product enters into manual/automatic mode, and then tries to find an
operator as specified by the application (as in manual mode). If this attempt
fails it enters automatic mode. If this is successful, the operator specified by
the application is selected. The mobile equipment then enters into automatic
mode.
Note:

The read command returns the current mode and the currently selected
operator. In manual mode, this PLMN may not be the one set by the
application (as it is in the search phase).
These commands are not allowed during one communication.
6.2.2 Syntax :
To force an attempt to select and register on a network, the application must
send the following command:
Command syntax: AT+COPS=, [ [ ,  ] ]
Possible responses for AT+COPS=:
OK
(Network is selected with full service)
+CME ERROR: 30 (No network service),
+CME ERROR: 32 (Network not allowed – emergency calls only)
+CME ERROR: 3
(not allowed during one Communication)
+CME ERROR: 4
(Incorrect parameters)
+CME ERROR: 527 (Please wait, and retry your selection later)
+CME ERROR: 528 (Location update failure – emergency calls only)
+CME ERROR: 529 (Selection failure – emergency calls only)
Response syntax for AT+COPS?:
+COPS:  [, ,  ]
Response syntax for AT+COPS=?:
+COPS: [list of supported (, long alphanumeric , short
alphanumeric s, numeric ) s]
If an incoming call occurs during a PLMN list request, the operation is aborted
(+CME ERROR: 520) and the unsolicited RING appears

Page : 52 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
Command

Possible responses

AT+COPS?

+COPS: 0,2,20801
OK

Note : Ask for current PLMN

Note : Home PLMN is France Telecom
Orange
AT+COPS=?
+COPS: (2,”F Itinéris”,”Itline”,”20801”),
(3,”F SFR”,”SFR”,”20810”)
OK
Note : Ask for PLMN list
Note : Home PLMN is France Telecom
SFR network has been detected
AT+COPS=1,2,20810
+CME ERROR: 32
Note : Ask for registration on SFR network
Note : Network not allowed – emergency
calls only
AT+COPS=1,1,23433
+CME ERROR: 529
Note : Ask for registration on UK Orange
Note : Selection failed – emergency calls
network
only
AT+COPS=0
OK
Note : Ask for registration on home network Note : Succeeded
AT+COPS=3,0
OK
Note : Set  to long alphanumeric
AT+COPS?
+COPS: 0,0,”Orange F”
OK
Note : Ask for current PLMN
Note : Home PLMN is France Telecom
Orange
AT+COPS=2
OK
Note : Ask for deregistration from network
Note : Succeeded
AT+COPS?
+COPS: 2
Note : Ask for current PLMN
Note : ME is unregistered until
=0 or 1 is selected
6.2.3 Defined values :
The parameters values are the following ones:

0: automatic (default value)
1: manual
2: deregistration ; ME will be unregistered until =0 or 1 is selected.
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 alphanumeric format 
1: short alphanumeric format 
2: numeric  (default value)

Page : 53 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
: status of 
0: unknown
1: available
2: current
3: forbidden
: operator identifier (MCC/MNC in numeric format only for operator
selection)
The long alphanumeric format can be up to 16 characters long (see appendix
19.12 for operator names description, field is “Name”)
The short alphanumeric format can be up to 8 characters long.

6.3 Network registration +CREG
6.3.1 Description
This command is used by the application to ascertain the registration status of
the product.
6.3.2 Syntax :
Command syntax : AT+CREG= 
Response syntax : +CREG : ,  [ ,, ] for AT+CREG?
Command only
Command

Possible responses

AT+CREG?

+CREG: ,
OK

AT+CREG=0

OK

Note : As defined here-above

Note : Disable network registration
unsolicited result code
AT+CREG=1
Note : Enable network registration
unsolicited result code
AT+CREG=2
Note : Enable network registration and
location information unsolicited result code
AT+CREG=?

Note : Command valid

OK

Note : Command valid

OK

Note : Command valid

+CREG: (0-2)

Note : 0,1,2  values are
supported

Page : 54 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
6.3.3 Defined values :

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 network cell.

0:
not registered, ME is not currently searching for a new operator.
1:
registered, home network.
2:
not registered, ME currently searching for 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 195 in decimal).
:
string type; two byte cell ID in hexadecimal format.

6.4 Read operator name +WOPN
6.4.1 Description :
This specific command returns the operator name in alphanumeric format, the
numeric format being given.
With E-ONS feature, lac is an optional parameter to read names from OPL/PNN
sim files. If it is not entered, name will be given with current lac. Note that in
limited service, current lac is set to 0.
6.4.2 Syntax :
Command syntax:
Response syntax:
Command

AT+WOPN=,[ ,]
+WOPN: ,
Possible responses

AT+WOPN=?

Note : Test command
AT+WOPN=0,20801
Note : Give an operator in numeric format

OK
+WOPN : 0,”Orange F”
OK

Note : Alphanumeric answer

AT+WOPN=0,99999

+CME ERROR: 22

AT+WOPN=0,20801,36

+WOPN : 0,”Orange F”
OK

Note : Give a wrong operator

Note : Give an operator in numeric format
for lac 36

Note : Not found

Note : Alphanumeric answer

Page : 55 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
6.4.3 Defined values :
 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
appendix 19.12 for operator names description)
 is the two bytes Location Area Code to be used to get the PLMN name.
If it is not entered, Current lac will be used (0 if limited service).

6.5 Selection of Preferred PLMN list +CPLS
6.5.1 Description :
This command is used to select one PLMN selector with access technology list
in the SIM card that is used by AT+CPOL command.
6.5.2 Syntax :
Command syntax:

AT+CPLS= 

Command

Possible responses

AT+CPLS?

+CPLS: 1
OK
Note : EF_OPLMNwAct is selected

Note : Ask for selection of the SIM file
AT+CPLS=0

Note : if EF_PLMNwAct is not present,
EF_PLMNsel will be selected

Note : selection of EF_PLMNwAct
AT+CPLS=1

Note : selection of EF_OPLMNwAct
AT+CPLS=?

+CME ERROR: 3

Note : EF_OPLMNwAct is not present
+CPLS: (0,1,2)

OK
Note : Get possible values
AT+CPLS=?

Note : The 3 files with Acces technology
are present and can be selected
+CPLS: (0)
OK
Note : Only EF_PLMNwAct or

Note : Get possible values

EF_PLMNsel can be selected

Page : 56 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
6.5.3 Defined values :
:
0: User controlled PLMN selector with access technology EF_PLMNwAct
Note: if this file is not found EF_PLMNSel will be selected
1: Operator controlled PLMN selector with access technology EF_OPLMNwAct
2: Home PLMN selector with access technology EF_HPLMNwAct

6.6 Preferred operator list +CPOL
6.6.1 Description :
This command is used to edit (or update) the SIM preferred list of networks.
This list is read in the SIM file selected by the command AT+CPLS.
6.6.2 Syntax :
Command syntax : AT+CPOL=
[] [,[,[,,,]]]
The different possibilities are:
AT+CPOL =  to delete an entry.
•
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 .
•
AT+CPOL =
,,,,,
to write  in the  at the  precising the acces
technology (in the case of EF_PLMNwact, EF_HPLMNwact or
EF_OPLMNwact is present).
Note: per default if Acces technology parameters are not given, the GSM
access technology will be choosen.
The supported format are those of the +COPS command.
The length of this list is limited to 85 entries for EF_PLMNsel, and 51 for
EF_PLMNwAct, EF_OPLMNwAct, EF_HPLMNwAct.

Page : 57 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
Command

Possible responses

AT+CPOL?

+CPOL:1,2,26201
+CPOL: 6,2,20810
OK

Note : Ask for preferred list of networks
With only EF_PLMNsel present
AT+CPOL?
Note : Ask for preferred list of networks
With EF_PLMNwAct selected and present

AT+CPOL=,0

Note : Select long alphanumeric format

AT+CPOL?

Note : Ask for preferred list of networks
With only EF_PLMNsel present
AT+CPOL=7,2,20801
Note : Add a network to the list
AT+CPOL?

Note : Preferred list of networks in
numeric format (read in EF_PLMNsel)
+CPOL:1,2,26201,1,0,0
+CPOL: 6,2,20810,1,0,0
OK
Note : Preferred list of networks in
numeric format (read in EF_PLMNwAct)
GSM acces technology selected
GSM compact acces technology not
selected
Utran acces technology not selected
OK
+CPOL: 1,0,”D1-TELEKOM”
+CPOL: 6,0,”F SFR”
OK

Note : Preferred list of networks in long
alphanumeric format
OK
+CPOL: 1,0,”D1-TELEKOM”
+CPOL: 6,0,”F SFR”
+CPOL: 7,0,”Orange F”
OK

Note : Ask for preferred list of networks
With only EF_PLMNsel present
AT+CPOL=7
Note : Delete 7th location
AT+CPOL?

Note : Preferred list of networks in long
alphanumeric format
OK

Note : Ask for preferred list of networks
With only EF_PLMNsel present
AT+CPOL=8,2,77777
Note : Add a new network to the list
With only EF_PLMNsel present
AT+CPOL=8,2,77777,0,0,1
Note : Add a new network to the list
With EF_PLMNwact present
AT+CPOL=8,2,77777
Note : Add a new network to the list
With EF_PLMNwact present
AT+CPOL?

Note : Preferred list of networks in long
alphanumeric format
OK

Note : Ask for preferred list of networks
With only EF_PLMNsel present

+CPOL: 1,0,”D1-TELEKOM”
+CPOL: 6,0,”F SFR”
OK

OK

Note: Acces technology UTRAN is
selected
OK
Note: Per default Acces technology GSM
is selected
+CPOL: 1,0,”D1-TELEKOM”
+CPOL: 6,0,”F SFR”
+CPOL: 8,2,77777”
OK
Note : Preferred list of networks in long
alphanumeric format but 8th entry is
unknown so the product edits it in the
numeric format

Page : 58 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
Command

Possible responses

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

Note : Add a new network to the list (text
format)
AT+CPOL?

Note : Ask for preferred list of networks
With only EF_PLMNsel present
AT+CPOL=?

+CPOL:
+CPOL:
+CPOL:
+CPOL:
OK

1,0,”D1-TELEKOM”
6,0,”F SFR”
8,2,77777”
9,0,”Orange F”

Note : Preferred list of networks in long
alphanumeric format
+CPOL: (1-16),(0-2)
OK
Note : The EF can accept 16 records, and
supported format are 0,1 or 2.

6.6.3 Defined values :
 : position of the operator record in the sim preferred operator list. Do
AT+CPOL=? to get the maximum index of the selected EF.
 :
0 long alphanumeric format for 
1 short alphanumeric format for 
2 numeric format for 
 : characterstring or integer (see ) indicating operator
identifier.
 : GSM access technology
 : GSM compact access technology
 : UTRA access technology
0 access technology not selected
1 access technology selected

Page : 59 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

6.7 Read operator name +COPN
6.7.1 Description :
This command return the list of all operator names (in numeric and
alphanumeric format) stored in the module.
6.7.2 Syntax :
Command syntax :
Command response :
Command

AT+COPN
+COPN: ,
Possible responses

AT+COPN

Note : Ask for preferred list of networks

AT+COPN=?

+COPN:
+COPN:
+COPN:
+COPN:
…
OK

23201,"A1"
23203,"A max."
23207,"A tele.ring"
23205,"one"

+CME ERROR: 
OK

6.7.3 Defined values :
 is the operator in numeric format.
 is the operator in long alphanumeric format (see appendix 19.12
for operator names description)

Page : 60 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

7 Security commands
7.1 Enter PIN +CPIN
7.1.1 Description :
This command is used to enter the ME passwords (CHV1 / CHV2 / PUK1 /
PUK2, etc.), that are required before any ME functionality can be used.
CHV1/CHV2 is between 4 and 8 digits long, PUK1/PUK2 is only 8 digits long.
If the user application tries to make an outgoing call before the SIM PIN code
(CHV1) has been confirmed, then the product will refuse the “ATD” command
with a “+CME ERROR: 11” (SIM PIN required).
The application is responsible for checking the PIN after each reset or power on
- if the PIN was enabled.
7.1.2 Syntax :
Command syntax: AT+CPIN=
Command

Possible responses

AT+CPIN=1234

OK

Note : Enter PIN
AT+CPIN=5678
Note : Enter PIN

Note : PIN code is correct

+CME ERROR : 3

Note : Operation not allowed, PIN
previously entered

After 3 unsuccessful attempts to enter the PIN (Personal Identification
Number), the PUK (Personal Unblocking Key) will be required. PUK validation
forces the user to enter a new PIN code as a second parameter and this will be
the new PIN code if PUK validation succeeds. CHV1 is then enabled if PUK1 is
correct. The application therefore uses this command:
AT+CPIN=,
Command
Possible responses
AT+CPIN=00000000,1234

Note : Enter PUK and new PIN
AT+CPIN=12345678,1234
Note : Enter PUK and new PIN, 2nd attempt

+CME ERROR: 16

Note : Incorrect PUK

OK

Note : PUK correct, new PIN stored

Page : 61 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
To ascertain which code must be entered (or not), the following query
command can be used:
AT+CPIN?
The possible responses are :
ME is not pending for any password
+CPIN: READY
+CPIN: SIM PIN
CHV1 is required
+CPIN: SIM PUK
PUK1 is required
+CPIN: SIM PIN2
CHV2 is required
+CPIN: SIM PUK2
PUK2 is required
+CPIN: PH-SIM PIN
SIM lock (phone-to-SIM) is required
+CPIN: PH-NET PIN
Network personnalisation is required
+CME ERROR: 
SIM failure (13) absent (10) etc…
Please note that in this case the mobile equipment does not end its response
with the OK string.
The response +CME ERROR : 13 (SIM failure) is returned after 10 unsuccessful
PUK attempts. The SIM card is then out of order and must be replaced by a
new one.
Example: 3 failed PIN validations + 1 successful PUK validation
AT+CPIN?
Read the PIN status
+CPIN: SIM PIN
The product requires SIM PIN
AT+CPIN=1235
+CME ERROR: 16

First attempt to enter a SIM PIN
Wrong PIN

AT+CPIN=1236
+CME ERROR: 16

Second attempt
Wrong PIN

AT+CPIN=1237
+CME ERROR: 16

Third attempt
Wrong PIN

AT+CPIN?
+CPIN: SIM PUK

Read PIN state
The product requires PUK

AT+CPIN=99999999,5678
OK

The PUK is entered, the new PIN shall
be 5678 PUK validation is OK. New Pin
is 5678
Read PIN state
The product is ready

AT+CPIN?
+CPIN: READY

If the user tries to do something which requires PIN2 (CHV2), the product will
refuse the action with a “+CME ERROR: 17” (SIM PIN2 required). The product
then waits for SIM PIN2 to be given.
Of course, if SIM PIN2 is blocked, SIM PUK2 is required instead of SIM PIN2.
For example, the product needs PIN2 to write in the fixed dialling phonebook
(FDN) , so if SIM PIN2 authentication has not been performed during the
current session, SIM PIN2 is required

Page : 62 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
Command

Possible responses

AT+CPBS=”FD”

OK

Note : Choose FDN
AT+CPBW=5,”01290917”,129,”Jacky”
Note : Write in FDN at location 5
AT+CPIN?

SIM PIN2

AT+CPIN=5678

OK

AT+CPBW=2,”01290917”,129,”Jacky”

OK

Note : Enter SIM PIN2
Note : Write in FDN at location 5

+CME ERROR: 17

Note : SIM PIN2 is required
Note : SIM PIN2 is required

Note : Now writing in FDN is allowed

Please note that the product only requests PIN2 or PUK2 once. Therefore, if
they are not entered properly, the next +CPIN? command will return “+CPIN:
READY”.
7.1.3 Defined values :
 Personal Identification Number.
 Personal Unblocking Key needed to change the PIN.
See above conditions of use.

7.2 Enter PIN2 +CPIN2
7.2.1 Description :
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.
Of course, the +CPIN command allows PIN2 or PUK2 codes to be validated,
but only when the last command executed resulted in PIN2 authentication
failure.
PIN2 length is between 4 and 8 digits, PUK2 length is 8 digits only.
7.2.2 Syntax :
Command syntax : AT+CPIN2=
Command

Possible responses

AT+CPIN2=1234

OK

Note : Enter PIN2
AT+CPIN2=5678
Note : Enter PIN2

Note : PIN2 code is correct

+CME ERROR: 3

Note : Operation not allowed, PIN2
previously entered

After 3 unsuccessful attempts, PUK2 will then be required. PUK2 validation
forces the user to enter a new PIN2 code as a second parameter and this will
be the new PIN2 code if PUK1 validation succeeds. The application therefore
uses this command:
AT+CPIN2=,

Page : 63 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
Command

Possible responses

AT+CPIN2=00000000,1234

+CME ERROR: 16

Note : Enter PUK2 and new PIN2
AT+CPIN2=12345678,1234
Note : Enter PUK2 and new PIN2, 2nd
attempt

Note : Incorrect Password (PUK2)

OK

Note : PUK2 correct, new PIN2 stored

To ascertain which code must be entered (or not), the following query
command can be used:
AT+CPIN2?
The possible responses are
No PIN2 is needed
+CPIN2: READY
+CPIN2: SIM PIN2
PIN2 is required
+CPIN2: SIM PUK2
PUK2 is required
+CME ERROR: 
Absent (10) etc…
7.2.3 Defined values:
 Personal Identification Number 2.
 Personal Unblocking Key 2 needed to change the PIN2.

Note : PIN2 length is between 4 and 8 digits, PUK2 length is 8 digits only.

Page : 64 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

7.3 PIN remaining attempt number +CPINC
7.3.1 Description :
This specific command is used to get the number of valid attempts for PIN1
(CHV1), PIN2 (CHV2), PUK1 (UNBLOCK CHV1) and PUK2 (UNBLOCK CHV2)
identifiers.
7.3.2 Syntax :
Command syntax : AT+CPINC
Response syntax : +CPINC : ,,,
Command
Possible responses
AT+CPINC

+CPINC : 2,3,10,10
OK

AT+CPINC?

Note : Get current values

+CPINC : 2,3,10,10
OK

AT+CPINC=?

OK

Note : Get the number of attempts left

Note : Get possible values

Note : First CHV1 attempt was a failure
Note : First attempt was a failure

7.3.3 Defined values
,  are the attempts left for PIN1, PIN2 (0 = blocked, 3 max)
,  are the attempts left for PUK1, PUK2 (0 = blocked, 10 max)
For this to work, the card should be present at the time of initialization,
otherwise an error will be sent (+CME ERROR : 10).

Page : 65 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

7.4 Facility lock +CLCK
7.4.1 Description :
This command is used by the application to lock, unlock or interrogate an ME
or network facility .
Nota: Test SIM cards (with MCC=001 & MNC=01) doesn’t check “PS”, “PN”,
“PU”, “PP” and “PC” locks.
7.4.2 Syntax :
Command syntax: AT+CLCK= ,[,[,] ]
Response syntax: +CLCK:  [ , ]+CLCK:
, [ … ] ]
Command

Possible responses

AT+CLCK=”SC”,1,1234

OK

Note : Enable PIN
AT+CLCK?
Note : Read PIN status

Note : PIN was correct

+CLCK:(“PS”,0),(“SC”,0),(“FD”,0),(“PN“,0)
,(“PU“,0),(“PP“,0),(“PC“,0)
OK

Note : PIN is enabled, no SIM lock, no
network lock, no information on Call
barring
(no longer supported in GSM 07.07)
AT+CLCK=”SC”,0,5555
+CME ERROR: 16
Note : Disable PIN
Note: PIN was wrong
AT+CPIN=1234
OK
Note : Enter PIN
Note : PIN was good
AT+CLCK=?
+CLCK:
Note : Request supported facilities
(“PS”,”SC”,”AO”,”OI”,”OX”,”AI”,”IR”,”AB
”,”AC”, ”FD”,"PN","PU","PP",”PN”)
OK
Note : Supported facilities
AT+CLCK=”PN”,1,12345678
OK
Note : Activate network lock
Network lock activated
AR+CLCK=”AO”,1,1234,2
OK
Note : Activate all outgoing calls barring for Note : Call barring is activate
data calls
AT+CLCK=”AO”,2
+CLCK : 1,2
Note : Query BAOC status
OK
Note : BAOC activate for data calls only
+CME ERROR: 521
AT+CLCK=”SC”,0,0000
Note : Disable PIN
Note : PIN deactivation is forbidden with
this SIM card

Page : 66 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
7.4.3 Defined values :
 : supported facilities
• “PS” : SIM lock facility with a 8 digits password.
• “SC“ : PIN enabled ( = 1) / disabled ( = 0)
• “AO” : BAOC (Barr All Outgoing Calls)
• “OI” : BOIC (Barr Outgoing International Calls)
• “OX” : BOIC-exHC (Barr Outgoing. International Calls except to Home
Country)
• “AI” : BAIC (Barr All Incoming Calls)
• “IR” : BIC-Roam (Barr 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).
• “PU” : Network Subset lock with a 8 digits password (NSCK).
• “PP” : Service Provider lock with a 8 digits password (SPCK).
• “PC” : Corporate lock with a 8 digits password (CCK).
• “FD”: SIM Fixed Dialing Numbers (FDN) memory feature (PIN2 is
required as )

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

1 : Voice (telephony)
2 : Data (apply to all bearer services)
4 : Fax (facsimile services)
8 : Short Message service
7 : Voice, Data and Fax (Default value)
Any attempt to combine different classes will result in activation / deactivation /
interrogation of Voice, Data and Fax.
If  is omitted, default value 7 is used.
Password maximum length is given with the AT+CPWD=? Command.
Note: It will not possible to lock the FDN phonebook if this one is not loaded.

Page : 67 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

7.5 Change password +CPWD
7.5.1 Description :
This command is used by the application to change a password (PIN, call
barring, NCK, etc.). The facility values () are the same as for the +CLCK
command with a “P2” facility to manage SIM PIN2.
For the network lock (“PN”), unlocking is forbidden after 10 failed attempts to
disable (unlock) the network lock with an incorrect password.

7.5.2 Syntax :
Command syntax : AT+CPWD= , , 
Command

Possible responses

AT+CPWD=?

+CPWD:
(“PS”,8),(“SC”,8),(“AO”,4),(“OI”,4),(“OX”,4
),(“AI”,4),(“IR”,4),(“AB”,4),(“AG”,4),(“AC”,
4),
(“P2”,8),(“FD”,8),("PN",8),("PU",8),("PP",8),
("PC",8)
OK

Note : Possible values

AT+CPWD=”SC”,1234,5555

Note : Change PIN

AT+CPWD=”SC”,1234,5555

Note : Change PIN

AT+CPIN=5555

Note : Enter PIN

AT+CPWD=”PN”,12345678,00000000

Note : Change NCK

Note : CHV1/CHV2 must be on 8 digits
maximum (4mini)
For call barring, on 4 digits maximum
OK
Note : PIN was correct
+CME ERROR: 16
Note: PIN was wrong
OK
Note : PIN was correct
OK
Note : NCK changed for net lock

Page : 68 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

7.5.3 Defined values :
 : facility
• “PS”
• “SC”
• “AO”
• “OI”
• “OX”
• “AI”
• “IR“
• “AB”
• “AG”
• “AC”
• “P2”
• “FD”
• "PN"
• "PU"
• "PP"
• "PC"
, 
On 4 or up to 8 or 16 digits according to the facility.

Page : 69 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

8 Phonebook commands
8.1 Select phonebook memory storage +CPBS
8.1.1 Description :
This command selects phonebook memory storage.
8.1.2 Syntax :
Command syntax : AT+CPBS=
Command

Possible responses

AT+CPBS=”SM”

OK

Note : Select ADN phonebook
AT+CPBS=?
Note : Possible values

AT+CPBS?

Note : Status

Note : ADN phonebook is selected

+CPBS:
("SM","LD","MC","ON","ME","RC","MT","SN")
OK

Note : only “EN” phonebook is not
supported with this SIM card.
+CPBS :”SM”,10,20
OK
Note: ADN phonebook selected, 10
locations used, 20 locations available

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

8.1.3 Defined values :

•
•
•
•
•
•
•
•
•
•

: phonebook
“SM” : ADN (SIM phonebook)
“FD” : FDN (SIM Fix Dialling, restricted phonebook)
“ON” : MSISDN (SIM own numbers)
“EN” : EN (SIM emergency number)
“LD” : LND (combined ME and SIM last dialing phonebook)
“MC” : MSD (ME missed calls list)
“ME” : ME (ME phonebook)
“MT” : MT (combined ME and SIM phonebook)
“RC” : LIC (ME received calls list)
“SN” :SDN (Services dialing phonebook)

Page : 70 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

8.2 Read phonebook entries +CPBR
8.2.1 Description :
This command returns phonebook entries for a range of locations from the
current phonebook memory storage selected with +CPBS.
Note :

for all phonebook read commands (+CPBR, +CPBF, +CPBN, +CPBP, +CNUM),
the TON/NPI MSB of each number is set to 1 (ex : a TON/NPI stored as 17 is
displayed as 145).
8.2.2 Syntax :
Command syntax : AT+CPBR=[,]
Command
Possible responses
AT+CPBR=?

Note : Test command

AT+CPBR=12,14

Note : Read entries from 12 to 14

AT+CPBR=10

Note : Read entry 10

AT+CPBR=11

Note : Read entry 11 (UCS2 format)

AT+CPBR=52

Note : Read entry 52 (wrong)

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

Note : 50 locations (from 1 to 50), max
length for phone number is 20 digits, 10
characters max for the text
+CPBR : 12,”112”,129,”Emergency”
+CPBR : 13,”+331290909”,145,”Fred”
+CPBR : 14,”0146290808”,129,”Zazi”
OK
Note : Display locations 12,13,14 with
location, number, type (TON/NPI), Text
+CPBR :10,”0146290921”,129,”Rob”
OK
Note: Display location 10
+CPBR
:11,”0146290921”,129,”8000010002FFF
F”
OK
Note: Display location 11
+CME ERROR: 21
Note : Invalid index

8.2.3 Defined values :
, 
location (or range of locations) where to read phonebook entry.

Page : 71 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

8.3 Find phonebook entries +CPBF
8.3.1 Description :
This command returns phonebook entries with alphanumeric fields starting
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 "LD", "RC", "MC", "SN" phonebooks and for the
“EN” phonebook, which does not contain alphanumeric fields.
It is possible to use this command with UCS2 strings. If a wrong UCS2 format
is entered, the string is considered as an ASCII string.
8.3.2 Syntax :
Command syntax : AT+CPBF=
Command
AT+CPBF=?

Note : Test command

Possible responses
+CPBF: 20,10
OK

Note : Read entries with “E”

Note : Max length for phone number is 20
digits, 10 characters for the text
+CPBF : 12,”112”,129,”Emergency”
+CPBF : 15,”+331290101”,145,”Eric”
OK
Note : Display locations with text field
starting with “E”

AT+CPBF=”H”

+CME ERROR: 22

AT+CPBF=“E”

Note : Read entries with “H”
AT+CPBF=”800001FFFF”
Note : Read entries starting with 0001
UCS2 character
AT+CPBF=”8045C”

Note : Read entries with “8045C” (ASCII
format)

Note: Entry not found

+CPBF : 11,
”0146290921”,129,”8000010002FFFF”
OK

Note : Display locations with text field
starting with 0001 UCS2 character
+CME ERROR: 22
Note: Entry not found. The string has a
wrong UCS2 format, it is therefore
considered as an ASCII string

8.3.3 Defined values :

Searched starting string (depends on the format of data stored in the
phonebooks)

Page : 72 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

8.4 Write phonebook entry +CPBW
8.4.1 Description :
This command writes a phonebook entry in location number  in the
current phonebook memory storage.
“RC” and “MC” phonebooks could be only erased by +CPBW. Adding field
and/or modifying field is not allowed for these phonebooks.
This command is not allowed for “EN”, “LD”, “MC”, “RC”, “MT”, “SN”
phonebooks, which can not be written.
8.4.2 Syntax :
Command syntax : AT+CPBW=[,[,[,]]]
Command
Possible responses
AT+CPBW=?

Note : Test command

AT+CPBW= 3

Note : Erase location 3

AT+CPBW=5,”112”,129,”SOS”

Note : Write at location 5

AT+CPBW=5,”01290917”,129,”Jacky”

Note : Overwrite location 5

AT+CPBW=6,”01292349”,129,”80004100
42”

Note : write location 6 (UCS2 format for the
 field)
AT+CPBW=,”+33145221100”,145,”SOS”
Note : Write at the first location available
AT+CPBW=,”0345221100”,129,”SOS”
Note : Write at the first location available
AT+CPBW=57,”112”,129,”WM”
Note : Write at location 57 (wrong)
AT+CPBW=7,”012345678901234567890”
,129,”WAVE”
Note : Write at location 7 a phone number
exceeding the limit (21 digits)
AT+CPBW=7,”0122334455”,129,”WAVEC
OM TEL”
Note : Write at location 7 along text (11
characters)
AT+CPBW=8,”01292349”,129,”80xyz”
Note : write location

+CPBW: (1-50),20,(129,145),10
OK

Note : 50 locations, phone number = 20
digits max, TON/NPI of 129 or 145, text
length = 10
OK
Note: Location 3 erased
OK
Note: Location 5 written
OK
Note : Location 5 overwritten
OK
Note : Location 6 is written
OK

Note : First location available is written

+CME ERROR: 20

Note : Phonebook full

+CME ERROR: 21

Note : Invalid index

+CME ERROR: 26

Note : Phone number too long
+CME ERROR: 24

Note : Text too long
OK

Note : Location 8 is written. The string
has a wrong UCS2 format, it is therefore
considered as an ASCII string

When the fixed dialling phonebook (FDN) is locked, this command is not
allowed. Moreover, when the FDN is unlocked, PIN2 is required to write in the
FDN phonebook.
Page : 73 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
But if PIN2 authentication has been performed during the current session, the
+CPBW command with FDN is allowed.
Command

Possible responses

AT+CPBS=”FD”

OK

Note : Choose FDN
AT+CPBW=5,”01290917”,129,”Jacky”
Note : Write in FDN at location 5
AT+CPIN?

+CME ERROR: 17

Note : SIM PIN2 is required

SIM PIN2

Note: SIM PIN2 is required

AT+CPIN=5678

OK

AT+CPBW=5,”01290917”,129,”Jacky”

OK

Note : Enter SIM PIN2
Note : Write in FDN at location 5

Note : Writing in FDN is now allowed

8.4.3 Defined valuess :

memory.


Note:

integer type value depending on the capacity of the phonebook
phone number in ASCII format.
TON/NPI (Type of address byte in integer format).

for the  parameter, all values are allowed from 0 to 255, but the MSB
will be set to 1 in all cases (ex : a  value of 17 will be written as 145).

string type.
Note 1:
For the  parameter all strings starting with “80” , “81” or “81” are
considered in UCS2 format. See the APPENDIX E (Coding of Alpha fields in the
SIM for UCS2).
Note 2:

The +CSCS (Select Character set) command does not affect the format for
phonebook entries.

Page : 74 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

8.5 Phonebook phone search +CPBP
8.5.1 Description :
This specific command orders the product to search the phonebook for an item
with the same phone number as that defined in the parameter.

8.5.2 Syntax :
Command syntax : AT+CPBP=
Command

Possible responses

AT+CPBP=”+331290101”

+CPBP : 15,”+331290101”,145,”Eric”
OK

Note : Search entries corresponding to this
phone number
AT+CPBP=”+331290101”

Note : Search entries corresponding to this
phone number
AT+CPBP=”01290202”

Note : Search entries corresponding to this
phone number

AT+CPBP=”+331288575”

Note : Search entries corresponding to this
phone number

AT+CPBP=”0129”

Note : Search entries corresponding to this
phone number

Note : Display the entry corresponding to
the specified phone number
+CPBP : 15,”01290101”,129,”Eric”
OK
Note : Display the entry corresponding to
the specified phone number
+CPBP : 15,”+331290202”,145,”David”
OK
Note : Display the entry corresponding to
the specified phone number
+CPBP :
15,”+331290101”,145,”8045682344FFFF
” (UCS2 format)
OK
Note : Display the entry corresponding to
the specified phone number
+CME ERROR: 22
Note : Entry not found

8.5.3 Defined values :

coded according to GSM 07.07 or GSM 07.05.

Page : 75 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

8.6 Move action in phonebook +CPBN
8.6.1 Description
This specific command instructs the product to make a forward or backward
move in the phonebook (in alphabetical order).
This command is not allowed for the “EN” phonebook - which does not
contain alphanumeric fields.
8.6.2 Syntax :
Command syntax : AT+CPBN=
Command

Possible responses

AT+CPBN=?

+CPBN: (0-5)
OK

AT+CPBN=0

+CPBN : 15,”+331290101”,145,”Eric”
OK

AT+CPBN=2

+CPBN : 5,”+33147658987”,145,”Frank”
OK

AT+CPBN=2

+CPBN : 6,”+331290302”,145,”Marc”
OK

AT+CPBN=3

+CPBN : 5,”+33147658987”,145,”Frank”
OK

AT+CPBN=1

+CPBN : 6,”+331290302”,145,”Marc”
OK

AT+CPBN=2

+CPBP : 15,”+331290101”,145,”Eric”
OK

Note : Test command
Note : Read the first location
Note : Read the next location
Note : Read the next location
Note : Read the previous location
Note : Read the last location
Note : Read the next location

Note : Possible modes
Note : Display the first location

Note : Display the second location
Note : Display the third location

Note : Display the second location
Note : Display the last location

Note : Display the first location

Page : 76 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003
Using mode 4 and 5 with +CPBF command and CPBW :
Command
Possible responses
AT+CPBF=”Er”

+CPBF : 15,”+331290101”,145,”Eric”
OK

AT+CPBN=2

+CPBN : 5,”+33147658987”,145,”Frank”
OK

AT+CPBF=”Er”

+CPBF : 15,”+331290101”,145,”Eric”
OK

AT+CPBN=4

Note : Get the last location read

+CPBF : 15,”+331290101”,145,”Eric”
OK

AT+CPBW=,”0146290800”,129,”WM”

OK

Note : Find ”Er” in phonebook
Note : Read the next location
Note : Find ”Er” in phonebook

Note : Write an item at the first location
available
AT+CPBN=4
Note : Get the last location read

AT+CPBN=4

Note : Get the last item read

AT+CPBF=”800041FFFF”

Note : Find”800041” in phonebook

AT+CPBN=4

Note : Get the last location read

Note : Display the location

Note : Display the following location
Note : Display the location

Note : Display the last location read

Note : No information about this location

+CPBF : 15,”+331290101”,145,”Eric”
OK

Note : Display the last location read
AT+CPBN=38,”0146290800,129,”WM”
Note : Display the last item written with
its location
AT+CPBN=38,”0146290800,129,”WM”
Note : Now the last item read is the last
written item too
+CPBF :
15,”+3312345”,145,”8000414339FFFF”
OK
Note : Display this location
+CPBF :
15,”+3312345”,145,”8000414339FFFF”
OK
Note : Display the last location read

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

0:
First item
1:
Last item
2:
Next valid item in alphabetical order
3:
Previous valid item in alphabetical order
4:
Last item read (usable only if a read operation has been performed on the
current phonebook since the end of initialization (+WIND: 4))
5:
Last item written (usable only if a write operation has been performed on
the current phonebook since the end of initialization (+WIND: 4))

Page : 77 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

8.7 Subscriber number +CNUM
8.7.1 Description :
This command returns the subscriber MSISDN(s).
If the subscriber has different MSISDNs for different services, each MSISDN is
returned in a separate line.
8.7.2 Syntax :
Command syntax: AT+CNUM
Response syntax: +CNUM : , , 
 +CNUM : , ,  ….
Command
Possible responses
AT+CNUM

Note : Get MSISDN(s)

+CNUM :”Phone”, “0612345678”,129
+CNUM :”Fax”, “0687654321”,129
+CNUM : “80001002FFFF”, “+0183773”,
145 (UCS2 format)
OK

AT+CNUM=?

OK

Note : MSISDNs

8.7.3 Defined values :




optional alphanumeric string associated with 
string type phone number with format as specified by 
type of address byte in integer format

Page : 78 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

8.8 Avoid phonebook init +WAIP
8.8.1 Description :
This specific command allows the initialization of all phonebooks to be
inhibited during subsequent boots.

8.8.2 Syntax :
Command syntax : AT+WAIP=
Command
AT+WAIP?

Note : Current values ?

Possible responses
+WAIP :0
OK

Note : Default value (init phonebooks)

AT+WAIP=?

Note : Possible values ?

+WAIP : (0,1)
OK

AT+WAIP =1

OK

Note : Disable / enable

Note : Inhibit initialization of phonebooks
Note : no answer
(next boot)
AT&W
Note : Save modifications in EEPROM
Caution:
the given value should be stored in EEPROM. Therefore, the AT&W command
must be used to save the new  value.
Note:

No phonebook commands are allowed if +WAIP=1 (after boot).
If a phonebook command is entered, a “+CME ERROR: 3” is returned.
8.8.3 Defined values :

0: Normal initialization (with phonebooks)
1: No phonebook initialization

Page : 79 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

8.9 Delete Calls Phonebook +WDCP
8.9.1 Description :
This specific command allows to delete the calls listed in some phonebooks.
8.9.2 Syntax :
Command syntax : AT+WDCP=
Command
Possible responses
AT+WDCP?
AT+WDCP=?

Note : Possible values ?
AT+WDCP=”LD”

Note : Delete all the content of Last Dialing
phonebook.

OK
+WDCP : ("LD","MC","RC")
OK

Note : Identifiers of the phonebooks
supporting a list of calls
OK
Note : Last Dialing phonebook is now
empty.

8.9.3 Defined values :

“LD”: SIM (ME extended) Last dialing phonebook
“MC”: ME missed calls list phonebook
“RC”: ME received calls list phonebook

Page : 80 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

8.10

Set Voice Mail Number +CSVM

8.10.1

Description :

This commands allows to set/get and enable/disable the voice mail number in
memory.
8.10.2

Syntax :

Command syntax : AT+CSVM=[,[,]]
Command
Possible responses
AT+CSVM?

Note : Get mail number
AT+CSVM=?

Note : Possible values ?
AT+CSVM=0,”888”,129

Note : Disable Voice Mail number and
change value to “888”.
8.10.3

+CSVM: 1,”660”,129
OK

Note : Voice mail number “660” is
activated
+CSVM: (0-1),(129,145)
OK
Note : activation/deactivation and format
129 & 145 are supported
OK

Defined values :


0:
Disable the voice mail number
1:
Enable the voice mail number

Phone number in ASCII format.

TON/NPI (Type of address byte in integer format).
Note :

For the  parameter, all values are allowed from 0 to 255, but the MSB
will be set to 1 in all cases (ex : a  value of 17 will be written as 145).

Page : 81 / 335
confidential ©
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut
être communiqué ou divulgué à des tiers sans son autorisation préalable.

WM_ASW_OAT_UGD_004- 011
20 June 2003

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 Byte, coded like SMS-SUBMIT first byte 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 bytes 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 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 Command AT+CSMS=0 Note : SMS AT command Phase 2 version 4.7.0 AT+CSMS=1 Note : SMS AT command Phase 2 + AT+CSMS? Note : Current values ? AT+CSMS=? Note : Possible services Possible responses +CSMS: 1,1,1 OK Note : SMS-MO, SMS-MT and SMS-CB supported +CSMS: 1,1,1 Note : SMS-MO, SMS-MT and SMS-CB supported +CSMS: 0,1,1,1 OK Note : GSM 03.40 and 03.41 (SMS AT command Phase 2 version 4.7.0 +CSMS: (0,1) OK 9.2.3 Defined values : 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 . Page : 83 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.3 New Message Acknowledgement +CNMA 9.3.1 Description : This command allows reception of a new message routed directly to the TE to be acknowledged. In TEXT mode, only positive acknowledgement to the network (RP-ACK) is possible. In PDU mode, either positive (RP-ACK) or negative (RP-ERROR) acknowledgement to the network is possible. Acknowledge with +CNMA is possible only if the +CSMS parameter is set to 1 (+CSMS=1) when a +CMT or +CDS indication is shown (see +CNMI command). If no acknowledgement is given within the network timeout, an RP-ERROR is sent to the network, the and parameters of the +CNMI command are then reset to zero (do not show new message indication). 9.3.2 Syntax : Command syntax in text mode : AT+CNMA Command syntax in PDU mode : AT+CNMA [ = [ , [ PDU is entered ] ] ] Note: PDU is entered using format instead of format (e.g.. SMSC address field is not present). Example of acknowledgement of a new message in TEXT mode Command Possible responses AT+CMGF=1 Note : Set TEXT mode AT+CNMI=2,2,0,0,0 Note : =2 OK Note : TEXT mode valid OK +CMT : “123456”,”98/10/01,12 :30 00+00”,129,4 ,32,240, “15379”,129,5 Received message Note : message received AT+CNMA Note : acknowledge the message received AT+CNMA Note : try to acknowledge again OK Note : send positive acknowledgement to the network +CMS ERROR : 340 Note : no +CNMA acknowledgment expected Page : 84 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 Example of acknowledgement of a new message in PDU mode: Command Possible responses AT+CMGF=0 Note : Set PDU mode OK Note : PDU mode valid +CMT: ,29 07913366003000F1240B913366920547 F30000003003419404800B506215D42E CFE7E17319 Note : message received AT+CNMA=2, … Pdu message … Note : negative acknowledgement for the message. OK Note : send a negative acknowledgement to the network (RP-ERROR) with PDU message ( format). 9.3.3 Defined values : : Type of acknowledgement in PDU mode 0: send RP-ACK without PDU (same as TEXT mode) 1: send RP-ACK with optional PDU message 2: send RP-ERROR with optional PDU message : Length of the PDU message Page : 85 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.4 Preferred Message Storage +CPMS 9.4.1 Description : This command allows the message storage area to be selected (for reading, writing, etc). 9.4.2 Syntax : Command syntax : AT+CPMS=,[] Command Possible responses AT+CPMS=? Note : Possible message storages AT+CPMS? Note : Read AT+CPMS=”AM” Note : Select false message storage AT+CPMS=”BM” Note : Select CBM message storage AT+CPMS? Note : Read +CPMS: ((“SM”,”BM”,”SR”),(“SM”)) OK Note : Read, list, delete: SMS, CBM or SMS Status Report Write, send: SMS +CPMS: “SM”,3, 10,”SM”,3,10 OK Note : Read, write…SMS from/to SIM 3 SMS are stored in SIM. 10 is the total memory available in SIM +CMS ERROR: 302 +CPMS: 2,20,3,10 OK Note : Read, list, delete CBM from RAM 2 CBM are stored in RAM +CPMS: “BM”,2,20,”SM”,3,10 OK Note : Read list, delete CBM from RAM Write SMS to SIM Page : 86 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.4.3 Defined values : : 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). -“SR” : Status Report message storage (in SIM if the EF-SMR file exists, otherwise in the ME non volatile memory) Note : “SR” ME non volatile memory is cleared when another SIM card is inserted. It is kept, even after a reset, while the same SIM card is used. : Memory used to write and send messages - “SM” : SMS message storage in SIM (default). If the command is correct, the following message indication is sent: +CPMS: ,,, When is selected, all following +CMGL, +CMGR and +CMGD commands are related to the type of SMS stored in this memory. 9.5 Preferred Message Format +CMGF 9.5.1 Description : The message formats supported are text mode and PDU mode. In PDU mode, a complete SMS Message including all header information is given as a binary string (in hexadecimal format). Therefore, only the following set of characters is allowed: {‘0’,’1’,’2’,’3’,’4’,’5’,’6’,’7’,’8’,’9’, ‘A’, ‘B’,’C’,’D’,’E’,’F’}. Each pair or character is converted to a byte (e.g.: ‘41’ is converted to the ASCII character ‘A’, whose ASCII code is 0x41 or 65). In Text mode, all commands and responses are in ASCII characters. The selected format is stored in EEPROM by the +CSAS command. 9.5.2 Syntax : Command syntax : AT+CMGF Command AT+CMGF ? Note : Current message format AT+CMGF=? Possible responses +CMGF: 1 OK Note : Text mode +CMGF: (0-1) OK Note : Possible message format Note : Text or PDU modes are available Example, sending an SMS Message in PDU mode Command Possible responses AT+CMGF=0 Note : Set PDU mode AT+CMGS=14 0001030691214365000004C9E9340B Note : Send complete MSG in PDU mode, no SC address OK Note : PDU mode valid +CMGS: 4 OK Note : MSG correctly sent, is returned Page : 87 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.5.3 Defined values : 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. In this example, the length in bytes of the TPDU buffer is 14, coded as GSM 03.40 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 : (TP-MR) (TP-DA) 0x01 (SMS-SUBMIT, no validity period) 0x03 (Message Reference) 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. For example, the byte 0x2A is presented to the ME as two characters ‘2’ (ASCII 50) and ‘A’ (ASCII 65). Page : 88 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.6 Save Settings +CSAS 9.6.1 Description : All settings specified by the +CSCA and +CSMP commands are stored in EEPROM if the SIM card is a Phase 1 card or in the SIM card if it is a Phase 2 SIM card. 9.6.2 Syntax : Command syntax : AT+CSAS Command Possible responses AT+CSAS OK Note : Store +CSCA and +CSMP parameters Note : Parameters saved 9.6.3 Defined values : No parameter 9.7 Restore settings +CRES 9.7.1 Description : All settings specified in the +CSCA and +CSMP commands are restored from EEPROM if the SIM card is Phase 1 or from the SIM card if it is a Phase 2 one. 9.7.2 Syntax : Command syntax : AT+CRES Command Possible responses AT+CRES OK Note : Restore +CSCA and +CSMP parameters Note : Parameters restored 9.7.3 Defined values : No parameter Page : 89 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.8 Show text mode parameters +CSDH 9.8.1 Description : This command gives additional information on text mode result codes. These informations can be found in description of the +CMT, +CMGR, +CMGL commands and responses. 9.8.2 Syntax : Command syntax : AT+CSDH= Command Possible responses AT+CSDH=0 OK Note: Set value to “do not show” AT+CSDH? Note : Current value +CSDH: 0 OK Note : Do not show header values 9.8.3 Defined values: : show indicator • 0: do not show header values • 1: show the values in result codes Page : 90 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.9 New message indication +CNMI 9.9.1 Description : This command selects the procedure for message reception from the network. 9.9.2 Syntax : Command syntax : AT+CNMI=,,,, Command Possible responses AT+CNMI=2,1,0,0,0 Note : =1 OK AT+CMTI : “SM”,1 Note : message received AT+CNMI=2,2,0,0,0 Note : =2 OK +CMT : “123456”,”98/10/01,12 :30 00+00”,129,4 ,32,240, “15379”,129,5 AT+CNMI=2,0,0,1,0 Note : =1 AT+CMGS=”+33146290800” Happy Birthday ! Note : Send a message in text mode Note : message received OK +CMGS : 7 OK Note : Successful transmission +CDS : 2, 116, ”+33146290800”, 145, “98/10/01,12 :30 :07+04”, “98/10/01 12 :30 :08+04”, 0 Note : message was correctly delivered 9.9.3 Defined values : : controls the processing of unsolicited result codes 0: Buffer unsolicited result codes in the TA. If TA result code buffer is full, indications can be buffered in some other place or the oldest indications may be discarded and replaced with the new received indications 1: Discard indication and reject new received message unsolicited result codes when TA-TE link is reserved. Otherwise forward them directly to the TE 2: 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 3: 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 Important note : only =2 is supported. Any other value for (0,1 or 3) is accepted (return code will be OK), but the processing of unsolicited result codes will be the same as with=2. Page : 91 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 : sets the result code indication routing for SMS-DELIVER indications. Default is 1. 0: No SMS-DELIVER indications are routed. 1: SMS-DELIVERs are routed using unsolicited code : +CMTI: “SM”, 2: SMS-DELIVERs (except class 2 messages) are routed using unsolicited code : if PDU mode : +CMT : [,] if text mode : +CMT : ,[,] [,, , , , , , ] 3: Class 3 SMS-DELIVERS are routed directly using code in =2 ; Other classes messages result in indication =1 : defines the rules for storing the received CBMs (Cell Broadcast Message) types. They depend also on the coding scheme (text or PDU) and the setting of Select CBM Types (see +CSCB command). Default is 0. 0: No CBM indications are routed to the TE. The CBMs are stored. 1: The CBM is stored and an indication of the memory location is routed to the customer application using unsolicited result code: +CBMI: “BM”, 2: New CBMs are routed directly to the TE using unsolicited result code. If PDU mode : +CBM : or If text mode : +CBM :,,,, 3: Class 3 CBMs : as =2. Other classes CBMs : as =1. for SMS-STATUS-REPORTs. Default is 0. 0: No SMS-STATUS-REPORTs are routed. 1: SMS-STATUS-REPORTs are routed using unsolicited code : If PDU mode : +CDS : (PDU mode) or If text mode : +CDS : ,, [] , [], ,
, (Text mode) 2: SMS-STATUS-REPORTs are stored and routed using the unsolicited result code : +CDSI: “SR”, Default is 0. 0: TA buffer of unsolicited result codes defined within this command is flushed to the TE when = 1 to 3 is entered (OK response shall be given before flushing the codes) 1: TA buffer of unsolicited result codes defined within this command is cleared when 1…3 is entered. Page : 92 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.10 Read message +CMGR 9.10.1 Description : This command allows the application to read stored messages. The messages are read from the memory selected by +CPMS command. 9.10.2 Syntax : Command syntax : AT+CMGR= Response syntax for text mode: +CMGR :,,[,] [,,, ,,,,] (for SMS-DELIVER only) +CMGR : ,,[,] [,,,,, [], , ,] (for SMS-SUBMIT only) +CMGR : ,,,[],[],,
, (for SMSSTATUS-REPORT only) Response syntax for PDU mode : +CMGR: , [] , A message read with status “REC UNREAD” will be updated in memory with the status “REC READ”. Note : the parameter for SMS Status Reports is always “READ”. Page : 93 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 Example : Command Possible responses AT+CMTI: “SM”,1 Note : New message received AT+CMGR=1 Note : Read the message AT+CMGR=1 Note : Read the message again AT+CMGR=2 Note : Read at a wrong index AT+CMGF=0 ;+CMGR=1 Note : In PDU mode AT+CMGF=1;+CPMS=”SR”;+CNMI=,,,2 Reset to text mode, set read memory to “SR”, and allow storage of further SMS Status Report into “SR” memory AT+CMSS=3 Send an SMS previously stored AT+CMGR=1 Read the SMS Status Report 9.10.3 +CMGR: “REC UNREAD”,”0146290800”, ”98/10/01,18 :22 :11+00”, ABCdefGHI OK +CMGR: “REC UNREAD”,”0146290800”, ”98/10/01,18 :22 :11+00”, ABCdefGHI OK Note : Message is read now +CMS ERROR: 321 Note : Error : invalid index +CMGR: 2,, OK Note : Message is stored but unsent, no field OK +CMSS: 160 OK +CDSI: “SR”,1 New SMS Status Report stored in “SR” memory at index 1 +CMGR: "READ",6,160, "+33612345678",129,"01/05/31,15:15:09 +00", "01/05/31,15:15:09+00",0 OK Defined values : See above. Page : 94 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.11 List message +CMGL 9.11.1 Description : This command allows the application to read stored messages, by indicating the type of the message to read. The messages are read from the memory selected by the +CPMS command. 9.11.2 Syntax : Command syntax : AT+CMGL= Response syntax for text mode: +CMGL : ,,[,], [, , ] (for SMS-DELIVER and SMS-SUBMIT, may be followed by other +CMGL:…) +CMGL : ,,,,[],[],,
, (for SMS-STATUS-REPORT only, may be followed by other +CMGL:…) Response syntax for PDU mode : +CMGL : ,, [], (for SMSDELIVER, SMS-SUBMIT and SMS-STATUS-REPORT, may be followed by other +CMGL:…) Command Possible responses AT+CMGL=“REC UNREAD” +CMGL: 1,”REC UNREAD”,”0146290800”, I will be late +CMGL: 3,”REC UNREAD”, “46290800”, See you tonight ! OK Note : List unread messages in text mode AT+CMGL=”REC READ” Note : List read messages in text mode AT+CMGL=”STO SENT” Note : List stored and sent messages in text mode AT+CMGL=1 Note : List read messages in PDU mode Note : 2 messages are unread, these messages will then have their status changed to “REC READ” +CMGL: 2,”REC READ”,”0146290800”, Keep cool OK OK Note : No message found +CMGL: 1,1,,26 07913366003000F3040B913366920547 F40013001190412530400741AA8E5A9C 5201 OK Page : 95 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.11.3 Defined values possible values (status of messages in memory) : PDU mode Text mode possible Status of messages in memory possible values values “REC UNREAD” 0 received unread messages “REC READ” 1 received read messages “STO UNSENT” 2 stored unsent messages “STO SENT” 3 stored sent messages “ALL” 4 all messages Note : For SMS Status Reports, only “ALL” / 4 and “READ” / 1 values of the parameter will list messages ; other values will only return OK. Page : 96 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.12 Send message +CMGS 9.12.1 Description : The
field is the address of the terminal to which the message is sent. To send the message, simply type, character (ASCII 26). The text can contain all existing characters except and (ASCII 27). This command can be aborted using the character when entering text. In PDU mode, only hexadecimal characters are used (‘0’…’9’,’A’…’F’). 9.12.2 Syntax : Command syntax in text mode : AT+CMGS= [ , ] text is entered Command syntax in PDU mode : AT+CMGS= PDU is entered Command Possible responses AT+CMGS=”+33146290800” Please call me soon, Fred. +CMGS: OK Note : Send a message in text mode AT+CMGS= Note : Send a message in PDU mode Note : Successful transmission +CMGS: OK Note : Successful transmission The message reference, , which is returned to the application is allocated by the product. This number begins with 0 and is incremented by one for each outgoing message (successful and failure cases); it is cyclic on one byte (0 follows 255). Note: this number is not a storage number – outgoing messages are not stored. 9.12.3 Defined values : See above paragraphs. Page : 97 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.13 9.13.1 Write Message to Memory +CMGW Description : This command stores a message in memory (either SMS-SUBMIT or SMSDELIVERS). The memory location is returned (no choice possible as with phonebooks +CPBW). Text or PDU is entered as described for the Send Message +CMGS command. 9.13.2 Syntax : Command syntax in text mode : ( is returned in both cases) AT+CMGW= [, [, ] ] enter text Command syntax in PDU mode : AT+CMGW= [,] give PDU Response syntax: +CMGW: or +CMS ERROR: if writing fails Command Possible responses AT+CMGW=”+33146290800” Hello how are you ? Note : Write a message in text mode +CMGW: 4 OK Note : Message stored in index 4 AT+CMGW= +CMGW: Note : Write a message in PDU mode OK Note : Message stored in 9.13.3 Defined values : Parameter Definition : : Originating or Destination Address Value in string format. : Type of Originating / Destination Address. : Integer type in PDU mode (default 2 for +CMGW), or string type in text mode (default “STO UNSENT” for +CMGW). Indicates the status of message in memory. If is omitted, the stored message is considered as a message to send. 0: “REC UNREAD” 1: “REC READ” 2: “STO UNSENT” 3: “STO SENT” : Length of the actual data unit in bytes Page : 98 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.14 9.14.1 Send Message From Storage +CMSS Description : This command sends a message stored at location value . 9.14.2 Syntax : Command syntax: AT+CMSS=[, [,] ] Response syntax: +CMSS : or +CMS ERROR: if sending fails If a new recipient address is given, it will be used instead of the one stored with the message Command Possible responses AT+CMGW=0660123456 Today is my birthday +CMGW : 5 OK AT+CMSS=5, 0680654321 +CMSS : OK Note : Note : Send the message 5 to a different destination number 9.14.3 Note :Message stored with index 5 Note : Successful transmission Defined values See above descriptions. Page : 99 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.15 9.15.1 Set Text Mode Parameters +CSMP Description : This command is used to select a value for , , and . 9.15.2 Syntax ; Command syntax : AT+CSMP=, , , Command Possible responses AT+CSMP? +CSMP: 0,0,0,0 OK Note : current values AT+CSMP=17,23,64,244 Note : = 23 (2 hours, relative format) = GSM 8 bits alphabet 9.15.3 Defined values : The byte comprises 6 different fields : b7 b6 B5 b4 b3 b2 RP RP : UDHI : SRR : VPF : RD : MTI : Note : No validity period = PCCP437 alphabet (8 bits ! 7 bits) OK Note : Command correct UDH SRR I VPF RD b1 b0 MTI Reply Path, not used in text mode. 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). Status Report Request, b5=1 if a status report is requested. This mode is supported. 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. Reject Duplicates, b2=1 to instruct the SC to reject an SMS-SUBMIT for an SM still held in the SC which has the same and the same as the previously submitted SM from the same . 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) Page : 100 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 In text mode is only coded in “relative” format. The default value is 167 (24 hours). This means that one byte can describe different values : VP value Validity period value 0 to 143 (VP + 1) x 5 minutes (up to 12 hours) 144 to 167 12 hours + ( (VP – 143) x 30 minutes ) 168 to 196 (VP – 166) x 1 day 197 to 255 (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 (European Radio Messaging System). is used to determine the way the information is encoded. Compressed text is not supported. Only GSM default alphabet, 8 bit data and UCS2 alphabet are supported. Page : 101 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.16 9.16.1 Delete message +CMGD Description : This command is used to delete one or several messages from preferred message storage (“BM” SMS CB ‘RAM storage’, “SM” SMSPP storage ‘SIM storage’ or “SR” SMS Status-Report storage). 9.16.2 Syntax : Command syntax : AT+CMGD= [,] Command Possible responses AT+CMGR=3 Note : Read it AT+CMGD=3 Note : Delete it AT+CMGD=1,0 AT+CMGD=1,1 AT+CMGD=1,2 AT+CMGD=1,3 AT+CMGD=1,4 +CMTI:”SM”,3 Note : New message received +CMGR: “REC UNREAD”,”0146290800”, “98/10/01,18 :19 :20+00” Message received! Note : Unread message received from 0146290800 on the 01/10/1998 at 18H19m 20s OK Note : Message deleted OK Note : The message from the preferred message storage at the location 1 is deleted OK Note : All READ messages from the preferred message storage are deleted OK Note : All READ messages and SENT mobile originated messages are deleted OK Note : All READ, SENT and UNSENT messages are deleted OK Note : All messages are deleted Page : 102 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.16.3 Defined values (1-20) 0 1 2 3 4 When the preferred message storage is “BM” Integer type values in the range of location numbers of SIM Message memory when the preferred message storage is “SM” or “SR”. Delete Delete Delete Delete Delete message at location . All READ messages All READ and SENT messages All READ, SENT and UNSENT messages All messages. Note : when the preferred message storage is “SR”, as SMS status reports are assumed to have a “READ” status, if is greater than 0, all SMS status reports will be deleted. 9.17 Service center address +CSCA 9.17.1 Description This command is used to indicate to which service center the message must be sent. The product 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. Therefore, the application must indicate the SC address when initialising the SMS. This address is then permanently valid. The application may change it if necessary. 9.17.2 Syntax : Command syntax : AT+CSCA= Command AT+CMGS= “+33146290800” Hello, how are you? Note : Send a message AT+CSCA=”0696741234” Note : Service center initialization AT+CMGS=”+33146290800” Happy Birthday ! Note : 9.17.3 Possible responses +CMS ERROR: 330 Note : service center unknown OK Note : +CMGS: 1 OK Note : Successful transmission Defined values : See above descriptions Page : 103 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.18 9.18.1 Select Cell Broadcast Message Types +CSCB Description This command selects which types of CBMs are to be received by the ME. It is allowed in both PDU and text modes. 9.18.2 Syntax : Command syntax : AT+CSCB= , [ , [ ] ] Important note : Test read command (AT+CSCB ?) is not supported. Command Possible responses AT+CSCB=0,”15-17,50,86”,”” OK Note : Accept SMS-CB types, 15,16,17,50 and 86 in any language Note : CBMs can be received +CBM : 10 00112233445566778899 AT+CSCB=1 Note : Deactivate the reception of CBMs 9.18.3 Note : CBM length of a received Cell Broadcast message (SMS-CB), CBM bytes in PDU mode) OK Note : CBM reception is completely stopped Defined values : The parameter of +CNMI command controls the message indication. 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 to which type of message identifiers the ME should listen. : Supported languages 0 German 1 English 2 Italian 3 French 4 Spanish 5 Dutch 6 Swedish 7 Danish 8 Portuguese 9 Finnish 10 Norwegian 11 Greek 12 Turkish 13 Hungarian 14 Polish 32 Czech. Page : 104 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.19 9.19.1 Cell Broadcast Message Identifiers +WCBM Description : This specific command is used to read the EF-CBMI SIM file. Remark: The EF-CBMI file is not used with the +CSCB command. The application should read this file (using AT+WCBM ?) and combine the Message Identifiers with those required by the application. 9.19.2 Syntax : Command syntax : AT+WCBM= Command Possible responses AT+WCBM=”10,100,1000,10000” OK Note : Write 4 messages identifiers in EFCBMI AT+WCBM? Note : Read the CBMIs in EF-CBMI 9.19.3 Note : CBMIs are stored in EF-CBMI +WCBM=”10,100,1000,100000” OK Note : 4 CBMIs are stored in EF-CBMI Defined values : See above descriptions Page : 105 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.20 9.20.1 Message status modification +WMSC Description This commands allow the manipulation of a message status. The accepted status changes are from READ to NOT READ and vice versa, and from SENT to NOT SENT and vice versa. 9.20.2 Syntax: Command syntax : AT+WMSC= , Command Possible responses +CMGR: ”REC READ”,”+336290918”,,”99/05/01 14:19:44+04” Hello All of you ! OK AT+CMGR=2 AT+WMSC=2,“REC UNREAD” +CMGR: ”REC UNREAD”,”+336290918”,,”99/05/01 14:19:44+04” Hello All of you ! OK AT+CMGR=2 Possible responses: OK +CMS ERROR: 321 +CMS ERROR: 302 Note 1 : if the location is valid if is invalid or free if the new and the previous one are incompatible (1) If all the parameters are correct, the product overwrites the whole SMS in SIM. Only the first byte (Status byte) is changed. 9.20.3 Defined values : location number of the stored message (integer) new status to be stored, as for +CMGL command : PDU Mode 0 1 2 3 Text Mode “REC UNREAD” “REC READ” “STO UNSENT” “STO SENT” Page : 106 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.21 9.21.1 Message overwriting +WMGO Description : The WMGO command is used to specify a location in the SIM, for the next SMS storing with +CMGW command. The defined location is used only once : +WMGO has to be used again to perform another overwrite. Important notes : • If the external application specifies a free location, and an incoming message is received before the AT+CMGW command occurs, the product may store the incoming message at the specified available location. If the user then issues an AT+CMGW command without changing the location with another AT+WMGO, the received message will be overwritten. • The location number is not kept over a software reset. 9.21.2 Syntax : Command syntax : AT+WMGO= Command AT+CMGW=”+33146290800” Hello how are you ? Possible responses +CMGW: 4 Note : Write a message in text mode OK AT+WMGO=4 AT+CMGW=”+33146299704” You are overwritten +CMGW: 4 AT+WMGO? AT+WMGO=999 AT+WMGO=? Note : Message stored in index 4 OK Note : New Message stored in index 4 +WMGO: 4 OK +CMS ERROR: 321 +WMGO: [] OK 9.21.3 Defined values : location number of the SIM record to write or overwrite. Number depending of the SIM capacity. Page : 107 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 9.22 9.22.1 Unchange SMS Status +WUSS Description : The +WUSS command allows to keep the SMS Status to UNREAD after +CMGR or +CMGL. 9.22.2 Syntax : Command syntax : AT+WUSS = Command AT+WUSS=1 Possible responses OK +CMTI: "SM",10 Note : SMS has been received in index 10 +CMGR: "REC UNREAD","+33660669023",,"03/02/13,18: 36:35+00" Do you want to change state ? AT+CMGR=10 OK AT+CMGR=10 +CMGR: "REC UNREAD","+33660669023",,"03/02/13,18: 36:35+00" Do you want to change state ? OK Note : The state hasn’t be updated OK +CMTI: "SM",11 Note : SMS has been received in index 11 +CMGR: "REC UNREAD","+33660669023",,"03/02/13,18: 56:55+00" It is me again. AT+WUSS=0 AT+CMGR=10 OK AT+CMGR=10 +CMGR: "REC READ","+33660669023",,"03/02/13,18:56: 55+00" It is me again. OK Note : The state has been updated 9.22.3 Defined values : : 1 : 0 The SMS Status will not change. The SMS Status will change. Page : 108 / 335 confidential © This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable. WM_ASW_OAT_UGD_004- 011 20 June 2003 10 Supplementary Services commands 10.1 Call forwarding +CCFC 10.1.1 Description : This commands allows control of the "call forwarding" supplementary service. 10.1.2 Syntax : Command syntax : AT+CCFC= , [, [, [, [, [, [,