Transcript
  • AT COMMANDSINTERFACE GUIDE

  • confidential This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulgedwithout prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peuttre communiqu ou divulgu des tiers sans son autorisation pralable.

  • AT COMMANDSINTERFACE GUIDEatVersion: 006Date: September, 04th 2002Reference: WM_SW_OAT_IFS_001

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 2 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    Level Date History of the evolution 001/9.1 01/11/01 Full revision 002 27/02/02 +VGR correction 19/12/01 Add parameter to +WSST

    Format modification

    28/01/02 Update +Wopen to erase the objects flash of Open-AT embedded application

    29/01/02 New commands : +WBM (Serial bus management) +WBR (Serial bus read) +WBW (Serial bus write)

    18/02/02 Modifications on Gpio and Bus commands +CMER always allowed

    22/02/02 Addendum about Test SIM card (with MCC=001 & MNC=01) for +CLCK & +WLCK commands.

    Max read/write length is 256 bytes for +WBW & +WBR commands.

    003 27/02/02 New commands: +WATH(hang-up precising release cause) +WLOC (location) add wind level: level 11 for checksum of phonebooks level 12 for interrupt new fetures: loca and interrupt

    02/04/02 +ATO correction 004 05/04/02 +WBW / +WBR parameters modification 005 03/05/02 GPRS commands

    New commands : Write IMEI +WIMEI +CPLS (Selection of preferred PLMN list) Update : +CPOL +CMER +CPLW +CGSN +WFM

    25/06/02 Update description of power down mode, +WCDP, +CRMP, and description of autobauding feature

    26/06/02 Update +ECHO command 28/06/02 +VGT correction 01/07/02 Add CME ERROR: 27,

    +ICF correction, +VIP correction, +SPEAKER correction

    25/07/02 Update +CCFC command Change value for class parameter

    06/08/02 Update +VGT command 006 19/08/02 Correct DOPT description

    Add details for AT&F Correct AT%C default value in table 19.10

    28/08/02 Update Table 19.10 for +CPHS command. ,0 instead 0 in Default Values

    28/08/02 Add many OK that were forgotten in AT responses Correct AT+DR=? response

    29/08/02 Add optional lac parameter for AT+WOPN

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 3 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    Contents

    1 Introduction ............................................................................. 13

    1.1 Scope of this document.........................................................................13 1.2 Related documents................................................................................13 1.3 ETSI secretariat .....................................................................................13 1.4 Definitions.............................................................................................14

    2 AT commands features............................................................. 15

    2.1 Wavecom line settings ..........................................................................15 2.2 Command line .......................................................................................15 2.3 Information responses and result codes ................................................15

    3 General behaviors ..................................................................... 16

    3.1 SIM Insertion, SIM Removal ..................................................................16 3.2 Background initialization .......................................................................16

    4 General commands ................................................................... 17

    4.1 Manufacturer identification +CGMI ......................................................17 4.2 Request model identification +CGMM..................................................17 4.3 Request revision identification +CGMR ................................................17 4.4 Product Serial Number +CGSN.............................................................18 4.5 Select TE character set +CSCS .............................................................18 4.6 Wavecom Phonebook Character Set +WPCS........................................19 4.7 Request IMSI +CIMI .............................................................................19 4.8 Card Identification +CCID .....................................................................20 4.9 Capabilities list +GCAP.........................................................................20 4.10 Repeat last command A/.......................................................................21 4.11 Power off +CPOF..................................................................................21

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 4 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    4.12 Set phone functionality +CFUN ............................................................21 4.13 Phone activity status +CPAS ................................................................22 4.14 Report Mobile Equipment errors +CMEE ..............................................23 4.15 Keypad control +CKPD .........................................................................23 4.16 Clock Management +CCLK ...................................................................24 4.17 Alarm Management +CALA..................................................................24 4.18 Ring Melody Playback +CRMP .............................................................25 4.19 Ringer Sound Level +CRSL ...................................................................27

    5 Call Control commands ............................................................ 28

    5.1 Dial command D....................................................................................28 5.2 Hang-Up command H...........................................................................30 5.3 Answer a call A ....................................................................................30 5.4 Remote disconnection ...........................................................................30 5.5 Extended error report +CEER................................................................31 5.6 DTMF signals +VTD, +VTS ..................................................................31 5.7 Redial last telephone number ATDL......................................................32 5.8 Automatic dialing with DTR AT%Dn.....................................................33 5.9 Automatic answer ATS0 ......................................................................34 5.10 Incoming Call Bearer +CICB .................................................................34 5.11 Single Numbering Scheme +CSNS .......................................................35 5.12 Gain control +VGR, +VGT.....................................................................35 5.13 Microphone Mute Control +CMUT .......................................................37 5.14 Speaker & Microphone selection +SPEAKER ........................................38 5.15 Echo Cancellation +ECHO.....................................................................39 5.16 SideTone modification +SIDET .............................................................41 5.17 Initialize Voice Parameters +VIP............................................................41

    6 Network service commands ..................................................... 43

    6.1 Signal Quality +CSQ.............................................................................43 6.2 Operator selection +COPS....................................................................43 6.3 Network registration +CREG ................................................................46 6.4 Read operator name +WOPN ...............................................................47

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 5 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    6.5 Selection of Preferred PLMN list +CPLS................................................47 6.6 Preferred operator list +CPOL ...............................................................48

    7 Security commands .................................................................. 52

    7.1 Enter PIN +CPIN...................................................................................52 7.2 Enter PIN2 +CPIN2...............................................................................54 7.3 PIN remaining attempt number +CPINC ...............................................55 7.4 Facility lock +CLCK...............................................................................56 7.5 Change password +CPWD...................................................................57

    8 Phonebook commands ............................................................. 59

    8.1 Select phonebook memory storage +CPBS...........................................59 8.2 Read phonebook entries +CPBR ...........................................................60 8.3 Find phonebook entries +CPBF ............................................................60 8.4 Write phonebook entry +CPBW............................................................61 8.5 Phonebook phone search +CPBP .........................................................63 8.6 Move action in phonebook +CPBN.......................................................64 8.7 Subscriber number +CNUM .................................................................66 8.8 Avoid phonebook init +WAIP................................................................66 8.9 Delete Calls Phonebook +WDCP............................................................67 8.10 Set Voice Mail Number +CSVM.............................................................68

    9 Short Messages commands...................................................... 69

    9.1 Parameters definition ............................................................................69 9.2 Select message service +CSMS ...........................................................69 9.3 New Message Acknowledgement +CNMA...........................................70 9.4 Preferred Message Storage +CPMS .....................................................71 9.5 Preferred Message Format +CMGF ......................................................73 9.6 Save Settings +CSAS ...........................................................................74 9.7 Restore settings +CRES........................................................................74 9.8 Show text mode parameters +CSDH....................................................75 9.9 New message indication +CNMI ..........................................................75

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 6 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    9.10 Read message +CMGR.........................................................................77 9.11 List message +CMGL ...........................................................................79 9.12 Send message +CMGS.........................................................................80 9.13 Write Message to Memory +CMGW.....................................................81 9.14 Send Message From Storage +CMSS...................................................82 9.15 Set Text Mode Parameters +CSMP ......................................................82 9.16 Delete message +CMGD ......................................................................83 9.17 Service center address +CSCA .............................................................85 9.18 Select Cell Broadcast Message Types +CSCB.......................................85 9.19 Cell Broadcast Message Identifiers +WCBM.........................................86 9.20 Message status modification +WMSC..................................................86 9.21 Message overwriting +WMGO.............................................................87 9.22 Unchange SMS Status +WUSS.............................................................87

    10 Supplementary Services commands ......................................... 89

    10.1 Call forwarding +CCFC.........................................................................89 10.2 Call barring +CLCK ...............................................................................90 10.3 Modify SS password +CPWD...............................................................91 10.4 Call waiting +CCWA.............................................................................91 10.5 Calling line identification restriction +CLIR............................................93 10.6 Calling line identification presentation +CLIP ........................................93 10.7 Connected line identification presentation +COLP ................................94 10.8 Advice of charge +CAOC ......................................................................95 10.9 Accumulated call meter +CACM...........................................................96 10.10 Accumulated call meter maximum +CAMM.........................................97 10.11 Price per unit and currency table +CPUC..............................................98 10.12 Call related supplementary services +CHLD..........................................98 10.13 List current calls +CLCC ........................................................................99 10.14 Supplementary service notifications +CSSN .......................................100 10.15 Unstructured supplementary service data +CUSD..............................101 10.16 Closed user group +CCUG..................................................................102

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 7 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    11 Data commands ..................................................................... 104

    11.1 Using AT Commands during a data connection...................................104 11.2 Bearer type selection +CBST ..............................................................104 11.3 Select mode +FCLASS........................................................................106 11.4 Service reporting control +CR.............................................................106 11.5 Cellular result codes +CRC .................................................................107 11.6 DTE-DCE local rate reporting +ILRR ....................................................107 11.7 Radio link protocol parameters +CRLP................................................108 11.8 Others radio link parameters +DOPT ..................................................109 11.9 Select data compression %C...............................................................109 11.10 V42 bis data compression +DS ..........................................................110 11.11 V42 bis data compression report +DR ................................................111 11.12 Select data error correcting mode \N...................................................112

    12 Fax commands ....................................................................... 113

    12.1 Transmit speed +FTM........................................................................113 12.2 Receive speed +FRM..........................................................................113 12.3 HDLC transmit speed +FTH................................................................114 12.4 HDLC receive speed +FRH..................................................................114 12.5 Stop transmission and wait +FTS ......................................................115 12.6 Receive silence +FRS..........................................................................115 12.7 Setting up the PC fax application:........................................................116

    13 Fax class 2 commands............................................................ 117

    13.1 Transmit Data +FDT...........................................................................117 13.2 Receive Data +FDR.............................................................................117 13.3 Transmit page ponctuation +FET .......................................................117 13.4 Page transfer status parameters +FPTS .............................................118 13.5 Terminate Session +FK.......................................................................118 13.6 Page transfer bit order +FBOR............................................................118 13.7 Buffer size report +FBUF ....................................................................119

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 8 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    13.8 Copy quality checking +FCQ...............................................................119 13.9 Capability to receive +FCR..................................................................120 13.10 Current sessions parameters +FDIS ...................................................120 13.11 DCE capabilities parameters +FDCC ...................................................122 13.12 Local ID string +FLID..........................................................................122 13.13 Page transfer timeout parameter +FPHCTO........................................123 13.14 Fax Class 2 indication messages .........................................................123

    14 V24-V25 commands ............................................................... 125

    14.1 Fixed DTE rate +IPR ...........................................................................125 14.2 DTE-DCE character framing +ICF .......................................................126 14.3 DTE-DCE local flow control +IFC .......................................................127 14.4 Set DCD signal &C .............................................................................128 14.5 Set DTR signal &D..............................................................................128 14.6 Set DSR signal &S..............................................................................128 14.7 Back to online mode O........................................................................129 14.8 Result code suppression Q .................................................................129 14.9 DCE response format V......................................................................129 14.10 Default configuration Z .......................................................................130 14.11 Save configuration &W.......................................................................130 14.12 Auto-tests &T.....................................................................................131 14.13 Echo E ................................................................................................131 14.14 Restore factory settings &F ................................................................131 14.15 Display configuration &V....................................................................132 14.16 Request identification information I ....................................................132 14.17 Data / Commands Multiplexing +WMUX............................................133

    15 Specific AT commands ........................................................... 135

    15.1 Cell environment description +CCED ..................................................135 15.2 Automatic RxLev indication +CCED....................................................136 15.3 General Indications +WIND ................................................................136 15.4 Analog digital converters measurements +ADC..................................138 15.5 Mobile Equipment event reporting +CMER.........................................139

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 9 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    15.6 Read Language Preference +WLPR.....................................................140 15.7 Write Language Preference +WLPW...................................................140 15.8 Read GPIO value +WIOR ....................................................................141 15.9 Write GPIO value +WIOW...................................................................142 15.10 Input/Output Management +WIOM....................................................142 15.11 Abort command +WAC ......................................................................143 15.12 Play tone +WTONE.............................................................................144 15.13 Play DTMF tone +WDTMF .................................................................145 15.14 Wavecom Downloading +WDWL .......................................................146 15.15 Wavecom Voice Rate +WVR...............................................................147 15.16 Data Rate +WDR ...............................................................................148 15.17 Hardware Version +WHWV ................................................................148 15.18 Date of Production +WDOP................................................................149 15.19 Wavecom Select Voice Gain +WSVG...................................................149 15.20 Wavecom Status Request +WSTR ......................................................150 15.21 Wavecom Scan +WSCAN....................................................................151 15.22 Wavecom Ring Indicator Mode +WRIM...............................................152 15.23 Wavecom 32kHz Power down Mode +W32K......................................153 15.24 Wavecom Change Default Melody +WCDM ........................................153 15.25 Wavecom Software version +WSSW..................................................154 15.26 Wavecom Custom Character Set +WCCS............................................155 15.27 Wavecom LoCK +WLCK .....................................................................156 15.28 CPHS command +CPHS.....................................................................157 15.29 Unsolicited result : Wavecom Voice Mail Indicator +WVMI.................158 15.30 Wavecom Battery Charge Management +WBCM...............................159 15.31 Features Management +WFM............................................................162 15.32 Commercial Features Management +WCFM ......................................164 15.33 Wavecom Customer storage mirror +WMIR .......................................165 15.34 Wavecom Change Default Player +WCDP ..........................................166 15.35 Wavecom CPHS Mail Box Number +WMBN ......................................166 15.36 Wavecom Open AT control command +WOPEN ................................167 15.37 Wavecom Reset +WRST....................................................................169 15.38 Set Standard Tone +WSST.................................................................170 15.39 Wavecom Location +WLOC................................................................170 15.40 Wavecom Bus Read +WBR ................................................................173 15.41 Wavecom Bus Write +WBW...............................................................174

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 10 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    15.42 Wavecom Bus Management +WBM ..................................................176 15.43 Wavecom Hang-up +WATH ...............................................................177 15.44 Write IMEI +WIMEI ............................................................................178

    16 SIM TOOLKIT .......................................................................... 180

    16.1 Overview of SIM Application ToolKit ...................................................180 16.2 Messages exchanged during a SIM ToolKit operation. ........................182 16.3 SIM TOOLKIT COMMANDS.................................................................183

    17 GPRS commands .................................................................... 195

    17.1 Define PDP Context +CGDCONT .........................................................195 17.2 Quality of Service Profile (Requested) +CGQREQ .................................198 17.3 Quality of Service Profile (Minimum acceptable) +CGQMIN.................204 17.4 GPRS attach or detach +CGATT ..........................................................206 17.5 PDP context activate or deactivate +CGACT........................................207 17.6 Enter data state +CGDATA..................................................................209 17.7 GPRS mobile station class +CGCLASS ................................................211 17.8 Select service for MO SMS messages +CGSMS ..................................214 17.9 GPRS event reporting +CGEREP ..........................................................215 17.10 GPRS network registration status +CGREG .........................................217 17.11 Request GPRS IP service 'D' .................................................................218 17.12 Network requested PDP context activation..........................................219 17.13 Automatic response to a network request for PDP context activation +CGAUTO .....................................................................................................220 17.14 Manual response to a network request for PDP context activation +CGANS ......................................................................................................222 17.15 Show PDP address +CGPADDR ..........................................................224 17.16 Cellular result codes +CRC ..................................................................225 17.17 Service reporting control +CR.............................................................226 17.18 Extended error report +CEER..............................................................227 17.19 PDP Counters Infos +CGCOUNTERS ...................................................228 17.20 GPRS PARAMETERS CUSTO : +WGPRS .............................................229 17.21 GPRS-related errors +CME ERROR: ........................................231 17.22 Specific GPRS Failure Cause for +CEER ...............................................232

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 11 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    17.23 Full AT commands examples...............................................................233

    18 Other AT commands............................................................... 235

    18.1 V.25 ter recommendation ....................................................................235 18.2 GSM 07.05 recommendation...............................................................235 18.3 GSM 07.07 recommendation...............................................................235

    19 Appendices............................................................................. 236

    19.1 ME error result code : +CME ERROR: .....................................236 19.2 Message service failure result code: +CMS ERROR : ..................238 19.3 Specific error result codes ...................................................................238 19.4 Failure Cause from GSM 04.08 recommendation (+CEER)...................239 19.5 Specific Failure Cause for +CEER.........................................................240 19.6 GSM 04.11 Annex E-2: Mobile originating SM-transfer......................240 19.7 Unsolicited result codes.......................................................................242 19.8 Final result codes ................................................................................242 19.9 Intermediate result codes ....................................................................243 19.10 Parameters storage .............................................................................244 19.11 GSM sequences list.............................................................................247 19.12 Operator names...................................................................................250 19.13 Data / Commands multiplexing protocol ..............................................258

    20 APPENDIX A (informative) ...................................................... 261

    20.1 Examples with the PIN required ..........................................................261 20.2 Examples about phonebooks...............................................................263 20.3 Examples about short messages .........................................................264 20.4 Examples about Fax class 2 ................................................................265

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 12 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    21 APPENDIX B: Support of SIM ToolKit by The M.E. .................. 267

    22 APPENDIX C: Structure of TERMINAL PROFILE....................... 269

    23 APPENDIX D: Command Type and Next Action Indicator........ 271

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

    25 APPENDIX F: Specification of Power Down Control via RS232 ........................................................................................ 274

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

    26.1 General commands..............................................................................276 26.2 Call Control commands .......................................................................276 26.3 Network service commands ................................................................277 26.4 Security commands.............................................................................277 26.5 Phonebook commands ........................................................................277 26.6 Short Messages commands ................................................................277 26.7 Supplementary Services commands....................................................278 26.8 Data commands ..................................................................................278 26.9 Fax commands....................................................................................278 26.10 Class 2 Commands..............................................................................279 26.11 V24-V25 commands............................................................................279 26.12 Specific AT commands........................................................................280 26.13 SIM Toolkit commands........................................................................280 WAVECOM, WISMO are trademarks or registered trademarks of Wavecom S.A. All other company and/or product names mentioned may be trademarks or registered trademarks of their respective owners.

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 13 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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.

    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 [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: [email protected] Tel: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 14 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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.

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 15 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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, an ERROR string is returned. If command syntax is correct but with some incorrect parameters, the

    +CME ERROR: or +CMS ERROR: strings are returned with different error codes.

    If the command line has been performed 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.

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 16 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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 given immediately due to background initialization. Between the hardware SIM detect pin indicating present and the previous 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.

    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 comes just after the PIN is checked. After this response user data is loaded (in background). This means that some data may not be available just after 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, 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.

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 17 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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 Possible responses

    AT+CGMI Note : Get manufacturer identification

    WAVECOM MODEM OK Note : Command valid, Wavecom modem

    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 Possible responses

    AT+CGMM Note : Get hardware version

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

    4.3 Request revision identification +CGMR

    4.3.1 Description :

    This command is used to get the revised software version.

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 18 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    4.3.2 Syntax :

    Command syntax : AT+CGMR Command Possible responses

    AT+CGMR Note : Get software version

    310_G250.51 806216 032199 17:04 OK Note : Software release 3.10, revision 51 generated on the 21st of March 1999

    4.4 Product Serial Number +CGSN

    4.4.1 Description :

    This command allows the user application to get the IMEI (International Mobile Equipment Identity) of the product.

    4.4.2 Syntax :

    Command syntax : AT+CGSN Command Possible responses

    AT+CGSN Note : Get the IMEI

    012345678901234 OK Note : IMEI read from EEPROM

    AT+CGSN Note : Get the IMEI

    +CME ERROR: 22 Note : IMEI not found in EEPROM

    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

    OK Note : Command valid

    AT+CSCS=PCCP437 Note : PC character set code page 437

    OK Note : Command valid

    AT+CSCS=? Note : Get possible values

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

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 19 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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.

    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

    OK Note : Command valid

    AT+WPCS=CUSTOM Note : Custom character set

    OK Note : Command valid

    AT+WPCS=? Note : Get possible values

    +WPCS: ("TRANSPARENT","HEX","CUSTOM") OK Note : Possible values

    4.6.3 Defined values :

    TRANSPARENT Transparent mode. The strings are displayed and entered

    as they are stored in SIM or in ME. CUSTOM User defined character set (cf. +WCCS command). HEX Hexadecimal mode. No character set used ; the user can

    read or write hexadecimal values.

    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.

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 20 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    4.7.2 Syntax

    Command syntax : AT+CIMI Command Possible responses

    AT+CIMI Note : Read the IMSI

    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.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 Note : Get card ID

    +CCID: 123456789AB111213141 Note : EF-CCID is present, hexadecimal format

    AT+CCID? Note : Get current value

    + CCID: 123456789AB111213141 Note : Same result as +CCID

    AT+CCID= ? Note : Get possible value

    OK Note : No parameter but this command is valid

    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 Possible responses

    AT+GCAP Note : Get capabilities list

    +GCAP: +CGSM +FCLASS OK Note : Supports GSM and FAX commands

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 21 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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.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 Note : Stop GSM stack

    OK Note : Command valid

    4.12 Set phone functionality +CFUN

    4.12.1 Description :

    This command selects the mobile stations 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.

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 22 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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 Note : Full functionality

    AT+CFUN=0 Note : Set minimum functionality, IMSI detach procedure

    OK Note : Command valid

    AT+CFUN=1 Note : Set the full functionality mode with a complete software reset

    OK Note : Command valid

    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 Possible responses

    AT+CPAS Note : Current activity status

    +CPAS: OK

    4.13.3 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)

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 23 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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 0 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

    OK

    AT+CMEE=1 Note : Enable +CME ERROR: or +CMS ERROR:

    OK

    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: : string of the following characters (0-9,*,#). 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# Note : Check every call forwarding status

    +CCFC: 0,7

    AT+CKPD=1234 Note : Sequence not allowed

    +CME ERROR 3

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 24 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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 real-time clock. 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).

    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

    OK Note : Date/Time stored

    AT+CCLK=00/13/13,12:00:00 Note : Incorrect month entered

    +CME ERROR 3

    AT+CCLK? Note : Get current date and time

    +CCLK: 00/06/09,17:34:23 OK Note : current date is June 9th, 2000 current time is 5:34:23 pm

    4.17 Alarm Management +CALA

    4.17.1 Description :

    This command is used to set alarms date/time in the ME. String format for alarms : yy/MM/dd,hh:mm:ss (see +CCLK). The maximum number of alarms is 16. Seconds are not taken into account.

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 25 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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

    OK Note : Alarm stored

    AT+CALA=99/03/05,13:00:00 Note : set an alarm for March 5th, 1999 at 1:00 pm

    +CME ERROR 3 Note : Invalid alarm (date/time expired)

    AT+CALA? Note : list all alarms

    +CALA: 00/06/08,15:25:00,0 +CALA: 00/06/09,07:30:00,1 +CALA: 00/06/10,23:59:00,2 Note : three alarms are set (index 0, 1, 2)

    +CALA: 00/06/08,15:25:00,0 Note : an alarm occurs (index 0)

    AT+CALA=,2 Note : delete alarm index 2

    OK Note : Alarm index 2 deleted

    AT+CALA? Note : list all alarms

    +CALA: 00/06/09,07:30:00,1 Note : Only one alarm (index 1)

    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.

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 26 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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.

    OK Note : Melody Playback.

    AT+CRMP=0,,,0 Note : Stop the melody.

    OK Note : The melody is stopped.

    AT+CRMP=? Note : supported parameters

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

    4.18.3 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)

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 27 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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.

    OK Note : Current ring playing with Min. volume.

    AT+CRSL=15 Note : Set volume to Max.

    OK Note : Current ring playing with Max. volume.

    AT+CRSL? Note : get current ringer sound level

    +CRSL: 15 OK Note : Current level is 15 (max.)

    AT+CRSL=? Note : supported parameters

    +CRSL: (0-15) OK

    4.19.3 Defined values :

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

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 28 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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 code

    Numeric code (with ATV0 set)

    Description

    OK 0 if the call succeeds, for voice call only CONNECT

    10,11,12,13,14,15

    if the call succeeds, for data calls only, takes the value negotiated by the 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.

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 29 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    5.1.2 Syntax :

    Command syntax : ATD[][;] ATD>[][][;] ATD>[][][;] Command Possible responses

    AT+CPBS? Note : Which phonebook is selected ?

    +CPBS:SM,8,10 Note : ADN phonebook is selected, 8 locations are used and 10 locations are available

    ATD>SM6; Note : Call index 6 from AND phonebook

    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# Note : Check any call forwarding status

    +CCFC: 0,7 Note : No call forwarding

    ATD**61*+33146290800**25# Note : Register call forwarding on no reply, with no reply timer fixed at 25 s.

    OK Note : done

    ATD*2# Note : Bad sequence

    +CME ERROR 3

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 30 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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 Note : Ask for disconnection

    OK Note : Every call, if any, are released

    ATH1 Note : Ask for outgoing call disconnection

    OK Note : Outgoing call, if any, is released

    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 Note : Answer to this incoming call

    OK Note : Call accepted

    ATH Note : Disconnect call

    OK Note : Call disconnected

    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.

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 31 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    In addition, for AOC, the product can release the call if credit has expired (release cause 68 with +CEER command).

    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; Note : Outgoing voice call

    NO CARRIER Note : Call setup failure

    AT+CEER Note : Ask for reason of release

    +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.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). To define this duration, the application uses: AT+VTD= where *100 gives the duration in ms. If n < 4, tone duration is 300 ms.

    5.6.2 +VTD Syntax :

    Command syntax : AT+VTD= Command Possible responses

    AT+VTD=6 Note : To define 600 ms tone duration

    OK Note : Command valid

    AT+VTD=0 Note : To set the default value

    OK

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 32 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    5.6.3 +VTS Description :

    The product enables the user application to send DTMF tones over the GSM network. This command enables tones to be transmitted. To transmit DTMF tones (only when there is an active call), the application uses: AT+VTS= where is in {0-9,*,#,A,B,C,D}

    5.6.4 +VTS Syntax :

    Command syntax : AT+VTS= Command Possible responses

    AT+VTS=A

    OK Note : Command valid

    AT+VTS=11 Note : To set the default value

    +CME ERROR: 4 Note : If the is wrong

    AT+VTS=4

    +CME ERROR: 3 Note : If there is no communication

    5.6.5 Informative example :

    To send tone sequence 13#, the application sends : AT+VTS=1;+VTS=3;+VTS=# OK

    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 Possible responses

    ATDL Note : Redial last number

    0146290800; OK Note : Last call was a voice call. Command valid

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 33 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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; Note : Activates DTR number dialling

    OK Note : Command has been executed

    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

    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.

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 34 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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 Note : Automatic answer after 2 rings

    OK

    ATS0? Note : Current value

    002 OK Note : always 3 characters padded with zeros

    ATS0=0 Note : No automatic answer

    OK Note : Command valid

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

    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 Note : If no incoming bearer, force a fax call

    OK Note : Command accepted

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

    OK Note : Command accepted

    AT+CICB? Note : Interrogate value

    +CICB: 2 OK Note : Default incoming bearer: voice call

    AT+CICB=? Note : Test command

    +CICB: (0-2) OK Note : Speech, data or fax default incoming bearer

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 35 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    5.10.3 Defined values :

    0 : Data 1 : Fax 2 : Speech

    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 Note : force a fax call

    OK Note : Command accepted

    AT+CSNS=0 Note : force a voice call

    OK Note : Command accepted

    AT+CSNS? Note : Interrogate value

    +CSNS: 0 OK Note : Default incoming bearer: voice call

    AT+CSNS=? Note : Test command

    +CSNS: (0,2,4) OK Note : Voice, data or fax default incoming bearer

    5.11.3 Defined values :

    0 : Voice 2 : Fax 4 : Data

    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. The application sends:

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 36 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    AT+VGR= for receive gain

    AT+VGT=

    Controller 1

    for transmit gain

    Controller 1

    AT+VGT=

    Controller 2

    for transmit gain

    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

    (*) For Wismo Quik Q22xx : 224 to 239 : -22db / 240 to 255 : -24db 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 : 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.

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 37 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    5.12.2 Syntax :

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

    AT+VGR=25

    OK Note : Command valid

    AT+VGT=45 OK Note : Command valid

    AT+VGR? Note : Interrogate value

    +VGR: 64 OK Note : Default receive gain

    AT+VGR=? Note : Test command

    +VGR : (0-255) OK Note : Possible values

    AT+VGT? Note : Interrogate value

    +VGT: 64 OK Note : Default transmit gain

    AT+VGT=? Note : Test command

    +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.

    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=

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 38 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    Command Possible responses

    AT+CMUT=? Note : Test command

    +CMUT : (0,1) OK Note : Enable / disable mute

    AT+CMUT? Note : Ask for current value

    +CMUT : 0 OK Note : Current value is OFF

    AT+CMUT=1 Note : Mute ON (call active)

    OK Note : Command valid

    AT+CMUT? Note : Ask for current value

    +CMUT : 1 OK Note : Mute is active (call active)

    AT+CMUT=0 Note : Mute OFF (call not active)

    +CME ERROR:3 Note : Command not valid

    5.13.3 Defined values :

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

    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 Note : Speaker ONE and Micro ONE

    OK Note : Command valid

    AT+SPEAKER?

    +SPEAKER: 0 OK Note : Speaker ONE and Micro ONE are active

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

    5.14.3 Defined values :

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

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 39 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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

    OK

    AT+SPEAKER?

    + SPEAKER: 0 OK Note : Speaker ONE and Micro ONE are active

    AT+SIDET=0 Note: Deactivate the Sidetone

    OK

    AT+SIDET? +SIDET: 0,0 AT+ECHO? Note : Read current settings

    +ECHO: 0,1,0,3,10,7 OK

    AT+ECHO=1,1,0,3,10,7 Note : Active Echo cancellation 1 for Mic/Spk one.

    OK

    AT+ECHO? Note : Read current settings

    +ECHO: 1,1,0,3,10,7 OK

    AT+ECHO=1,3,30,8000,256 Note : Activate the Echo cancellation 3

    +CME ERROR: 519 Note : The new algorithm will be activated after a reset of the product

    AT+ECHO? Note : Read the Echo cancellation settings

    +ECHO: 3,3,30,8000,256 OK

    AT+CFUN=1 Note: Reset the product

    OK

    AT+ECHO? Note : Read current settings

    +ECHO: 1,3,30,8000,256 OK

    AT+ECHO=0 Note: Deactivate the Echo Cancellation

    OK

    5.15.3 Defined values:

    0 : Deactivate Echo 1 : Activate Echo

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 40 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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) Echo Cancellation 3 (3 parameters) : high value leads to high echo attenuation but the full-duplex 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 Echo-256 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.

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 41 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    0 Echo Deactivated. 1 Echo Activated for Mic/Spk one. 2 Echo Activated for Mic/Spk two. 3 Reset the product. PS: You can activate/deactivate the echo cancellation during a call without resetting the product if the parameter is not changed.

    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 Note : Command valid

    AT+SIDET? Note : Current value

    +SIDET: 1,0 OK Note : Command valid

    5.16.3 Defined values :

    0: SideTone is disabled 1: SideTone is enabled 0: 0 db 1: - 6 db 2: - 12 db 3: - 18 db

    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), Microphone mute control (+CMUT command), Speaker & Microphone selection (+SPEAKER command), Echo cancellation (+ECHO command), Side tone modification (+SIDET command).

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 42 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    5.17.2 Syntax :

    Command syntax : AT+VIP=

    =1 Restore all voice parameters.

    Command Possible responses

    AT+VIP? +VIP: 1 OK

    AT+VIP=2 Note : Syntax error

    +CME ERROR: 3

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

    OK Note : The command has been executed

    AT+VIP=1 Note : Restore the factory settings from EEPROM with the current Echo cancellation algo (different of the default algo).

    CME ERROR: 519 Note : Reset the product to accept the new algo.

    AT+VIP=? Note : List of supported s

    +VIP: (1) OK

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 43 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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 Possible responses

    AT+CSQ

    +CSQ: , OK Note : and as defined below

    6.1.3 Defined values :

    : 0: -113 dBm or less 1: -111 dBm 30: -109 to 53 dBm 31: -51dBm or greater 99: not known or not detectable : 07: as RXQUAL values in the table GSM 05.08 99: not known or not detectable

    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.

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 44 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    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

  • AT Commands Interface Guide

    September, 04th 2002

    confidential Page : 45 / 281 This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. Ce document est la proprit exclusive de WAVECOM. Il ne peut tre communiqu ou divulgu des tiers sans son autorisation pralable.

    Command Possible responses

    AT+COPS? Note : Ask for current PLMN

    +COPS: 0,2,20801 OK Note : Home PLMN is France Telecom Orange

    AT+COPS=? Note : Ask for PLMN list

    +COPS: (2,F Itinris,Itline,20801), (3,F SFR,SFR,20810) OK Note : Home PLMN is France Telecom SFR network has been detected

    AT+COPS=1,2,20810 Note : Ask for registration on SFR network

    +CME ERROR: 32 Note : Network not allowed emergency calls only

    AT+COPS=1,1,23433 Note : Ask for registration on UK Orange network

    +CME ERROR: 529 Note : Selection failed emergency calls only

    AT+COPS=0 Note : Ask for registration on home network

    OK Note : Succeeded

    AT+COPS=3,0 Note : Set to long alphanumeric

    OK

    AT+COPS? Note : Ask for current PLMN

    +CO


Recommended