12.07.2015 Views

AT Command Set - Olitec

AT Command Set - Olitec

AT Command Set - Olitec

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>AT</strong> <strong>Command</strong> <strong>Set</strong>Document non contractuelPour toute question, contacter votre revendeurPage 1 of 207


Contents0 Version History............................................................................................. 81 Introduction ................................................................................................ 111.1 Scope of the document.................................................................................................................111.2 Supported product versions and related documents ..................................................................121.3 Conventions ..................................................................................................................................131.4 <strong>AT</strong> command syntax.....................................................................................................................131.4.1 Using parameters .........................................................................................................................131.4.2 Combining <strong>AT</strong> commands on the same command line ..............................................................141.4.3 Entering successive <strong>AT</strong> commands on separate lines ...............................................................141.5 Supported character sets .............................................................................................................151.6 Flow control...................................................................................................................................161.6.1 Software flow control (XON/OFF flow control) ............................................................................161.6.2 Hardware flow control (RTS/CTS flow control)............................................................................162 Standard V.25ter <strong>AT</strong> <strong>Command</strong>s .............................................................. 172.1 A/ Repeat previous command line..............................................................................................172.2 +++ Switch from data mode or PPP online mode to command mode......................................172.3 <strong>AT</strong>\Qn Flow control......................................................................................................................182.4 <strong>AT</strong>A Answer a call .......................................................................................................................182.5 <strong>AT</strong>D Mobile originated call to dial a number...............................................................................192.6 <strong>AT</strong>D> Originate call to phone number in memory ..............................212.7 <strong>AT</strong>D> Originate call to phone number selected from active memory.................................232.8 <strong>AT</strong>D> Originate call to phone number in memory with corresponding field.....................242.9 <strong>AT</strong>DI Mobile originated call to dialable ISDN number ........................................................252.10 <strong>AT</strong>DL Redial last telephone number used..................................................................................262.11 <strong>AT</strong>E Enable command echo .......................................................................................................272.12 <strong>AT</strong>H Disconnect existing connection ..........................................................................................272.13 <strong>AT</strong>I Display product identification information ............................................................................282.14 <strong>AT</strong>I[value] Display additional identification information..............................................................282.15 <strong>AT</strong>L <strong>Set</strong> monitor speaker loudness.............................................................................................292.16 <strong>AT</strong>M <strong>Set</strong> monitor speaker mode .................................................................................................292.17 <strong>AT</strong>O Switch from command mode to data mode / PPP online mode .......................................292.18 <strong>AT</strong>Q <strong>Set</strong> result code presentation mode ....................................................................................302.19 <strong>AT</strong>P Select pulse dialling.............................................................................................................302.20 <strong>AT</strong>S0 <strong>Set</strong> number of rings before automatically answering the call..........................................302.21 <strong>AT</strong>S3 Write command line termination character.......................................................................312.22 <strong>AT</strong>S4 <strong>Set</strong> response formatting character ...................................................................................312.23 <strong>AT</strong>S5 Write command line editing character..............................................................................312.24 <strong>AT</strong>S6 <strong>Set</strong> pause before blind dialling..........................................................................................322.25 <strong>AT</strong>S7 <strong>Set</strong> number of seconds to wait for connection completion..............................................322.26 <strong>AT</strong>S8 <strong>Set</strong> number of seconds to wait for comma dial modifier..................................................322.27 <strong>AT</strong>S10 <strong>Set</strong> disconnect delay after indicating the absence of data carrier ................................332.28 <strong>AT</strong>S18 Extended error report......................................................................................................332.29 <strong>AT</strong>T Select tone dialling...............................................................................................................332.30 <strong>AT</strong>V <strong>Set</strong> result code format mode...............................................................................................342.31 <strong>AT</strong>X <strong>Set</strong> CONNECT result code format and call monitoring .....................................................342.32 <strong>AT</strong>Z <strong>Set</strong> all current parameters to user defined profile..............................................................352.33 <strong>AT</strong>&C <strong>Set</strong> circuit Data Carrier Detect (DCD) function mode .....................................................352.34 <strong>AT</strong>&D <strong>Set</strong> circuit Data Terminal Ready (DTR) function mode...................................................36Page 2 of 207


2.35 <strong>AT</strong>&F <strong>Set</strong> all current parameters to manufacturer defaults .......................................................372.36 <strong>AT</strong>&S <strong>Set</strong> circuit Data <strong>Set</strong> Ready (DSR) function mode............................................................392.37 <strong>AT</strong>&V Display current configuration............................................................................................402.38 <strong>AT</strong>&W Store current configuration to user defined profile .........................................................412.39 <strong>AT</strong>+GCAP Request complete TA capabilities list ......................................................................422.40 <strong>AT</strong>+GMI Request manufacturer identification ............................................................................422.41 <strong>AT</strong>+GMM Request TA model identification ................................................................................422.42 <strong>AT</strong>+GMR Request TA revision identification of software status................................................432.43 <strong>AT</strong>+GSN Request TA serial number identification(IMEI)...........................................................432.44 <strong>AT</strong>+ILRR <strong>Set</strong> TE-TA local rate reporting .....................................................................................442.45 <strong>AT</strong>+IPR <strong>Set</strong> fixed local rate ..........................................................................................................452.45.1 Autobauding..................................................................................................................................463 <strong>AT</strong> <strong>Command</strong>s for FAX.............................................................................. 473.1 <strong>AT</strong>+FBADLIN Bad Line Treshold................................................................................................473.2 <strong>AT</strong>+FBADMUL Error Threshold Multiplier ..................................................................................483.3 <strong>AT</strong>+FBOR Query data bit order ..................................................................................................483.4 <strong>AT</strong>+FCIG Query or set the Local polling id.................................................................................493.5 <strong>AT</strong>+FCLASS Fax: Select, read or test service class .................................................................493.6 <strong>AT</strong>+FCQ Copy Quality Checking ................................................................................................503.7 <strong>AT</strong>+FCR Capability to receive.....................................................................................................503.8 <strong>AT</strong>+FDCC Query or set capabilities............................................................................................513.9 <strong>AT</strong>+FDFFC Data Compression Format Conversion..................................................................523.10 <strong>AT</strong>+FDIS Query or set session parameters ...............................................................................533.11 <strong>AT</strong>+FDR Begin or continue phase C data reception..................................................................543.12 <strong>AT</strong>+FDT Data Transmission........................................................................................................543.13 <strong>AT</strong>+FET End a page or document..............................................................................................553.14 <strong>AT</strong>+FK Kill operation, orderly FAX abort ....................................................................................553.15 <strong>AT</strong>+FLID Query or set the Local Id setting capabilities..............................................................553.16 <strong>AT</strong>+FMDL Identify Product Model...............................................................................................563.17 <strong>AT</strong>+FMFR Request Manufacturer Identification.........................................................................563.18 <strong>AT</strong>+FOPT <strong>Set</strong> bit order independently .......................................................................................563.19 <strong>AT</strong>+FPHCTO DTE Phase C Response Timeout .......................................................................573.20 <strong>AT</strong>+FREV Identify Product Revision...........................................................................................573.21 <strong>AT</strong>+FRH Receive Data Using HDLC Framing ...........................................................................573.22 <strong>AT</strong>+FRM Receive Data ...............................................................................................................583.23 <strong>AT</strong>+FRS Receive Silence............................................................................................................583.24 <strong>AT</strong>+FTH Transmit Data Using HDLC Framing...........................................................................583.25 <strong>AT</strong>+FTM Transmit Data...............................................................................................................593.26 <strong>AT</strong>+FTS Stop Transmission and Wait ........................................................................................593.27 <strong>AT</strong>+FVRFC Vertical resolution format conversion .....................................................................604 <strong>AT</strong> <strong>Command</strong>s originating from GSM 07.07 ............................................ 614.1 <strong>AT</strong>+CACM Accumulated call meter (ACM) reset or query ........................................................614.2 <strong>AT</strong>+CALA <strong>Set</strong> alarm time ............................................................................................................624.3 <strong>AT</strong>+CAMM Accumulated call meter maximum (ACMmax) set or query...................................654.4 <strong>AT</strong>+CAOC Advice of Charge information...................................................................................664.5 <strong>AT</strong>+CBST Select bearer service type.........................................................................................674.6 <strong>AT</strong>+CCFC Call forwarding number and conditions control........................................................684.6.1 Examples: Call forwarding............................................................................................................694.7 <strong>AT</strong>+CCLK Real Time Clock.........................................................................................................714.8 <strong>AT</strong>+CCUG: Closed User Group...................................................................................................724.9 <strong>AT</strong>+CCWA Call waiting ...............................................................................................................734.10 <strong>AT</strong>+CEER Extended error report ................................................................................................754.11 <strong>AT</strong>+CFUN <strong>Set</strong> phone functionality..............................................................................................764.11.1 Wake up the ME from SLEEP mode ...........................................................................................794.12 <strong>AT</strong>+CGMI Request manufacturer identification...........................................................................80Page 3 of 207


4.13 <strong>AT</strong>+CGMM Request model identification ...................................................................................804.14 <strong>AT</strong>+CGMR Request revision identification of software status...................................................804.15 <strong>AT</strong>+CGSN Request product serial number identification (IMEI) identical to GSN ...................814.16 <strong>AT</strong>+CHLD Call hold and multiparty..............................................................................................814.17 <strong>AT</strong>+CHUP Hang up call...............................................................................................................824.18 <strong>AT</strong>+CIMI Request international mobile subscriber identity........................................................824.19 <strong>AT</strong>+CIND Indicator control ...........................................................................................................834.20 <strong>AT</strong>+CLCC List current calls of ME..............................................................................................854.21 <strong>AT</strong>+CLCK Facility lock.................................................................................................................864.21.1 Examples: Enabling / disabling PIN 1 authentication..................................................................884.21.2 Examples: Phone lock..................................................................................................................884.21.3 Examples: Call barring .................................................................................................................914.22 <strong>AT</strong>+CLIP Calling line identification presentation........................................................................924.23 <strong>AT</strong>+CLIR Calling line identification restriction (by *# sequence)...............................................934.24 <strong>AT</strong>+CLVL Loudspeaker volume level .........................................................................................944.25 <strong>AT</strong>+CMEE Report mobile equipment error.................................................................................954.26 <strong>AT</strong>+CMER Mobile equipment event reporting............................................................................964.27 <strong>AT</strong>+CMUT Mute control...............................................................................................................984.28 <strong>AT</strong>+CMUX Enter multiplex mode................................................................................................994.28.1 Restricted use of <strong>AT</strong> commands in Multiplex mode..................................................................1004.29 <strong>AT</strong>+COPN Read operator names .............................................................................................1024.30 <strong>AT</strong>+COPS Operator selection...................................................................................................1034.31 <strong>AT</strong>+CPAS Mobile equipment activity status.............................................................................1054.32 <strong>AT</strong>+CPBR Read current phonebook entries ............................................................................1064.33 <strong>AT</strong>+CPBS Select phonebook memory storage........................................................................1074.34 <strong>AT</strong>+CPBW Write phonebook entry ...........................................................................................1084.35 <strong>AT</strong>+CPIN Enter PIN...................................................................................................................1094.35.1 What to do if PIN or password authentication fails? .................................................................1124.36 <strong>AT</strong>+CPIN2 Enter PIN2...............................................................................................................1144.37 <strong>AT</strong>+CPUC Price per unit and currency table............................................................................1164.38 <strong>AT</strong>+CPWD Change password ..................................................................................................1174.39 <strong>AT</strong>+CR Service reporting control ..............................................................................................1204.40 <strong>AT</strong>+CRC <strong>Set</strong> Cellular Result Codes for incoming call indication ............................................1214.41 <strong>AT</strong>+CREG Network registration................................................................................................1224.42 <strong>AT</strong>+CRLP Select radio link protocol param. for orig. non-transparent data call.....................1244.43 <strong>AT</strong>+CRSM Restricted SIM access............................................................................................1254.44 <strong>AT</strong>+CSCS <strong>Set</strong> TE character set................................................................................................1264.45 <strong>AT</strong>+CSNS Single Numbering Scheme .....................................................................................1274.46 <strong>AT</strong>+CSQ Signal quality..............................................................................................................1284.47 <strong>AT</strong>+CSSN Supplementary service notifications.......................................................................1294.48 <strong>AT</strong>+CUSD Unstructured supplementary service data .............................................................1304.49 <strong>AT</strong>+VTD= Tone duration.....................................................................................................1314.50 <strong>AT</strong>+VTS DTMF and tone generation ( in {0-9, *, #, A, B, C, D}).................................1314.51 <strong>AT</strong>+WS46 Select wireless network............................................................................................1325 <strong>AT</strong> commands originating from GSM 07.05 for SMS .............................1335.1 <strong>AT</strong>+CMGC Send an SMS command ........................................................................................1335.2 <strong>AT</strong>+CMGD Delete SMS message ............................................................................................1345.3 <strong>AT</strong>+CMGF Select SMS message format..................................................................................1345.4 <strong>AT</strong>+CMGL List SMS messages from preferred store ..............................................................1355.5 <strong>AT</strong>+CMGR Read SMS message ..............................................................................................1385.6 <strong>AT</strong>+CMGS Send SMS message...............................................................................................1415.7 <strong>AT</strong>+CMGW Write SMS message to memory ...........................................................................1435.8 <strong>AT</strong>+CMSS Send SMS message from storage .........................................................................1455.9 <strong>AT</strong>+CNMA New SMS message acknowledge to ME/TE, only phase 2+ ...............................1465.10 <strong>AT</strong>+CNMI New SMS message indications...............................................................................1475.11 <strong>AT</strong>+CPMS Preferred SMS message storage...........................................................................1505.12 <strong>AT</strong>+CSCA SMS service centre address...................................................................................1525.13 <strong>AT</strong>+CSCB Select cell broadcast messages .............................................................................153Page 4 of 207


5.14 <strong>AT</strong>+CSDH Show SMS text mode parameters..........................................................................1545.15 <strong>AT</strong>+CSMP <strong>Set</strong> SMS text mode parameters .............................................................................1555.16 <strong>AT</strong>+CSMS Select Message Service .........................................................................................1566 GPRS <strong>AT</strong> commands in accordance with GSM 07.07............................1576.1 <strong>Command</strong>s specific to MTs supporting GPRS..........................................................................1576.1.1 <strong>AT</strong>+CG<strong>AT</strong>T GPRS attach and detach......................................................................................1576.1.2 <strong>AT</strong>+CGACT PDP context activate or deactivate......................................................................1586.1.3 <strong>AT</strong>+CGD<strong>AT</strong>A Enter data state ..................................................................................................1596.1.4 <strong>AT</strong>+CGDCONT Define PDP Context........................................................................................1606.1.5 <strong>AT</strong>+CGQMIN Quality of Service Profile (Minimum acceptable)..............................................1626.1.6 <strong>AT</strong>+CGQREQ Quality of Service Profile (Requested).............................................................1666.1.7 <strong>AT</strong>+CGSMS Select service for MO SMS messages ...............................................................1706.1.8 <strong>AT</strong>^SGAUTH <strong>Set</strong> type of authentication for PPP connection.................................................1716.2 Modem compatibility commands to MTs supporting GPRS .....................................................1726.3 <strong>AT</strong>D *99# Request GPRS service ............................................................................................1726.3.1 <strong>AT</strong>D *98# Request GPRS IP service.......................................................................................1736.3.2 <strong>AT</strong>H Manual rejection of a network request for PDP context activation .................................1746.4 Using GPRS <strong>AT</strong> commands (examples) ...................................................................................1756.4.1 Miscellaneous <strong>AT</strong> commands ....................................................................................................1756.5 Using the GPRS dial command <strong>AT</strong>D.........................................................................................1777 <strong>AT</strong> <strong>Command</strong>s for SIM Application Toolkit (GSM 11.14) .......................1787.1 <strong>AT</strong>^SSTA Remote-S<strong>AT</strong> Interface Activation .............................................................................1797.2 ^SSTN Remote-S<strong>AT</strong> Notification ...............................................................................................1807.3 <strong>AT</strong>^SSTGI Remote-S<strong>AT</strong> Get Information..................................................................................1817.4 <strong>AT</strong>^SSTR Remote-S<strong>AT</strong> Response ............................................................................................1828 APPENDIX..................................................................................................1838.1 Summary of ERRORS and Messages.......................................................................................1838.1.1 Summary of CME ERRORS related to GSM 07.07..................................................................1838.1.2 Summary of GPRS-related CME ERRORS ..............................................................................1848.1.3 Summary of CMS ERRORS related to GSM 07.05..................................................................1858.1.4 Summary of Unsolicited Result Codes (URC)...........................................................................1888.1.5 Result codes ...............................................................................................................................1918.1.6 Cause Location ID for the extended error report (<strong>AT</strong>+CEER)..................................................1918.1.7 GSM release cause for L3 Radio Resource (RR) (<strong>AT</strong>+CEER)...............................................1928.1.8 SIEMENS release cause for L3 Radio Resource (RR) (<strong>AT</strong>+CEER).......................................1928.1.9 GSM release cause for Mobility Management (MM) (<strong>AT</strong>+CEER)............................................1938.1.10 SIEMENS release cause for L3 Mobility Management (MM) (<strong>AT</strong>+CEER) ..............................1948.1.11 GSM release cause for L3 Call Control (CC) (<strong>AT</strong>+CEER) .......................................................1948.1.12 SIEMENS release cause for L3 Call Control (CC) (<strong>AT</strong>+CEER)...............................................1958.1.13 SIEMENS release cause for L3 Advice of Charge (AOC) (<strong>AT</strong>+CEER) ..................................1958.1.14 GSM release cause for Supplementary Service call (<strong>AT</strong>+CEER)............................................1968.1.15 Siemens release cause for Call related Supplementary Services (CRSS) (<strong>AT</strong>+CEER).......1978.1.16 GSM release cause for Session Management (SM) (<strong>AT</strong>+CEER)............................................1978.1.17 SIEMENS release cause for Session Management (SM) (<strong>AT</strong>+CEER) ...................................1988.1.18 SIEMENS release cause for GPRS API (<strong>AT</strong>+CEER)..............................................................1988.1.19 SIEMENS release cause for Embedded Netcore (<strong>AT</strong>+CEER) ..............................................1998.2 Summary of PIN requiring <strong>AT</strong> <strong>Command</strong>s ................................................................................2008.3 <strong>AT</strong> commands available before entering the SIM PIN..............................................................2028.4 Standard GSM service codes ....................................................................................................2048.4.1 Additional notes on ^SCCFC, ^SCCWA, ^SCLCK......................................................................248.5 GSM and UCS2 alphabet tables................................................................................................206Page 5 of 207


Page 6 of 207


FiguresFigure 1: <strong>AT</strong> audio programming model ..........................................................................................................TablesTable 1: Product specific use of <strong>AT</strong> commands..............................................................................................Table 2: Types of <strong>AT</strong> commands and responses........................................................................................13Table 3: Illegal combinations of <strong>AT</strong> commands...........................................................................................14Table 4: Character definitions depending on alphabet (examples)............................................................15Table 5: Factory settings ..............................................................................................................................37Table 6: Summary of <strong>AT</strong> commands available in Alarm mode...................................................................64Table 7: Wake-up events in NON-CYCLIC and CYCLIC SLEEP mode....................................................79Table 8: Availability of <strong>AT</strong> commands on virtual channels........................................................................100Table 9: Summary of <strong>AT</strong> commands with different behaviour in Multiplex mode...................................101Table 10: Timing algorithm of incorrect password input ...........................................................................112Table 11: Summary of <strong>AT</strong> commands available in Charge-only and Alarm mode........................................Table 12: Operating modes of the ME indicated by status LED (if = 1): .........................................Table 13: Summary of URCs .....................................................................................................................188Table 14: Summary of Fax Class 2 URCs defined by EIA PN-2388........................................................190Table 15: GSM service codes ....................................................................................................................204Page 7 of 207


0 Version HistoryThis chapter reports modifications and improvements over previous versions of the document."<strong>AT</strong> <strong>Command</strong> <strong>Set</strong>" Version MC35-<strong>AT</strong>C_01_ V05.00 => MC35-<strong>AT</strong>C_01_V05.00aChapter Page <strong>AT</strong> command What is newCLIP Corrected range of parameter : 0,1,2"<strong>AT</strong> <strong>Command</strong> <strong>Set</strong>" Version MC35-<strong>AT</strong>C_01_V04.00 => MC35-<strong>AT</strong>C_01_V05.00Chapter Page <strong>AT</strong> command What is new1.5 15 Character sets Chapter revised and associated character set tablesin Chapter 8.5 updated.1.6 16 Flow control How to use flow control.2.3 18 <strong>AT</strong>\Q Further details added: Using RTS/CTS handshake.Restoring <strong>AT</strong>\Q settings.2.12 27 <strong>AT</strong>H Notes on Multiplex mode and GPRS operation corrected2.35 37 <strong>AT</strong>&F Added further commands to list of factory settings2.45 45 <strong>AT</strong>+IPR Added note on minimum bit rate.4.6 68 <strong>AT</strong>+CCFC Added note on applicability of according toGSM02.04.4.9 73 <strong>AT</strong>+CCWA <strong>AT</strong>+CHLD can be used to put an active call on hold anaccept a waiting voice call. Not for data or fax calls.Added notes on applicability of different es.4.11 76 <strong>AT</strong>+CFUN Chapter revised.4.16 81 <strong>AT</strong>+CHLD Removed note on GPRS.Added notes: <strong>AT</strong>+CHLD for voice calls only. Furtherinformation on Call Waiting.4.19 83 <strong>AT</strong>+CIND Revised Chapter.4.21 86 <strong>AT</strong>+CLCK Corrected description of “FD” lock: PIN2 is requestedas password (it is not sufficient to have done PIN2authentication before).Added notes on applicability of different esand s.4.21.2 88 <strong>AT</strong>+CLCK Modified examples.4.24 94 <strong>AT</strong>+CLVL Added information on related <strong>AT</strong> commands<strong>AT</strong>^SNF0, <strong>AT</strong>^SNFV, <strong>AT</strong>^SNFS4.26 96 <strong>AT</strong>+CMER Revised Chapter.4.27 98 <strong>AT</strong>+CMUT Added information on related <strong>AT</strong> commands<strong>AT</strong>^SNF0, <strong>AT</strong>^SNFM, <strong>AT</strong>^SNFS4.28.1 100f <strong>AT</strong>+CMUX <strong>AT</strong>\Q3 (hardware flow control) is recommended.Notes regarding execution of <strong>AT</strong>H on different channelscorrected.4.36 114 <strong>AT</strong>+CPIN2 Added more details on validity of CPIN2 authentication.4.44 126 <strong>AT</strong>+CSCS Further details added: Using RTS/CTS handshake.Restoring <strong>AT</strong>\Q settings.4.494.50131131<strong>AT</strong>+VTDRevised chapters.Page 8 of 207


4.50 131 <strong>AT</strong>+VTS5.45.5135138<strong>AT</strong>+CMGL<strong>AT</strong>+CMGRRemoved all information on CB messages.Added note regarding <strong>AT</strong>^SSCONF.5.7 143 <strong>AT</strong>+CMGW Parameter corrected (only required for PDU,not for text mode).Result code after failure of storing a message to theSIM card (ME returns OK or ERROR depending onsetting of <strong>AT</strong>^SM20).Statement about sending e-mails via SMS corrected:If not recognized by provider, @ may be replaced with“*”.5.10 147 <strong>AT</strong>+CNMI Notes regarding <strong>AT</strong>^SSCONF and <strong>AT</strong>^SMGO added.Note regarding the handling of Class 0 short messagesadded.5.11 150 <strong>AT</strong>+CPMS now offers the choice between “MT” and“SM”, and are now stored nonvolatile.Added notes on handling .6.1.7 170 <strong>AT</strong>+CGSMS Modified parameter =2 (GPRS preferred):No SMS via GPRS during a circuit switched call.6.1.8 171 <strong>AT</strong>^SGAUTH Notes added: Parameter cannot be stored with<strong>AT</strong>&W. Default value after power-up is =3(PAP and CHAP).6.3.2 174 <strong>AT</strong>H Notes on deactivation of PDP context and GPRS connectionremoved.8.1.3 185 CMS errors Note and example added: Mapping of CME and CMSerrors if SIM PIN authentication has not been done.8.1.4 188 URCs Added: URCs will be output after command execution.Added list of Fax Class 2 URCs.8.1.5 191 Result codes Removed 3 result codes “CONNECT…”, and preservedthose wich include “CONNECT …/RLP”Added to List of PIN1 requiring <strong>AT</strong> commands:<strong>AT</strong>+CPIN2, <strong>AT</strong>^SSDA8.3 202f Added to List of PIN1 independent <strong>AT</strong> commands:<strong>AT</strong>+VTS, <strong>AT</strong>^SNFPT, <strong>AT</strong>^SRTC, <strong>AT</strong>^SSCONFPage 9 of 207


"<strong>AT</strong> <strong>Command</strong> <strong>Set</strong>" Version MC35-<strong>AT</strong>C_01_V03.02 => MC35-<strong>AT</strong>C_01_V04.00Chapter Page <strong>AT</strong> command What is new2.2 17 +++ Chapter revised.2.5 19 <strong>AT</strong>D Parameters “G” and “g” for Closed User Group added.2.17 29 <strong>AT</strong>O Chapter revised.4.8 72 <strong>AT</strong>+CCUG New <strong>AT</strong> command: Closed User Group.4.9 73 <strong>AT</strong>+CCWA New <strong>AT</strong> command: Call Waiting.4.19 83 <strong>AT</strong>+CIND New <strong>AT</strong> command: Indicator control.4.21 86 <strong>AT</strong>+CLCK Under parameter “PS” lock, the following statementhas been removed: “ME may remember numbers ofpreviously used cards.”4.26 96 <strong>AT</strong>+CMER New <strong>AT</strong> command: Mobile equipment event reporting.8.1.4 188 +CIEV: added to list of URCs8.2 - 8.3 200f - 202f <strong>AT</strong>+CCUG,<strong>AT</strong>+CCWA,<strong>AT</strong>+CMER,<strong>AT</strong>^SSDAAdded to Chapter 8.2 (PIN 1 required).<strong>AT</strong>+CIND<strong>AT</strong>^SNFAAdded to Chapter 8.3 (PIN1 independent)"<strong>AT</strong> <strong>Command</strong> <strong>Set</strong>" Version MC35-<strong>AT</strong>C_01_V02.00 => MC35_<strong>AT</strong>C_01_V03.02Chapter Page <strong>AT</strong> command What is new1.4.2 14 Note regarding sequential order of concatenated commands added.4.5 67 <strong>AT</strong>+CBST <strong>Command</strong> syntax corrected: Parameter ismandatory.4.6 68 <strong>AT</strong>+CCFC New parameters added.4.11 76 <strong>AT</strong>+CFUN SLEEP mode described in greater detail4.21 86 <strong>AT</strong>+CLCK New parameters added.4.35.1 112 <strong>AT</strong>+CPIN Timing algorithm of incorrect password corrected4.46 128 <strong>AT</strong>+CSQ Note added: Realistic BER values can be obtainedonly if there is a call in progress.5.11 150 <strong>AT</strong>+CPMS Difference between SM, ME and MT storage explained.6.1.8 171 <strong>AT</strong>^SGAUTH New command to specify protocol for PPP authentication8.2 - 8.3 200f - 202f <strong>AT</strong>+CXXCID<strong>AT</strong>^SCIDBoth commands now independent of PIN authentication<strong>AT</strong>^SGAUTH<strong>Command</strong> added to list of PIN independent commands8.1 - 8.1.198.1.12183 - 199f195Lists of result codes restructured.Notification number 300 added: “Called party barred incoming call”8.4 204f *# codes Chapter revised. Further examples added.Page 10 of 207


1 Introduction1.1 Scope of the documentThis document presents the <strong>AT</strong> <strong>Command</strong> <strong>Set</strong> for the GPRS modem based on MC35 SiemensMC35 feature basic SIM Application Toolkit (S<strong>AT</strong>) functionality which enables SIM cards to run additionalnetwork based applications, such as value added services, online banking, information servicesetc. To give you an idea, Chapter 7 provides a brief overview. In greater detail, the S<strong>AT</strong> functions andthe required <strong>AT</strong> commands are described in [4].Page 11 of 207


1.2 Supported product versions and related documentsPlease note that this <strong>AT</strong> <strong>Command</strong> <strong>Set</strong> is intended for MC35 Version 5.00Related documents[1] MC35 Hardware Interface Description, Version 5.00[2] Release Notes: MC35, Version 5.00[3] MC35 GPRS Startup User's Guide[4] MC35 Remote-S<strong>AT</strong> User's Guide, as of Version 04.00[5] MC35 Multiplexer User's Guide, Version 5.00[6] Application Note 16: Updating MC35 Firmware, as of Version 02.00[7] MC35 Terminal Hardware Interface Description[8] TC35 MC35 Terminal User's Guide[9] Application Note 02: Audio Interface Design[10] Multiplex Driver Developer’s Guide for Windows 2000 and Windows XP[11] Multiplex Driver Installation Guide for Windows 2000 and Windows XPPrior to using MC35 / MC35T or upgrading to a new firmware release, be sure to carefully read thelatest product information provided in the Release Notes.Page 12 of 207


1.3 ConventionsThroughout the document, the GSM engines are referred to as ME (Mobile Equipment), MS (MobileStation), TA (Terminal Adapter), DCE (Data Communication Equipment) or facsimile DCE (FAX modem,FAX board). When the Siemens product names are required to distinguish the two models,MC35 is short for the engine type and MC35T for the terminal.To control your GSM engine you can simply send <strong>AT</strong> <strong>Command</strong>s via its serial interface. The controllingdevice at the other end of the serial line is referred to as TE (Terminal Equipment), DTE (DataTerminal Equipment) or plainly ´the application´ (probably running on an embedded system).1.4 <strong>AT</strong> command syntaxThe "<strong>AT</strong>" or "at" prefix must be set at the beginning of each command line. To terminate a commandline enter .<strong>Command</strong>s are usually followed by a response that includes “”.Throughout this document, only the responses are presented, are omitted intentionally.Table 1: Types of <strong>AT</strong> commands and responsesTest command <strong>AT</strong>+CXXX=? The mobile equipment returns the list of parameters andvalue ranges set with the corresponding Write commandor by internal processes.Read command <strong>AT</strong>+CXXX? This command returns the currently set value of the parameteror parametersWrite command <strong>AT</strong>+CXXX= This command sets user-definable parameter values.Execution command <strong>AT</strong>+CXXX The execution command reads non-variable parametersaffected by internal processes in the GSM engine.1.4.1 Using parameters• Default parameters are underlined throughout this document.• Optional parameters are enclosed in square brackets. If optional parameters are omitted, the currentsettings are used until you change them.• Optional parameters or subparamters can be omitted unless they are followed by other parameters.If you want to omit a parameter in the middle of a string it must be replaced by a comma. Example:<strong>AT</strong>+CPBW=,,, writes a phonebook entry to the first free memory location.<strong>AT</strong>+CPBW=,,, writes a phonebook entry to the memory locationspecified by .• When the parameter is a character string, e.g. or , the string must be enclosed inquotation marks, e.g. "Charlie Brown" or "+49030xxxx". Symbols within quotation marks will berecognized as strings.• All spaces will be ignored when using strings without quotaton marks.• It is possible to omit the leading zeros of strings which represent numbers.• In case of using V.25ter commands without giving an optional parameter, its value is assumed tobe 0.Page 13 of 207


1.4.2 Combining <strong>AT</strong> commands on the same command lineYou may enter several <strong>AT</strong> commands on the same line. This eliminates the need to type the "<strong>AT</strong>" or"at" prefix before each command. Instead, it is only needed once at the beginning of the commandline. Use a semicolon as command delimiter.The command line buffer accepts a maximum of 391 characters. If this number is exceeded none ofthe commands will be executed and TA returns ERROR.The table below lists the <strong>AT</strong> commands you cannot enter together with other commands on the sameline. Otherwise, the responses may not be in the expected order.Table 2: Illegal combinations of <strong>AT</strong> commandsV.25ter commands With FAX commands, Prefix <strong>AT</strong>+FGSM 7.07 commands With Siemens commands, Prefix <strong>AT</strong>^SGSM 7.05 commands (SMS) --- To be used standalone<strong>Command</strong>s starting with <strong>AT</strong>& --- To be used standalone<strong>AT</strong>+IPR --- To be used standaloneNote:When concatenating <strong>AT</strong> commands please keep in mind that the sequence of processing maybe different from the sequential order of command input. Therefore, if the consecutive order ofthe issued commands is your concern, avoid concatenating commands on the same line.1.4.3 Entering successive <strong>AT</strong> commands on separate linesWhen you enter a series of <strong>AT</strong> commands on separate lines, leave a pause between the precedingand the following command until OK appears. This avoids sending too many <strong>AT</strong> commands at a timewithout waiting for a response for each.Page 14 of 207


1.5 Supported character setsThe ME supports two character sets: GSM 03.38 (7 bit, also referred to as SMS alphabet) and UCS2(16 bit, refer to ISO/IEC 10646). See Chapter 4.44 for information about selecting the character set.Character tables are provided in Chapter 8.5.Due to the constraints described below it is recommended to prefer the USC2 alphabet in any externalapplication.If the GSM alphabet is selected all characters sent over the serial line are in the range from 0 ... 127.CAUTION: GSM alphabet is not ASCII alphabet!Several problems resulting from the use of the GSM alphabet:1. "@" character with GSM alphabet value 0 is not printable by an ASCII terminal program (e.g. Microsoft© Hyperterminal ® ).2. "@" character with GSM alphabet value of binary 0 will terminate any C string!This is because the \0 is defined as C string end tag. Therefore, the GSM Null character maycause problems on application level when using a ´C´-function as „strlen()“. This can be avoided ifit is represented by an escape sequence as shown in Table 3.By the way, this may be the reason why even network providers often replace "@"with “@=*” intheir SIM application.3. Other characters of the GSM alphabet are misinterpreted by an ASCII terminal program. For example,GSM "ö" (as in "Börse") is assumed to be "|" in ASCII, thus resulting in "B|rse". This is becauseboth alphabets mean different characters with values hex. 7C or 00 and so on.4. In addition, decimal 17 and 19 which are used as XON/XOFF control characters when softwareflow control is activated, are interpreted as normal characters in the GSM alphabet.When you write characters differently coded in ASCII and GSM (e.g. Ä, Ö, Ü), you need to enter escapesequences. Such a character is translated into the corresponding GSM character value and,when output later, the GSM character value can be presented. Any ASCII terminal then will showwrong responses.Table 3: Character definitions depending on alphabet (examples)GSM 03.38characterGSM characterhex. valueCorrespondingASCII characterASCIIEsc sequenceHexEsc sequenceÖ 5C \ \5C 5C 35 43" 22 “ \22 5C 32 32ò 08 BSP \08 5C 30 38@ 00 NULL \00 5C 30 30CAUTION: Often, the editors of terminal programs do not recognize escape sequences. In this case,an escape sequence will be handled as normal characters. The most common workaround to thisproblem is to write a script which includes a decimal code instead of an escape sequence. This wayyou can write, for example, short messages which may contain differently coded characters.Page 15 of 207


1.6 Flow controlFlow control is essential to prevent loss of data or avoid errors when, in a data or fax call, the sendingdevice is transferring data faster than the receiving side is ready to accept. When the receiving bufferreaches its capacity, the receiving device should be capable to cause the sending device to pause untilit catches up.There are basically two approaches to regulate data flow: software flow control and hardware flowcontrol. The High Watermark of the input / output buffer should be set to approximately 60% of the totalbuffer size. The Low Watermark is recommended to be about 30%. The data flow should bestopped when the capacity rises close to the High Watermark and resumed when it drops below theLow Watermark. The time required to cause stop and go results in a hysteresis between the High andLow Watermarks.In Multiplex mode, it is recommended to use hardware flow control. For details please refer to [5].1.6.1 Software flow control (XON/OFF flow control)Software flow control sends different characters to stop (XOFF, decimal 19) and resume (XON, decimal17) data flow. The only advantage of software flow control is that three wires would be sufficienton the serial interface.1.6.2 Hardware flow control (RTS/CTS flow control)Hardware flow control sets or resets the RTS/CTS wires. This approach is faster and more reliable,and therefore, the better choice. When the High Watermark is reached, CTS is set inactive until thetransfer from the buffer has completed. When the Low Watermark is passed, CTS goes active onceagain.To achieve smooth data flow, ensure that the RTS/CTS lines are present on your application platform.The application should include options to enable RTS/CTS handshake with the GSM engine. Thisneeds to be done with the <strong>AT</strong> command <strong>AT</strong>\Q3 - it is not sufficient to set RTS/CTS handshake in theused Terminal program only.The default setting of the GSM engine is <strong>AT</strong>\Q0 (no flow control) which must be altered to <strong>AT</strong>\Q3(RTS/CTS hardware handshake on). The setting is stored volatile and must be restored each time afterthe GSM engine was switched off. For further details refer to Chapter 2.3.<strong>AT</strong>\Q has no read command. To verify the current setting of <strong>AT</strong>\Q, simply check the settings of the activeprofile with <strong>AT</strong>&V.Often, fax programs run an intialization procedure when started up. The intialization commonly includesenabling RTS/CTS hardware handshake, eliminating the need to set <strong>AT</strong>\Q3 once again. However,before setting up a CSD call, you are advised to check that RTS/CTS handshake is set.RTS/CTS hardware handshake must also be set if you want to take advantage of the CYCLIC SLEEPmodes. For further details refer to Chapter 4.11, <strong>AT</strong>+CFUN.Note:After deactivating the RTS line, the ME may still send up to 32 bytes. This can be easily handledif the buffer of the host application is sufficiently sized, and if a hysteresis is implementedin its Rx buffer as mentioned in Chapter 1.6. A total buffer capacity of 256 bytes has beenproved to work well.Page 16 of 207


2 Standard V.25ter <strong>AT</strong> <strong>Command</strong>sThese <strong>AT</strong> <strong>Command</strong>s are related to ITU-T (International Telecommunication Union, Telecommunicationsector) V.25ter document.MC35 supports the registers S0-S29. You can change S0,S3,S4,S5,S6,S7,S8,S10,S18 by using theappropriate <strong>AT</strong>Sn commands. All the other registers are read-only and for internal usage only!2.1 A/ Repeat previous command lineExecute commandA/ResponseRepeats previous command line. Line does not need to end with terminatingcharacter.ParameterReferenceV.25terNote• After beginning with the character “a“ or „A“, a second character “t“ ,”T“ or “/“has to follow. In case of using a wrong second character, it is necessary tostart again with character “a“ or “A“.• If autobauding is active (see +IPR, pg. 44) A/ (and a/) cannot be used.2.2 +++ Switch from data mode or PPP online mode to command modeExecute command+++ResponseThis command is only available during a CSD call or a GPRS connection. The+++ character sequence causes the TA to cancel the data flow over the <strong>AT</strong> interfaceand switch to command mode. This allows you to enter <strong>AT</strong> commandswhile maintaining the data connection to the remote device or, accordingly, theGPRS connection.OKTo prevent the +++ escape sequence from being misinterpreted as data, it mustbe preceded and followed by a pause of at least 1000 ms. The +++ charactersmust be entered in quick succession, all within 1000 ms.ReferenceV.25terNote:• To return from command mode to data or PPP online mode: Enter <strong>AT</strong>O as describedin Chapter 2.17.Page 17 of 207


2.3 <strong>AT</strong>\Qn Flow controlExecute command<strong>AT</strong>\QResponseOKParameter 0 <strong>AT</strong>\Q0 No flow control1 <strong>AT</strong>\Q1 XON/XOFF software flow control2 <strong>AT</strong>\Q2 Only CTS by DCE3 <strong>AT</strong>\Q3 RTS/CTS hardware flow controlRequired for the following procedures: incomingor outgoing data calls, fax calls, GPRS connections,CYCLIC SLEEP modes set with <strong>AT</strong>+CFUN.Often, the initialization routine of Fax programs includesenabling RTS/CTS handshake, eliminatingthe need to issue <strong>AT</strong>\Q3 once again.ReferenceNoteLine state refers to RS-232 levels.The setting of <strong>AT</strong>\Q is stored volatile and must be restored each time after theGSM engine was switched off. Also, there is no way to store <strong>AT</strong>\Q to the userdefined profile.See also Chapter 1.6 for general information on flow control.2.4 <strong>AT</strong>A Answer a callExecute command<strong>AT</strong><strong>AT</strong>A causes remote station to go off-hook (e.g. answer call).Note1: Any additional commands on the same command line are ignored.Note2:ResponseThis command may be aborted generally by receiving a character duringexecution. It can´t be aborted in some connection setup states, such ashandshaking.Response in case of data call, if successfully connected:CONNECT TA switches to data mode.Note: output only if +<strong>AT</strong>X parameter setting with value > 0.Response in case of voice call, if successfully connected:OKWhen TA returns to command mode after call release:OKResponse if no connection:NO CARRIERParameterReferenceV.25terNoteSee also <strong>AT</strong>+<strong>AT</strong>X and Chapter 8.1.5 for Page 18 of 207


2.5 <strong>AT</strong>D Mobile originated call to dial a numberExecute command<strong>AT</strong>D[][ 0.When TA returns to command mode after call release:OKIf successfully connected and voice call:OKParameterEmergency call:String of dialling digits and optionally V.25ter modifiers (dialling digits):0-9, * , #, +, A, B, CV.25ter modifiers: these are ignored: ,(comma), T, P, !, W, @= 112 worldwide number (no SIM needed) String of GSM modifiers:I Activates CLIR (disables presentation of own phone number to calledparty)i Deactivates CLIR (enables presentation of own phone number tocalled party)G Activate Closed User Group explicit invocation for this call only.g Deactivate Closed User Group explicit invocation for this call only. Only required to set up voice calls. TA remains in command mode.ReferenceV.25ter/GSM07.07Note• Before setting up a data call, check that RTS/CTS handshake is enabled. SeeChapters 1.6 and 2.3.Page 19 of 207


07.07 Chapters 1.6 and 2.3.• Parameter ”l“ and ”i“ only if no *# code is within the dial string.• is not supported for data calls.• is default for last number that can be dialled by <strong>AT</strong>DL.• See also +<strong>AT</strong>X and chapter 8.1.5 for .• The *# codes can only be used with voice calls (i.e.if “;” is appended).• If <strong>AT</strong>D is used with a USSD command (e.g. <strong>AT</strong>D*100#;) an <strong>AT</strong>+CUSD=1 isexecuted implicitly (see <strong>AT</strong>+CUSD, pg. 130).• Parameter ‘G’ or ‘g’ will be ignored if Closed User Group was already activated,or accordingly, deactivated with <strong>AT</strong>+CCUG command.Page 20 of 207


2.6 <strong>AT</strong>D> Originate call to phone number in memory This command allows you to dial a phone number from a specific phonebook. To initiate a call, entera two letter abbreviation for the phonebook , followed by the memory location of the desiredentry. The location range of each phonebook can be queried by <strong>AT</strong>+CPBR (see Chapter 4.32).Execute command<strong>AT</strong>D>[][;]TA attempts to set up an outgoing call to the specified number.Note: This command may be aborted generally by receiving a character duringexecution. Abortion is not possible during some states of connectionsetup such as handshaking.ResponseIf error is related to ME functionality:+CME ERROR: If no dialtone (parameter setting <strong>AT</strong>X2 or <strong>AT</strong>X4):NO DIALTONEIf busy (parameter setting <strong>AT</strong>X3 or <strong>AT</strong>X4):BUSYIf connection cannot be set up:NO CARRIERIf successfully connected and non-voice call:CONNECT TA switches to data state.Note: output only if +<strong>AT</strong>X parameter setting with value > 0.When TA returns to command mode after call release:OKIf successfully connected and voice call:OKParameter phonebook:"SM” SIM phonebook (storage depending on SIM card)”FD” SIM fixdialling phonebook (pos. 1-7)”LD” SIM last-dialling-phonebook (usually the last 10 numbers dialedare stored on the SIM card, no matter whether or not thecalls were successfully set up)”MC” ME missed (unanswered received) calls list (up to 10 numbers)”RC” SIM received calls list”ME” ME Phonebook (up to 50 numbers)”ON” SIM (or ME) own numbers (MSISDNs) listNote: must be included in quotation marks (""), if parameter is used. If not, quotation marks are optional.Integer type memory location in the range of locations available inthe selected memory, i.e. the index number returned by <strong>AT</strong>+CPBR. I Activates CLIR (disables presentation of own phone number tocalled party)Page 21 of 207


icalled party)Deactivates CLIR (enables presentation of own phone numberto called party) Only required to set up voice calls. TA remains in command mode.ReferenceV.25ter/GSM07.07ExampleNote• There is no for emergency call (“EN”).• <strong>Command</strong> is not supported for data call!• Parameter only if no *# code is within the dial string.• The *#-codes can only be used with voice calls (i.e.if “;” is appended).• See also <strong>AT</strong>X and chapter 8.1.5 for .To query the location number of the phonebook entry:<strong>AT</strong>+CPBR=1,xxTA returns the entries available in the active phonebook.To dial a number from the SIM phonebook, for example the number stored to location15:<strong>AT</strong>D>SM15;OKTo dial a phone number stored in the last dial memory on the SIM card:<strong>AT</strong>D>LD9;OKPage 22 of 207


2.7 <strong>AT</strong>D> Originate call to phone number selected from active memoryThis command can be used to dial a phone number selected from the active memory. The activememory is the phonebook selected with <strong>AT</strong>+CPBS (see Chapter 4.33). To set up a call simply enterthe memory location of the desired entry. The memory location range of each phonebook can bequeried by <strong>AT</strong>+CPBR (see Chapter 4.32).Execute command<strong>AT</strong>D>[][;]TA attempts to set up an outgoing call to the stored number.Note: This command may be aborted generally by receiving a characterduring execution. It can´t be aborted in some connection setup states,such as handshaking.ResponseIf error is related to ME functionality:+CME ERROR: If no dialtone (parameter setting <strong>AT</strong>X2 or <strong>AT</strong>X4):NO DIALTONEIf busy (parameter setting <strong>AT</strong>X3 or <strong>AT</strong>X4):BUSYIf a connection cannot be set up:NO CARRIERIf successfully connected and non-voice call:CONNECT TA switches to data state.Note: output only if +<strong>AT</strong>X parameter setting with value > 0.When TA returns to command mode after call release:OKIf successfully connected and voice call:OKParameterinteger type memory location should be in the range of locationsavailable in the memory used, i.e. the index number returned by<strong>AT</strong>+CPBR. I Activates CLIR (disables presentation of own phone number tocalled party)iDeactivates CLIR (enables presentation of own phone numberto called party) Only required to set up voice calls. TA remains in command mode.ReferenceV.25ter/GSM 07.07Note• Parameter only if no *# code is within the dial string.• <strong>Command</strong> is not supported for data call!• The *# codes can only be used with voice calls (i.e.if “;” is appended).• See also +<strong>AT</strong>X and chapter 8.1.5 for .Page 23 of 207


2.8 <strong>AT</strong>D> Originate call to phone number in memory with correspondingfieldThis command searches the active phonebook for a given string and dials the assigned phonenumber. The active phonebook is the one set with <strong>AT</strong>+CPBS.Execute command<strong>AT</strong>D>[mgsm][;]TA attempts to set up an outgoing call to stored numberNote: This command may be aborted generally by receiving a character duringexecution. It can´t be aborted in some connection setup states,such as handshaking.ResponseIf error is related to ME functionality:+CME ERROR: If no dialtone (parameter setting <strong>AT</strong>X2 or <strong>AT</strong>X4):NO DIALTONEIf busy (parameter setting <strong>AT</strong>X3 or <strong>AT</strong>X4):BUSYIf a connection cannot be set up:NO CARRIERIf successfully connected and non-voice call:CONNECT TA switches to data state.Note: output only if +<strong>AT</strong>X parameter setting with value > 0.When TA returns to command mode after call release:OKIf successfully connected and voice call:OKParameter string type value (“x”), which should equal an alphanumeric field inat least one phonebook entry in the searched memories; used characterset should be the one selected with <strong>AT</strong>+CSCS. cancontain escape sequences as described in Chapter 1.5. must be wrapped in quotation marks (""), if escape sequencesor parameter are used or if the alphanumeric strings containsa blank. If not, quotation marks are optional. I Activates CLIR (disables presentation of own phone number tocalled party)i Deactivates CLIR (enables presentation of own phone number tocalled party) Only required to set up voice calls. TA remains in command mode.ReferenceV.25ter/GSM 07.07Note<strong>Command</strong> is not supported for data calls! See also <strong>AT</strong>X and Chapter 8.1.5 forPage 24 of 207


2.9 <strong>AT</strong>DI Mobile originated call to dialable ISDN number Execute command<strong>AT</strong>DI[;]TA attempts to set up an outgoing call to ISDN number.Note: This command may be aborted generally by receiving a character duringexecution. This command cannot be aborted in some connection setupstates, such as handshaking.ResponseIf no dialtone (parameter setting <strong>AT</strong>X2 or <strong>AT</strong>X4):NO DIALTONEIf busy (parameter setting <strong>AT</strong>X3 or <strong>AT</strong>X4):BUSYIf a connection cannot be set up:NO CARRIERIf successful connected and non-voice call:CONNECT TA switches to data state.Note: output only if +<strong>AT</strong>X parameter setting with value > 0.When TA returns to command mode after call release:OKIf successfully connected and voice call:OKParameter [+] phone numberstring with maximum length of 20 characters+ international dialling format ISDN numberstring of digits: +,0-9, A, B, C voice callReferenceV.25terPage 25 of 207


2.10 <strong>AT</strong>DL Redial last telephone number usedExecute command<strong>AT</strong>DL[;]This command redials the last voice and data call number used in the <strong>AT</strong>D command.• To redial the last data call number simply enter <strong>AT</strong>DL• To redial the last voice call number type <strong>AT</strong>DL;Note:The command may be aborted generally by receiving a character duringexecution. This command cannot be aborted in some connection setupstates, such as handshaking.ResponseIf there is no last number or number is not valid:+CME ERRORIf no dialtone (parameter setting <strong>AT</strong>X2 or <strong>AT</strong>X4):NO DIALTONEIf busy (parameter setting <strong>AT</strong>X3 or <strong>AT</strong>X4):BUSYIf a connection cannot be set up:NO CARRIERIf successfully connected and non-voice call:CONNECT TA switches to data state.Note: output only if +<strong>AT</strong>X parameter setting with value > 0.When TA returns to command mode after call release:OKIf successfully connected and voice call:OKParameter voice callReferenceV.25terNoteIn case of voice calls “;” is necessary.Page 26 of 207


2.11 <strong>AT</strong>E Enable command echoWrite command<strong>AT</strong>E[]This setting determines whether or not the TA echoes characters received fromTE during command state.ResponseOKParameter 0 Echo mode off1 Echo mode onReferenceV.25terNoteIn case of using the command without parameter, is set to 0.2.12 <strong>AT</strong>H Disconnect existing connectionExecute command<strong>AT</strong>H[n]Disconnects any call in progress, such as voice, fax or CSD calls. See notes belowfor GPRS and multiplex mode.ResponseOKNote:OK is issued after circuit 109 (DCD) is turned off (RS-232 level), if it was previouslyon.Parameter 0 terminate callReferenceV.25terNoteUsing <strong>AT</strong>H in Multiplex mode (<strong>AT</strong>+CMUX):• <strong>AT</strong>H terminates every voice, fax or CSD call, no matter on which channel <strong>AT</strong>Hwas executed.For example, if <strong>AT</strong>H is executed on channel 2 or 3, a voice call made on channel1 will be disconnected, too.This behaviour is in accordance with ITU-T V.25 ter; (07/97, see “6.3.6 Hookcontrol“: "<strong>AT</strong>H is terminating any call in progress").Using <strong>AT</strong>H while GPRS is active during Multiplex mode:• <strong>AT</strong>H clears an active PDP context or terminates an existing PPP connection,but only if issued on the same logical channel where GPRS is used. It does notaffect PDP contexts and PPP connections on other channels.• See also Chapter 6.3.2, <strong>AT</strong>H Manual rejection of a network request for PDPcontext activation.Page 27 of 207


2.13 <strong>AT</strong>I Display product identification informationExecute command<strong>AT</strong>IResponseME issues product information textSIEMENSMC35REVISION xx.yyOKExplanation of “Revision“ parameter:Version xx and variant yy of software release.ReferenceV.25terNote2.14 <strong>AT</strong>I[value] Display additional identification informationExecute command<strong>AT</strong>I[value]Response=9 delivers the following information. Other values are not supported andonly return OK.ReferenceV.25ter<strong>AT</strong>I9 SIEMENS Gipsy Soft Protocolstack V2.550MC35NotePage 28 of 207


2.15 <strong>AT</strong>L <strong>Set</strong> monitor speaker loudnessExecute command<strong>AT</strong>L[val]ResponseOKReferenceV.25terNote• The two commands <strong>AT</strong>L and <strong>AT</strong>M are implemented only for V.25ter compatibilityreasons and have no effect.• In multiplex mode the command is supported on logical channel 1 only.2.16 <strong>AT</strong>M <strong>Set</strong> monitor speaker modeExecute command<strong>AT</strong>M[val]ResponseOKReferenceV.25terNote• The two commands <strong>AT</strong>L and <strong>AT</strong>M are implemented only for V.25ter compatibilityreasons and have no effect.• In multiplex mode the command is supported on logical channel 1 only.2.17 <strong>AT</strong>O Switch from command mode to data mode / PPP online modeExecute command<strong>AT</strong>O[n]Response<strong>AT</strong>O is the corresponding command to the +++ escape sequence described inChapter 2.2: When you have established a CSD call or a GPRS connection andTA is in command mode, <strong>AT</strong>O causes the TA to resume the data or GPRS connectionand takes you back to data mode or PPP online mode.If connection is not successfully resumedNO CARRIERorTA returns to data or PPP online mode from command modeCONNECT Note: output only if +<strong>AT</strong>X parameter setting with value > 0.Parameter 0 switch from command mode to data or PPP online modeReferenceV.25terNotePage 29 of 207


2.18 <strong>AT</strong>Q <strong>Set</strong> result code presentation modeWrite command<strong>AT</strong>Q[]ResponseSpecifies whether or not the TA transmits any result code to the TE. Informationtext transmitted in response is not affected by this setting.If =0:OKIf =1:(none)Parameter 0 DCE transmits result code1 Result codes are suppressed and not transmittedReferenceV.25terNote2.19 <strong>AT</strong>P Select pulse diallingExecute command<strong>AT</strong>PResponseOKReferenceV.25terNoteNo effect for GSM2.20 <strong>AT</strong>S0 <strong>Set</strong> number of rings before automatically answering the callRead command<strong>AT</strong>S0?Write command<strong>AT</strong>S0=Response OKSpecifies whether or not the TA will accept an incoming data / fax call withoutuser intervention. determines the number of rings to wait before the TA willautomatically answer.ResponseOKParameter 000 disables automatic answer mode001-255 enables automatic answering after specified number of ringsReferenceV.25terNote• Auto-answer mode is only applicable to data or fax calls.• If is set too high, the calling party may hang up before the call can beautomatically answered.• The correlation between <strong>AT</strong>S7 and <strong>AT</strong>S0 is important.Example: Call setup may fail if <strong>AT</strong>S0=20 and <strong>AT</strong>S7=30.Page 30 of 207


2.21 <strong>AT</strong>S3 Write command line termination characterRead command<strong>AT</strong>S3?Write command<strong>AT</strong>S3=Response OKThis parameter setting determines the character recognized by TA to terminatean incoming command line.ResponseOKParameter 000-013-127 command line termination characterReferenceV.25terNote2.22 <strong>AT</strong>S4 <strong>Set</strong> response formatting characterRead command<strong>AT</strong>S4?Response OKWrite command<strong>AT</strong>S4=This parameter setting determines the character generated by the TA for resultcode and information text.ResponseOKParameter 000-010-127 response formatting character.ReferenceV.25terNote2.23 <strong>AT</strong>S5 Write command line editing characterRead command<strong>AT</strong>S5?Write command<strong>AT</strong>S5=Response OKThis parameter setting determines the character recognized by TA as a requestto delete the immediately preceding character from the command line.ResponseOKParameter 000-008-127 command line editing characterReferenceV.25terNotePage 31 of 207


2.24 <strong>AT</strong>S6 <strong>Set</strong> pause before blind diallingRead command<strong>AT</strong>S6?Response OKWrite command<strong>AT</strong>S6=ReferenceV.25terNo effect for GSMResponseOKParameterNote000-255 number of seconds to wait before blind dialling.2.25 <strong>AT</strong>S7 <strong>Set</strong> number of seconds to wait for connection completionRead command<strong>AT</strong>S7?Response OKWrite command<strong>AT</strong>S7=Specifies the number of seconds the TA will wait for the completion of the callsetup when answering or originating a data call. Also referred to as "no answertimeout". To put it plainly, this is the time to wait for the carrier signal. If no carriersignal is received within the specified time, the TA hangs up.ResponseOKParameter 000 – 060 no. of seconds to wait for connection completion.ReferenceV.25terNote• Values greater than 60 cause no error, but will be restored to the maximumvalue of 60.• If called party has specified a high value for <strong>AT</strong>S0=, call setup may fail.• The correlation between <strong>AT</strong>S7 and <strong>AT</strong>S0 is important.Example: Call setup may fail if <strong>AT</strong>S7=30 and <strong>AT</strong>S0=20.• <strong>AT</strong>S7 is only applicable to data calls.2.26 <strong>AT</strong>S8 <strong>Set</strong> number of seconds to wait for comma dial modifierRead command<strong>AT</strong>S8?Response OKWrite command<strong>AT</strong>S8=No effect for GSMResponseOKReferenceV.25terNotePage 32 of 207


2.27 <strong>AT</strong>S10 <strong>Set</strong> disconnect delay after indicating the absence of data carrierRead command<strong>AT</strong>S10?Response OKWrite command<strong>AT</strong>S10=This parameter setting determines the amount of time, that the TA remains connectedin absence of a data carrier. If the data carrier is detected before disconnect,the TA remains connected.ResponseOKReferenceV.25terParameter 001-002-254 number of tenths of seconds of delayNote2.28 <strong>AT</strong>S18 Extended error reportTest command<strong>AT</strong>S18?Response OKExecute command<strong>AT</strong>S18=TA returns an extended report of the reason for the last call release and location.0 – 255, odd numbers set extended error report and evennumbers disable this feature.Response+Cause: : OKParameter Location ID as number code (see subclause 8.1.6.Reason for last call release as number code (see subclause8.1.6).ReferenceSiemensNoteThis command works for data calls only. For voice calls please use <strong>AT</strong>+CEER.2.29 <strong>AT</strong>T Select tone diallingExecute command Response<strong>AT</strong>TOKReferenceV.25terNoteNo effect for GSMPage 33 of 207


2.30 <strong>AT</strong>V <strong>Set</strong> result code format modeWrite command<strong>AT</strong>V[]ResponseThis parameter setting determines the contents of the header and trailer transmittedwith result codes and information responses.When =00When =1OKParameter0 Information response: Short result code format: 1 Information response: Long result code format: ReferenceV.25terNoteIn case of using the command without parameter will be set to 0.Information responses described in chapter 8 (verbose code and numeric code).2.31 <strong>AT</strong>X <strong>Set</strong> CONNECT result code format and call monitoringWrite command<strong>AT</strong>X[]ResponseThis parameter setting determines whether or not the TA detects the presence ofdial tone and busy signal and whether or not TA transmits particular result codes.OKParameter0 CONNECT result code only returned, dial tone and busy detectionare both disabled1 CONNECT result code only returned, dial tone and busydetection are both disabled2 CONNECT result code returned, dial tone detection isenabled, busy detection is disabled3 CONNECT result code returned, dial tone detection isdisabled, busy detection is enabled4 CONNECT result code returned, dial tone and busy detectionare both enabledReferenceV.25terNoteRelated see chapter 8.1.5.Page 34 of 207


2.32 <strong>AT</strong>Z <strong>Set</strong> all current parameters to user defined profileExecute command<strong>AT</strong>Z[]ResponseTA sets all current parameters to the user profile stored with <strong>AT</strong>&W (see Chapter2.38 on page 41). If a connection is in progress, it will be terminated. All definedGPRS contexts which are not activated or not online will be undefined (see+CGDCONT,+CGQREQ,+CGQMIN commands). The user defined profile isstored to the non-volatile memory.Note: If invalid, the user profile will be reset to the factory default profile. Any additionalcommands on the same command line will be ignored. A delay of 300 msis required before next command is sent, otherwise “OK” response may be corrupted.OKParameter 0 Reset to user profileReferenceV.25terNoteThe GSM engines referred to in this manual can be assigned two profiles: thefactory profile (restored with <strong>AT</strong>&F) and the user profile (stored with <strong>AT</strong>&W). SeeChapter 2.35 for details on <strong>AT</strong>&F.2.33 <strong>AT</strong>&C <strong>Set</strong> circuit Data Carrier Detect (DCD) function modeWrite command<strong>AT</strong>&C[]ResponseThis parameter determines how the state of circuit 109(DCD) relates to the detectionof received line signal from the distant end.OKParameter 0 DCD line is always ON.1 DCD line is ON in the presence of data carrier only.ReferenceV.25terNoteLine state refers to RS-232 levels.Page 35 of 207


2.34 <strong>AT</strong>&D <strong>Set</strong> circuit Data Terminal Ready (DTR) function modeWrite command<strong>AT</strong>&D[]ResponseThis command is only intended for data calls. The parameter determineshow the TA responds when circuit 108/2 (DTR) is changed from ON to OFF duringdata mode.OKParameter 0 TA ignores status on DTR.1 ON->OFF on DTR: Change to command mode while retainingthe connected call.2 ON->OFF on DTR: Disconnect data call, change to commandmode. During state DTR = OFF is auto-answer off.ReferenceV.25terNoteLine state refers to RS-232 levels.Page 36 of 207


2.35 <strong>AT</strong>&F <strong>Set</strong> all current parameters to manufacturer defaultsExecute command<strong>AT</strong>&F[value]ResponseTA sets all current parameters to the manufacturer defined profile.OKParameter 0 <strong>Set</strong> all TA parameters to manufacturer default.See Table 4: Factory settings.ReferenceV.25terNoteIn addition to the default profile, you can store an individual one with<strong>AT</strong>&W. To alternate between the two profiles enter either <strong>AT</strong>Z (loadsuser profile) or <strong>AT</strong>&F (restores factory profile). Refer to Chapter 2.38 for<strong>AT</strong>&W and Chapter 2.32 for <strong>AT</strong>Z.Audio parameters set with <strong>AT</strong>^SNFA, <strong>AT</strong>^SNFO and <strong>AT</strong>^SNFI can bestoredwith <strong>AT</strong>^SNFD.Table 4: Factory settingsCategoryV.25ter commands<strong>Command</strong> and factory settingE1, Q0, V1, X4, \Q, &D2, &C1, &S0, +ILRR=0S registers S0=0, S3=13, S4=10, S5=8, S6=0, S7=60, S10=2, S18=0Fax commandsGSM 07.07 commandsGSM 07.05 commandsfor SMSGSM 07.07 commandsfor GPRS+FCLASS=0+CCWA=0+CBST=7,0,1+CPBS=”SM”+CFUN=1+CRC=0+CR=0+CRLP=61,61,78,6+CMEE=0+CMER=0,0,0,0,0+CREG=0+CSCS=”GSM”+VTD=1+CMGF=0+CNMI=0,0,0,0,1+CPMS=”MT”, “MT”, “MT”+CSDH=0+CSMS=0,1,1,1+CSMP=17,167,0,0+CGDCONT<strong>AT</strong>&F clears every context which is not active or notonline.Page 37 of 207


Categoryfor GPRS<strong>Command</strong> and factory setting+CGQREQ+CGQMINonline.<strong>AT</strong>&F clears the QoS profiles of every context whichis not active or not online.<strong>AT</strong>&F clears the minimum QoS profiles of everycontext which is not active or not online.Page 38 of 207


2.36 <strong>AT</strong>&S <strong>Set</strong> circuit Data <strong>Set</strong> Ready (DSR) function modeWrite command<strong>AT</strong>&SResponseThis parameter determines how the TA sets circuit 107 (DSR) depending on thecommunication state of the TA interfacing TE.OKParameter 0 DSR always on.1 TA in command mode: DSR is OFF.TA in data mode: DSR is ON.ReferenceV.25terNoteLine state refers to RS-232 levels.Page 39 of 207


2.37 <strong>AT</strong>&V Display current configurationExecute command<strong>AT</strong>&V[]ResponseTA returns the current parameter setting. The configuration varies depending onwhether or not PIN authentication has been done, or Multiplex mode has beenactivated.Parameter0 profile numberConfigurationwithout Multiplexmode or configurationon channel1 if Multiplexmode is enabledPIN entered or not required (see<strong>AT</strong>+CPIN, pg. 108)ACTIVE PROFILE:E1 Q0 V1 X4 &C1 &D2 &S0 \Q0S0:000 S3:013 S4:010 S5:008 S6:000 S7:060S8:000 S10:002 S18:000+CBST: 7,0,1+CRLP: 61,61,78,6+CR: 0+FCLASS: 0+CRC: 0+CMGF: 0+CNMI: 0,0,0,0,1+ILRR: 0+IPR: 0+CMEE: 0^SMGO: 0,0+CSMS: 0,1,1,1^SACM: 0,"000000","000000"^SCKS: 0,1+CREG: 0,1+CLIP: 0,2+CAOC: 0+COPS: 0,0,"operator"Required PIN not enteredACTIVE PROFILE:E1 Q0 V1 X4 &C1 &D2 &S0 \Q0S0:000 S3:013 S4:010 S5:008 S6:000 S7:060S8:000 S10:002 S18:000+CBST: 7,0,1+CRLP: 61,61,78,6+CR: 0+FCLASS: 0+ILRR: 0+IPR: 0+CMEE: 0^SCKS: 0,1OKLogical channels2 and 3 (Multiplexmode enabled)OK+CRC: 0+CMGF: 0+CNMI: 0,0,0,0,1+ILRR: 0+IPR: 19200+CMEE: 0^SMGO: 0,0+CSMS: 0,1,1,1^SACM: 0,"000000","000000"^SCKS: 0,1+CREG: 0, 1+CLIP: 0,2+CAOC: 0+COPS: 0,0,"operator"+ILRR: 0+IPR: 19200+CMEE: 0^SCKS: 0,1OKOKReferenceNote: Parameter values and order are subject to change.Page 40 of 207


2.38 <strong>AT</strong>&W Store current configuration to user defined profileExecute command TA stores the current settings to a user defined profile in the non-volatile memory.<strong>AT</strong>&W[]ResponseOK or if error is related to ME functionality: ERROR / +CME ERROR: Parameter 0 number of profileReferenceV.25terNoteThe user defined profile will be loaded automatically after PowerUp. Use <strong>AT</strong>Z torestore user profile and <strong>AT</strong>&F to restore factory settings. Until the first use of<strong>AT</strong>&W, <strong>AT</strong>Z works as <strong>AT</strong>&F. See Chapter 2.32 for details on <strong>AT</strong>Z and Chapter2.35 for <strong>AT</strong>&F.List of settings stored to user defined profile:• <strong>AT</strong>E, <strong>AT</strong>Q, <strong>AT</strong>V, <strong>AT</strong>X, <strong>AT</strong>+CRC, <strong>AT</strong>+CMGF, <strong>AT</strong>+CSDH, <strong>AT</strong>+CNMI, <strong>AT</strong>+ILRR,<strong>AT</strong>+CMEE, <strong>AT</strong>^SMGO, <strong>AT</strong>+CSMS, <strong>AT</strong>^SACM, ^SCKS, <strong>AT</strong>+CREG, <strong>AT</strong>+CLIP,<strong>AT</strong>+COPS.<strong>AT</strong>&C, <strong>AT</strong>&D, <strong>AT</strong>&S, <strong>AT</strong>S0, <strong>AT</strong>S3, <strong>AT</strong>S4, <strong>AT</strong>S5, <strong>AT</strong>S6, <strong>AT</strong>S7, <strong>AT</strong>S8, <strong>AT</strong>S10,<strong>AT</strong>S18, <strong>AT</strong>+FCLASS, <strong>AT</strong>+CBST, <strong>AT</strong>+CRLP, <strong>AT</strong>+CR.User defined profiles in multiplex mode:• On each multiplexer channel you can save an individual profile.• List of settings stored to profile on multiplexer channel 1:<strong>AT</strong>E, <strong>AT</strong>Q, <strong>AT</strong>V, <strong>AT</strong>X, <strong>AT</strong>+CRC, <strong>AT</strong>+CMGF, <strong>AT</strong>+CSDH, <strong>AT</strong>+CNMI, <strong>AT</strong>+ILRR,<strong>AT</strong>+CMEE, <strong>AT</strong>^SMGO, <strong>AT</strong>+CSMS, <strong>AT</strong>^SACM, ^SCKS, <strong>AT</strong>+CREG, <strong>AT</strong>+CLIP,<strong>AT</strong>+COPS.<strong>AT</strong>&C, <strong>AT</strong>&D, <strong>AT</strong>&S, <strong>AT</strong>S0, <strong>AT</strong>S3, <strong>AT</strong>S4, <strong>AT</strong>S5, <strong>AT</strong>S6, <strong>AT</strong>S7, <strong>AT</strong>S8, <strong>AT</strong>S10,<strong>AT</strong>S18, <strong>AT</strong>+FCLASS, <strong>AT</strong>+CBST, <strong>AT</strong>+CRLP, <strong>AT</strong>+CR.• List of settings stored to profile on multiplexer channels 2 and 3:<strong>AT</strong>E, <strong>AT</strong>Q, <strong>AT</strong>V, <strong>AT</strong>X, <strong>AT</strong>+CRC, <strong>AT</strong>+CMGF, <strong>AT</strong>+CSDH, <strong>AT</strong>+CNMI, <strong>AT</strong>+ILRR,<strong>AT</strong>+CMEE, <strong>AT</strong>^SMGO, <strong>AT</strong>+CSMS, <strong>AT</strong>^SACM, ^SCKS, <strong>AT</strong>+CREG, <strong>AT</strong>+CLIP,<strong>AT</strong>+COPS. (Parameters for data call are not relevant on channels 2 and 3.)Page 41 of 207


2.39 <strong>AT</strong>+GCAP Request complete TA capabilities listTest command<strong>AT</strong>+GCAP=?ResponseOKParameterExecute command<strong>AT</strong>+GCAPResponseTA reports a list of additional capabilities.+GCAP: OKParameter e.g.: +CGSM,+FCLASSReferenceV.25terNote+CGSM: The response text shows which GSM commands of the ETSI standardare supported.2.40 <strong>AT</strong>+GMI Request manufacturer identificationTest command<strong>AT</strong>+GMI=?ResponseOKExecute command<strong>AT</strong>+GMIResponseTA reports information to identify the manufacturer.SIEMENSOKReferenceV.25terNoteSee also ”<strong>AT</strong>+CGMI Request manufacturer identification”, Chapter 4.12.2.41 <strong>AT</strong>+GMM Request TA model identificationTest command<strong>AT</strong>+GMM=?ResponseOKExecute command<strong>AT</strong>+GMMTA reports one or more lines of information text which permit the user to identifythe specific model of device.MC35OKReferenceV.25terNoteSee also ”<strong>AT</strong>+CGMM Request model identification”, Chapter 4.13.Page 42 of 207


2.42 <strong>AT</strong>+GMR Request TA revision identification of software statusTest command<strong>AT</strong>+GMR=?ResponseOKExecute command<strong>AT</strong>+GMRResponseTA returns product software version identification text.REVISION xx.yyOKxx.yyVersion xx and variant yy of software release.ReferenceV.25terNoteSee also <strong>AT</strong>+CGMR Request revision identification of software status, Chapter4.14.2.43 <strong>AT</strong>+GSN Request TA serial number identification(IMEI)Test command<strong>AT</strong>+GSN=?ResponseOKExecute command<strong>AT</strong>+GSNResponseTA reports one or more lines of information text which permit the user to identifythe individual device.OKParameterIMEI of the telephone(International Mobile station Equipment Identity)ReferenceV.25terNoteThe serial number (IMEI) varies for every individual ME device.Page 43 of 207


2.44 <strong>AT</strong>+ILRR <strong>Set</strong> TE-TA local rate reportingTest command<strong>AT</strong>+ILRR=?Read command<strong>AT</strong>+ILRR?Response+ILRR: (list of supported s) OKParameterSee write commandResponse+ILRR: OKParameterSee write commandWrite command<strong>AT</strong>+ILRR=The write command specifies whether or not an intermediate result code shall indicatethe currently used local rate when an incoming or outgoing data call is established.The message is transmitted from the DCE (= TA) to the DTE (=TE) beforethe final result code of the connection setup (e.g. CONNECT) appears.ResponseOKParameter 0 Disables reporting of local port rate1 Enables reporting of local port rateReferenceV.25terExampleIntermediate result code+ILRR:ParameterNoteport rate setting in bit per second30060012002400480096001440019200288003840057600115200<strong>AT</strong>D030112233445+ILRR: 57600CONNECT 9600/RLP0 (Autobauding, see Chapter 2.45.1)Page 44 of 207


2.45 <strong>AT</strong>+IPR <strong>Set</strong> fixed local rateTest command<strong>AT</strong>+IPR=?Response+IPR: (list of supported auto-detectable s), (list of supported fixed-onlys) OKParameterSee write commandRead command<strong>AT</strong>+IPR?Response+IPR: OKParameterSee write commandWrite command<strong>AT</strong>+IPR=This command specifies the DTE-DCE bitrate. When you set a fix rate, make surethat both DTE (TE) and DCE (= TA) are configured to the same rate. When youselect autobauding the DCE will automatically recognize the bitrate currently usedby the DTE.A selected bitrate takes effect following the issue of any result code associatedwith this command (e.g. OK).The setting is stored in the non-volatile memory and will be used whenever theengine is powered up again. However, in case of autobaud mode (+IPR=0) thedetected DCE bitrate will not be saved and, therefore, needs to be be resynchronizedafter restarting the GSM engine (see Chapter 2.45.1).ResponseOK or if error is related to ME functionality: ERROR / +CME ERROR: Parameter bit rate per second0 (Autobauding, see Chapter 2.45.1)30060012002400480096001440019200288003840057600115200In order to account for greater amounts of data it is recommended to choose aminimum bit rate of 2400 bps. If the ME is operated in Multiplex mode we suggesta minimum bit rate of 4800 bps.ReferenceV.25terNoteFactory setting is =0. It cannot be restored with <strong>AT</strong>&F. The current settingwill be preserved when you download new firmware or when the ME is powereddown.Page 45 of 207


Generally, <strong>AT</strong>+IPR=x should be used as a standalone command. If neverthelesscombinations with other commands on the same line cannot be avoided, there areseveral constraints to be considered:• Avoid combinations with the <strong>AT</strong> commands listed in Chapter 1.4.2.• Take into account that a delay of 100 ms is required between a response to thelast command (e.g. OK) and the next command on the same line.• When you enter <strong>AT</strong>+IPR=0, autobauding will be activated after the response tothe last command is received.• When local echo is active (<strong>AT</strong>E1) and you enter <strong>AT</strong>+IPR=x with other commandsyou may encounter the following problem: If switching to the new bitrate takes effect while a response is being transmitted, the last bytes may besent at the new bit rate and thus, not properly transmitted. The following commandswill be correctly sent at the new bit rate.2.45.1 AutobaudingAutobauding allows the GSM engine to automatically detect the bitrate configured in the host application.The serial interface of the GSM engine supports autobauding for the following bitrates: 1200,2400, 4800, 9600, 19200, 38400, 57600, 115200. Factory setting is autobauding enabled. This givesyou the flexibility to put the GSM engine into operation no matter what bitrate your host application isconfigured to.To take advantage of autobaud mode specific attention must be paid to the following requirements:Synchronization between DTE and DCEEnsure that DTE and DCE are correctly synchronized and the bitrate used by the DTE is detected bythe DCE (= ME). To allow the bitrate to be synchronized simply issue an "<strong>AT</strong>" or "at" string. This isnecessary• after you have activated autobauding• when you start up the GSM engine while autobauding is enabled. It is recommended to wait 3 to 5seconds before sending the first <strong>AT</strong> character. Otherwise undefined characters might be returned.If you want to use autobauding and autoanswer at the same time, you can easily enable the synchronization,when you activate autobauding first and then configure the autoanswer mode (<strong>AT</strong>S0=0).Restrictions on autobauding operation• The serial interface has to be operated at 8 data bits, no parity and 1 stop bit (factory setting).• The A/ command (and a/) cannot be used.• Only the strings “<strong>AT</strong>“ or “at“ can be detected (neither “aT“ nor “At“).• The Unsolicited Result Codes "^SYSSTART", "^SYSSTART ALARM MODE" and "^SYSSTARTCHARGE-ONLY MODE" are not indicated when you start up the ME while autobauding is enabled.This is due to the fact that the new bitrate is not detected unless DTE and DCE are correctly synchronizedas described above.• Any other Unsolicited Result Codes that may be issued before the ME detects the new bitrate (byreceiving the first <strong>AT</strong> command string) will be sent at the previous bitrate.• It is not recommended to switch to autobauding from a bitrate that cannot be detected by the autobaudmechnism (e.g. 300 baud). Responses to +IPR=0 and any commands on the same line mightbe corrupted.• When entering several <strong>AT</strong> commands on the same line, consider the requirements described in theNotes of Chapter 2.45.• See also <strong>AT</strong>+ILRR <strong>Set</strong> TE-TA local rate reporting , pg. 43Autobauding and multiplex modeIf autobauding is active you cannot switch to multiplex mode (see +CMUX, pg. 99). Vice versa, whenyou run the multiplex mode, the write command <strong>AT</strong>+IPR= cannot be used.Page 46 of 207


3 <strong>AT</strong> <strong>Command</strong>s for FAXThe following commands can be used for FAX transmission. If the ME is acting as a Fax modem to aPC-based application (e.g. “WinFax“) it is necessary to select the proper Service Class (Fax Class)provided by the ME. The ME reports its Service Class capabilities, the current setting and the range ofservices available. This is provided by the <strong>AT</strong>+FCLASS command (see pg. 49).Note: When sending a FAX with a standard FAX application for Personal Computers it is recommendedto use autobauding (<strong>AT</strong>+IPR=0).Currently defined Service Class values (see TIA/EIA-592-A)ME +FCLASS parameter Service Class Reference, StandardC 0 data modem e.g. TIA/EIA-602 or ITU V.25terC 1 Service Class 1 EIA/TIA-578-A1.0 Service Class 1 ITU-T T.31C 2 manufacture specific this document and EIA PN-2388 (draft)2.0 Service Class 2 TIA/EIA-5922.1 Service Class 2 TIA/EIA-592-A or ITU-T T.328 Voice DCE TIA IS-101ReservedNote: Be aware that there is a difference between Service Classes 2 and 2.0! Only the first is applicableto the ME.Responses that may occur during a fax call are presented in the form of Unsolicited Result Codes(URCs). A summary of Fax specific URCs is listed in Chapter 8.1.4, Table 11.3.1 <strong>AT</strong>+FBADLIN Bad Line TresholdRead command<strong>AT</strong>+FBADLIN?This command defines the “Copy-Quality-OK”-threshold. If consecutivelines have pixel count errors in normal resolution (98 dpi) mode, then thecopy quality is unacceptable. If * 2 consecutive lines have pixel counterrors in fine resolution (196 dpi) mode, then the copy quality is unacceptable.“Copy Quality Not OK” occurs if either the error percentage is too high or toomany consecutive lines contain errors. A value of 0 implies that error checkingis not present or disabled.Response OKParameterSee write commandWrite command<strong>AT</strong>+FBADLIN=ResponseOKIf error is related to ME functionality:ERRORParameter0 – 10 – 255 bad linesReferenceEIA PN-2388NoteUsed for Fax class 2 onlyPage 47 of 207


3.2 <strong>AT</strong>+FBADMUL Error Threshold MultiplierRead command<strong>AT</strong>+FBADMUL?Write command<strong>AT</strong>+FBADMUL=This command defines the “Copy-Quality-OK” multiplier. The number of linesreceived with a bad pixel count is multiplied by this number. If the result exceedsthe total number of lines on the page the error rate is considered toohigh. A threshold multiplier value of 20 corresponds to a 5% error rate. A valueof 0 implies that error checking is not present or disabled.Response OKParameterSee write commandResponseOKIf error is related to ME functionality:ERRORParameter 0 – 20 – 255ReferenceEIA PN-2388NoteUsed for Faxclass 2 only3.3 <strong>AT</strong>+FBOR Query data bit orderTest command<strong>AT</strong>+FBOR=?Read command<strong>AT</strong>+FBOR?Query the bit order for receive-mode. The mode is set by the ME dependent onthe selected Service Class, see “<strong>AT</strong>+FCLASS Fax: Select, read or test serviceclass”, pg. 49.Response(list of supported bit order modes s)OKParameterSee write commandResponse OKParameterSee write commandWrite command<strong>AT</strong>+FBOR=ResponseOKParameter 0 direct bit order for both Phase C and for Phase B/D data.1 Reversed bit order for Phase C data, direct Bit Order forPhase B/D data.ReferenceEIA PN-2388NoteUsed for Fax class 2 onlyPage 48 of 207


3.4 <strong>AT</strong>+FCIG Query or set the Local polling idTest command<strong>AT</strong>+FCIG =?Read command<strong>AT</strong>+FCIG?Response(max. length of Local Polling ID string) (range of supported ASCII charactervalues) OKParameterSee write commandResponse OKParameterSee write commandWrite command<strong>AT</strong>+FCIG =ResponseOKParameterLocal Polling ID string, max. length and possible content as reportedby test command. Default value is empty string (“”).ReferenceEIA PN-2388NoteSee also “<strong>AT</strong>+FLID Query or set the Local Id setting capabilities”, pg. 55.Used for Faxclass 2 only3.5 <strong>AT</strong>+FCLASS Fax: Select, read or test service classTest command<strong>AT</strong>+FCLASS=?Read command<strong>AT</strong>+FCLASS?Write command<strong>AT</strong>+FCLASS=See introduction to fax commands, pg. 47.Response(list of supported s)OKParameterSee write commandResponse OKParameterSee write commandThe ME is set to a particular mode of operation (data, fax). This causes the MAto process information in a manner suitable for that type of information.ResponseOKParameterReferenceEIA/TIA-592-A 0 data (e.g. EIA/TIA-602 or ITU V.25ter)Note1 Fax class 1 (EIA/TIA-578-A, Service Class 1)2 Fax class 2 (EIA/TIA SP-2388, an early draft version ofEIA/TIA-592-A – Service class 2.1)Using Error Correcting Mode (ECM) when sending FAXes over GSM should beavoided.Page 49 of 207


3.6 <strong>AT</strong>+FCQ Copy Quality CheckingTest command<strong>AT</strong>+FCQ =?This command controls Copy Quality checking when receiving a fax.Response(list of supported copy quality checking s)OKParameterSee write commandRead command<strong>AT</strong>+FCQ?Response OKParameterSee write commandWrite command<strong>AT</strong>+FCQ =ResponseOKParameter 0 No copy quality checking. The ME will generate Copy QualityOK (MCF) responses to complete pages.1 ME can check 1-D phase data. The connected applicationmust check copy quality for 2-D phase C dataReferenceEIA PN-2388NoteUsed for for Faxclass 2 only.3.7 <strong>AT</strong>+FCR Capability to receiveWrite command<strong>AT</strong>+FCR=ResponseOKParameter 0 ME will not receive message data. This can be used whenthe application has insufficient storage. The ME can sendand can be polled for a file.1 ME can receive message data.ReferenceEIA PN-2388NoteUsed for Faxclass 2 onlyPage 50 of 207


3.8 <strong>AT</strong>+FDCC Query or set capabilitiesTest command<strong>AT</strong>+FDCC =?This command allows the connected application to sense and constrain thecapabilities of the facsimile DCE (=ME), from the choices defined in CCITTT.30 Table 2.Response(list of s), (list of s), (list of s), (list of s), (list of s),(list of s), (list of s), (list of s)OKParameterVR: Vertical Resolution, BR: Bit Rate, WD: Page Width, LN: Page Length, DF:Data Compression Format, EC: Error Correction Mode, BF: Binary FileTransfer Mode, ST: Scan Time/Line.Note: For further information see <strong>AT</strong>+FDIS, pg. 53Read command<strong>AT</strong>+FDCC?Response OKParameterSee write commandWrite command<strong>AT</strong>+FDCC=,,,,,,,ResponseOKParameterVR: Vertical Resolution, BR: Bit Rate, WD: Page Width, LN: Page Length, DF:Data Compression Format, EC: Error Correction Mode, BF: Binary FileTransfer Mode, ST: Scan Time/Line.Note: For further information see <strong>AT</strong>+FDIS, pg. 53ReferenceEIA PN-2388NoteUsed for Faxclass 2 onlyPage 51 of 207


3.9 <strong>AT</strong>+FDFFC Data Compression Format ConversionTest command<strong>AT</strong>+FDFFC=?This parameter determines the ME response to a mismatch between the dataformat negotiated for the facsimile session, reported by the +FDCS:DF subparameter,and the Phase C data desired by the controlling application, indicatedby the optional +FDT:DF subparameter, or the +FDIS=DF subparameterfor the +FDR operation.Response(list of supported s) OKParameterSee write commandRead command<strong>AT</strong>+FDFFC?Response OKParameterSee write commandWrite command<strong>AT</strong>+FDFFC =ResponseOKParameter 0 Mismatch checking is always disabled. The controlling applicationhas to check the +FDCS: DF subparameter andtransfer matching data.ReferenceEIA PN-2388NoteUsed for Fax Class 2 onlyPage 52 of 207


3.10 <strong>AT</strong>+FDIS Query or set session parametersTest command<strong>AT</strong>+FDIS =?Read command<strong>AT</strong>+FDIS?Write command<strong>AT</strong>+FDIS =,,,,,,,ReferenceEIA PN-2388This command allows the controlling application to sense and constrain thecapabilities used for the current session. It uses +FDIS to generate DIS orDTC messages directly, and uses +FDIS and received DIS messages to generateDCS messages.Response(list of s), (list of s), (list of s), (list of s), (list of s),(list of s), (list of s), (list of s)ParameterSee write commandResponse OKParameterSee write commandResponseOKParameterVertical Resolution VR 0 normal, 98 lpi1 fine, 196 lpiBit Rate BR 0 2400 bit/s, V.27ter1 4800 bit/s, V.27ter2 7200 bit/s, V.293 9600 bit/s, V.29Page Width WD 0 *) 1728 pixels in 215mm1 2048 pixels in 255 mm2 2432 pixels in 303 mm3 1216 pixels in 151 mm4 864 pixels in 107 mmPage Length LN 0 A4, 297mm1 B4, 364mm2 unlimited lengthData Compression Format DF 0 *) 1-D modified Huffman1 2-D modified read2 2-D uncompressed modeError correction EC 0 *) disable ECM(Annex A/T.30) 1 enable ECM, 64 bytes/frame2 enable ECM, 256 bytes/frameBinary File mode BF 0 *) disable BFTTransfer Mode 1 enable BFTScan Time/Line ST 0 *) 0 ms (at VR= normal)1 5 ms2 10 ms3 10 ms4 20 ms5 20 ms6 40 ms7 40 ms*) Note: Only the default value needs to be implemented. Use test commandto check which parameter values are really possible!NoteUsed for Faxclass 2 onlyPage 53 of 207


3.11 <strong>AT</strong>+FDR Begin or continue phase C data receptionExecute command<strong>AT</strong>+FDRThe +FDR command initiates transition to Phase C data reception.ResponseCONNECTorOKIf error is related to ME functionality:ERRORReferenceEIA PN-2388NoteUsed for Faxclass 2 only3.12 <strong>AT</strong>+FDT Data TransmissionExecute command<strong>AT</strong>+FDTWrite command<strong>AT</strong>+FDT =This command requests the ME to transmit a Phase C page. When the ME isready to accept Phase C data, it issues the negotiation responses and theCONNECT result code to the application.In Phase B, the +FDT command releases the ME to proceed with negotiation,and releases the DCS message to the remote station. In Phase C, the +FDTcommand resumes transmission after the end of a data stream transmitedbefore.ResponseCONNECTResponseCONNECTParameter DF,VR,BR,WD,LN comma separated parameter listData Compression Format DF 0 1-D modified Huffman1 2-D modified read2 2-D uncompressed modeVertical Resolution VR 0 normal, 98 lpi1 fine, 196 lpiBit Rate BR 0 2400 bit/s, V.27ter1 4800 bit/s, V.27ter2 7200 bit/s, V.293 9600 bit/s, V.29ReferenceEIA PN-2388Page Width WD 0 1728 pixels in 215mm1 2048 pixels in 255 mm2 2432 pixels in 303 mm3 1216 pixels in 151 mm4 864 pixels in 107 mmPage Length LN 0 A4, 297mm1 B4, 364mm2 unlimited lengthNoteUsed for Faxclass 2 onlyPage 54 of 207


3.13 <strong>AT</strong>+FET End a page or documentWrite command<strong>AT</strong>+FET=ReferenceEIA PN-2388This command indicates that the current page or partial page is complete. AnERROR response code results if this command is issued while the mode is onhook.ResponseOKParameterNotePost Page Message Codes1 another document next2 no more pages or documents4 another page, procedure interrupt5 another document, procedure interruptUsed for Faxclass 2 only3.14 <strong>AT</strong>+FK Kill operation, orderly FAX abortExecute command<strong>AT</strong>+FKReferenceThis command causes the TA to terminate the session in an orderly manner.ResponseOKNoteUsed for Faxclass 2 only3.15 <strong>AT</strong>+FLID Query or set the Local Id setting capabilitiesTest command<strong>AT</strong>+FLID =?Response(max. character length of Local ID string) (range of supported ASCII charactervalues) OKParameterSee write commandRead command<strong>AT</strong>+FLID?Response< lid > OKParameterSee write commandWrite command<strong>AT</strong>+FLID =ResponseOKParameterLocal ID string, max. length and possible content as reported by testcommand. Default value is empty string (“”).ReferenceEIA PN-2388NoteSee also “<strong>AT</strong>+FCIG Query or set the Local polling id”, pg. 48.Used for Faxclass 2 onlyPage 55 of 207


3.16 <strong>AT</strong>+FMDL Identify Product ModelRead command<strong>AT</strong>+FMDL?Send the model identification to the TAResponseGipsy Soft ProtocolstackOKReferenceSiemensNoteUsed for Faxclass 2 only3.17 <strong>AT</strong>+FMFR Request Manufacturer IdentificationRead command<strong>AT</strong>+FMFR?Send the manufacturer identification to the TAResponseSIEMENSOKReferenceSiemensNoteUsed for Fax class 2 only3.18 <strong>AT</strong>+FOPT <strong>Set</strong> bit order independentlyWrite command<strong>AT</strong>+FOPT=ReferenceSiemensModel specific command to set bit order independently of the understandingwhich is "mirrored" and which is direct.ResponseOKParameter 0 non-standard1 standardNoteUsed for Fax class 2 onlyPage 56 of 207


3.19 <strong>AT</strong>+FPHCTO DTE Phase C Response TimeoutRead command<strong>AT</strong>+FPHCTO?The time-out value determines how long the DCE will wait for a commandafter reaching the end of data when transmitting in Phase C. When time-out isreached, the DCE assumes that there are no more pages or documents to send.Write command<strong>AT</strong>+FPHCTO=ReferenceEIA PN-2388Response OKParameterSee write commandParameter 0 – 30 – 255 time-out value in 100ms units.ResponseOKIf error is related to ME functionality:ERRORNoteUsed for Fax class 2 only3.20 <strong>AT</strong>+FREV Identify Product RevisionTest command<strong>AT</strong>+FREV?ReferenceSiemensSends the revision identification to the TAResponseV2.550OKNoteUsed for Fax class 2 only3.21 <strong>AT</strong>+FRH Receive Data Using HDLC FramingExecute command<strong>AT</strong>+FRH=This command causes the TA to receive frames using the HDLC protocol and themodulation defined below. An ERROR response code results if this command isissued while the modem is on-hook.ResponseCONNECTIf error is related to ME functionality:ERRORReferenceTIA/EIA-578Parameter modulation mode3 V21 Ch2 300 bps24 V.27ter 2400 bps48 V.27ter 4800 bps72 V.29 7200 bps96 V.29 9600 bpsNoteUsed for Fax class 1 onlyPage 57 of 207


3.22 <strong>AT</strong>+FRM Receive DataTest command<strong>AT</strong>+FRM=?Write command<strong>AT</strong>+FRM=Response(List of supported modulation modes s) OKParameterSee write commandThis command causes the TA to enter the receiver-mode using the modulationdefined below. An ERROR response code results if this command is issued whilethe modem is on-hook.ResponseCONNECTIf error is related to ME functionality:ERRORParameter 96 V.29 9600 bps72 V.29 7200 bps48 V.27ter 4800 bps24 V.27ter 2400 bpsReferenceTIA/EIA-578NoteUsed for Faxclass 1 only3.23 <strong>AT</strong>+FRS Receive SilenceWrite command<strong>AT</strong>+FRS=+FRS=n causes the TA to report an OK result code to the TE after 10 millisecondintervals of silence have been detected on the line. This command isaborted if any character is received by the DTE. The modem discards the abortingcharacter and issues an OK result code. An ERROR response code results ifthis command is issued while the mode is on-hook.ResponseOKIf error is related to ME functionality:ERRORParameter 0 – 255 no. of 10 millisecond intervalsReferenceTIA/EIA-578NoteUsed for Faxclass 1 only3.24 <strong>AT</strong>+FTH Transmit Data Using HDLC FramingWrite command<strong>AT</strong>+FTH=ReferenceTIA/EIA-578This command causes the TA to transmit data using HDLC protocol and themodulation mode defined below. An ERROR response code results if this commandis issued while the modem is on-hook.ResponseCONNECTParameter 3 V.21 Ch2 300 bpsNoteUsed for Faxclass 1 onlyPage 58 of 207


3.25 <strong>AT</strong>+FTM Transmit DataTest command<strong>AT</strong>+FTM=?Response(List of supported modulation modes) OKParameterSee write commandWrite command<strong>AT</strong>+FTM=This command causes the TA to transmit data using the modulation mode definedbelow. An ERROR response code results if this command is issued whilethe modem is on-hook.ResponseCONNECTIf error is related to ME functionality:ERRORParametermodulation mode96 V.29 9600 bps72 V.29 7200 bps48 V.27ter 4800 bps24 V.27ter 2400 bpsReferenceTIA/EIA-578NoteUsed for Fax class 1 only3.26 <strong>AT</strong>+FTS Stop Transmission and WaitWrite command<strong>AT</strong>+FTS=This command causes the TA to terminate a transmission and wait for 10millisecond intervals before responding with the OK result code to the DTE.ResponseAn ERROR response code results if this command is issued while the modem ison-hook.Parameter 0 – 85 no. of 10 millisecond intervalsReferenceTIA/EIA-578NoteUsed for Fax class 1 onlyPage 59 of 207


3.27 <strong>AT</strong>+FVRFC Vertical resolution format conversionTest command<strong>AT</strong>+FVRFC =?This command determines the DCE response to a mismatch between the verticalresolution negotiated for the facsimile session and the Phase C data desired bythe DTE.Response(List of supported mismatch checking modes) OKParameterSee write commandRead command<strong>AT</strong>+FVRFC?Response OKParameterSee write commandWrite command<strong>AT</strong>+FVRFC=ResponseOKParameter 0 disable mismatch checking.2 enable mismatch checking, with resolution conversion of 1-Ddata in the DCE, and an implied <strong>AT</strong>+FK command executedon 2-D mismatch detectionReferenceEIA PN-2388NoteUsed for Fax class 2 onlyThe following <strong>AT</strong> commands are dummy commands. Invoking these commands will not cause ER-ROR result codes, but these commands have no functionality.<strong>AT</strong>+FAA<strong>AT</strong>+FECM<strong>AT</strong>+FLNFC<strong>AT</strong>+FLPL<strong>AT</strong>+FMINSP<strong>AT</strong>+FRBC<strong>AT</strong>+FREL<strong>AT</strong>+FSPL<strong>AT</strong>+FTBC<strong>AT</strong>+FWDFCAuto Answer modeError Correction Mode controlPage Length format conversionIndicate document available for pollingMinimum Phase C speedPhase C data receive byte countPhase C received EOL alignmentEnable pollingPhase C data transmit byte countPage width format conversionPage 60 of 207


4 <strong>AT</strong> <strong>Command</strong>s originating from GSM 07.07These <strong>AT</strong> <strong>Command</strong>s are according to ETSI (European Telecommunications Standards Institute)GSM 07.07 document.4.1 <strong>AT</strong>+CACM Accumulated call meter (ACM) reset or queryTest command<strong>AT</strong>+CACM=?ResponseOKParameterRead command<strong>AT</strong>+CACM?ResponseTA returns the current ACM value.+CACM: OKIf error is related to ME functionality:+CME ERROR: Parameterstring type; three bytes of the current ACM value in hexadecimal format(e.g. “00001E” indicates decimal value 30) 000000 – FFFFFFWrite command<strong>AT</strong>+CACM=[]Parameter string type:SIM PIN2ResponseTA resets the Advice of Charge related to the accumulated call meter (ACM)value in SIM file EF(ACM). ACM contains the total number of home units bothfor the current and preceding calls.OKIf error is related to ME functionality:+CME ERROR: ReferenceGSM 07.07Page 61 of 207


4.2 <strong>AT</strong>+CALA <strong>Set</strong> alarm timeTest command<strong>AT</strong>+CALA=?Test command returns supported array index values , alarm types ,and maximum length of the text to be output.Read command<strong>AT</strong>+CALA?Write command<strong>AT</strong>+CALA=[,[,[,]]]Response+CALA: (list of supported s), (list of supported s), (range of supported) OKIf error is related to ME functionality:+CME ERROR: ParameterSee write commandRead command returns the list of current active alarm settings in the ME.Response+CALA: [,[,[,]]]If error is related to ME functionality:+CME ERROR: ParameterSee write commandThe write command sets an alarm time in the ME. When the alarm is timed outand executed the ME returns an Unsolicited Result Code (URC). The alarm callcan adopt two functions, depending on whether or not you switch the GSM engineoff after setting the alarm:Reminder call: You can use the alarm function as a wake-up or reminder call.For this purpose, set the alarm as described below and do notswitch off or power down the ME. When executed the callcomes as an Unsolicited Result Code.Applies to MC35 and MC35 Terminal.Alarm mode: You can use the alarm call to restart the ME when powereddown. For this purpose, set the alarm as described below. Thenpower down the ME by entering the <strong>AT</strong>^SMSO command.When the alarm time is reached, the ME will wake up to Alarmmode. To prevent the ME from unintentionally logging into theGSM network, Alarm mode provides restricted operation. Uponwake-up, the ME indicates an Unsolicited Result Code whichreads: ^SYSSTART ALARM MODE. A limited number of <strong>AT</strong>commands is available during Alarm mode: <strong>AT</strong>+CCLK,<strong>AT</strong>+CALA, <strong>AT</strong>^SBC, <strong>AT</strong>^SCTM, <strong>AT</strong>^SMSO.The ME remains deregistered from the GSM network. If youwant the ME to return to full operation (normal operating mode)it is necessary to drive the ignition line (IGT pin of ZIF interface)to ground. If your application is battery powered note thatcharging cannot be started while ME is in Alarm mode. For detailsplease refer to the "Hardware Interface Description" suppliedwith your GSM engine.Applies to MC35 module only. MC35 Terminal does not supportthe Alarm mode.ResponseOKIf setting fails:+CME ERROR: Refer to Chapter 8.1.1, pg. 183, for values.Parameterstring type value; format is "yy/MM/dd,hh:mm:ss", where charactersindicate year (two last digits), month, day, hour, minutes. E.g. 6 th ofMay 2001, 22:10:00 Page 62 hours of 207equals to “01/05/06,22:10:00" (see also+CCLK). Note: if equals current date and time or is to an earlierdate, TA returns +CME ERROR: .


indicate year (two last digits), month, day, hour, minutes. E.g. 6 th ofMay 2001, 22:10:00 hours equals to “01/05/06,22:10:00" (see also+CCLK). Note: if equals current date and time or is to an earlierdate, TA returns +CME ERROR: .integer type value indicating the array index of the alarm. Index startswith 0. If only this value is returned by the test command, it is defaultand indicates that only one alarm time is possible; however, if a secondalarm time is set, the previous alarm is deleted.integer type value indicating the type of the alarm0 Alarm indication: text message via serial interfacestring type value indicating the text to be displayed when alarm timeis reached; maximum length is . After first connection topower supply is undefined.Note: will be stored to the non-volatile flash memory when thedevice enters the Power Down mode via <strong>AT</strong>^SMSO. Once saved, itwill be available upon next power-up, until you overwrite it by typinganother text. This eliminates the need to enter the full string whensetting a fresh alarm and thus, saves memory due to the limited numberof flash memory write cycles (e.g. 100.000).Unsolicited result code integer type value indicating the maximum length of . Themaximum length is 16.Indicates reminder call:+CALA: Indicates ME wake-up into Alarm mode:^SYSSTART ALARM MODE+CALA: If autobauding is active (<strong>AT</strong>+IPR=0) the URCs ^SYSSTART ALARM MODEand +CALA: do not appear. Therefore, avoid using Alarm mode in conjunctionwith autobauding.ReferenceGSM 07.07Note• should not contain characters which are coded differently in ASCIIand GSM (e.g. Ä, Ö, Ü), see also Chapter 8.5.• In the event of power outage the GSM engine retains the current alarm setting,but the RTC will be reset to = “00/01/01,00:00:00” and must berestored after resume of power (see also <strong>AT</strong>+CCLK, pg. 71. It is only inPower Down mode, that the RTC is kept powered from a dedicated voltageregulator, thus saving the current date and time.• When the GSM engine wakes up to Alarm mode, the system takes 1s to reinitializethe RTC and to update the current time. Therefore, it is recommendedto wait 1s before using the <strong>AT</strong>+CCLK command (for example 1safter ^SYSSTART has been output).• Please consider when using multiplex mode (+CMUX, pg. 99):- It is possible to use +CALA with every logical channel (1 – 3).- The total no. of possible alarm events is shared by all channels. If =0 is returned by the test command, this indicates that only one commonalarm time is possible for all logical channels.- For every channel a different parameter can be stored.- will be output on the same logical channel the alarm was entered.If not in multiplex mode, will be output independent of the relatedchannel.- The read command returns all pending alarms, independent on whichlogical channel an alarm was entered. It´s up to the user to identify thesealarms by specific Page s. 63 of 207


logical channel an alarm was entered. It´s up to the user to identify thesealarms by specific s.ExamplesExample 1:You may want to configure a reminder call for May 31, 2001, at 9.30h, includingthe message "Good Morning".Write command:<strong>AT</strong>+CALA="01/05/31,09:30:00",0,0,"Good Morning"OKDo not switch off the GSM engine. When the alarm is executed the ME returnsthe following URC:+CALA: Good MorningExample 2:To set a fresh alarm using the same message as in Example 1, simply enterdate and time. , , , can be omitted:<strong>AT</strong>+CALA="01/05/31,08:50:00"OKWhen the alarm is executed the URC comes with the same message:+CALA: Good MorningExample 3:To configure the alarm mode, e.g. for May 20, 2001, at 8.30h, enter<strong>AT</strong>+CALA="01/05/20,08:30:00"OKNext, power down the ME:<strong>AT</strong>^SMSO^SMSO: MS OFFWhen the alarm is executed the ME wakes up to Alarm mode and displays aURC. If available, this line is followed by the individual most recentlysaved. If no individual message was saved only the first line appears.^SYSSTART ALARM MODE+CALA: Good MorningTable 5: Summary of <strong>AT</strong> commands available in Alarm mode<strong>AT</strong> command<strong>AT</strong>+CALA<strong>AT</strong>+CCLK<strong>AT</strong>^SBC<strong>AT</strong>^SCTM<strong>AT</strong>^SMSOUse<strong>Set</strong> alarm time<strong>Set</strong> date and time of RTCIn Alarm mode, you can only query the present current consumption and checkwhether or not a charger is connected. The battery capacity is returned as 0, regardlessof the actual voltage (since the values measured directly on the cell arenot delivered to the module).Query temperature of GSM enginePower down GSM enginePage 64 of 207


4.3 <strong>AT</strong>+CAMM Accumulated call meter maximum (ACMmax) set or queryTest commandResponse<strong>AT</strong>+CAMM=?OKParameterRead command<strong>AT</strong>+CAMM?ResponseTA returns the current ACMmax value.+CAMM: OKIf error is related to ME functionality:+CME ERROR: ParameterSee write commandWrite command<strong>AT</strong>+CAMM=[[,]]ResponseTA sets the Advice of Charge related to the accumulated call meter maximumvalue in SIM file EF (ACMmax). ACMmax contains the maximumnumber of home units allowed to be consumed by the subscriber.OKIf error is related to ME functionality:+CME ERROR: Parameterstring type; three bytes of the max. ACM value in hexadecimalformat (e.g. “00001E” indicates decimal value 30) 000000disable ACMmax feature 000001-FFFFFFstring typeSIM PIN2ReferenceGSM 07.07NotePage 65 of 207


4.4 <strong>AT</strong>+CAOC Advice of Charge informationTest command<strong>AT</strong>+CAOC=?Response+CAOC: (list of supported s) OKParameterSee write commandRead command<strong>AT</strong>+CAOC?Response+CAOC: OKParameterSee write commandWrite command<strong>AT</strong>+CAOC=ResponseTA sets the Advice of Charge supplementary service function mode.If error is related to ME functionality:+CME ERROR: If =0, TA returns the current call meter valueOKParameter 0 query CCM valuestring type; three bytes of the current CCM value in hexadecimalformat (e.g. “00001E” indicates decimal value 30); bytes are similarlycoded as ACMmax value in the SIM 000000-FFFFFFExecute command<strong>AT</strong>+CAOCResponseTA returns the current call meter valueIf error is related to ME functionality:+CME ERROR: If =0, TA returns the current call meter value+CAOC: OKParameterSee write commandReferenceGSM 07.07NotePage 66 of 207


4.5 <strong>AT</strong>+CBST Select bearer service typeTest command<strong>AT</strong>+CBST=?Response+CBST: (list of supported s),(list of supported s),(list of supporteds) OKParameterSee write commandRead command<strong>AT</strong>+CBST?Response+CBST: ,,OKParameterSee write commandWrite command<strong>AT</strong>+CBST=[,[,]]ResponseTA selects the bearer service , the data rate and the connectionelement to be used when data calls are originated. The settings alsoapply to mobile terminated data calls, especially when single numberingscheme calls or calls from analog devices are received (see also Chapter4.45).OKParameter 0 auto bauding4 2400 bps( V.22bis)6 4800 bps( V.32)7 9600 bps(V.32)14 14400 bps (V.34)68 2400 bps (V.110)70 4800 bps (V.110)71 9600 bps (V.110)75 14400 bps (V.110) 0 asynchronous modem 1 non-transparentTransparent mode is not supported.ReferenceGSM 07.07Note• GSM 02.02[1]: List of allowed combinations of subparameters.• The PLMN influences the second air interface (to the terminator), thereforeanother mode may be established by the network.Page 67 of 207


4.6 <strong>AT</strong>+CCFC Call forwarding number and conditions controlTest command<strong>AT</strong>+CCFC=?Response+CCFC: (list/range of supported s) OKParameterSee execute commandWrite command<strong>AT</strong>+CCFC=,[,[,[,[,]]]]ResponseTA controls the call forwarding supplementary service. Registration, erasure,activation, deactivation and status query are supported.If ≠ 2 and command successful:OKIf = 2, ≠ 2 and command successful:+CCFC: , [, , ][+CCFC: ....] OKIf = 2, = 2 and command successful:+CCFC: , [, , [, ]][+CCFC: ....] OKIf error is related to ME functionality:+CME ERROR: Parameter 0 unconditional1 mobile busy2 no reply3 not reachable4 all call forwarding (includes reasons 0, 1, 2 and 3)5 all conditional call forwarding (includes reasons 1, 2 and 3) 0 disable call forwarding1 enable call forwarding2 query status of call forwarding3 register and activate call forwarding4 erase and deactivate call forwardingstring type phone number of forwarding address in format specifiedby .If you select = 3, the phone will be registeredin the network. This allows you to disable / enable CF to thesame destination without the need to enter the phone numberonce again. Depending on the services offered by the providerthe registration may be mandatory before CF can be used. Thenumber remains registered in the network until you register anothernumber or erase it using = 4.type of address in integer format; default 145 when dialling string includesinternational access code character “+”, otherwise 129integer or sum of integers each representing a of information:Page 68 of 207


tion:1 voice2 data4 fax8 short message service16 data circuit sync32 data circuit async64 dedicated packet access128 dedicated PAD accessx combination of some of the above classes.For example, the default setting 7 represents the sum ofthe integers 1, 2 and 4 (CF for voice, data and fax). Thevalue 255 covers all classes. If the parameter isomitted, the default value 7 is used.time to wait before call is forwarded, rounded to a multiple of 5 sec..1...20..30 (only for =no reply) 0 not active1 activeReferenceGSM 07.07,GSM 02.04,GSM 02.82Note• Please note that you can register, disable, enable and erase 4 and 5 as described above. However, it is not possible to query the statusof 4 and 5 with <strong>AT</strong>+CCFC. Instead, you may use the <strong>AT</strong>D commandfollowed by *'# codes to check the status of these two reasons. SeeChapter 8.4 for a complete list of *# GSM codes. See also examples below.• The <strong>AT</strong>+CCFC command offers a broad range of call forwarding optionsaccording to the GSM specifications. However, when you attempt to set acall forwarding option which is not provisioned or not yet subscribed to, thesetting will not take effect regardless of the response returned. The responsesin these cases vary with the network (for example “OK”, “Operationnot allowed”, “Operation not supported” etc.). To make sure check thecall forwarding status with =2.• 2 (data) comprises all those values between 16 and 128,that are supported both by the network and the MS. This means, a settingmade for 2 applies to all remaining data classes (if supported). Inaddition, you can assign a different setting to a specific class. For example,you can activate Call Forwarding for all data classes, but deactivate itfor a specific data class.• The command has been implemented with the full set of parametersaccording to GSM 07.07. For actual applicability of SS “call forwarding”to a specific service or service group (a specific value) pleaseconsult table A.1 of GSM 02.04.4.6.1 Examples: Call forwardingPlease note that when you configure or query call forwarding without specifying any classes, the settingswill refer to classes 1, 2 and 4 only (=default). The handling of classes is equivalent to <strong>AT</strong>+CLCK(Chapter 4.21.3).Example 1To register the destination number for unconditional call forwarding (CFU):at+ccfc=0,3,"+493012345678",145OKRemember that call forwarding will be activated for voice, data and fax (defaultclasses) when you register the destination number.Page 69 of 207


Example 2To query the status of CFU without specifying :at+ccfc=0,2+CCFC: 1,1,"+493012345678",145+CCFC: 1,2,"+493012345678",145+CCFC: 1,4,"+493012345678",145OKExample 3To deactivate CFU without specifying :at+ccfc=0,0OKTo check whether CFU was successfully deactivated (note that the destinationnumber remains registered in the network when you disable CFU):at+ccfc=0,2+CCFC: 0,1,"+493012345678",145+CCFC: 0,2,"+493012345678",145+CCFC: 0,4,"+493012345678",145OKExample 4To erase the registered CFU destination number:at+ccfc=0,4OKNow, when you check the status, no destination number will be indicated:at+ccfc=0,2+CCFC: 0,1+CCFC: 0,2+CCFC: 0,4Example 5To query the status of CFU for all classes:at+ccfc=0,2,,,255+CCFC: 0,1+CCFC: 0,2+CCFC: 0,4+CCFC: 0,8+CCFC: 0,16+CCFC: 0,32+CCFC: 0,64+CCFC: 0,128OKExample 6=4 or 5 cannot be used to query the status of all call forwarding reasons(see also notes above):at+ccfc=4,2+CME error: operation not supportedat+ccfc=5,2+CME error: operation not supportedPage 70 of 207


4.7 <strong>AT</strong>+CCLK Real Time ClockTest command<strong>AT</strong>+CCLK=?ResponseOKRead command<strong>AT</strong>+CCLK?Response+CCLK: OK/ERROR/+CME ERRORParameter::string type value; format is "yy/MM/dd,hh:mm:ss", where charactersindicate year (two last digits), month, day, hour, minutes, seconds;e.g. 6 th of May 2001, 22:10:00 hours equals to “01/05/06,22:10:00"Write command<strong>AT</strong>+CCLK=ResponseOK/ERROR/+CME ERRORParameter:see read commandReferenceGSM 07.07Note• is retained if the device enters the Power Down mode via<strong>AT</strong>^SMSO.• is lost if power is totally disconnected and if no separate batteryback-up for the clock is provided via the ZIF cable. In this case, the clockstarts with = “00/01/01,00:00:00” upon next power-up.• See <strong>AT</strong>+CALA, pg. 62.• When the GSM engine wakes up to Alarm mode, the system takes 1s tore-initialize the RTC and to update the current time. Therefore, it is recommendedto wait 1s before using the <strong>AT</strong>+CCLK command (for example1s after ^SYSSTART has been output).Page 71 of 207


4.8 <strong>AT</strong>+CCUG: Closed User GroupTest command<strong>AT</strong>+CCUG=?The Test command returns the supported parameters.Response+CCUG: (list of supported s),(list of supported ),(list of supported) OKRead command<strong>AT</strong>+CCUG?Explicit CUG invocation means that at each call setup, CUG information isadded to the called number.The Read command returns if the Explicit CUG invocation is activated, whichCUG index is chosen, and if Preferential Group or Outgoing Access is suppressed.Response+CCUG: , , OKWrite command<strong>AT</strong>+CCUG=[,[,[,]]The write command serves to activate or deactivate the explicit CUG invocation,to set the desired index, and to specify if Preferential Group or OutgoingAccess shall be suppressed.Parameter 0 Deactivate explicit CUG invocation1 Activate explicit CUG invocation 0...9 CUG index10 No index (preferred CUG taken from subscriber data) 0 No information1 Suppress Outgoing Access2 Suppress preferential CUG3 Suppress preferential CUG and Outgoing Access.ResponseOK/ERROR/+CME ERRORReferenceGSM 02.85SiemensNotePage 72 of 207


4.9 <strong>AT</strong>+CCWA Call waitingTest command<strong>AT</strong>+CCWA=?Read command<strong>AT</strong>+CCWA?Response+CCWA: (list of supported s)OK/ERROR/+CME ERRORParameterSee write commandResponse+CCWA: OK/ERROR/+CME ERRORParameterSee write commandWrite command<strong>AT</strong>+CCWA=[,[[,]]]This command controls the Call Waiting supplementary service according toGSM 02.83. Activation, deactivation and status query are supported.ResponseIf =2 and command is successful+CCWA: , +CCWA: , ...OK/ERROR/+CME ERRORParameters<strong>Set</strong>s/shows the presentation mode of URC in the TA0 disable1 enableWhen is not given, network is not interrogated.0 disable1 enable2 query statusSum of integers each representing a class of information (default7). Specifies the class of the active call.1 voice2 data4 fax7 voice, data and fax (1+2+4)8 SMS16 data circuit sync32 data circuit async64 dedicated packet access128 dedicated PAD access 0 not active1 activeUnsolicited ResultCodeIf =1 and the Call Waiting service is enabled the following URC indicates awaiting call to the TE:+CCWA: ,,,,Parameters of the URCPage 73 of 207


String type phone number of calling address in format specifiedby Type of address octet in integer format (refer to GSM 04.08subclause 10.5.4.7)Indicates the class of the waiting call. See Write command forpossible values. 0 CLI valid1 CLI has been withheld2 CLI is not availableReferenceGSM 07.07,GSM 02.04,GSM 02.83Note• With the <strong>AT</strong>+CHLD command, it is possible to establish a multiparty call orto set the active voice call on hold and then accept a waiting voice call (notpossible with fax and data call). See also <strong>AT</strong>+CHLD in Chapter 4.16.• The <strong>AT</strong>+CCWA command offers a broad range of options according to theGSM specifications. However, when you attempt to set a which isnot provisioned or not supported for Call Waiting, the setting will not takeeffect regardless of the response returned. The responses in these casesvary with the network (for example “OK”, “Operation not allowed”, “Operationnot supported” etc.). To make sure check the current Call Waiting settingswith =2.• 2 (data) comprises all those values between 16 and 128,that are supported both by the network and the MS. This means, a settingmade for 2 applies to all remaining data classes (if supported). Inaddition, you can assign a different setting to a specific class. For example,you can activate Call Waiting for all data classes, but deactivate it for a specificdata class.• The <strong>AT</strong>+CCWA command has been implemented with the full set of parameters according to GSM 07.07. For actual applicability of SS “callwaiting” to a specific service or service group (a specific value)please consult table A.1 of GSM 02.04Page 74 of 207


4.10 <strong>AT</strong>+CEER Extended error reportTest command<strong>AT</strong>+CEER=?ResponseOKExecute command<strong>AT</strong>+CEERTA returns an extended error report of the reason for the last call release andlocation.Response+CEER: , , OKParameter Location ID as number code (see subclause 8.1.6)Reason for last call release as number code (see subclause8.1.6)Release cause for last Supplementary Service Call(see subclause 8.1.14)ReferenceGSM 07.07Note• <strong>AT</strong>+CEER is not available for data calls, please use <strong>AT</strong>S18=1.• Default output in the case of a no-error-situation is +CEER: 0,0,0.Page 75 of 207


4.11 <strong>AT</strong>+CFUN <strong>Set</strong> phone functionalityTest command<strong>AT</strong>+CFUN=?Response+CFUN: (list of supported s), (list of supported s)If error is related to ME functionality:+CME ERROR: ParameterSee belowRead command<strong>AT</strong>+CFUN?Response+CFUN: If error is related to ME functionality:+CME ERROR: ParameterSee belowWrite command<strong>AT</strong>+CFUN=[[,]]The write command can be used to reset the ME, to choose one of the SLEEPmodes or to return to full functionality.Intended for power saving, SLEEP mode reduces the functionality level of theME to a minimum and, thus, minimizes the current consumption. SLEEP modefalls in two categories: NON-CYCLIC SLEEP mode =0 and CYCLICSLEEP modes, selectable as = 5 or 6.NON-CYCLIC SLEEP mode permanently blocks the serial interface. The CY-CLIC SLEEP mode, however, is a dynamic process which alternatingly enablesand disables the serial interface. The major benefit of CYCLIC SLEEP mode isthat the serial interface remains accessible and that packet-switched calls canbe done without exiting the SLEEP mode. Also, NON-CYCLIC and CYCLICSLEEP mode provide different ways to wake up the ME. For details see Chapter4.11.1.For CYCLIC SLEEP mode (=5 or 6) the application must be configured touse hardware flow control, set with <strong>AT</strong>\Q3. This is necessary since the CTSsignal is set/reset every time when the ME listens to a paging message fromthe base station. This is the way how the module indicates to the applicationwhen the UART is active. For detailed information on the timing of the CTS signalrefer to [1].ResponseOKIf error is related to ME functionality:+CME ERROR: Parameter 0 NON-CYCLIC SLEEP mode:In this mode, the <strong>AT</strong> interface is not accessible.Consequently, once you have set level 0, do notsend further characters. Otherwise these characters remainin the input buffer and may delay the output of an unsolicitedresult code.The first wake-up event stops power saving and takes theME back to full functionality level =1.1 Full functionality.If the ME is in one of the two CYCLIC SLEEP modes youcan issue <strong>AT</strong>+CFUN=1 to stop power saving and return tofull Page functionality. 76 of 207Keep in mind that, unlike the resetcommand described below, this action does not restart theME but only changes the level of functionality. Seeparameter for details on the reset.


can issue <strong>AT</strong>+CFUN=1 to stop power saving and return tofull functionality. Keep in mind that, unlike the resetcommand described below, this action does not restart theME but only changes the level of functionality. Seeparameter for details on the reset.5 CYCLIC SLEEP mode:In this mode, the serial interface is shortly enabled duringpaging. If characters are recognized on the serial interface,the ME stays active for 2 seconds after the last characterwas sent or received.6 CYCLIC SLEEP mode:In this mode, the serial interface is shortly enabled duringpaging. If characters are recognized on the serial interface,the ME stays active for 10 minutes after the last characterwas sent or received. 0 The parameter can only be used if the serial interfaceis enabled. Due to the command syntax, you need to enter, followed by , where is only a placeholderand has no effect. See examples below.1 ME resets and restarts to full functionality.After reset and restart, PIN 1 authentication is necessary(<strong>AT</strong>+CPIN). If autobauding is enabled it is recommended towait 3 to 5 seconds before entering the first <strong>AT</strong> command.For details on autobauding refer to Chapter 2.45.1.ReferenceGSM 07.07Note• If SLEEP mode (=0, 5, or 6) is activated while a circuit-switched call isin progress, this call will immediately be terminated.• Please keep in mind that power saving works only while the ME is registeredto the GSM network. If you attempt to activate one of the SLEEP modeswhile the ME is deregistered, the selected level will be set, but powersaving does not take effect. Furthermore, in order to accept incoming calls,SMS or network related URCs in SLEEP mode the ME must be registeredwhen it enters the SLEEP mode.• To check that power saving is on, you can query the status with <strong>AT</strong>+CFUN?,if you have chosen CYCLIC SLEEP mode. If available, you can take advantageof the status LED controlled by the SYNC pin (see Chapter [1]. TheLED stops flashing once the module starts power saving.• In Multiplex mode, the CFUN profile is shared by all multiplexer channels.Example 1To check the level of functionality use the read command:<strong>AT</strong>+CFUN?+CFUN: 1Default mode after ME was restarted.Remember that the <strong>AT</strong> interface is not accessible in NON-CYCLIC SLEEPmode. Consequently, the read command is only useful when the ME is set tofull functionality or, when is set to 5or 6.<strong>AT</strong>+CFUN?+CFUN: 5CYCLIC SLEEP mode.Example 2To set the ME to NON-CYCLIC SLEEP mode enter<strong>AT</strong>+CFUN=0Page 77 of 207


OKWhen, for example, an SMS is being received and indicated by an unsolicitedresult code (URC), the ME wakes up to full operation.+CMTI: "SM",5 Note that the URC used in this example will appearonly if CMTI=1,1 was configured before. See Chapters5.10 and 8.1.4.After this, you may want to verify the operating status:<strong>AT</strong>+CFUN?+CFUN: 1Indicates that ME has entered full functionality mode.Example 3To stop CYCLIC SLEEP mode and return to full functionality:<strong>AT</strong>+CFUN?+CFUN: 5OK<strong>AT</strong>+CFUN=1OKRemember that this approach is not applicable to the NON-CYCLIC SLEEPmode (since the serial interface is disabled). The NON-CYCLIC SLEEP modeends with the first wake-up event.Example 4To reset and restart the ME:<strong>AT</strong>+CFUN=1,1 or alternatively, <strong>AT</strong>+CFUN=0,1 or 5,1 or 6,1OK^SYSSTARTThe ^SYSSTART URC confirms that the ME has beenrebooted.Note that ^SYSSTART appears only if <strong>AT</strong>+IPR≠0. If theME is in autobaud mode, it is recommended to wait 3 to5 seconds before entering the first <strong>AT</strong> command.Remember to enter the SIM PIN after restart.Page 78 of 207


4.11.1 Wake up the ME from SLEEP modeA wake-up event is any event that switches off the SLEEP mode and causes the ME to return to fullfunctionality. In short, it takes the ME back to <strong>AT</strong>+CFUN=1.Definitions of the state transitions described in Table 6:Yes = ME exits SLEEP mode.No = ME does not exit SLEEP mode.Table 6: Wake-up events in NON-CYCLIC and CYCLIC SLEEP modeEventFrom SLEEP mode<strong>AT</strong>+CFUN=0 to<strong>AT</strong>+CFUN=1From SLEEP mode<strong>AT</strong>+CFUN=5 or 6 to<strong>AT</strong>+CFUN=1Ignition line No No/RTS0 (falling edge) Yes NoUnsolicited Result Code (URC) Yes YesIncoming voice or data call Yes YesAny <strong>AT</strong> command(incl. outgoing voice or data call, outgoingSMS)Incoming SMS depending on modeselected by <strong>AT</strong>+CNMI:<strong>AT</strong>+CNMI=0,0 (= default, no indicationupon receipt of SMS)<strong>AT</strong>+CNMI=1,1 (= displays URC uponreceipt of SMS)GPRS data transferNot possible(UART disabled)NoYesNot possible(UART disabled)NoNoYesNoRTC alarm Yes Yes<strong>AT</strong>+CFUN=1Not possible(UART disabled)YesRecommendation:• In NON-CYCLIC SLEEP mode, you can set an RTC alarm to wake up the ME and return to fullfunctionality. This is a useful approach because, in this mode, the <strong>AT</strong> interface is not accessible.Page 79 of 207


4.12 <strong>AT</strong>+CGMI Request manufacturer identificationTest command<strong>AT</strong>+CGMI=?ResponseOKExecute command<strong>AT</strong>+CGMIResponseTA returns manufacturer identification text.SIEMENSOKReferenceGSM 07.07NoteSee also ”<strong>AT</strong>+GMI Request manufacturer identification”.4.13 <strong>AT</strong>+CGMM Request model identificationTest command<strong>AT</strong>+CGMM=?ResponseOKExecute command<strong>AT</strong>+CGMMResponseTA returns product model identification text.MC35OKReferenceGSM 07.07NoteSee also ”<strong>AT</strong>+GMM Request TA model identification”.4.14 <strong>AT</strong>+CGMR Request revision identification of software statusTest command<strong>AT</strong>+CGMR=?ResponseOKExecute command<strong>AT</strong>+CGMRResponseTA returns product firmware version identification text.REVISION xx.yyOKxx.yyVersion xx and variant yy of software releaseReferenceGSM 07.07NoteSee also <strong>AT</strong>+GMR Request TA revision identification of software statusPage 80 of 207


4.15 <strong>AT</strong>+CGSN Request product serial number identification (IMEI) identicalto GSNTest command<strong>AT</strong>+CGSN=?Execute command<strong>AT</strong>+CGSNResponseOKResponseTA returns identification text for determination of the individual ME. OKReferenceGSM 07.07Parameter IMEI of the telephone (International Mobile station Equipment Identity)NoteSee also ”<strong>AT</strong>+GSN Request TA serial number identification”.4.16 <strong>AT</strong>+CHLD Call hold and multipartyTest command<strong>AT</strong>+CHLD=?Execute command<strong>AT</strong>+CHLD=[]ReferenceGSM 07.07Response+CHLD: (list of supported s)OKResponseTA controls the supplementary services Call Hold, MultiParty and Explicit CallTransfer. Calls can be put on hold, recovered, released, added to conversationand transferred.OKIf error is related to ME functionality:+CME ERROR: Parameter 0 Terminate all held calls; or set UDUB (User Determined UserBusy) for a waiting call, i.e. reject the waiting call.1 Terminate all active calls (if any) and accept the other call(waiting call or held call)1X Terminate the active call X (X= 1-7)2 Place all active calls on hold (if any) and accept the other call(waiting call or held call) as the active call2XPlace all active calls except call X (X= 1-7) on hold3 Add the held call to the active callsNote• This supplementary service is only applicable to teleservice 11 (Speech telephony).It is neither possible to put a data or fax call on hold, nor to switchfrom a voice call to a waiting data or fax call.The classes of waiting calls can be easily distinguished if the URC +CCWA:,,,, is enabled. See <strong>AT</strong>+CCWA inChapter 4.9.• The <strong>AT</strong>+CHLD command offers a broad range of options according to theGSM specifications. However, many of these options are dependent on theSIM card / service provider.• In conflicting situations, e.g. when a waiting call comes while there are alreadyheld calls, the above procedures apply to the waiting call only. For example,=0 rejects the waiting call, but does not affect the held calls.Page 81 of 207


4.17 <strong>AT</strong>+CHUP Hang up callTest command<strong>AT</strong>+CHUP=?ResponseOKExecute command<strong>AT</strong>+CHUPCancels all active and held calls.ResponseOK/ERRORReferenceGSM 07.07Note<strong>AT</strong>+CHUP implements the same behaviour as <strong>AT</strong>H (see Chapter 2.12).4.18 <strong>AT</strong>+CIMI Request international mobile subscriber identityTest command<strong>AT</strong>+CIMI=?ResponseOKExecute command<strong>AT</strong>+CIMIResponseTA returns < IMSI> for identifying the individual SIM which is attached to ME. OKIf error is related to ME functionality:+CME ERROR: ParameterInternational Mobile Subscriber Identity (string without quotes)ReferenceGSM 07.07NotePage 82 of 207


4.19 <strong>AT</strong>+CIND Indicator controlMC35 supports indicator event reporting for the following items: battery capacity, signal quality,service availability, generation of sound in the ME, indication of unread short messages, full SMSstorage, call in progress and roaming activities.There are two ways to display the status and event reports by indicators:1. You can directly query the current status of each indicator, simply by using the Read command<strong>AT</strong>+CIND. The Read command returns the status no matter whether the indicator has been registeredwith the Write command <strong>AT</strong>+CIND=[[,[,...]]].2. You can take advantage of Unsolicited Result Codes. These are the +CIEV URCs which the MEautomatically sends to the application, whenever the value of the associated indicator changes.The presentation of these URCs depends on two settings:a) The indicators must be registered with the Write command <strong>AT</strong>+CIND=[[,[,...]]].By default, all of them are registered. Any URCs you do not need can easily be excluded ifderegistered with =0.b) The URC presentation mode must be enabled with <strong>AT</strong>+CMER (see Chapter 4.26).Test command<strong>AT</strong>+CIND=?Read commandResponse+CIND: (,(list of supported s)) [,(,(list of supporteds))[,...]]Parametersvalues and their ranges."battchg" Battery charge level (0-5),where (0-5) means 0, 20, 40, 60, 80 or 100 percent of the the remaining battery capacity. If nobattery is connected to the ME, then the value willbe always equal to 5."signal"Signal quality (0-7 or 99 if not measurable). Theindicated value is the bit error rate of the signalreceived. See also Chapter 4.46."service" Service availability (0-1)."sounder"Sounder activity (0-1). The indicator provides informationabout tones generated in the ME. Thevalue 1 means for example:Incoming call - ME is ringing.Waiting call – ME generates waiting call tone (ifcall waiting is enabled).Outgoing call – ME generates Call Progress tone.Outgoing call – ME generates BUSY tone.The value changes to 0, when the tone stops."message" Unread short message(s) (0-1)."call"Call in progress (0-1). Voice und data calls only.The indicator changes its value as soon as a callhas been established, for example when both interlocutorsare connected or when the call ends."roam" Roaming indicator (0-1)."smsfull"A short message memory storage in the MT hasbecome full (1) or memory locations are available(0); i.e. the range is (0-1).integer type value, in the range stated above for the corresponding.In the list above, all parameters are presented by the sequence used in the Test,Read and Write commands.ResponsePage 83 of 207


<strong>AT</strong>+CIND?TA returns the status of the ME indicators.+CIND: [,[,...]]OKIf error is related to ME functionality+CME ERROR: Write command<strong>AT</strong>+CIND=[[,[,...]]]ParameterSee Test commandThe Write command simply controls the registration / deregistration of indicators. 0 Indicator is deregistered. The indicator cannot be presented as+CIEV URC, but can be directly queried with <strong>AT</strong>+CIND?.1 Indicator is registered, indicator event report is allowed.ReferenceGSM 07.07ExamplesNoteat+cind?+CIND: 5,99,1,0,0,0,0,0OKat+cmer=2,0,0,2OK+CIEV: message,0+CIEV: battchg,5+CIEV: signal,99+CIEV: service,1+CIEV: sounder,0+CIEV: call,0+CIEV: roam,0+CIEV: smsfull,0atd"0123456";OKThe battery is either full or an external supplysource is used. The bit error rate of the signalquality is not available (since there no call inprogress), and the ME is registered to its homenetwork.Activate Indicator Event Report with at+cmerYou make a call.+CIEV: sounder,1+CIEV: call,1+CIEV: sounder,0+CIEV: call,0NO CARRIERat+cind=,,,0,,0OKatd"0123456";OKNO CARRIERA set of +CIEV URCs reports is presentedThe receiver hangs up.You deregister the indicators ‘call’ and‘sounder’You make a call.This time, no +CIEV URCs are displayed.Page 84 of 207


4.20 <strong>AT</strong>+CLCC List current calls of METest command<strong>AT</strong>+CLCC=?ResponseOKParametersExecute command<strong>AT</strong>+CLCCResponseTA returns a list of current calls of ME. If command successful, but no calls areavailable, no information response is sent to TE.[+CLCC: ,,,,,[,,[]]][+CLCC: ,,,,,[,,[]]][...]]] OKIf error is related to ME functionality:+CME ERROR: ParametersInteger type; call identification number as described in GSM02.30[19] subclause 4.5.5.1; this number can be used in +CHLDcommand operations 0 mobile originated (MO) call1 mobile terminated (MT) callstate of the call:0 active1 held2 dialing (MO call)3 alerting (MO call)4 incoming (MT call)5 waiting (MT call)bearer/teleservice:0 voice1 data2 fax9 unknown 0 call is not one of multiparty (conference) call parties1 call is one of multiparty (conference) call partiesstring type phone number in format specified by type of address octet in integer format; 145 when dialling string includesinternational access code character “+”, otherwise 129string type alphanumeric representation of correspondingto the entry found in phonebook; used character set should bethe one selected with command Select TE Character <strong>Set</strong> +CSCSReferenceGSM 07.07NotePage 85 of 207


4.21 <strong>AT</strong>+CLCK Facility lockTest command<strong>AT</strong>+CLCK=?Execute command<strong>AT</strong>+CLCK=,[,[,]]Response+CLCK: (list of supported s) OKParameterSee execute commandUse this command to lock, unlock or interrogate a ME or a network facility. The command can be aborted when network facilities are being set orinterrogated.ResponseIf ≠ 2 and command is successfulOKIf = 2 and command is successful+CLCK: [,[+CLCK: , class2....]] OKIf error is related to ME functionality:+CME ERROR: Parameter Phone security locks set by client or factory:“SC” SIM (lock SIM cards). SIM requests password upon ME powerupand when this lock command is issued. "SC" lock is protectedwith SIM PIN1. The number can be modified with <strong>AT</strong>+CPWD or<strong>AT</strong>^SPWD. See examples in Chapter 4.21.2 for further explanations.“PS” Phone locked to SIM card. ME requests password when otherthan current SIM card is inserted.If set individually by the client, the password for the "PS" lockcan be specified with <strong>AT</strong>+CPWD or <strong>AT</strong>^SPWD.If set by factory (e.g. for a prepaid mobile), the password is suppliedby the provider or operator.“FD” SIM fixed dialling memory: If the mobile is locked to "FD", onlythe phone numbers stored to the "FD" memory can be dialled(depending on the SIM card, usually up to 7 numbers). PIN2 isrequested as ."CS" Keypad lock (not supported since keypad cannot be directlyconnected to the GSM engine)Note:Primarily intended for the client to take safety precautions, "SC","PS" and "FD" can be configured individually. "PS" may also befactory set."PS" lock is frequently referred to as "phone lock", or "devicelock". Accordingly, the password may be called "phone code" or"device code". The "PS" password is not associated with thePUK of the SIM card. If incorrectly entered three times, theMaster Phone Code is required to lift the lock. Once the MasterPhone Code has been acctepted, the mobile is operational, andthe "PS" lock is no longer active. If needed it must be set onceagain. See Chapter 4.35.1 and examples below for further details.Factory set SIM locksPage 86 of 207


“PF”“PN”“PU”“PP”“PC”lock Phone to the very First SIM cardNetwork PersonalisationNetwork subset PersonalisationService Provider PersonalisationCorporate PersonalisationNote:Typical examples of factory set SIM locks are prepaid phones ornetwork locks, used to restrict the operation of a mobile to a specificprovider or operator. The client should be aware that each ofthese lock types can only be unlocked if the associated passwordis available. For example, a mobile can be locked to acceptonly SIM cards from the respective provider, or even one singleSIM card. Once a different SIM card is inserted the ME willprompt the client to enter a specific code. This is not the PUK ofthe SIM card, but usually an 8-digit code which needs to be requestedfrom the provider.The locks can only be set by the manufacturer and need to beagreed upon between the parties concerned, e.g. provider, operator,distributor etc. on the one side and the manufacturer onthe other side. For details contact your local dealer.See Chapter 4.35 and 4.35.1 for further instructions.Supplementary Service: Call barring:“AO” BAOC (Bar All Outgoing Calls)“OI” BOIC (Bar Outgoing International Calls)“OX” BOIC-exHC (Bar Outgoing International Calls except to HomeCountry)“AI” BAIC (Bar All Incoming Calls)“IR” BIC-Roam (Bar Incoming Calls when Roaming outside the homecountry)“AB” All Barring services (applicable only for =0)“AG” All outGoing barring services (applicable only for =0)“AC” All inComing barring services (applicable only for =0)Note: 0 unlock1 lock2 query statusThe availability of the Supplementary Services varies with thenetwork. To benefit from call barring the client will need to subscribethem, though a limited number of call barring types maybe included in the basic tariff package. Call barring is protectedby a password supplied from the provider or operator. Usuallythere is one password which applies to all call barring options.For details contact your provider.When you attempt to set a or which is not provisioned,not yet subscribed to, or not supported by the module,the setting will not take effect regardless of the response returned.The responses in these cases vary with the network (forexample “OK”, “Operation not allowed”, “Operation not supported”etc.). To make sure check the call barring status with=2. passwordSee Chapters 4.38 for instructions of how to specify passwords.integer or sum of integers each representing a of information:1 voice2 data4 fax8 short message servicePage 87 of 207


0 off1 on16 data circuit sync32 data circuit async64 dedicated packet access128 dedicated PAD accessx combination of some of the above classes.For example, the default setting 7 represents the sum of theintegers 1, 2 and 4 (call barring for voice, data and fax). Thevalue 255 covers all classes. If the parameter isomitted, the default value 7 is used.See examples in 4.21.3 for correct handling of class numbers. 2 (data) comprises all those values between 16 and128, that are supported both by the network and the MS. This means,a setting made for 2 applies to all remaining data classes (ifsupported). In addition, you can assign a different setting to a specificclass. For example, you can activate call barring for all data classes,but deactivate it for a specific data class.ReferenceGSM 07.07GSM 02.04,GSM 02.88NoteThe command has been implemented with the full set of parametersaccording to GSM 07.07. For actual applicability of a specific to a specificservice or service group (a specific value) please consult table A.1 ofGSM 02.04.4.21.1 Examples: Enabling / disabling PIN 1 authenticationExample 1To lock or unlock the SIM card: The "SC" parameter enables or disables theSIM PIN authentication (PIN 1) when you power up the GSM engine:<strong>AT</strong>+CLCK="SC",1,9999OKActivates SIM card lock.As a result, SIM PIN 1 must be entered to enableME to register to the GSM network.<strong>AT</strong>+CLCK="SC",0,9999OKUnlocks SIM card.When powered up, ME registers to the GSMnetwork without requesting SIM PIN1.Note: Depending on the services offered by theprovider, this feature is not supported by allSIM card types. If so, the command returnsERROR when you attempt to unlock the card.Example 2To query the status of the SIM card lock:<strong>AT</strong>+CLCK="SC",2+clck: 14.21.2 Examples: Phone lockSIM card is locked. SIM PIN1 must be enteredto enable ME to register to the GSM network.Example 1Be sure that PIN 1 authentication is valid:<strong>AT</strong>+CPIN?+CPIN: SIM PINOKPage 88 of 207


<strong>AT</strong>+CPIN=9999OKTo lock the mobile to the currently inserted SIM card, first specify a password (=a phone code):<strong>AT</strong>+CPWD="PS",,1234 If "PS" lock has not been set before: enter newOKpassword.or:<strong>AT</strong>+CPWD="PS",1234,3333 To replace existing "PS" password: Enter oldOKand new one.Example 2Then, activate the phone lock:<strong>AT</strong>+CLCK="PS",1,3333OKTo deactivate the phone lock:<strong>AT</strong>+CLCK="PS",0,3333OKLocks the mobile to the current SIM card.Enter lock type "PS", followed by 0 to lift thelock. Then type "PS" lock password.As a result, the mobile accepts any SIM card and can be operated after thecard's SIM PIN 1 was entered.Example 3To operate the mobile with the SIM card for which "PS" lock was activated:<strong>AT</strong>+CPIN?Enter SIM PIN used when locking the mobile.+CPIN: SIM PIN"PS"lock password is not needed.<strong>AT</strong>+CPIN=9999OKExample 4To operate the mobile with other SIM card than the one used for the "PS" lock:Enter SIM PIN of present card, followed by "PS" lock password.<strong>AT</strong>+CPIN?+CPIN: SIM PIN<strong>AT</strong>+CPIN=1111OKEnter SIM PIN of present SIM card.SIM PIN accepted.<strong>AT</strong>+CPIN?+CPIN: PH-SIM PIN<strong>AT</strong>+CPIN=3333OK"PS" lock password is required."PS" lock password has been accepted.Example 5Attempt to unblock the "PS" lock using an invalid password:<strong>AT</strong>+CPIN?+CPIN: SIM PIN<strong>AT</strong>+CPIN=1111OKEnter SIM PIN of present SIM card.SIM PIN accepted.Page 89 of 207


<strong>AT</strong>+CPIN?+CPIN: PH-SIM PIN"PS" lock password is required.<strong>AT</strong>+CPIN=4444+CME ERROR: incorrect passwordBad password is given:After the "PS" lock password was incorrectly entered three times in a row:<strong>AT</strong>+CPIN?+CPIN: PH-SIM PUK<strong>AT</strong>+CPIN=12345678Master Phone Code is required (8-digit codeavailable from the manufacturer. See Chapter4.35.1).Master Phone Code has been accepted. As aresult, the mobile is operational, and the "PS"lock is totally removed. If needed, it must be setonce again.Example 6Attempt to unblock the "PS" lock using an invalid Master Phone Code: Due tothe timing algorithm explained in Chapter 4.35.1 the intervals between eachattempt are getting longer. See also <strong>AT</strong>^SPIC.Example 7As an alternative to the <strong>AT</strong>+CPIN command you can use <strong>AT</strong>+CPWD. In thiscase the following syntax shall be observed: <strong>AT</strong>+CPWD=PS,Master PhoneCode[,new password].<strong>AT</strong>+CPWD=PS,12345678Deactivates the "PS" lock.Or<strong>AT</strong>+CPWD=PS,12345678,3333Deactivates the present "PS" lockand sets a new "PS" lock.Page 90 of 207


4.21.3 Examples: Call barringPlease note that when you configure or query call barring without specifying any classes, the settingswill refer to classes 1, 2 and 4 only (default setting).Remember that most of the call barring types have to be subscribed to. Usually, the service is subjectto a password supplied from the provider.Example 1Example 2When checking the status of barring for outgoing international calls withoutspecifying classes, please note that the ME returns only the status of voice,data, fax calls. The status of SMS and other classes is not reported.at+clck=oi,2,0000 or without : at+clck=oi,2+CLCK: 1,1 outgoing international voice calls barred+CLCK: 1,2 outgoing international data calls barred+CLCK: 1,4 outgoing international fax calls barredOKTo check the call barring status for outgoing international calls and all classes,you are required to enter the integer sum referring to all classes:at+clck=oi,2,0000,255 or without : at+clck=oi,2,,255+CLCK: 1,1 outgoing international voice calls barred+CLCK: 1,2 outgoing international data calls barred+CLCK: 1,4 outgoing international fax calls barred+CLCK: 1,8 outgoing international SMS barred+CLCK: 0,16 no barring (e.g. not supported or not activated at all)+CLCK: 1,32 outgoing international data calls barred+CLCK: 0,64 no barring (e.g. not supported or not activated at all)+CLCK: 0,128 no barring (e.g. not supported or not activated at all)OKExample 3To activate call barring for outgoing international voice and data calls:at+clck=oi,1,0000,3 (where 3 is the sum of class 1 + class 2)OKExample 4 To disable call barring for outgoing international fax (class 4) and SMS (class 8)calls:at+clck=oi,0,0000,12 (where 12 is the sum of class 4 + class 8)OKExample 5To disable call barring for all outgoing international calls:at+clck=oi,0,0000,255OKPage 91 of 207


4.22 <strong>AT</strong>+CLIP Calling line identification presentationThis command refers to the GSM supplementary service CLIP (Calling Line Identification Presentation)that enables a called subscriber to get the calling line identity (CLI) of the calling party when receivinga mobile terminated call.Test command<strong>AT</strong>+CLIP=?Read command<strong>AT</strong>+CLIP?Write command<strong>AT</strong>+CLIP=Unsolicited resultcodeResponse+ CLIP: (list of supported s) OKParameterSee write commandResponse+CLIP: , OKIf error is related to ME functionality:+CME ERROR: ParameterSee write command<strong>Set</strong> command enables or disables the presentation of the CLI at the TE. It has noeffect on the execution of the supplementary service CLIP in the network.ResponseOKIf error is related to ME functionality:+CME ERROR: Parameter 0 suppress unsolicited result codes1 display unsolicited result codes 0 CLIP not provisioned1 CLIP provisioned2 unknownWhen CLIP is enabled at the TE (and is permitted by the calling subscriber), anunsolicited result code is returned after every RING (or +CRING: ) at amobile terminating call.Voice call response format:+CLIP: , ,,,,Data/FAX call response format:+CLIP: , ReferenceGSM 07.07Parameter string type phone number of calling address in format specified by type of address octet in integer format; 145 when dialling string includesinternational access code character “+”, otherwise 129.Note0 CLI valid1 CLI has been withheld by the originator.2 CLI is not available due to interworking problems or limitationsof originating network. shall be an empty string ("")and value will not be significant.Page 92 of 207


4.23 <strong>AT</strong>+CLIR Calling line identification restriction (by *# sequence)The <strong>AT</strong>+CLIR command is not supported. Instead, you can handle CLIR on a call-by-call basis usingthe <strong>AT</strong>D command and a *# sequenceRead command<strong>AT</strong>D*#31#Run the Read command to query status:Response+CLIR: ,Defined values (parameter shows the settings for outgoing calls):0 presentation indicator is used according to thesubscription of the CLIR service1 CLIR invocation2 CLIR suppression(parameter shows the subscriber CLIR service status inthe network):0 CLIR not provisioned1 CLIR provisioned in permanent mode2 unknown (e.g. no network, etc.)3 CLIR temporary mode presentation restricted4 CLIR temporary mode presentation allowedExecute commandsThe Execute commands allow you to enable or disable the presentationof your phone number to the called party when you set up a call:<strong>AT</strong>D*31#[;]<strong>AT</strong>D#31#[;]Deactivate CLIR = enable presentation of own phone numberto called partyActivate CLIR = suppress presentation of own phone number tocalled partyNote: = phone number of called partyPage 93 of 207


4.24 <strong>AT</strong>+CLVL Loudspeaker volume levelTest command<strong>AT</strong>+CLVL=?Response+CLVL: (list of supported s)OKRead command<strong>AT</strong>+CLVL?Response+CLVL: OK/ERROR/+CME ERRORWrite command<strong>AT</strong>+CLVL=ResponseOK/ERROR/+CME ERRORParameter Loudspeaker Volume Level (0-4)ReferenceGSM 07.07Note• The write command can only be used in audio mode 2 – 6.• The values of the volume steps are specified with the parameters,... of the <strong>AT</strong>^SNFO command.• As an alternative to <strong>AT</strong>+CLVL, you can use <strong>AT</strong>^SNFO and <strong>AT</strong>^SNFV.The parameter is identical with used by both commands.• Any change to (or ) takes effect in audio modes 2 to6. That is, when you change < level> (or ) and then selectanother mode with <strong>AT</strong>^SNFS, the same step will be applied.The only exception is audio mode 1 which is fixed to =4 (or accordingly=4).• (or is stored non-volatile when the ME is powereddown with <strong>AT</strong>^SMSO or reset with <strong>AT</strong>+CFUN=1,1.Page 94 of 207


4.25 <strong>AT</strong>+CMEE Report mobile equipment errorTest command<strong>AT</strong>+CMEE=?Response+CMEE: (list of supported s) OKParameterSee write commandRead command<strong>AT</strong>+CMEE?Response+CMEE: OKParameterSee write commandWrite command<strong>AT</strong>+CMEE=This command controls the presentation of the result codes +CME ERROR: and CMS: that indicate errors relating to ME functionality.When you power down or reset the ME with <strong>AT</strong>+CFUN=1,1 the setting will be resetto its default. The levels 1 or 2 need to be selected every time you reboot theME, or may be included, for permanent use, in the user profile saved with <strong>AT</strong>&W.ResponseOKParameter 0 disable result code (only 'ERROR' will be displayed)1 enable result code and use numeric values2 enable result code and use verbose valuesExampleReferenceGSM 07.07To obtain enhanced error messages it is recommended to choose =2.<strong>AT</strong>+CMEE=2OKNote• The possible error result codes are listed in chapter 8• In multiplex mode (see “<strong>AT</strong>+CMUX Enter multiplex mode”, pg. 99) the settingapplies only to the logical channel where selected. The setting on the otherchannels may differ.Page 95 of 207


4.26 <strong>AT</strong>+CMER Mobile equipment event reportingTest command<strong>AT</strong>+CMER=?Read command<strong>AT</strong>+CMER?Response+CMER: (list of supported s),(list of supported s),(list of supporteds),(list of supported s),(list of supported s)ParametersSee write commandResponse+CMER: ,,,,ParametersSee write commandWrite command<strong>AT</strong>+CMER=[[,[, [,[,]]]]]The Execute command enables and disables the presentation of Unsolicited ResultCodes for event reporting. MC35 supports only the type +CIEV (indicatorevent reporting). If enabled the +CIEV URCs are sent whenever the value of anindicator changes.ResponseOKParameters 0 Discard CIEV Unsolicited Result Codes1 Discard CIEV Unsolicited Result Codes when TA-TE link isreserved (e.g. in on-line data mode); otherwise forward themdirectly to the TE2 Buffer CIEV Unsolicited Result Codes in the TA when TA-TElink is reserved (e.g. in on-line data mode) and flush them tothe TE after reservation. Otherwise forward them directly to theTE.3 Forward CIEV Unsolicited Result Codes directly to the TE; TA-TE link specific inband technique used to embed result codesand data when TA is in on-line data mode 0 No keypad event reporting 0 No display event reporting 0 No indicator event reporting2 Indicator event reporting using result code+CIEV: , indicates the indicator’s name and is the newvalue of this indicator. All indicator events shall be directedfrom TA to TE. 0 TA buffer of Unsolicited Result Codes defined within thiscommand; is cleared when 1...3 is enteredUnsolicited Result Code:+CIEV: ,Parametersvalues and their ranges:"battchg" Battery charge level (0-5),where (0-5) means 0, 20, 40, 60, 80 or 100 percent of the the remaining battery capacity. If nobattery is connected to the ME, then the value willbe always equal to 5."signal"Signal quality (0-7 or 99 if not measurable). Theindicated value is the bit error rate of the signalreceived. See also Chapter 4.46.Page 96 of 207


eceived. See also Chapter 4.46."service" Service availability (0-1)."sounder"Sounder activity (0-1). The indicator provides informationabout tones generated in the ME. Thevalue 1 means for example:Incoming call - ME is ringing.Waiting call – ME generates waiting call tone (ifcall waiting is enabled).Outgoing call – ME generates Call Progress tone.Outgoing call – ME generates BUSY tone.The value changes to 0, when the tone stops."message" Unread short message(s) (0-1)."call"Call in progress (0-1). Voice und data calls only.The indicator changes its value as soon as a callhas been established, for example when both interlocutorsare connected or when the call ends."roam" Roaming indicator (0-1)."smsfull"A short message memory storage in the MT hasbecome full (1) or memory locations are available(0); i.e. the range is (0-1).integer type value, in the range stated above for the corresponding.ReferenceGSM 07.07Note• Only the indicators which are registered (see <strong>AT</strong>+CIND command), will be reportedif CMER is enabled.• After CMER has been switched on, +CIEV URCs for all registered indicatorswith their default value will be presented to the TE.• While the ME is in online data mode, no URC will be displayed. Each +CIEVURC is replaced with a Break (100 ms), and is stored in a buffer. Once the MEgoes into command mode (after +++ was entered), all URCs stored in thebuffer will be output.Exception: For “message” indicator, please note that each incoming short messagewill cause a Break.• See <strong>AT</strong>+CIND in Chapter 4.19.Page 97 of 207


4.27 <strong>AT</strong>+CMUT Mute controlTest command<strong>AT</strong>+CMUT=?Response+CMUT: (list of supported s)OKRead command<strong>AT</strong>+CMUT?Response+CMUT: OK/ERROR/+CME ERRORWrite command<strong>AT</strong>+CMUT=ResponseOK/ERROR/+CME ERRORParameter: 0 mute off1 mute onReferenceGSM 07.07NoteThis command can be used in all audio modes (1 to 6) and during a voicecall only. See <strong>AT</strong>^SNFS for more details on the various audio modes.Users should be aware that when they switch back and forth betweendifferent audio modes the value of does not change. This meansthat the status of mute operaton is retained until explicitly changed.As alternative, you can use the <strong>AT</strong>^SNFM command.Page 98 of 207


4.28 <strong>AT</strong>+CMUX Enter multiplex modeMC35 supports Multiplex mode according to the GSM 07.10 Multiplexer Protocol and enables onephysical serial asynchronous interface to be partitioned into three virtual channels. This allows youto take advantage of up to 3 simultaneous sessions running on the serial interface. Each sessionrepresents a stream of bytes conveying various data; such as voice, fax, data, SMS, phonebook information,battery status etc. For example, you can transfer data over one channel while two furtherchannels are free to control the GSM engine with <strong>AT</strong> commands. It should be noted, however, thatvoice, data, fax or GPRS calls cannot be established simultaneously, since the mobile device providesjust one air interface to the network.To make the three virtual interfaces (channels) available, both the MC35 module and the customerapplication must contain Mux components which communicate over the Multiplexer Protocol. In theMC35 module, the Mux/MP software is already incorporated. The customer application should eitherintegrate the MC35 Mux/MP software or include a Mux/MP program developed by the customer. The<strong>AT</strong>+CMUX write command starts the multiplexing protocol control channel.Refer to [5] which provides to a detailed description of the Multiplex functionality implemented inMC35 and step-by-step instructions of how to install and configure the MUX mode. The source filesof the MC35 Mux/MP software can be supplied on request. Please contact your local dealer to obtainthe latest installation software and user's guide.Test command<strong>AT</strong>+CMUX=?Response+CMUX: (list of supported s) OKRead command<strong>AT</strong>+CMUX?Response+CMUX: OKIf error is related to ME functionality:+CME ERROR: Write command<strong>AT</strong>+CMUX=ResponseOKIf error is related to ME functionality:+CME ERROR: Parametermultiplexer transparency mechanism0 basic optionSubparameters defined in GSM07.07 are adjusted for control and logicalchannels as follows: 0 UIH frames used only (control channel)ReferenceGSM 07.07Note1. The write command is used to enter the multiplex mode. The setup ofthe logical channels is initiated by the TE, i.e. the TE acts as initiator.This means that the TE shall ensure that logical channels are establishedbefore any further actions on the channels can be started.2. There is a timeout of five seconds, if the multiplexer protocol is enabledand no multiplexer control channel is established. The GSM engine returnsto the <strong>AT</strong> command mode.Page 99 of 207


3. There are various options to switch from data mode to command mode:a) Escape sequence +++b) Circuit 108/2 (DTR) changes from ON to OFF, reaction depends oncommand at&d (caution if <strong>AT</strong>&D0: TA ignores status on DTR).c) The message Modem Status <strong>Command</strong> (MSC) for control channel isdefined by the multiplexer protocol GSM07.10. MSC conveys V.24signals. Bit 3 of Control Signal Octet is DTR, reaction depends oncommand at&d (caution if <strong>AT</strong>&D0: TA ignores status on DTR).4. The parameter maximum frame size (N1) of <strong>AT</strong>+CMUX in GSM07.07 isfixed to 97 and cannot be changed. All other parameters are not available.5. Multiplex mode can be terminated by <strong>AT</strong>^SMSO. It has to be reestablishedafter power-on.4.28.1 Restricted use of <strong>AT</strong> commands in Multiplex modeIn Multiplex mode, the operation of several <strong>AT</strong> commands varies from the normal mode. This chaptersummarizes the concerned commands. For general rules and restrictions to be considered in Multiplexmode please refer to [5].Data, fax and GPRS calls can only be set up on logical channel 1. Due to this restriction, <strong>AT</strong> commandshave a different behaviour on channels 2+3 compared to channel 1. Several commands arenot available, others return different responses. These commands are listed in the table below:Table 7: Availability of <strong>AT</strong> commands on virtual channels<strong>Command</strong> Behaviour on channel 1 Differences on channel 2+3+++ as described 3) no data calls<strong>AT</strong>E as described as described<strong>AT</strong>+CBST as described not usable<strong>AT</strong>+CR as described not usable<strong>AT</strong>+CRLP as described not usable<strong>AT</strong>+CG... (GPRS commands) as described usage not recommended 2)<strong>AT</strong>+F.... (Fax commands) as described not usable<strong>AT</strong>&C as described not usable<strong>AT</strong>&D as described not usable<strong>AT</strong>&F as described data call parameters not changed,S3, S4 not changed<strong>AT</strong>&S as described not usable<strong>AT</strong>&V as described data call parameters not displayed<strong>AT</strong>A as described no data calls<strong>AT</strong>D as described no data calls<strong>AT</strong>DI as described not usable<strong>AT</strong>O as described not usable<strong>AT</strong>S0 1 ) as described not usable<strong>AT</strong>S3 1 ) as described as described<strong>AT</strong>S4 1 ) as described as described<strong>AT</strong>S5 1 ) as described not usable<strong>AT</strong>S6 1 ) as described not usable<strong>AT</strong>S7 1 ) as described not usable<strong>AT</strong>S8 1 ) as described not usablePage 100 of 207


<strong>Command</strong> Behaviour on channel 1 Differences on channel 2+3<strong>AT</strong>S10 1 ) as described not usable<strong>AT</strong>S18 1 ) as described not usable<strong>AT</strong>\Q as described not usable<strong>AT</strong>Z as described data call parameters not changed1)2)3)Siemens GSM engines support the registers S0 - S29. You can change S0, S3, S4, S5, S6, S7,S8,S10 and S18 using the related <strong>AT</strong>Sn commands (see starting from pg. 30).MC35 allows to use the GPRS commands on all logical channels, but to remain compatible to futurereleases it is recommended to use them on channel 1 only. PDP contexts can be defined onany channel, but are visible and usable only on the channel on which they are defined (thus it isnot possible to define a context on channel 2 and activate it on channel 3). GPRS data calls can beinitiated on any channel but will be always established on channel 1.The applicability of the +++ escape sequence depends on the customer’s external applicationbased on the Mulitplexer Protocol. Recommendations for implementing an appropriate modemstatus command (MSC) are provided in [5], Chapter “Escape Sequence”. The demo program PCMUX uses +++ as described in Chapter 2.2.Table 8: Summary of <strong>AT</strong> commands with different behaviour in Multiplex mode<strong>Command</strong> Description Chapter<strong>AT</strong>\Q<strong>AT</strong>HIt is recommended to use hardware flow control (<strong>AT</strong>\Q3). XON/XOFFflow control (<strong>AT</strong>\Q1) is not supported in Multiplex modeTerminates any voice, fax or CSD call in progress, no matter whatchannel was used to enter <strong>AT</strong>H.Terminates GPRS connections or clears active PDP context if issuedon the same channel.<strong>AT</strong>&V Different default configurations on channels 1, 2 and 3 2.37<strong>AT</strong>+IPR<strong>AT</strong>+IPR=0<strong>AT</strong>+CALABefore you start Multiplex mode, it is recommended to set the ME to57600 bps. For GPRS we suggest to use 115200 bps .The bit rate cannot be changed while Multiplex mode is active, thereforedo not use <strong>AT</strong>+IPR= in this mode.Autobauding is not compatible with Multiplex mode. It is neither possibleto start MUX when autobauding is active, nor to set autobaudingduring Multiplex mode.Alarm calls can be separately configured on each channel. The readcommand returns the total number of alarm calls activated on allchannels.<strong>AT</strong>+CMEE Presentation mode can be separately configured for each channel. 4.25<strong>AT</strong>+CNMA<strong>AT</strong>+CNMIIf Multiplex mode is activated the +CNMI parameter will be set to zeroon all channels, if one channel fails to acknowledge an incomingmessage within the required time.Phase 2+ parameters can only be used on one channel. The parameterfor and on the other channels have to be set tozero. If either a SM or a Status Report is not acknowledged, all+CNMI parameter will be set to zero on all channels.2.32.122.452.45.14.25.95.10Page 101 of 207


4.29 <strong>AT</strong>+COPN Read operator namesTest commandResponse<strong>AT</strong>+COPN=? OKExecute command<strong>AT</strong>+COPNTA returns the list of operator names from the ME. Each operator code that has an alphanumeric equivalent in the ME memory isreturned.Response+COPN: numeric ,long alphanumeric +COPN:.....OKIf error is related to ME functionality:+CME ERROR: Parameterstring type; operator in numeric form; GSM location area identificationnumberstring type; operator in long alphanumeric format; can containup to 16 charactersReferenceGSM 07.07NoteSee also <strong>AT</strong>^SPLM.Page 102 of 207


4.30 <strong>AT</strong>+COPS Operator selectionThis command can be used to query the present status of the ME's network registration and to determinewhether automatic or manual network selection shall be used.Automatic mode: Lets the ME automatically search for the home operator. If successful the MEregisters to the home network and enters the IDLE mode. If the home networkis not found, ME goes on searching. If then a permitted operator is found, MEregisters to this operator. If no operator is found the ME remains unregistered.Manual mode: Desired operator can be manually entered, using the <strong>AT</strong>+COPS write commandsyntax. If operator is found, ME registers to this operator. If the selectedoperator is forbidden, the ME remains unregistered.Manual/automatic: In this mode, the ME first tries to find the operator that was manually entered.If the ME fails to register to this operator, then it starts to select automaticallyanother network.Test command<strong>AT</strong>+COPS=?TA returns a list of quadruplets, each representing an operator present in thenetwork. The list of operators is presented in the following order: Home network,networks referenced in SIM, and other networks. Two commas in asuccession (,,) are a placeholder for the non-implemented 1 (shortalphanumeric operator name).Response+COPS: (list of supported (, long alphanumeric ,, numerics) [,(list of supported s), (list of supported s)] OKIf error is related to ME functionality:+CME ERROR: Parameters 0 unknown1 operator available2 current operator (registered)3 forbidden operatoroperator as per 0 - 4 see write command 0 - 2 see write commandRead command<strong>AT</strong>+COPS?TA returns the current mode and, if registered, the currently used operator. Ifthe ME is unregistered, and are omitted.Response+COPS: [, [, ]] OKIf error is related to ME functionality:+CME ERROR: ParametersSee write commandWrite command<strong>AT</strong>+COPS=[,[,]]The write command allows you to choose whether the GSM network operatoris to be selected automatically or manually. When using the manual mode, the must be entered, no matter whether you want to search for thehome operator or another one.ResponsePage 103 of 207


OKIf error is related to ME functionality:+CME ERROR: Parameters 0 automatic mode; field is ignored1 manual operator selection field must be present, can only be = 22 manually deregister from network and remain unregistereduntil mode 0,1,4 is selected3 set for read command +COPS?4 combination of manual/automatic mode;if manual selection fails, ME switches to automatic mode(=0). ( field must be present)operator as per 0 long format alphanumeric ; up to 16 characters2 numeric ; GSM Location Area Identification numberReferenceGSM 07.07Example 1Example 2NoteTo query the present status of ME's network registration using the test command:<strong>AT</strong>+COPS=?+COPS: (2,"D2",,"26202"),(3,"E-Plus",,"26203"),(3,"T-D1",,"26201"),(3,"Interkom",,"26207"),,(0-4),(0,2)OKRegistered operator is D2. The other operators are present in the network, butnot allowed to be used with the current SIM card.To query the status of the ME's network registration using the read command:<strong>AT</strong>+COPS?+COPS: 0,0,"D2" (command returns mode, format, registered operator)OKAttempt to manually select a forbidden operator:<strong>AT</strong>+COPS=1,2,26203OKIf the selected operator was not allowed, the ME is now unregistered. Theread command will return only the mode, but no operator:<strong>AT</strong>+COPS?+COPS: 1In this case, the test command returns only that the desired operator is available(


4.31 <strong>AT</strong>+CPAS Mobile equipment activity statusTest command<strong>AT</strong>+CPAS=?Response+CPAS: (list of supported s) OKParameterSee execute commandExecute command<strong>AT</strong>+CPASReferenceGSM 07.07ResponseTA returns the activity status of ME.+CPAS: OKIf error is related to ME functionality:+CME ERROR: Parameter 0 readyNote3 incoming call (ringing)4 call in progress or call holdPage 105 of 207


4.32 <strong>AT</strong>+CPBR Read current phonebook entriesTest command<strong>AT</strong>+CPBR=?ResponseTA returns location range supported by the current storage as a compound valueand the maximum length of and fields.Note:If SIM storage is selected, the length may not be available. If storage does notoffer format information, the format list should be empty parentheses.+CPBR: (list of supported s), , OKIf error is related to ME functionality:+CME ERROR: Execute command<strong>AT</strong>+CPBR=[,]Parametersupported range of location numbers (maximum number dependson storage type)max. length of phone number, normally 20, for a small numberof locations 40max. length of text assigned to phone number (depending onstorage type 16 - 18 characters including blanks)ResponseTA returns phonebook entries in location number range ... from the current phonebook memory storage selected with +CPBS. If isleft out, only location is returned.+CPBR: , , , [+CPBR: .....+CPBR: ,, , ] OKIf error is related to ME functionality:+CME ERRORExampleReferenceGSM 07.07Parameterlocation number where reading startslocation number where reading endsphone numbertype of address octet in integer format; 145 when dialling stringincludes international access code character “+”, otherwise 129.string type field of maximum length . Character set asspecified with +CSCS.1. First, run the Test command to find out the maximum range of entries storedin the active phonebook:<strong>AT</strong>+CPBR=?TA returns the supported values in the format: +CPBR: (1-100),20,17 where100 is the supported range of location numbers, 20 is the length of the phonenumber and 17 is the maximum length of the associated text.2. Now, run the Execute command to display the phonebook entries sorted bylocation numbers.<strong>AT</strong>+CPBR =1,100Note+CPBR 1,"+999999",145,"Charlie"+CPBR: 2,"+777777",145,"Bill"+CPBR: 3,"+888888",145,"Arthur" .........Page 106 of 207


4.33 <strong>AT</strong>+CPBS Select phonebook memory storageTest command<strong>AT</strong>+CPBS=?Response+CPBS: (list of supported s) OKIf error is related to ME functionality:+CME ERROR: Read command<strong>AT</strong>+CPBS?ParameterSee write commandResponseTA returns currently selected memory:+CPBS: ,, OKIf error is related to ME functionality:+CME ERROR: Write command<strong>AT</strong>+CPBS=ParameterSee write commandResponseTA selects current phonebook memory storage, which is used by other phonebookcommands.OKIf error is related to ME functionality:+CME ERROR: ReferenceGSM 07.07ParameterNote“SM” SIM phonebook (storage depends on SIM Card)“FD”“LD”SIM fixdialling phonebook (FD Phonebook storage pos.1-7).If the mobile is locked to FD, only the numbers stored to theFD memory can be dialled. To edit the FD phonebook PIN 2is required. See <strong>AT</strong>+CLCK Facility lock and <strong>AT</strong>+CPIN2Enter PIN2.SIM last-dialling-phonebook (LD Phonebook storage pos.1-10) (+CPBW not be applicable to this storage)“MC” ME missed (unanswered received) calls) (MC Phonebookstorage pos.1-10) list (+CPBW not applicable to this storage“RC”ME received calls list (+CPBW not applicable for this storage)(RC Phonebook storage pos.1-10)“ON” SIM (or ME) own numbers (MSISDNs) list“ME” ME Phonebook (storage pos.1-50)Integer type value indicating the number of used locations in selectedmemoryInteger type value indicating the maximum number of locations allowedin the selected memoryThis command can be used right after power-on to get selected .Since data need to be loaded from the SIM, values of and mightnot be available for the first 20 seconds.Page 107 of 207


4.34 <strong>AT</strong>+CPBW Write phonebook entryTest command<strong>AT</strong>+CPBW=?ResponseTA returns location range supported by the current storage, the maximumlength of field, supported number formats of the storage and themaximum length of field.Note: The length may not be available while SIM storage is selected. If storagedoes not offer format information, the format list should be empty parenthesises.Write command<strong>AT</strong>+CPBW=[][,[[,][,]]]+CPBW: (list of supported s), , (list of supported s), OKIf error is related to ME functionality:+CME ERROR: ParameterSee write command.This command writes a phonebook entry to the memory location of theactive memory.The memory location number is followed by the phone number (in the format ) and the associated .If writing fails, an ME error +CME ERROR: is returned.ParameterResponseLocation number within phonebook memory, total range is givenin test command responsePhone number, maximum length is given as in testcommand responseType of phone number (address octet in integer format); 145 whendialling string includes international access code character “+”,otherwise 129 (refer GSM 04.08 subclause 10.5.4.7)Text assigned to the phone number, maximum length is given intest command response . Character set as specified with+CSCS. See note below.Max. length of phone number, normally 20, for a small number oflocations 40Max. length of text assigned to phone number (depending onstorage type 16 - 18 characters including blanks)OK/ERROR/+CME ERRORTo delete a phonebook entry simply enter the location number:<strong>AT</strong>+CPBW=To write a phonebook entry to the first free location number:<strong>AT</strong>+CPBW=,,,ReferenceGSM 07.07NoteIf contains characters which are coded differently in ASCII and GSM(e.g. Ä, Ö, Ü), these characters have to be entered via escape sequences asdescribed in Chapter 1.5.Page 108 of 207


4.35 <strong>AT</strong>+CPIN Enter PINTest command<strong>AT</strong>+CPIN=?ResponseOKRead command<strong>AT</strong>+CPIN?ResponseTA returns an alphanumeric string indicating whether or not a password is required.+CPIN: OKIf error is related to ME functionality:+CME ERROR: ParameterSIM PIN authenticationREADYSIM PINSIM PUKSIM PIN2SIM PUK2PIN has already been entered. No further entryneeded.ME is waiting for SIM PIN1.ME is waiting for SIM PUK1 if PIN1 was disabledafter three failed attempts to enter PIN1.ME is waiting for PIN2, when the attempt to accessPIN2 requiring features was acknowledgedwith +CME ERROR:17 (e.g. if client attempts toedit the FD phonebook).ME is waiting for PUK2 to unblock a disabledPIN2. Necessary if preceding command was acknowledgedwith error +CME ERROR:18.Phone security locks set by client or factoryPH-SIM PINPH-SIM PUKME is waiting for phone-to-SIM card password if"PS" lock is active and user inserts other SIMcard than the one used for the lock. ("PS" lock isalso referred to as phone or antitheft lock).ME is waiting for Master Phone Code, if theabove "PS" lock password was incorrectly enteredthree times.Factory set SIM locksPH-FSIM PINPH-FSIM PUKME is waiting for phone-to-very-first-SIM card.Necessary when "PF" lock was set. When poweredup the first time, ME locks itself to the firstSIM card put into the card holder. As a result,operation of the mobile is restricted to this oneSIM card (unless the PH-FSIM PUK is used asdescribed below).ME is waiting for phone-to-very-first-SIM cardunblocking password to be given. Necessarywhen "PF" lock is active and other than first SIMcard is inserted.Page 109 of 207


PH-NET PINPH-NET PUKPH-NS PINPH-NS PUKPH-SP PINPH-SP PUKPH-C PINPH-C PUKSee Chapters for information on lock types.ME is waiting for network personalisation passwordME is waiting for network personalisation unblockingpasswordME is waiting for network subset personalisationpasswordME is waiting for network subset unblockingpasswordME is waiting for service provider personalisationpasswordME is waiting for service provider personalisationunblocking passwordME is waiting for corporate personalisationpasswordME is waiting for corprorate personalisation unblockingpasswordWrite command<strong>AT</strong>+CPIN=[,]ResponseThe write command lets the ME store the entered password. This may be forexample the SIM PIN1 to register to the GSM network, or the SIM PUK1 to replacea disabled PIN with a new one, or the PH-SIM PIN if the client has takenprecautions for preventing damage in the event of loss or theft etc. See abovefor the list of passwords.OKIf error is related to ME functionality:+CME ERROR: If no PIN request is pending (for example if PIN authentication has been doneand the same PIN is entered again) ME responds +CME ERROR: operation notallowed. No action is required from your part.Parameterpassword (string type), usually SIM PIN1.If the requested password was a PUK, such as SIM PUK1 or PH-SIM PUK or PH-FSIM PUK or another password, then mustbe followed by .if the requested code was a PUK: specify a new password or restorethe former disabled password. See Chapter 4.35.1 for moreinformation about when you may need to enter the PUK.ReferenceGSM 07.07Note• Caution: After entering a password with <strong>AT</strong>+CPIN all other commands thatneed access to data on the SIM card may be blocked for up to 20 seconds!• Successful PIN authentication only confirms that the entered PIN was recognizedand correct. The output of the result code OK does not necessarilyimply that the mobile is registered to the desired network.Typical example: PIN was entered and accepted with OK, but the ME failsto register to the network. This may due to missing network coverage, deniednetwork access with currently used SIM card, no valid roaming agreementbetween home network and currently available operators etc.MC35 offers various options to verify the present status of network registration:For example, the <strong>AT</strong>+COPS? (Chapter 4.30) command indicates thecurrently used network. With <strong>AT</strong>+CREG (Chapter 4.41) you can also checkthe current status and activate an unsolicited result code which appearswhenever the status of the network registration changes (e.g. when the MEis powered up, or when Page the 110 network of 207 cell changes).


the current status and activate an unsolicited result code which appearswhenever the status of the network registration changes (e.g. when the MEis powered up, or when the network cell changes).• Wait 10 seconds after PIN input before using SMS related commands.• and can also be entered in quotation marks (e.g. ”1234”).• To check the number of remaining attempts to enter the passwords use the<strong>AT</strong>^SPIC command.• See also Chapter 8.2 “Summary of PIN requiring <strong>AT</strong> <strong>Command</strong>s“.• See Chapters 4.38 for information on passwords.Page 111 of 207


4.35.1 What to do if PIN or password authentication fails?PIN1 / PUK1: After three failures to enter PIN 1, the SIM card is blocked (except for emergencycalls). To unblock the SIM card, the client needs to enter the associated PUK (= PINUnblocking Key / Personal Unblocking Key). After ten failed attempts to enter thePUK, the SIM card will be invalidated and no longer operable. In such a case, the cardneeds to be replaced.To unblock a disabled PIN1, use the <strong>AT</strong>+CPIN command and enter the PUK whenprompted by the response +CME ERROR: 12. Alternatively, you can use the <strong>AT</strong>Dcommand followed by the GSM code **05*PUK*newPIN*newPIN#.PIN2 / PUK2: PIN2 prevents unauthorized access to the features listed in Chapter 4.36. The handlingof PIN2 varies with the provider. PIN2 may either be a specific code suppliedalong with an associated PUK2, or a default code such as 0000. In either case, theclient is advised to replace it with an individual code. Incorrect input of PUK2 will permanentlyblock the additional features subject to PIN2 authentification, but usually hasno affect on PIN1.To unblock a disabled PIN2, use the <strong>AT</strong>+CPIN command and enter the PUK2 whenprompted by the response +CPIN: SIM PUK2 or after the equivalent error code: +CMEERROR: 18 was returned. Alternatively, you can use the <strong>AT</strong>D command followed bythe GSM code **052*PUK*newPIN*newPIN#.Phone lock:If the mobile was locked to a specific SIM card (= "PS" lock or phone lock), the PUKthat came with the SIM card cannot be used to remove the lock. After three failed attemptsto enter the correct password, ME returns +CPIN: PH-SIM PUK (= response toread command <strong>AT</strong>+CPIN?), i.e. it is now waiting for the Master Phone Code. This isan 8-digit device code associated to the IMEI number of the mobile which can only byobtained from the manufacturer or provider. When needed, contact your local dealerand request the Master Phone Code of the specific module.There are three ways to enter the Master Phone code:• You can send the it with <strong>AT</strong>D followed by *#0003*# .• You can enter the Master Phone Code when prompted after input of<strong>AT</strong>+CPIN. For instructions see the examples provided in Chapter 4.21.2).• As an alternative, you can use the <strong>AT</strong>+CPWD command and specify a newpassword for ="PS". To do so, enter the Master Phone Code for followed by , where may be the former disabled"PS" password or a new one (see examples in Chapters 4.21.2 and4.38).Usually, the Master Phone Code will be supplied by mail or e-mail. If the receivednumber is enclosed in the *# codes typically used for the <strong>AT</strong>D option, it is important tocrop the preceding *#0003* characters and the appended #.Example: You may be given the string *#0003*12345678#. When promptedfor the PH-SIM PUK simply enter 12345678.If incorrectly input, the Master Phone Code is governed by a specific timing algorithm:(n-1)*256 seconds (see table below). The timing should be considered by system integratorswhen designing an individual MMI.Table 9: Timing algorithm of incorrect password inputNumber of failed attemptsTime to wait before next input is allowed1 st failed attempt No time to wait2 nd failed attempt 4 seconds3 rd failed attempt 3 * 256 seconds4 th failed attempt 4 * 256 seconds5 th failed attempt 5 * 256 seconds6 th failed attempt and so forth 6 * 256 seconds and so forthPage 112 of 207


SIM locks:Call barring:These are factory set locks, such as "PF", "PN", "PU", "PP", "PC". An 8-digit unlockingcode is required to operate the mobile with a different SIM card, or to lift the lock. Thecode can only be obtained from the provider.Failure to enter the password is subject to the same timing algorithm as the MasterPhone Code (see Table 9).Supported modes are "AO", "OI", "OX", "AI", "IR", "AB", "AG", "AC". If the call barringpassword is entered incorrectly three times, the client will need to contact the serviceprovider to obtain a new one.Summary of related chapters:Related +CME errors are listed in Chapter 8.1.1. For further instructionsand examples see Chapters 4.21 (<strong>AT</strong>+CLCK Facility lock), 4.38(<strong>AT</strong>+CPWD Change password). A complete list of **# codes is providedin Chapter 8.4.Page 113 of 207


4.36 <strong>AT</strong>+CPIN2 Enter PIN2Test command<strong>AT</strong>+CPIN2=?Read command<strong>AT</strong>+CPIN2?Write command<strong>AT</strong>+CPIN2=[,]ResponseOKResponseTA returns an alphanumeric string indicating whether some password is requiredor not.+CPIN2: OKIf error is related to ME functionality:+CME ERROR: Parameter READY ME is not pending for any passwordResponseSIM PIN2SIM PUK2ME is waiting for SIM PIN2.This is returned only when PIN2 authenticationhas not yet been done or has failed (+CMEERROR:17).ME is waiting for SIM PUK2.This is returned only when PIN2 authenticationhas failed and ME is pending for SIM PUK2(i.e. +CME ERROR:18).The write command lets the ME store the entered password. This may be for examplethe SIM PIN2 to benefit from the features listed below, or the SIM PUK2 toreplace a disabled PIN2 with a new one. Note that PIN2 can only be entered ifPIN1 authentication was done.OKIf error is related to ME functionality:+CME ERROR: If the ME is requesting SIM PUK2, use to enter the PUK2, followed by to specify your new PIN2.Parameterpassword (string type), usually SIM PIN2 or, if requested, SIM PUK2if the requested code was SIM PUK2: new password (PIN2.See Chapter 4.35.1 for more information about when you may needto enter the PUK.ReferenceNoteFunctions accessible only after PIN2 authentication:• <strong>AT</strong>+CACM: Accumulated call meter (ACM) reset or query• <strong>AT</strong>+CAMM: Accumulated call meter maximum (ACMmax) set or query• <strong>AT</strong>+CLCK: Facility lock to "FD" (Fixed dialling phonebook)• <strong>AT</strong>^SLCK: Facility lock to "FD" (Fixed dialling phonebook)• <strong>AT</strong>+CPWD: Change "P2"password• <strong>AT</strong>^SPWD: Change "P2"password• <strong>AT</strong>+CPUC: Price per unit and currency table• <strong>AT</strong>+CPIN2: Enter SIM PIN2 or SIM PUK2 if requested.For example, SIM PIN2 will be needed when you attempt to edit the "FD"phonebook and ME returns +CME Error 17 or +CPIN: SIM PIN2.Once the required has been entered correctly, PIN2 authentication codechanges to READY. After 300s, a repetition of the authentication process is required(PIN2 authentication code changes from READY to SIM PIN2).Page 114 of 207


changes to READY. After 300s, a repetition of the authentication process is required(PIN2 authentication code changes from READY to SIM PIN2).Example 1To change PIN2:<strong>AT</strong>+CPWD=P2,0000,8888(where 0000 = old PIN2 and 8888 = new PIN2)Example 2To write to "FD" phonebook:<strong>AT</strong>+CPBS="FD"OK<strong>AT</strong>+CPBW=2,"+493012345678",145,"Charly"+CME Error 17 (access denied due to missing PIN2 authentication)<strong>AT</strong>+CPIN2=8888OK<strong>AT</strong>+CPBW=2,"+493012345678",145,"Charly"OKExample 3To change currency or price per unit:<strong>AT</strong>+CPUC="EUR","5",8888Page 115 of 207


4.37 <strong>AT</strong>+CPUC Price per unit and currency tableTest command<strong>AT</strong>+CPUC=?ResponseOKRead command<strong>AT</strong>+CPUC?ResponseRead command returns the current parameters of PUC.+CPUC: , OKIf error is related to ME functionality:+CME ERROR: ParameterSee write commandWrite command<strong>AT</strong>+CPUC=,[,]ResponseWrite command sets the parameters of Advice of Charge related price per unitand currency table. SIM PIN2 is usually required to set the parameters.If error is related to ME functionality:+CME ERROR: Parameterstring type; three-character currency code (e.g. “GBP”, “DEM”);character set as specified with <strong>AT</strong>+CSCS. If the currency nameis longer than three characters, all characters will be cut off afterthe third position. Before they are written to the SIM Card, thesecharacters are converted to the standard GSM alphabet.string type; price per unit; dot is used as a decimal separator(e.g. “2.66”). The length is limited to 20 characters. If the stringlength is exceeded, the command is terminated with an error.This string may only contain digits and a dot. Leading zeros areremoved from the string. The minimum and maximum value aredetermined by the structure of the SIM-PUCT file. The maximumprice per unit value is 999 999 999.00. When successfully entered,this value is rounded to maximum accuracy.Note: Due to storage in mantisse (range 0-4095) and exponent (-7to 7) it is possible that rounding errors occur.string type; SIM PIN2. String parameter which can contain anycombination of characters. The maximum string length is limitedto 8 characters. If this value is exceeded, the command terminateswith an error message. If the PIN2 is incorrect, a CME error(+CME ERROR: incorrect password) is output.ReferenceGSM 07.07NotePage 116 of 207


4.38 <strong>AT</strong>+CPWD Change passwordUse this command when you want to• change PIN1 or PIN2• change the password supplied from your provider for call barring• set individual phone security passwordsSee Chapters 4.21 for more information on the various lock features.Test command<strong>AT</strong>+CPWD=?ResponseTA returns a list of pairs which represent the available facilities and the maximumlength of the associated password.+CPWD: (list of supported (, )s) OKIf error is related to ME functionality:+CME ERROR: Parametersee execute commandinteger max. length of passwordExecute command<strong>AT</strong>+CPWD =, [],ResponseTA sets a new password for the facility lock function.OKIf error is related to ME functionality:+CME ERROR: Parameter Phone security locks set by manufacturer or client:"SC" SIM (lock SIM card). SIM asks SIM PIN1 when ME is switchedon and when this lock command is issued."P2" SIM PIN2. Used to access the functions listed in Chapter 4.36."PS" Phone locked to SIM (device code). The "PS" password may eitherbe individually specified by the client or, depending on thesubscription, supplied from the provider (e.g. with a prepaid mobile).Note:Each, SIM PIN1 and SIM PIN2 are assigned a PUK to unblock adisabled PIN.The "PS" password, however, is never associated with a PUK. Ifit is incorrectly entered three times, the Master Phone Code isrequired. See Chapter 4.35.1Locks set by the manufacturer:"PF" lock Phone to the very first SIM card"PN" Network Personalisation"PU" Network-subset Personalisation"PP" Service-Provider Personalisation"PC" Corporate PersonalisationNote:Typical examples of factory set locks are prepaid phones or networklocks (e.g. if the operation of a mobile is restricted to a specificprovider or operator). The locks can only be set by themanufacturer and need to be agreed upon between the partiesconcerned, e.g. provider, operator, distributor etc. on the oneside and the manufacturer on the other side. For details contactyour local dealer.The client should be aware that each of these lock types canonly be Page unlocked 117 of if 207 the associated password is available. SeeChapter 4.35 and 4.35.1 for further instructions.


The client should be aware that each of these lock types canonly be unlocked if the associated password is available. SeeChapter 4.35 and 4.35.1 for further instructions.Supplementary Service: Call barring"AO" BAOC (Bar All Outgoing Calls)"OI" BOIC ( Bar Outgoing International Calls)"OX" BOIC-exHC ( Bar Outgoing International Calls except to HomeCountry)"AI" BAIC (Bar All Incoming Calls)"IR" BIC-Roam (Bar Incoming Calls when Roaming outside the homecountry)"AB" All Barring services (applicable only for = 0)"AG" All outGoing barring services (applicable only for = 0)"AC" All inComing barring services (applicable only for = 0)Note:The availability of the Supplementary Services varies with thenetwork. To benefit from call barring the client will need to subscribethem, though a limited number of call barring types maybe included in the basic tariff package. Call barring is protectedby a password supplied from the provider or operator. Usuallythere is one password which applies to all call barring options.For details contact your provider.password specified for the facility.Can be ignored if no old password was allocated to the facility.Take into account that a password may have already been setby factory, or that the service is subject to a password issued bythe provider. See notes above or contact provider.if = “SC” then PINif = “AO”...”AC” (barring) then network password(if needed)if = “P2” then PIN2if = “PS” then passwordnew passwordTo delete a password use the following syntax:at+cpwd=,ReferenceGSM 07.07NoteCAUTION: After three attempts to enter a false PIN you will be prompted toenter the PUK. Failure to enter the PUK will permanently diasble the SIM card.See Chapter 4.35.1 for more information.Example 1To change PIN2:<strong>AT</strong>+CPWD=P2,0000,8888(where 0000 = old PIN2 and 8888 = new PIN2)Example 2To set password used to enable or disable barring of all outgoing calls:<strong>AT</strong>+CPWD=ao,0000,3333Example 3To change the "PS" lock password, using the correct old password:<strong>AT</strong>+CPWD=PS,1111,2222 (where 1111 = old "PS" password and 2222 =new password)Page 118 of 207


To specify a new "PS" lock password, after the old password was disabled, e.g.after three failed attempts to enter the password (only if Master Phone Code isavailbale):<strong>AT</strong>+CPWD=PS,12345678,1111(where 12345678 is the Master Phone codeand 1111 is the new password. You may alsouse to restore the former disabledpassword). This operation deactivates thepresent phone lock and sets a new one. Seealso Chapter 4.35.1.Alternatively, whithout giving a new password:<strong>AT</strong>+CPWD=PS,12345678 Deactivates the present phone lock.Page 119 of 207


4.39 <strong>AT</strong>+CR Service reporting controlTest command<strong>AT</strong>+CR=?Response+CR: (list of supported s) OKParameterSee write commandRead command<strong>AT</strong>+CR?Response+CR: OKParameterSee write commandWrite command<strong>AT</strong>+CR=ResponseConfigures the TA whether or not to transmit an intermediate result code +CR: to TE when a call is being set up.OKParameter 0 disable1 enableIntermediate result codeIf enabled, an intermediate result code is transmitted at the point during connectnegotiation when the TA has determined the speed and quality of serviceto be used, before any error control or data compression reports are transmitted,and before any final result code (e.g. CONNECT) appears.+CR:Parameter REL ASYNC asynchronous non-transparentReferenceGSM 07.07NoteThe PLMN influences the second air interface (to the terminator), therefore anothermode may be established from the networkPage 120 of 207


4.40 <strong>AT</strong>+CRC <strong>Set</strong> Cellular Result Codes for incoming call indicationTest command<strong>AT</strong>+CRC=?Response+CRC: (list of supported s) OKParameterSee write commandRead command<strong>AT</strong>+CRC?Response+CRC: OKParameterSee write commandWrite command<strong>AT</strong>+CRC=[]ResponseSpecifies whether or not to use the extended format of incoming call indication.OKParameters 0 disable extended format1 enable extended formatUnsolicited result codeIf enabled, the unsolicited result code +CRING: replaces the normalRING code to indicate the incoming call and the type of the call.Parameter REL ASYNC asynchronous non-transparentFAXfacsimileVOICEvoiceReferenceGSM 07.07NotePage 121 of 207


4.41 <strong>AT</strong>+CREG Network registrationTest command<strong>AT</strong>+CREG=?Read command<strong>AT</strong>+CREG?Response+CREG: (list of supported s) OKParameterSee write commandME returns the URC presentation mode and an integer that showsthe registration status of the ME. The location information elements and are returned only when =2 and ME is registered to the network.Response+CREG: ,[,,]OKor if an error occurs which is related to ME functionality:+CME ERROR: (for error text see Chapter 8.1.1. or set <strong>AT</strong>+CMEE=2)Write command<strong>AT</strong>+CREG=[]Use the write command to select the type of URC. Two types of URCs areavailable:+CREG: if =1. To be issued when the ME's network registrationstatus changesor+CREG: [,,] if =2. To be issued when ME's network registrationor network cell changes.ResponseOKor if an error occurs which is related to ME functionality:+CME ERROR: 256 If = 0: Attempt to set once again =0 causes errorcode 256.If > 0: Attempt to activate a URC mode that is alreadyactive is acknowledged with OK.Parameter 0 disable URCs1 enable URC +CREG: to report status of network registration2 enable URC +CREG:[,,] to report status ofnetwork registration including location information. Pleasenote that optional parameters will not be displayed duringcall. 0 not registered, ME is currently not searching for new operatorUnsolicited result code1 registered, home network2 not registered, but ME is currently searching for a new operator3 registration denied4 unknown5 registered, roamingstring type; two byte location area code in hexadecimal format(e.g. "00C3" equals 193 in decimal)string type; two byte cell ID in hexadecimal formatPage 122 of 207


If =1 and there is a change in the ME network registration status:+CREG: If =2 and there is a change in the ME network registration status or achange of the network cell:+CREG: [,,]ReferenceGSM 07.07NoteOptional parameters will not be displayed during a call.Example <strong>AT</strong>+CREG=2 Activates extended URC mode.OK<strong>AT</strong>+COPS=0OK+CREG: 2+CREG: 1,"0145","291A"Forces ME to automatically search networkoperator.URC reports that ME is currently searching.URC reports that operator has been found.Page 123 of 207


4.42 <strong>AT</strong>+CRLP Select radio link protocol param. for orig. non-transparentdata callTest command<strong>AT</strong>+CRLP=?ResponseTA returns values supported by the TA as a compound value.+CRLP: (list of supported s), (list of supported s), (list of supporteds), (list of supported s)OKParameterSee write commandRead command<strong>AT</strong>+CRLP?ResponseTA returns current settings for the supported RLP version 0.+CRLP: ,,,[,]OKParameterSee write commandWrite command<strong>AT</strong>+CRLP= [[, [,[,]]]]ResponseTA sets radio link protocol (RLP) parameters used when non-transparent datacalls are originated.OKParameter 0-61 Interworking window size (IWF to MS) 0-61 Mobile window size (MS to IWF) 48-78-255 Acknowledgement timer (T1 in 10 ms units) 1-6-255 Re-transmission attempts N2 0 RLP version number in integer format; when versionindication is not present it shall equal 0.ReferenceGSM 07.07Note• RLP version 0: single-link basic version;• RLP version 1: single-link extended version (e.g. extended by data compression);• RLP version 2: multi-link version.• Compression and multi-link are not supported.Page 124 of 207


4.43 <strong>AT</strong>+CRSM Restricted SIM accessTest command<strong>AT</strong>+CRSM=?ResponseOKWrite command<strong>AT</strong>+CRSM=[,[,,,[,]]]By using this command the TE has access to the SIM database. SIM access isrestricted to the commands which are listed below.As response to the command the ME sends the current SIM information parametersand response data. ME error result code +CME ERROR may be returnedwhen the command cannot be passed to the SIM, but failure in the executionof the command in the SIM is reported in and parameters.Response+CRSM: , [,]OK / ERROR / +CME ERROR: Parameter 176 READ BINARY178 READ RECORD192 GET RESPONSE214 UPD<strong>AT</strong>E BINARY220 UPD<strong>AT</strong>E RECORD242 ST<strong>AT</strong>USall other values are reserved; refer GSM 11.11.integer type; this is the identifier for an elementarydata file on SIM. Mandatory for every command exceptST<strong>AT</strong>US,, integer type, range 0 - 255parameters to be passed on by the ME to the SIM;refer GSM 11.11.information which shall be written to the SIM (hexadecimalcharacter format), integer type, range 0 - 255status information from the SIM about the executionof the actual command. These parameters are deliveredto the TE in both cases, on successful or failedexecution of the command; refer GSM 11.11.response of a successful completion of the commandpreviously issued (hexadecimal character format)ReferenceGSM 07.07GSM 11.11NotePage 125 of 207


4.44 <strong>AT</strong>+CSCS <strong>Set</strong> TE character setTest command<strong>AT</strong>+CSCS=?Response+CSCS: (list of supported s)OKRead command<strong>AT</strong>+CSCS?Write command<strong>AT</strong>+CSCS=[]Response+CSCS: OKResponseWrite command informs TA which character set is used by the TE.TA is then able to convert character strings correctly between TE and MEcharacter sets.OKParameters:"GSM" GSM default alphabet (GSM 03.38 subclause 6.2.1);Note: This setting may cause software flow control problems sincethe codes used to stop and resume data flow (XOFF = decimal 19,(XON = decimal 17) are interpreted as normal characters."UCS2" 16-bit universal multiple-octet coded character set (ISO/IEC10646[32]); UCS2 character strings are converted to hexadecimal numbersfrom 0000 to FFFF; e.g. "004100620063" equals three 16-bitcharacters with decimal values 65, 98 and 99, $(<strong>AT</strong> R97)$ReferenceGSM 07.07Note• Also see chapter 1.5 (“Supported character sets”).• When TA-TE interface is set to 8-bit operation and used TE alphabet is7-bit, the highest bit will be set to zero.Page 126 of 207


4.45 <strong>AT</strong>+CSNS Single Numbering SchemeThe <strong>AT</strong>+CSNS command enables the ME to accept incoming calls when no bearer capability informationis provided with the call, e.g. single numbering scheme calls or calls originitating from analogdevices.The command must be set before the call comes. By default, when you do not modify the settings,all calls received without bearer element are assumed to be voice.Please note that you can use the command if PIN authentication has been done during current session.The setting will be automatically saved when you power down the GSM engine with <strong>AT</strong>^SMSO.Test command<strong>AT</strong>+CSNS=?Response+CSNS: (list of supported s)OKRead command<strong>AT</strong>+CSNS?Write command<strong>AT</strong>+CSNS=[]Response+CSNS: OKResponseWrite commandOKParameters:0 Voice Each call received without bearer element is assumedto be speech.2 Fax Each call received without bearer element is assumedto be an incoming fax.4 Data Each call received without bearer element is assumedto be a data call.Please take into account that the bearer serviceparameters set with <strong>AT</strong>+CBST apply to all datacalls including those received without bearer capability.To avoid conflicts see Chapter 4.5.ReferenceGSM 07.07NotePage 127 of 207


4.46 <strong>AT</strong>+CSQ Signal qualityTest command<strong>AT</strong>+CSQ=?Response+CSQ: (list of supported s), (list of supported ) OKParameterSee execute commandExecute command<strong>AT</strong>+CSQResponseTA returns received signal strength indication and channel bit error rate from the ME.+CSQ: , OKParameterReceive level:0 -113 dBm or less1 -111 dBm2...30 -109... -53 dBm31 -51 dBm or greater99 not known or not detectableBit error rate:0...7 as RXQUAL values in the table in GSM 05.08section 8.2.4.99 not known or not detectable.To check the bit error rate there must be a call in progress toobtain realistic values. If no call is set up, there is no BER to bedetermined. In this case the indicated value may be 0 or 99,depending on the SIM card.ReferenceGSM 07.07NotePage 128 of 207


4.47 <strong>AT</strong>+CSSN Supplementary service notificationsTest command<strong>AT</strong>+CSSN=?Response+CSSN: (list of supported s), (list of supported s)OKParameter 0 Suppresses the +CSSI messages1 Activates the +CSSI messages 0 Suppresses the +CSSU messages1 Activates the +CSSU messagesRead command<strong>AT</strong>+CSSN?Response+CSSN: ,OKParameter See Test command See Test commandWrite command<strong>AT</strong>+CSSN=[,]ResponseOKParameterSee read commandSee read commandUnexpected message+CSSI: +CSSU: When =1 and a supplementary service notification isreceived after a mobile originated call setup, intermediateresult code +CSSI: is sent to TE before anyother MO call setup result codesWhen =1 and a supplementary service notification isreceived during a mobile terminated call setup or duringa call, unsolicited result code +CSSU: code2>is sent toTE.ParameterIntermediate result code3 Waiting call is pendingUnsolicited result code0 The incoming call is a forwarded call.5 Held call was terminatedReferenceGSM 07.07NotePage 129 of 207


4.48 <strong>AT</strong>+CUSD Unstructured supplementary service dataTest command<strong>AT</strong>+CUSD=?Read command<strong>AT</strong>+ CUSD?Write command<strong>AT</strong>+ CUSD=[,[,]]Response+CUSD: (list of supported s) OKParameterSee write commandResponseTA returns the current value.+CUSD: OKIf error is related to ME functionality:+CME ERROR: This command allows control of the Unstructured Supplementary ServiceData (USSD) according to GSM 02.90. Both network and mobile initiated operationsare supported. Parameter is used to disable/enable the presentationof an unsolicited result code (USSD response from the network, or networkinitiated operation) +CUSD:[,,] to the TE.When is given, a mobile initiated USSD string or a response USSDstring to a network initiated operation is sent to the network. The responseUSSD string from the network is returned in a subsequent unsolicited +CUSDresult code.The interaction of this command with other commands based on other GSMsupplementary services is described in the GSM standard.Parameter 0 disable the result code presentation in the TA1 enable the result code presentation in the TA2 cancel session (not applicable to read command response)string type USSD-string (when parameter is not given, networkis not interrogated).If indicates that GSM 03.38 default alphabet is usedME/TA converts GSM alphabet into current TE character set accordingto rules of GSM 07.05 Annex A.GSM 03.38 Cell Broadcast Data Coding Scheme in integer format(default 15) 0 no further user action required (network initiated USSD-Notify, or no further information needed after mobile initiatedoperation)1 further user action required (network initiated USSD-Request, or further information needed after mobile initiatedoperation)2 USSD terminated by networkReferenceGSM 07.07ResponseOKIf error is related to ME functionality:+CME ERROR: Note• For the write command =15 is supported only.• On an unsolicited result code with parameter =1 a '> ' is given for furtheruser action. The user action is finished with a or aborted with.Page 130 of 207


4.49 <strong>AT</strong>+VTD= Tone durationTest command<strong>AT</strong>+VTD=?This command refers to an integer that defines the lengthof tones transmitted with the +VTS command.Read command<strong>AT</strong>+VTD?Response+VTD (list of supported s) OKParameterSee write commandResponse OKParameterSee write commandWrite command<strong>AT</strong>+VTD=ReferenceGSM 07.07ResponseOKParameter 1 – 255 duration of the tone in 1/10 secondNote4.50 <strong>AT</strong>+VTS DTMF and tone generation ( in {0-9, *, #, A, B, C, D})Test command<strong>AT</strong>+VTS=?Response+VTS: (list of supported s)[, (list of supported s)] OKParameterSee write commandWrite command1.<strong>AT</strong>+VTS=2.<strong>AT</strong>+VTS=,ResponseThe Write command is intended for sending ASCII characters orstrings which cause the MSC (Mobile Switching Center) to transmitDTMF tones to a remote subscriber. The Write can only be used duringan active voice call.1. Allows the user to send a sequence of DTMF tones with a durationthat was defined with the <strong>AT</strong>+VTD command.2. Allows the user to send a single DTMF tone. In this case, the durationcan be indvidually determined during the call.ReferenceGSM 07.07OKIf error is related to ME functionality:+CME ERROR: Parameter String of ASCII characters in the set 0-9,#,*,A, B, C, D.Maximal length of the string is 29. The string must beenclosed in quotation marks (””). ASCII character in the set 0-9,#,*, A, B, C, D. 1-255 duration of a tone in 1/10 secondNoteThe <strong>AT</strong>+VTS command is usable before PIN1 authentication hasbeen done.Page 131 of 207


4.51 <strong>AT</strong>+WS46 Select wireless networkTest command<strong>AT</strong>+WS46=?Response(list of supported s)OKRead command<strong>AT</strong>+WS46?ResponseOK/ERROR/+CME ERRORWrite command<strong>AT</strong>+WS46=[]Parameter 12 GSM digital cellularResponseOK/ERROR/+CME ERRORReferenceGSM 07.07NotePage 132 of 207


5 <strong>AT</strong> commands originating from GSM 07.05 for SMSThe SMS related <strong>AT</strong> <strong>Command</strong>s are according to the GSM 07.05 specification issued by ETSI (EuropeanTelecommunications Standards Institute).5.1 <strong>AT</strong>+CMGC Send an SMS commandTest command<strong>AT</strong>+CMGC=?Write commandif text mode (<strong>AT</strong>+CMGF=1):<strong>AT</strong>+CMGC=,[,[,[,[,]]]]text is entered Write commandif PDU mode (<strong>AT</strong>+CMGF=0):<strong>AT</strong>+CMGC=PDU is given +CMGC=?ResponseOKResponseif text mode (+CMGF=1) and sending successful:+CMGC: [,]if sending fails:+CMS ERROR: Responseif PDU mode (+CMGF=0) and sending successful:+CMGC: [,]if sending fails:+CMS ERROR: ReferenceGSM 07.05ParameterLength of PDUSee ”<strong>AT</strong>+CMGL”Message referencedepending on the command or result code: first octet ofGSM 03.40 SMS-DELIVER, SMS-SUBMIT (default 17),SMS- ST<strong>AT</strong>US-REPORT, or SMS -COMMAND (default 2)in integer format GSM 03.40 TP-<strong>Command</strong>-Type in integer format (default 0)GSM 03.40 TP-Protocol-Identifier in integer format (default0)GSM 04.11 TP-Destination-Address Type-of-Address octetin integer format (when first character of is + (IRA 43)default is 145, otherwise default is 129)GSM 03.40 TP-Destination-Address Address-Value field instring format; BCD numbers (or GSM default alphabetcharacters) are converted into characters; type of addressgiven by GSM 03.40 TP-Service-Centre-Time-Stamp in time-stringformat (refer to )Note• After invoking the commands CMGW, CMGS, CMGC wait for theprompt ">" before entering text or PDU.• At baudrates below 19200 it is recommended to use the linetermination character only (refer to +<strong>AT</strong>S3, default , pg. 30)before entering the text/pdu. Use of the line termination characterfollowed by the response formating character (refer to +<strong>AT</strong>S4,default , pg. 30) can cause problems.Page 133 of 207


5.2 <strong>AT</strong>+CMGD Delete SMS messageTest command<strong>AT</strong>+CMGD=?ResponseOKParameterExecute command<strong>AT</strong>+CMGD=ResponseTA deletes message from preferred message storage location .OKIf error is related to ME functionality:+CMS ERROR Parameterinteger type; value in the range of location numbers supported bythe associated memoryReferenceGSM 07.05NoteIf there is no SMS stored at the selected index, the response is OK too.5.3 <strong>AT</strong>+CMGF Select SMS message formatTest command<strong>AT</strong>+CMGF=?Response+CMGF: (list of supported s) OKParameterSee write commandRead command<strong>AT</strong>+CMGF?Response+CMGF: OKParameterSee write commandWrite command<strong>AT</strong>+CMGF =[]ResponseTA sets parameter which specifies the input and output format of messages tobe used.OKParameter 0 PDU mode1 text modeReferenceGSM 07.05NotePage 134 of 207


5.4 <strong>AT</strong>+CMGL List SMS messages from preferred storeTest command<strong>AT</strong>+CMGL=?Response+CMGL: (list of supported s) OKParameterSee execute commandExecute command<strong>AT</strong>+CMGL[=]Parameter1) If text mode: “REC UNREAD” Received unread messages (default)“REC READ”“STO UNSENT”“STO SENT”“ALL”Received read messagesStored unsent messagesStored sent messagesAll messages2) If PDU mode: 0 Received unread messages (default)1 Received read messages2 Stored unsent messages3 Stored sent messages4 All messagesResponseTA returns messages with status value from message storage to the TE. If status of the message is ‘received unread’, status in the storagechanges to ‘received read’.Note: If the selected can contain different types of SMs (e.g. SMS-DELIVERs, SMS- SUBMITs, SMS- ST<strong>AT</strong>US-REPORTs and SMS-COMMANDs), the response may be a mix of the responses of different SMtypes. TE application can recognize the response format by examining thethird response parameter.Response1) If text mode (+CMGF=1) and command successful:for SMS- SUBMITs and/or SMS-DELIVERs:+CMGL: ,,,[],[][,,][+CMGL: ,,,[],[][,,][...]] OKfor SMS-ST<strong>AT</strong>US-REPORTs:+CMGL: ,,,,[],[],,,[+CMGL: ,,,,[],[],,,[...]] OKfor SMS-COMMANDs:+CMGL: ,,,[Page 135 of 207


+CMGL: ,,,[...]] OK2) If PDU mode (+CMGF=0) and command successful:+CMGL: ,,[],[+CMGL: ,,[alpha],[...]] OK3) If error is related to ME functionality:+CMS ERROR: Parameter string type alphanumeric representation of or correspondingto the entry found in phonebook; implementation of thisfeature is manufacturer- specific GSM 03.40 TP-<strong>Command</strong>-Type in integer format (default 0) GSM 03.40 TP-Destination-Address Address-Value field in stringformat; BCD numbers (or GSM default alphabet characters) areconverted into characters; type of address given by In case of SMS: GSM 03.40 TP-User-Data in text mode responses; format:- if indicates that GSM 03.38 default alphabet is used and indicatesthat GSM 03.40 TP-User-Data-Header-Indication is not set:ME/TA converts GSM alphabet into current TE character set accordingto rules of Annex A- if indicates that 8-bit or UCS2 data coding scheme is used, or indicates that GSM 03.40 TP-User-Data-Header-Indication is set:ME/TA converts each 8-bit octet into hexadecimal numbers containingtwo IRA characters (e.g. octet with integer value 42 ispresented to TE as two characters 2A (IRA 50 and 65))ParameterGSM 03.40 TP-Discharge-Time in time-string format: “yy/MM/dd,hh:mm:ss±zz”, where characters indicate year (two last digits),month, day, hour, minutes, seconds and time zone. For example,6th of May 1994, 22:10:00 GMT+2 hours equals“94/05/06,22:10:00+08” depending on the command or result code: first octet of GSM 03.40SMS-DELIVER, SMS-SUBMIT (default 17), SMS- ST<strong>AT</strong>US-REPORT, or SMS -COMMAND (default 2) in integer format integer type value indicating in the text mode (+CMGF=1) the lengthof the message body (or ) in characters; or in PDUmode (+CMGF=0), the length of the actual TP data unit in octets(i.e. the RP layer SMSC address octets are not counted in thelength)integer type; value in the range of location numbers supported bythe associated memoryGSM 03.40 TP-Message-Reference in integer formatGSM 03.40 TP-Originating-Address Address-Value field in stringformat; BCD numbers (or GSM default alphabet characters) areconverted into characters; type of address given by Page 136 of 207


converted into characters; type of address given by In the case of SMS: GSM 04.11 SC address followed by GSM 03.40TPDU in hexadecimal format: ME/TA converts each octet of TP dataunit into hexadecimal numbers containing two IRA characters (e.g.octet with integer value 42 is presented to TE as two characters 2A(IRA 50 and 65)). In the case of CBS: GSM 03.41 TPDU in hexadecimalformat.GSM 03.40 TP-Recipient-Address Address-Value field in stringformat; BCD numbers (or GSM default alphabet characters) areconverted into characters; type of address given by GSM 03.40 TP- Service-Centre-Time-Stamp in time-string format(refer )GSM 03.40 TP-Status in integer formatGSM 04.11 TP-Destination-Address Type-of-Address octet in integerformat (when first character of is + (IRA 43) default is 145,otherwise default is 129)GSM 04.11 TP-Originating-Address Type-of-Address octet in integerformat (default refer)GSM 04.11 TP-Recipient-Address Type-of-Address octet in integerformat (default refer)ReferenceGSM 07.05NoteThe parameters and will only be displayed if <strong>AT</strong>^SSCONF=1 hasbeen set before. See Chapter for details on <strong>AT</strong>^SSCONF.Page 137 of 207


5.5 <strong>AT</strong>+CMGR Read SMS messageTest command Response<strong>AT</strong>+CMGR=? OKExecute command<strong>AT</strong>+CMGR=Parameterinteger type; value in the range of location numbers supported by theassociated memoryResponseTA returns SMS message with location value from message storage to the TE. If status of the message is ‘received unread’, status in thestorage changes to ‘received read’.1) If text mode (+CMGF=1) and command successful:for SMS-DELIVER:+CMGR: ,,[], [,,,,,,,]for SMS-SUBMIT:+CMGR: ,,[] [,,,,,[],,,]for SMS-ST<strong>AT</strong>US-REPORT:+CMGR: ,,,[],[],,,for SMS- COMMAND:+CMGR: ,, [,,[],[],[],]2) If PDU mode (+CMGF=0) and command successful:+CMGR: ,[], OK3)If error is related to ME functionality:+CMS ERROR: Parameterstring type alphanumeric representation of or correspondingto the entry found in phonebook; implementation of this feature is manufacturerspecificinteger type in PDU mode (default 0), or string type in text mode (default“REC UNREAD”); indicates the status of message in memory: definedvalues:0 “REC UNREAD” received unread message (i.e. new message)1 “REC READ” received read message2 “STO UNSENT” stored unsent message (only applicable to SMs)3 “STO SENT” stored sent message (only applicable to SMs) GSM 03.40 TP-<strong>Command</strong>-Type in integer format (default 0)Page 138 of 207


GSM 03.40 TP- Destination-Address Address-Value field in string format;BCD numbers (or GSM default alphabet characters) are converted into characters;type of address given by In case of SMS: GSM 03.40 TP-User-Data in text mode responses; format:-if indicates that GSM 03.38 default alphabet is used and indicatesthat GSM 03.40 TP-User-Data-Header-Indication is not set:ME/TA converts GSM alphabet into current TE character set accordingto rules covered in Annex A-if indicates that 8-bit or UCS2 data coding scheme is used, or indicates that GSM 03.40 TP-User-Data-Header-Indication is set:ME/TA converts each 8-bit octet into hexadecimal numbers containingtwo IRA characters (e.g. octet with integer value 42 is presentedto TE as two characters 2A (IRA 50 and 65)depending on the command or result code: GSM 03.38 SMS Data CodingScheme (default 0), or Cell Broadcast Data Coding Scheme in integerformatGSM 03.40 TP-<strong>Command</strong>-Data in text mode responses; ME/TA convertseach 8-bit octet into two IRA character long hexadecimal numbers(e.g. octet with integer value 42 is presented to TE as two characters 2A(IRA 50 and 65)) GSM 03.40 TP-Discharge-Time in time-string format: ”yy/MM/dd,hh:mm:ss±zz”, where characters indicate year (two last digits),month, day, hour, minutes, seconds and time zone. For example, 6th ofMay 1994, 22:10:00 GMT+2 hours equals ”94/05/06,22:10:00+08” depending on the command or result code: first octet of GSM 03.40SMS- DELIVER, SMS-SUBMIT (default 17), SMS-ST<strong>AT</strong>US-REPORT,or SMS-COMMAND (default 2) in integer format integer type value indicating in text mode (+CMGF=1) the length of themessage body (or ) in characters; or in PDU mode(+CMGF=0), the length of the actual TP data unit in octets (i.e. the RPlayer SMSC address octets are not counted in the length).In text mode, the maximum length of an SMS depends on the usedcoding scheme: It is 160 characters if the 7 bit GSM coding scheme isused, and 140 characters according to the 8 bit GSM coding scheme. integer type; value in the range of location numbers supported by theassociated memory GSM 03.40 TP-Message-Reference in integer format GSM 03.40 TP-Originating-Address Address-Value field in string format;BCD numbers (or GSM default alphabet characters) are convertedinto characters; type of address given by In the case of SMS: GSM 04.11 SC address followed by GSM 03.40TPDU in hexadecimal format: ME/TA converts each octet of TP data unitinto hexadecimal numbers containing two IRA characters (e.g. octet withinteger value 42 is presented to TE as two characters 2A (IRA 50 and65)). In the case of CBS: GSM 03.40 TP-Recipient-Address Address-Valuefield in string format; BCD numbers (or GSM default alphabetcharacters) are converted into characters; type of address given by GSM 03.40 TP-Protocol-Identifier in integer format (default 0)GSM 03.40 TP-Recipient-Address Address-Value field in string format;BCD numbers (or GSM default alphabet characters) are converted tocharacters of the currently selected TE character set (refer command<strong>AT</strong>+CSCS Select TE character set.); type of address given by Page 139 of 207


characters of the currently selected TE character set (refer command<strong>AT</strong>+CSCS Select TE character set.); type of address given by GSM 04.11 RP SC address Address-Value field in string format; BCDnumbers (or GSM default alphabet characters) are converted to charactersof the currently selected TE character set (refer command<strong>AT</strong>+CSCS Select TE character set); type of address given by GSM 03.40 TP-Service-Centre-Time-Stamp in time-string format (refer)GSM 03.40 TP-Status in integer formatGSM 04.11 TP-Destination-Address Type-of-Address octet in integerformat (when first character of is + (IRA 43) default is 145, otherwisedefault is 129)GSM 04.11 TP-Originating-Address Type-of-Address octet in integerformat (default refer)GSM 04.11 TP-Recipient-Address Type-of-Address octet in integer format(default refer)GSM 04.11 RP SC address Type-of-Address octet in integer format(default refer )depending on SMS-SUBMIT setting: GSM 03.40 TP-Validity-Periodeither in integer format (default 167) or in time-string format (refer )ReferenceGSM 07.05Note• Response to a CMGR to an empty record index: +CMGR: 0,,0• Response to a CMGR to a not existing record index: +CMS ERROR: invalidmemory index• The parameters and will only be displayed if <strong>AT</strong>^SSCONF=1 hasbeen set before. See Chapter for details on <strong>AT</strong>^SSCONF.Page 140 of 207


5.6 <strong>AT</strong>+CMGS Send SMS messageTest command<strong>AT</strong>+CMGS=?ResponseOKParameterExecute command1) If text mode (+CMGF=1):+CMGS=[,]text is entered2) If PDU mode(+CMGF=0):+CMGS=PDU is given ESC aborts messageResponseTA transmits SMS message from TE to network (SMS-SUBMIT).Message reference value is returned to TE on successful messagedelivery. Value can be used to identify message upon unsoliciteddelivery status report result code.1) If text mode (+CMGF=1) and sending successful:+CMGS: [,scts>] OK2) If PDU mode (+CMGF=0) and sending successful:+CMGS: [,ackpdu>] OK3) If error is related to ME functionality:+CMS ERROR: ParameterGSM 03.40 TP-Destination-Address Address-Value field instring format; BCD numbers (or GSM default alphabet characters)are converted into characters; type of address givenby GSM 04.11 TP-Destination-Address Type-of-Address octetin integer format (when first character of is + (IRA 43)default is 145, otherwise default is 129) integer type value indicating in PDU mode (+CMGF=0), thelength of the actual TP data unit in octets (i.e. the RP layerSMSC address octets are not counted in the length).GSM 03.40 TP-Message-Reference in integer formatGSM 03.40 TP-Service-Centre-Time-Stamp in time-stringformat (refer )GSM 03.40 TP-Discharge-Time in time-string format:“yy/MM/ dd,hh:mm:ss±zz”, where characters indicate year(two last digits), month, day, hour, minutes, seconds andtime zone. For example, 6th of May 1994, 22:10:00 GMT+2hours equals “94/05/06,22:10:00+08”GSM 03.40 RP-User-Data element of RP-ACK PDU; formatis same as for in case of SMS, but without GSM04.11 SC address field and parameter shall be enclosed indouble quote characters like a normal string type parameter For SMS: GSM 04.11 SC address followed by GSM 03.40TPDU in hexadecimal format: ME/TA converts each octet ofTP data unit into hexadecimal numbers containing two IRAcharacters (e.g. octet with integer value 42 is presented toTE as two characters 2A (IRA 50 and 65)). In the case ofCBS: GSM 03.41 TPDU in hexadecimal format.Page 141 of 207


ReferenceGSM 07.05Note• After invoking the commands CMGW, CMGS, CMGC wait for theprompt ">" and then start to send text to the module.• To send the message simply enter . See Execute commandfor possible responses.• Sending can be aborted by entering . Of course, the messagewill not be sent, though the operation is acknowledged withOK.• When sending e-mails via SMS check that, depending on the provider,the @ symbol will be recognized and correctly interpreted. Ifnot, make sure what character to use instead. A widely used alternativeis typing “*”.• At baudrates lower than 19200 it is recommended to use the linetermination character only (refer to +<strong>AT</strong>S3, default , pg. 30)before entering the text/pdu. Use of the line termination characterfollowed by the response formating character (see +<strong>AT</strong>S4, default, pg. 30) can cause problems.• All characters entered behind the “>” prompt will be recognized asGSM characters. For example, “Backspace” (ASCII character 8)does not delete a character, but will be inserted into the SMS asan additional physical character. As a result, the character youwanted to delete still appears in the text, plus the GSM codeequivalent of the Backspace key. See also Chapter 8.5 which providesthe supported alphabet tables.• In text mode, the maximum length of an SMS depends on theused coding scheme: It is 160 characters if the 7 bit GSM codingscheme is used, and 140 characters according to the 8 bit GSMcoding scheme.Page 142 of 207


5.7 <strong>AT</strong>+CMGW Write SMS message to memoryTest command<strong>AT</strong>+CMGW=?ResponseOKExecute command1) If text mode (+CMGF=1):+CMGW[=[,tooa/toda>[,stat>]]]text is entered quits without sending2) If PDU mode(+CMGF=0):+CMGW=[,stat]PDU is given ResponseTA transmits SMS (either SMS-DELIVER or SMS-SUBMIT) from TEto memory storage . Memory location of the storedmessage is returned. Message status will be set to ‘stored unsent’unless otherwise given in parameter .Note: SMS-COMMANDs and SMS-ST<strong>AT</strong>US-REPORTs cannot bestored in text mode.If writing is successful:+CMGW: OKIf writing fails, for example, if a message is too long, the result codedepends on the current setting of the <strong>AT</strong>^SM20 command : If the<strong>AT</strong>^SM20 parameter equals 1 (factory default) then failure towrite a message is followed by:OKUsers should be aware that, in this case, the message will not bewritten to the selected SMS storage.If the <strong>AT</strong>^SM20 parameter equals 0, then failure to write a messageis followed by:+CMS ERROR: For example, if a message was too long code 305 (“Invalid textmode parameter”) is returned.ParameterGSM 03.40 TP-Originating-Address Address value field instring format; BCD numbers (or GSM default alphabet characters)are converted into characters; type of address givenby GSM 03.40 TP-Destination-Address Address-Value field instring format; BCD numbers (or GSM default alphabet characters)are converted into characters; type of address givenby GSM 04.11 TP-Originating-Address Type-of-Address octetin integer format (default refer )GSM 04.11 TP-Destination-Address Type-of-Address octetin integer format (when first character of is + (IRA 43)default is 145, otherwise default is 129) integer type value indicating in PDU mode (+CMGF=0), thelength of the actual TP data unit in octets (i.e. the RP layerSMSC address octets are not counted in the length).integer type in PDU mode (default 0), or string type in textmode (defauld “REC UNREAD“); indicates the status ofmessage in memory; defined values:0 “REC UNREAD” Received unread messages (default)1 “REC READ” Received read messagesPage 143 of 207


2 “STO UNSENT” Stored unsent messages3 “STO SENT” Stored sent messagesIn the case of SMS: GSM 04.11 SC address followed byGSM 03.40 TPDU in hexadecimal format: ME/TA convertseach octet of TP data unit into hexadecimal numbers containingtwo IRA characters (e.g. octet with integer value 42is presented to TE as two characters 2A (IRA 50 and 65)).In the case of CBS: GSM 03.41 TPDU in hexadecimal format.Index of message in selected storage ReferenceGSM 07.05Note• After invoking the commands CMGW, CMGS, CMGC wait for theprompt ">" and then start to send text to the module.• To store the message simply enter . See Execute commandfor possible responses.• Writing can be aborted by entering . Of course, the messagewill not be stored, though the operation is acknowledged withOK.• When sending e-mails via SMS the @ character may be replacedwith “*” as defined in GSM 03.40 (3GPP TS 23.040).• At baudrates lower than 19200 it is recommended to use the linetermination character only (refer to +<strong>AT</strong>S3, default , pg. 30)before entering the text/pdu. Use of the line termination characterfollowed by the response formating character (refer to +<strong>AT</strong>S4, default, pg. 30) can cause problems.• All characters entered behind the “>” prompt will be recognized asGSM characters. For example, “Backspace” (ASCII character 8)does not delete a character, but will be inserted into the SMS asan additional physical character. As a result, the character youwanted to delete still appears in the text, plus the GSM codeequivalent of the Backspace key. See Chapter 8.5 which providesthe supported alphabet tables. Also refer to Chapter 1.5 for generalremarks on character sets.• In text mode, the maximum length of an SMS depends on theused coding scheme: It is 160 characters if the 7 bit GSM codingscheme is used, and 140 characters according to the 8 bit GSMcoding scheme.Page 144 of 207


5.8 <strong>AT</strong>+CMSS Send SMS message from storageTest command<strong>AT</strong>+CMSS=?ResponseOKParameterExecute command+CMSS=[,[,]]ResponseTA sends message with location value from message storage to the network (SMS-SUBMIT or SMS-COMMAND). If new recipientaddress is given for SMS-SUBMIT, it shall be used instead of theone stored with the message. Reference value is returned to the TEon successful message delivery. Values can be used to identify messageupon unsolicited delivery status report result code.1) If text mode (+CMGF=1) and send successful:+CMSS: [,scts>] OK2) If PDU mode (+CMGF=0) and send successful:+CMSS: [,ackpdu>] OK3) If error is related to ME functionality:+CMS ERROR: ParameterGSM 03.40 RP-User-Data element of RP-ACK PDU;format is same as for in case of SMS, but withoutGSM 04.11 SC address field and parameter shall bebounded by double quote characters like a normal stringtype parameter.integer type; value in the range of location numbers supportedby the associated memoryGSM 03.40 TP-Destination-Address Address-Value fieldin string format; BCD numbers (or GSM default alphabetcharacters) are converted into characters; type of addressgiven by GSM 03.40 TP-Service-Centre-Time-Stamp in timestringformat.GSM 04.11 TP-Destination-Address Type-of-Addressoctet in integer format (when first character of is +(IRA 43) default is 145, otherwise default is 129)GSM 03.40 TP-Message-Reference in integer formatReferenceGSM 07.05NotePage 145 of 207


5.9 <strong>AT</strong>+CNMA New SMS message acknowledge to ME/TE, only phase 2+Test command<strong>AT</strong>+CNMA=?Response1) If text mode (+CMGF=1):OK2) If PDU mode (+CMGF=0):+CNMA: (list of supported s) OKExecute command1) If text mode:<strong>AT</strong>+CNMA2) If PDU mode:<strong>AT</strong>+CNMA[=]ParametersSee execute commandResponseTA confirms successful receipt of a new message (SMS-DELIVER or SMS-ST<strong>AT</strong>US-REPORT) which is routed directly to the TE. TA shall not send another+CMT or +CDS result code to TE until previous one is acknowledged.If ME does not receive acknowledgment within required time (network timeout),ME sends RP-ERROR to the network. TA shall automatically disablerouting to TE by setting both and values of +CNMI to zero.Note: The command shall o n l y be used when +CSMS parameter equals 1 (= phase 2+).1) If text mode:OK2) If PDU mode:OK3) If error is related to ME functionality:+CMS ERROR: Parameters 0 command operates similarly as defined for the text modeReferenceGSM 07.05NoteIf multiplex mode is activated (+CMUX=0) the +CNMI parameter will be set tozero on all channels, if one channel fails to acknowledge an incoming messagewithin the required time.Page 146 of 207


5.10 <strong>AT</strong>+CNMI New SMS message indicationsTest command<strong>AT</strong>+CNMI=?Read command<strong>AT</strong>+CNMI?Write command<strong>AT</strong>+CNMI =[][,][,][,][,]Response+CNMI: (list of supported s), (list of supported s), (list of supporteds), (list of supported s), (list of supported s) OKParameterSee set commandResponse+CNMI: ,,,, OKParameterSee set commandResponseTA selects the procedure how the receipt of new SMS messages from the networkis indicated to the TE when TE is active, e.g. DTR signal is ON. If TE is inactive(e.g. DTR signal is OFF), the reception of messages shall be performed as specifiedin GSM 03.38.Note1: If the DTR signal is not available or the state of the signal is ignored(V.25ter command &D0), reliable message transfer can be assured byusing +CNMA acknowledgment procedure.Note2: The rules =2 and =3 for storing received SM are possible only ifphase 2+ compatibility is activated with +CSMS=1Note3: The parameter =1 is only available in phase 2+OKIf error is related to ME functionality:+CMS ERROR: Parameter 0 Buffer unsolicited result codes in the TA. If TA result codebuffer is full, indications can be buffered in some other place orthe oldest indications may be discarded and replaced with thenew received indications.1 Discard indication and reject new received messageunsolicited result codes when TA-TE link is reserved (e.g. inon-line data mode). Otherwise forward them directly to the TE.2 Buffer unsolicited result codes in the TA when TA-TE link is reserved(e.g. in on-line data mode) and flush them to the TEafter reservation. Otherwise forward them directly to the TE.3 Forward unsolicited result codes directly to the TE. TA-TE linkspecific inband technique used to embed result codes and datawhen TA is in on-line data mode.Rules for storing received SMS depend on the relevant data codingmethod (refer to GSM 03.38 [2]), preferred memory storage (+CPMS)setting and this valueNote: If <strong>AT</strong> command interface is acting as the only display device, theME must support storage of class 0 messages and messages in themessage waiting indication group (discard message)0 No SMS-DELIVER indications are routed to the TE.1 If SMS-DELIVER is stored in ME/TA, indication of the memorylocation is routed to the TE using unsolicited result code:+CMTI: ,Page 147 of 207


2 SMS-DELIVERs, except class 2 messages and messages inthe message waiting indication group (store message) arerouted directly to the TE using unsolicited result code:+CMT: , (PDU mode enabled)+CMT: ,, [,, , , , , ,] (text mode enabled)3 Class 3 SMS-DELIVERs are routed directly to the TE usingunsolicited result codes defined in =2. Messages of otherdata coding schemes result in indication as defined in =1.Rules for storing received CBMs depend on the relevant data codingmethod (refer to GSM 03.38 [2]), the setting of Select CBM Types(+CSCB) and this value:0 No CBM indications are routed to the TE.2 New CBMs are routed directly to the TE using unsolicited resultcode: +CBM: (PDU mode enabled)or +CBM: ,,,, (text mode enabled).3 Class 3 CBMs are routed directly to TE using unsolicited resultcodes defined in =2. 0 No SMS-ST<strong>AT</strong>US-REPORTs are routed to the TE.1 SMS-ST<strong>AT</strong>US-REPORTs are routed to the TE using unsolicitedresult code: +CDS: (PDU modeenabled) or +CDS: ,,[],[],,, (text mode enabled)2 If SMS-ST<strong>AT</strong>US-REPORT is routed into ME/TA, indication ofthe memory location is routed to the TE using unsolicited resultcode: +CDSI: , 1 TA buffer of unsolicited result codes defined within this commandis cleared when 1...3 is entered.Unsolicited resultcodeSyntax of responses output when SMS is received:+CMTI: ,Indicates that new message has been received+CBMI: ,Indicates that new CB message has been received+CMT: , Short message is output directly+CBM: Cell broadcast message is output directlyDuring each SMS or Cell Broadcast Messages the Ring Line goes Logic “1“ forone second.Page 148 of 207


ReferenceGSM 07.05General remarks:• Parameters =2,3 and =1 are only available with GSM phase 2+ (see+CSMS=1). Incoming SMs or Status Reports have to be acknowledged with<strong>AT</strong>+CNMA=0 when using these phase 2+ parameters.• The parameters and will only be displayed if <strong>AT</strong>^SSCONF=1 hasbeen set before. See Chapter for details on <strong>AT</strong>^SSCONF.• To allow SMS overflow presentation during data transfers via Break, use<strong>AT</strong>+CNMI=3,1 .Handling of Class 0 short messages:• If the host application is provided with a display and <strong>AT</strong>^SSDA=1 has been setClass 0 short messages can be displayed immediately.• If the host application does not include a display, ME handles Class 0 shortmessages as though there was no message class, i.e. it will ignore bits 0 and 1in the TP-DCS and normal rules for exceeded memory capacity shall apply.This approach is compliant with GSM 03.38.Requirements specific to Multiplex mode:• In multiplex mode (<strong>AT</strong>+CMUX=0) only one channel can use a phase 2+ parameter.The parameter for and on the other channels have to beset to zero.• If either a SM or a Status Report is not acknowledged, all +CNMI parameterswill be set to zero on all channels.Page 149 of 207


5.11 <strong>AT</strong>+CPMS Preferred SMS message storageTest command<strong>AT</strong>+CPMS=?Response+CPMS: (list of supported s), (list of supported s), (list of supporteds)ParameterSee write commandRead command<strong>AT</strong>+CPMS?Response+CPMS: ,,,,,,,, OKIf error is related to ME functionality:+CMS ERRORWrite command<strong>AT</strong>+CPMS=[,[,]]ParameterSee write commandResponseTA selects memory storages , and to be used for reading,writing, etc.+CPMS: ,,,,, OKIf error is related to ME functionality:+CMS ERROR:Parameter Memory to be used when listing, reading and deleting messages:“SM”“ME”“MT”SIM message storageMobile Equipment message storageSum of “ME” and “SM” storages Memory to be used when writing and sending messages:“SM”“ME”“MT”SIM message storageMobile Equipment message storageSum of “ME” and “SM” storages Received messages will be placed to this storage if routing to TE is notset. See <strong>AT</strong>+CNMI command with parameter =2 (Chapter 5.10).“SM”“MT”SIM message storageSum of “ME” and “SM” storagesNumber of messages currently in Number of messages storable in ReferenceGSM 07.05NoteGeneral remarks• The Mobile Equipment storage "ME" offers space for 25 short messages.• The storage "MT" is the sum of the storages "ME" and "SM". The indices ()from 1 to 25 are associated to the "ME" storage. Indices equal to 26 andhigher are allocated to the "SM" storage.• , and are saved in the non-volatile memory.• The user should be aware that the setting “MT” involves “ME” and “SM”, with“ME” being filled up first. If the "ME" storage is full, MC35 will proceed with the"SM" storage.Incoming Class 1 short messages (ME specific) will be preferably stored to“ME” and may be transferred to the “SM” storage if “ME” is used up.Incoming Class 2 messages (SIM specific) will be stored to the SIM card only,no matter whether or not there is free “ME” space.As a result, the ^SMGO: 2 indication (see <strong>AT</strong>^SMGO) may be presented withoutprior indication of ^SMGO: 1. For more information regarding SIM and MEPage 150 of 207specific message classes refer to and the following specifications: GSM03.38 and 3GPP TS 23.038.


no matter whether or not there is free “ME” space.As a result, the ^SMGO: 2 indication (see <strong>AT</strong>^SMGO) may be presented withoutprior indication of ^SMGO: 1. For more information regarding SIM and MEspecific message classes refer to and the following specifications: GSM03.38 and 3GPP TS 23.038.Handling of storage:• Before switching from “MT” to “SM” it is necessary to delete all shortmessages out of the “ME” storage.• When is switched from “MT” to “SM” all free “ME” locations will befilled with dummy short messages. This procedure can take up to 35 seconds,until all the 25 records are written.When equals “SM”, do not delete the dummy messages in the “ME”storage. They will be automatically deleted when you switch back from “SM” toMT”. Again, this may take up to 35 seconds.• In Multiplex mode, the parameter will be the same on all instances,but the settings of and may vary on each channel.• To avoid inconsistencies, it is recommended to use the same parameter for all.Page 151 of 207


5.12 <strong>AT</strong>+CSCA SMS service centre addressTest command<strong>AT</strong>+CSCA=?Read command<strong>AT</strong>+CSCA?ResponseOKResponse+CSCA: , OKParameterSee write commandWrite command<strong>AT</strong>+CSCA=[,]TA updates the SMSC address, through which mobile originated SMs aretransmitted. In text mode, setting is used by send and write commands. In PDUmode, setting is used by the same commands, but only when the length of theSMSC address coded into parameter equals zero.Note: This command writes the service centre address to non-volatile memory.ResponseOKParameterGSM 04.11 RP SC address Address value field in string format; BCDnumbers (or GSM default alphabet characters) are converted intocharacters; type of address given by Maximum length of address: 20 charactersService centre address format GSM 04.11 RP SC address Type-of-Address octet in integer format (default refer )ReferenceGSM 07.05NoteIf no parameter is entered after <strong>AT</strong>+CSCA= the content of will be deleted.Page 152 of 207


5.13 <strong>AT</strong>+CSCB Select cell broadcast messagesTest command<strong>AT</strong>+CSCB=?Response+CSCB: (list of supported s)ParameterSee write commandRead command<strong>AT</strong>+CSCB?Response+CSCB: ,,ParameterSee write commandWrite command<strong>AT</strong>+CSCB=[[,[,]]]Parameter 0 Accepts messages that are defined in and 1 Does not accept messages that are defined in and String type; combinations of CBM message IDs (e.g."0,1,5,320-478,922"). The number of ranges in parameterstring is limited to 6String type; combinations of CBM data coding schemes (e.g."0-3,5")Note:If =1 is selected the parameter has to be given as only onearea (e.g. “0-99“)ReferenceGSM 07.05NotePage 153 of 207


5.14 <strong>AT</strong>+CSDH Show SMS text mode parametersTest command<strong>AT</strong>+CSDH=?Response+CSDH: (list of supported s) OKParameterSee write commandRead command<strong>AT</strong>+CSDH?Response+CSDH: OKParameterSee write commandWrite command<strong>AT</strong>+CSDH=ResponseTA sets whether or not detailed header information is shown in text mode resultcodes.OKParameter 0 do not show header values defined in commands +CSCAand +CSMP (, , , , and )nor , or in +CMT, +CMGL, +CMGRresult codes for SMS-DELIVERs and SMS-SUBMITs in textmode; for SMS-COMMANDs in +CMGR result code, do notshow , , , , or 1 show the values in result codesReferenceGSM 07.05NotePage 154 of 207


5.15 <strong>AT</strong>+CSMP <strong>Set</strong> SMS text mode parametersTest command<strong>AT</strong>+CSMP=?ResponseOKRead command<strong>AT</strong>+CSMP?Response+CSMP:,,, OKParameterSee set command<strong>Set</strong> command<strong>AT</strong>+CSMP=[,[,[,]]]ResponseTA selects values for additional parameters needed when SM is sent to the networkor placed in a storage when text format message mode is selected. It is possibleto set the validity period starting from when the SM is received by the SMSC( is in range 0... 255) or define the absolute time of the validity period termination( is a string). The format of is given by . If TA supports theenhanced validity period format, see GSM 03.40), it shall be given as a hexadezimalcoded string (refer e.g. ) with quotes.Note:When storing a SMS_DELIVER from the TE to the preferred memory storage intext mode (refer write command to Message Memory +CMGW), field can beused for Parameter depending on the command or result code: first octet of GSM 03.40SMS-DELIVER, SMS-SUBMIT (default 17), or SMS-COMMAND (default2) in integer formatGSM 03.40 TP-Service-Centre-Time-Stamp in time-string format (refer)depending on SMS-SUBMIT setting: GSM 03.40 TP-Validity-Periodeither in integer format (default 167) ), in time-string format (refer ),or if is supported, in enhanced format (hexadecimal coded string withquotes) Protocol-Identifier in integer format (default 0), refer GSM 03.40SMS Data Coding Scheme (default 0), or Cell Broadcast Data CodingScheme in integer format depending on the command or result code:GSM 03.38ReferenceGSM 07.05NoteThe command writes the parameters to the non-volatile memory.Page 155 of 207


5.16 <strong>AT</strong>+CSMS Select Message ServiceTest command<strong>AT</strong>+CSMS=?Response+CSMS: (list of supported s) OKParameterSee write commandRead command<strong>AT</strong>+CSMS?Response+CSMS: ,,, OKParameterSee write commandWrite command<strong>AT</strong>+CSMS=Response+CSMS: ,, OKIf error is related to ME functionality:+CMS ERROR: Parameter 0 GSM 03.40 and 03.41 (the syntax of SMS <strong>AT</strong> commands iscompatible with GSM 07.05 Phase 2 version 4.7.0; Phase 2+features which do not require new command syntax may besupported, e.g. correct routing of messages with new Phase 2+data coding schemes)1 GSM 03.40 and 03.41 (the syntax of SMS <strong>AT</strong> commands iscompatible with GSM 07.05 Phase 2+ version; the requirementof setting 1 is mentioned under corresponding commanddescriptions).Mobile Terminated Messages:0 Type not supported1 Type supportedMobile Originated Messages:0 Type not supported1 Type supportedBroadcast Type Messages:0 Type not supported1 Type supportedReferenceGSM 07.05NoteIf CSMS Mode is switched from Phase 2+ to Phase 2 and one or more CNMI Parameterare Phase 2+ specific a '+CMS ERROR: unknown error' will appear. It isrecommended to switch the CNMI Parameters to Phase 2 specific values beforeentering Phase 2.Page 156 of 207


6 GPRS <strong>AT</strong> commands in accordance with GSM 07.07This chapter provides GPRS specific <strong>AT</strong> commands. For information on using GPRS commands inmultiplex mode see chapter 4.28.6.1 <strong>Command</strong>s specific to MTs supporting GPRSThis clause defines commands that a TE (Terminal Equipment, i.e. an application running on a controllingPC) may use to control a GPRS MT (Mobile Termination, the Wireless Module). Refer roChapter 6.4 for selected examples of using GPRS <strong>AT</strong> commands.6.1.1 <strong>AT</strong>+CG<strong>AT</strong>T GPRS attach and detachTest command<strong>AT</strong>+CG<strong>AT</strong>T=?The test command is used for requesting information on the supported GPRSservice states.Response+CG<strong>AT</strong>T: (list of supported s)OK/ERROR/+CME ERRORParameterSee write commandRead command<strong>AT</strong>+CG<strong>AT</strong>T?The read command returns the current GPRS service state.Response+CGACT: OK/ERROR/+CME ERRORParameterSee write commandWrite command<strong>AT</strong>+CG<strong>AT</strong>T=[]The execution command enables the MT get attached to or detached from theGPRS service. After the command has completed, the MT remains in V.25tercommand state. If the MT is already in the requested state, the command is ignoredand the OK response is returned. Any active PDP contexts will be automaticallydeactivated when the attachment state changes to detached.If the MT is not able to attach for more than 5 minutes, the command returns anerror code, though the MT is still trying to attach.ParameterResponseOK/ERROR/+CME ERRORindicates the state of GPRS attachment0 – detached1 – attachedReferenceGSM 07.07Page 157 of 207


6.1.2 <strong>AT</strong>+CGACT PDP context activate or deactivateTest command<strong>AT</strong>+CGACT=?The test command is used for requesting information on the supported PDPcontext activation states.Response+CGACT: (list of supported s)OK/ERROR/+CME ERRORParameterSee write commandRead command<strong>AT</strong>+CGACT?The read command returns the current activation states for all the definedPDP contexts.Response+CGACT: , [+CGACT: , ...]OK/ERROR/+CME ERRORParameterSee write commandSee write commandWrite command<strong>AT</strong>+CGACT=[[,[,[,...]]]]This command is used to activate or deactivate the specified PDP context(s).After the command has completed, the MT remains in V.25ter commandstate. If any PDP context is already in the requested state, the statefor that context remains unchanged. If the MT is not GPRS attached whenthe activation form of the command is executed, the MT first performs aGPRS attach and them attempts to activate the specified contexts. If nos are specified the activation/deactivation form of the command activates/deactivatesall defined contexts.ResponseOK/ERROR/+CME ERRORParameterindicates the state of PDP context activation0 – deactivated1 – activatedPDP Context Identifier is a numeric parameter whichspecifies a particular PDP context definition. The parameteris local to the TE-MT interface and is used inother PDP context-related commands.Note: The range of supported cids is returned by<strong>AT</strong>+CGDCONT=?Response+CGACT: (list of supported s)OK/ERROR/+CME ERRORReferenceGSM 07.07NotePlease note that <strong>AT</strong>H deactivates a PDP context if executed on the samelogical channel (see Chapters 2.12, 6.3.2)Page 158 of 207


6.1.3 <strong>AT</strong>+CGD<strong>AT</strong>A Enter data stateTest command<strong>AT</strong>+CGD<strong>AT</strong>A=?The test command is used for requesting information on the supported layer 2protocols to be used between the TE and MT.Response+CGD<strong>AT</strong>A: (list of supported s)OK/ERROR/+CME ERRORParameterSee write commandWrite command+CGD<strong>AT</strong>A=[,[[,,…]]]]The execution command causes the MT to perform whatever actions are necessaryto establish communication between the TE and the network using oneor more GPRS PDP types. This may include performing a GPRS attach andone or more PDP context activations. <strong>Command</strong>s following +CGD<strong>AT</strong>A commandin the <strong>AT</strong> command line shall not be processed by the MT.Parameterlayer 2 protocol to be used between the TE and MTPPP or 1 for layer2 protocol PPPPDP Context Identifier is a numeric parameter whichspecifies a particular PDP context definition. The parameteris local to the TE-MT interface and is used inPDP context-related commands. If no context is specified,an internal context 0 with default QoS (network subscribed)and APN from EEPROM (if there is one) is used.12ResponseIf successful, the MT issues the intermediate result code CONNECT and entersV.25ter online data state:CONNECTAfter data transfer is complete, and the layer 2 protocol termination procedurehas completed successfully, the command state is re-entered and the MT returnsthe final result codeOKIf the parameter value is unacceptable to the MT, the MT returns anERROR or +CME ERROR response:ERROR/+CME ERRORIn the event of erroneous termination or a failure to start up, the commandstate is re-entered and the MT returnsNO CARRIERor, if enabled,+CME ERRORPage 159 of 207


6.1.4 <strong>AT</strong>+CGDCONT Define PDP ContextTest command<strong>AT</strong>+CGDCONT=?The test command returns values supported as a compound value. If theMT supports several PDP types, the parameter value ranges for each are returned on a separate line.Response+CGDCONT: (range of supported s), ,,,(list of supporteds), (list of supported s) [+CGDCONT: ...]OK/ERROR/+CME ERRORParameterSee write commandSee write commandnumeric parameter that controls PDP data compression0 offnumeric parameter that controls PDP header compression0 offRead command<strong>AT</strong>+CGDCONT?The read command returns the current settings for each defined context. Ifthere is no context define simply OK will be returned.Response+CGDCONT: , , , , , [+CGDCONT: ...]OK/ERROR/+CME ERRORParameterSee write commandSee write commandSee write commandSee write commandSee test commandSee test commandWrite command<strong>AT</strong>+CGDCONT=[[,[,[,]]]]This command specifies PDP context parameter values for a PDP contextidentified by the (local) context identification parameter, . A specialform of the set command, +CGDCONT= causes the values for contextnumber to become undefined. <strong>AT</strong>&F and <strong>AT</strong>Z will undefineevery context which is not active or not online.ParameterThis PDP Context Identifier is a numeric parameterwhich specifies a particular PDP context definition.The parameter is local to the TE-MT interface and isalso used in other PDP context-related commands. Ifno cid is given, nothing will be changed (neither contextdefinition nor undefinition).12Page 160 of 207


Packet Data Protocol type is a string parameter whichspecifies the type of packet data protocol:IP Internet Protocol (IETF STD 5)Access Point Name is a string parameter (framed byquotation marks) which is a logical name that is usedto select the GGSN or the external packet data network.If the value is null or omitted, then the subscriptionvalue will be requested.String parameter that identifies the MT in the addressspace applicable to the PDP (e.g. IP V4 address forPDP type IP). If the value is null or omitted, then avalue may be provided by the TE during the PDPstartup procedure or, failing that, a dynamic addresswill be requested.ResponseOK/ERROR/+CME ERRORReferenceGSM 07.07Page 161 of 207


6.1.5 <strong>AT</strong>+CGQMIN Quality of Service Profile (Minimum acceptable)Test command<strong>AT</strong>+CGQMIN=?The test command returns values supported as a compound value. If theMT supports several PDP types, the parameter value ranges for each PDPtype are returned on a separate line.Response+CGQMIN: , (list of supported s), (list of supporteds), (list of supported s) , (list of supporteds), (list of supported s) [+CGQMIN: ...]OK/ERROR/+CME ERRORParameterString parameter of Packet Data Protocol typeIPSee write commandSee write commandSee write commandSee write commandSee write commandRead command<strong>AT</strong>+CGQMIN?ResponseThe read command returns the current settings for each defined context. Ifno minimum profile was explicitly specified for a context, simply OK will bereturned, but default values will be used for that context.+CGQMIN: , , , , , [+CGQMIN: ...]OK/ERROR/+CME ERRORParameterSee write commandSee write commandSee write commandSee write commandSee write commandSee write commandWrite command<strong>AT</strong>+CGQMIN=[[,[,[,[,[,]]]]]]This command allows the TE to specify a minimum acceptable profilewhich is checked by the MT against the negotiated profile returned in theActivate PDP Context Accept message.The set command specifies a profile for the context identified by the (local)context identification parameter, .A special form of the set command, +CGQMIN= causes the minimumacceptable profile for context number to become undefined. Inthis case no check is made against the negotiated profile.<strong>AT</strong>&F and <strong>AT</strong>Z will undefine the minimum QoS profiles of every contextwhich is not active or not online.Page 162 of 207


Parameternumeric PDP Context Identifier; if no cid is specified,nothing will be changed (no profile definition / undefinition)12numeric parameter for the precedence class0 network subscribed value1 High PriorityService commitments shall be maintained ahead ofprecedence classes 2 and 32 Normal priorityService commitments shall be maintained ahead ofprecedence class 33 Low priorityService commitments shall be maintained ahead ofprecedence classes 1 and 2numeric parameter for the delay class0 network subscribed valueSDU size: 128 octets:Delay Class Mean Transfer Delay 95 percentileDelay1 (Predictive)


0 network subscribed valuePeak Throughput Class Peak Throughput(in octets per second)1 Up to 1 000 (8 kbit/s)2 Up to 2 000 (16 kbit/s)3 Up to 4 000 (32 kbit/s)4 Up to 8 000 (64 kbit/s)5 Up to 16 000 (128 kbit/s)6 Up to 32 000 (256 kbit/s)7 Up to 64 000 (512 kbit/s)8 Up to 128 000 (1 024 kbit/s)9 Up to 256 000 (2 048 kbit/s)numeric parameter for the mean throughput class0 network subscribed valueMean Throughput Class Mean Throughput(in octets per hour)1 100 (~0.22 bit/s)2 200 (~0.44 bit/s)3 500 (~1.11 bit/s)4 1 000 (~2.2 bit/s)5 2 000 (~4.4 bit/s)6 5 000 (~11.1 bit/s)7 10 000 (~22 bit/s)8 20 000 (~44 bit/s)9 50 000 (~111 bit/s)10 100 000 (~0.22 kbit/s)11 200 000 (~0.44 kbit/s)12 500 000 (~1.11 kbit/s)13 1 000 000 (~2.2 kbit/s)14 2 000 000 (~4.4 kbit/s)15 5 000 000 (~11.1 kbit/s)16 10 000 000 (~22 kbit/s)17 20 000 000 (~44 kbit/s)18 50 000 000 (~111 kbit/s)31 best effort.Note: If parameters are not defined, the parameter default values dependon the HLR-stored subscribed default values.Definitions of parameters in GSM 02.60 and GSM 03.60 paragraph 15.2“Quality of Service Profile“.If some of the QoS parameters are omitted, they will keep their currentvalue (or the default value if not specified so far), e.g.at+cgqmin?OKat+cgqmin=1,0OKat+cgqmin?+CGQMIN:1,0,0,0,0,0OKat+cgqmin=1,0,0,0,1OKat+cgqmin?+CGQMIN:1,0,0,0,1,0OKat+cgqmin=1,1OKPage 164 of 207at+cgqmin?


OKat+cgqmin=1,1OKat+cgqmin?+CGQMIN:1,1,0,0,1,0OKResponseOK/ERROR/+CME ERRORReferenceGSM 07.07Page 165 of 207


6.1.6 <strong>AT</strong>+CGQREQ Quality of Service Profile (Requested)Test command<strong>AT</strong>+CGQREG=?The test command returns values supported as a compound value. If the MTsupports several PDP types, the parameter value ranges for each PDP typeare returned on a separate line.Response+CGQREG: , (list of supported s), (list of supporteds), (list of supported s), (list of supporteds), (list of supported s) [+CGQREG: ...]OK/ERROR/+CME ERRORParameterString parameter of Packet Data Protocol typeIPSee write commandSee write commandSee write commandSee write commandSee write commandRead command<strong>AT</strong>+CGQREG?The read command returns the current settings for each defined context. Ifno requested profile was explicitly specified for a context, simply OK will bereturned, but default values will be used for that context.Response+CGQREG: , , , , , [+CGQREG: ...]OK/ERROR/+CME ERRORWrite command<strong>AT</strong>+CGQREG=[[,,[,[,[,]]]]]]See write commandSee write commandSee write commandSee write commandSee write commandSee write commandThis command allows the TE to specify a Quality of Service Profile that isused when the MT sends an Activate PDP Context Request message to thenetwork.The set command specifies a profile for the context identified by the (local)context identification parameter, .A special form of the set command, +CGQREQ= causes the requestedprofile for context number to become undefined.<strong>AT</strong>&F and <strong>AT</strong>Z will undefine the QoS profiles of every context which is notactive or not online.Parameternumeric PDP Context Identifier; if no cid is specified, nothingwill be changed (neither profile definition nor undefinition)12Page 166 of 207


numeric parameter for the precedence class0 network subscribed value1 High PriorityService commitments shall be maintained ahead ofprecedence classes 2 and 32 Normal priorityService commitments shall be maintained ahead ofprecedence class 33 Low priorityService commitments shall be maintained ahead ofprecedence classes 1 and 2numeric parameter for the delay class0 network subscribed valueSDU size: 128 octets:Delay Class Mean Transfer Delay 95 percentileDelay1 (Predictive)


Peak Throughput Class Peak Throughput(in octets per second)1 Up to 1 000 (8 kbit/s).2 Up to 2 000 (16 kbit/s).3 Up to 4 000 (32 kbit/s).4 Up to 8 000 (64 kbit/s).5 Up to 16 000 (128 kbit/s).6 Up to 32 000 (256 kbit/s).7 Up to 64 000 (512 kbit/s).8 Up to 128 000 (1 024 kbit/s).9 Up to 256 000 (2 048 kbit/s).numeric parameter for the mean throughput class0 network subscribed valueMean Throughput Class Mean Throughput(in octets per hour)1 100 (~0.22 bit/s)2 200 (~0.44 bit/s)3 500 (~1.11 bit/s)4 1 000 (~2.2 bit/s)5 2 000 (~4.4 bit/s)6 5 000 (~11.1 bit/s)7 10 000 (~22 bit/s)8 20 000 (~44 bit/s)9 50 000 (~111 bit/s)10 100 000 (~0.22 kbit/s)11 200 000 (~0.44 kbit/s)12 500 000 (~1.11 kbit/s)13 1 000 000 (~2.2 kbit/s)14 2 000 000 (~4.4 kbit/s)15 5 000 000 (~11.1 kbit/s)16 10 000 000 (~22 kbit/s)17 20 000 000 (~44 kbit/s)18 50 000 000 (~111 kbit/s)31 best effort.Note: If parameters are not defined, the parameter default values depend onthe HLR-stored subscribed default values.If some of the QoS parameters are omitted, then they will keep their currentvalue (or the default value if not specified so far), e.g.at+cgqreq?OKat+cgqreq=1,0OKat+cgqreq?+CGQREQ:1,0,0,0,0,0OKat+cgqreq=1,0,0,1OKat+cgqreq?+CGQREQ:1,0,0,1,0,0OKat+cgqreq=1,1OKat+cgqreq?+CGQREQ:1,1,0,1,0,0OKPage 168 of 207


at+cgqreq=1,1OKat+cgqreq?+CGQREQ:1,1,0,1,0,0OKDefinitions of parameters in GSM 02.60 and GSM 03.60 paragraph 15.2“Quality of Service Profile“.ResponseOK/ERROR/+CME ERRORReferenceGSM 07.07Page 169 of 207


6.1.7 <strong>AT</strong>+CGSMS Select service for MO SMS messagesTest command<strong>AT</strong>+CGSMS=?The test command lists the services and service preferences which can beselected with the <strong>AT</strong>+CGSMS write command.Response+CGSMS: (list of supported sOKParameterSee write commandRead command<strong>AT</strong>+CGSMS?The read command returns the currently selected service or service preference.Response+CGSMS: OK/ERROR/+CME ERRORSee write commandWrite command<strong>AT</strong>+CGSMS=[]The write command specifies what service or service preference the MTshall use when sending MO SMS messages. If parameter is notgiven, the current value remains unchanged.Parametera numeric parameter which indicates the service or servicepreference to be used.0 GPRS1 circuit switched2 GPRS preferred (use circuit switched if mobile is notGPRS attached or during a CS call)3 circuit switched preferred (use GPRS if circuit switched isnot available)ResponseOK/ERROR/+CME ERRORReferenceGSM 07.07Note:• Default value is 3 (circuit switched preferred).• Parameter cannot be stored to user profile (<strong>AT</strong>&W).Page 170 of 207


6.1.8 <strong>AT</strong>^SGAUTH <strong>Set</strong> type of authentication for PPP connectionTest command<strong>AT</strong>^SGAUTH=?Response^SGAUTH: (list of supported s)OK/ERROR/+CME ERRORParameter indicates types of supported authentication0 None1 PAP2 CHAP3 PAP and CHAPRead command<strong>AT</strong>^SGAUTH?Response+CGACT: OK/ ERROR/ + CME ERRORParameterSee test commandWrite command<strong>AT</strong>^SGAUTH=ResponseOK/ ERROR/ + CME ERRORParameterSee test commandReferenceSiemensNote:• Power on default value is 3 (PAP and CHAP)• Parameter cannot be stored using <strong>AT</strong>&WPage 171 of 207


6.2 Modem compatibility commands to MTs supporting GPRSThis subclause describes how existing <strong>AT</strong> commands, designed for use with a modem, may be usedto control a GPRS MT. This is to provide backwards compatibility with existing communications software.6.3 <strong>AT</strong>D *99# Request GPRS serviceExecute command<strong>AT</strong>D*99[*[][*[][*[]]]]#This command causes the MT to perform whatever actions are necessaryto establish communication between the TE and the externalPDN.The V.25ter 'D' (Dial) command causes the MT to enter the V.25teronline data state and, with the TE, to start the specified layer 2 protocol.No further commands may follow on the <strong>AT</strong> command line. GPRSattachment and PDP context activation procedures may take placeprior to or during the PDP startup if they have not already been performedusing the +CG<strong>AT</strong>T (see Chapter 6.1.1) and +CGACT (seeChapter 6.1.2) commands. If the context to be used is already activated,it will be deactivated first. This ensures that the right contextparameters will be used (e.g. QoS changes since the last context activationor the called address specified by <strong>AT</strong>D).Examples on how to use this command are provided in chapter 6.5.ResponseTo confirm acceptance of the command to entering the V.25ter onlinedata state:CONNECTWhen the layer 2 protocol has terminated, either as a result of an orderlyshut down of the PDP or an error, the MT enters V.25ter commandstate and returnsNO CARRIERReferenceGSM 07.07ParameterIP V4 address in the form w.x.y.z, see chapter “Using theGPRS dial command <strong>AT</strong>D“, pg. 177 which identifies thecalled party; if it is provided, the MT will automatically set upa virtual call to the specified address after the context hasbeen activated. This parameter is currently not used andneeds not be specified.:layer 2 protocol to be used between the TE and MTPPP or layer2 for PPP protocolnumeric parameter which specifies a particular PDP contextdefinition (see +CGDCONT command). If no context isspecified, an internal context 0 with default QoS (networksubscribed) and APN from EEPROM (if there is one) isused.12Note: The +CGDCONT, +CGQREQ, etc. commands may be used priorto set values for cid, PDP type, APN, QoS etc..Note<strong>AT</strong>D is used as a standard V.25ter <strong>AT</strong> <strong>Command</strong>, too.Page 172 of 207


6.3.1 <strong>AT</strong>D *98# Request GPRS IP serviceExecute command<strong>AT</strong>D*98[*]#This command causes the MT to perform whatever actions are necessary toestablish a communication between the TE and the external PDN.The V.25ter 'D' (Dial) command causes the MT to enter the V.25ter online datastate and, with the TE, to start the layer 2 protocol.GPRS attachment and PDP context activation procedures may take place priorto or during the PDP startup if they have not already been performed using the+CG<strong>AT</strong>T (see Chapter 6.1.1) and +CGACT (see Chapter 6.1.2) commands. Ifthe context to be used is already activated, it will be deactivated first. This ensuresthat the right context parameters will be used (e.g. QoS changes sincethe last context activation).Note: An example of how to use this command can be seen in chapter 6.5ResponseTo confirm acceptance of the command to entering the V.25ter online datastate:CONNECTWhen the layer 2 protocol has terminated, either as a result of an orderly shutdown of the PDP or an error, the MT enters V.25ter command state and returnNO CARRIERParameter:numeric parameter which specifies a particular PDP context definition(see +CGDCONT command). If no context is specified, an internalcontext 0 with default QoS (network subscribed) and APN fromEEPROM (if there is one) is used.12Note: The +CGDCONT, +CGQREQ, etc. commands may be used prior to setvalues for cid, PDP type, APN, QoS etc..ReferenceGSM 07.07Note:<strong>AT</strong>D is used as a standard V.25ter <strong>AT</strong>-<strong>Command</strong>, too.Page 173 of 207


6.3.2 <strong>AT</strong>H Manual rejection of a network request for PDP context activationExecute command<strong>AT</strong>HResponseThe V.25ter 'H' or 'H0' (On-hook) command may be used to reject a networkrequest for PDP context activation announced by the unsolicited result codeRINGor+CRING: GPRS ,The MT responds withOKReferenceGSM 07.07Note• In contrast to GSM 07.07 it is possible to cancel a connection with <strong>AT</strong>H aftera break. This is done for compatibility reasons due to the “dial-up network“(“DFÜ-Netzwerk“) drivers of Microsoft „ Windows ‚ .• <strong>AT</strong>H is used as a standard V.25ter <strong>AT</strong> <strong>Command</strong>, too. See Chapter 2.12.• If any PDP context is activated, then it will be deactivated. In Mulitplexmode, <strong>AT</strong>H only clears the active PDP context on the same channel where<strong>AT</strong>H was issued.Page 174 of 207


6.4 Using GPRS <strong>AT</strong> commands (examples)6.4.1 Miscellaneous <strong>AT</strong> commandsDefining and using a Context Definition Id (CID):Every time a CID is used as a parameter for a GPRS command the CID has to be defined before bythe <strong>AT</strong>+CGDCONT command. To get the parameter of a CID use the <strong>AT</strong>+CGDCONT read option. Ifthe response of ‘<strong>AT</strong>+CGDCONT?’ is OK only, there is no CID defined.<strong>AT</strong>+CGDCONT?OK// there is no CID definedAll parameters of the CID are initiated by NULL or not present values and the CID itself is set to beundefined. To define a CID use the <strong>AT</strong>+CGDCONT <strong>Command</strong> with at least one CID parameter. At themoment the mobile supports CID 1 and CID 2 by using the <strong>AT</strong>+CGDCONT command.Examples:<strong>AT</strong>+CGDCONT=1,IPOK// defines CID 1and sets the PDP type to IP// access point name and IP address aren't set<strong>AT</strong>+CGDCONT=2,IP, "internet.t-d1.gprs", 111.222.123.234OK// defines CID 2 ans sets PDP type, APN and IP addrA following read command will respond<strong>AT</strong>+CGDCONT?+CGDCONT:1,IP+CGDCONT:2,IP," internet.t-d1.gprs",111.222.123.234OK<strong>AT</strong>+CGDCONT=1OK// sets the CID 1 to be undefinedA following read command will respond<strong>AT</strong>+CGDCONT?+CGDCONT:2,IP, "internet.t-d1.gprs",111.222.123.234OKQuality of Service (QoS) is a special parameter of a CID which consists of several parameters itself.The QoS consists of• the precedence class• the delay class• the reliability class• the peak throughput class• the mean throughput classand is devided in "requested QoS" and "minimum acceptable QoS".Page 175 of 207


All parameters of the QoS are initiated by default to the "network subscribed value (= 0)" but the QoSitself is set to be undefined. To define a QoS use the <strong>AT</strong>+CGQREQ or <strong>AT</strong>+CGQMIN command.Examples:<strong>AT</strong>+CGQREQ=1,2OK// overwrites the precedence class of QoS of CID 1 and sets// the QoS of CID 1 to be presentA following read command will response<strong>AT</strong>+CGQREQ?+CGQREQ: 1,2,0,0,0,0OK// all QoS values of CID 1 are set to network subscribed// except precedence class which is set to 2<strong>AT</strong>+CGQREQ=1OK// set the QoS of CID 1 to not presentOnce defined, the CID it can be activated. To activate a CID use<strong>AT</strong>+CGACT=1,2OK // activate CID 2If the CID is already active, the mobile responses OK at once.If no CID is given, all defined CIDs will be activated by<strong>AT</strong>+CGACT= // NO CID and NO ST<strong>AT</strong>E givenOK// all defined CIDs will be activatedIf no CID is defined the mobile responses +CME ERROR: invalid indexRemark: If the mobile is NOT attached by <strong>AT</strong>+CG<strong>AT</strong>T=1 before activating, the attach is automaticallydone by the <strong>AT</strong>+CGACT command.After defining and activating a CID it may be used to get online by<strong>AT</strong>+CGD<strong>AT</strong>A=PPP,1CONNECT // the mobile is connected using the parameters of CID 1<strong>AT</strong>+CD<strong>AT</strong>A=CONNECT// the mobile is connected using default parameterThe mobile supports Layer 2 Protocol (L2P) PPP only.Remark: If the mobile is NOT attached by <strong>AT</strong>+CG<strong>AT</strong>T=1 and the CID is NOT activated before connecting,attaching and activating is automatically done by the <strong>AT</strong>+CGD<strong>AT</strong>A command.Some providers (e.g. D2 or E-Plus) require to use an APN to establish a GPRS connection. So if youuse the Microsoft Windows Dial-Up Network and <strong>AT</strong>D*9... to connect to GPRS you must provide thecontext definition as part of the modem definition (Modem properties/Connection/Advanced.../Extrasettings). As an alternative, you can define and activate the context in a terminal program (e.g. MicrosoftHyperterminal) and then use the Dial-Up Network to send only the <strong>AT</strong>D command.Page 176 of 207


6.5 Using the GPRS dial command <strong>AT</strong>DIn addition to the GPRS <strong>AT</strong> <strong>Command</strong>s you can use the "D" command to dial into to the GPRS network.There are two GPRS Service Codes for the <strong>AT</strong>D <strong>Command</strong>: Values 98 and 99.Examples:<strong>AT</strong>D*99#CONNECT // establish a connection by service code 99<strong>AT</strong>D*99*123.124.125.126*PPP*1#CONNECT // establish a connection by service code 99, IP address 123…//and L2P = PPP and using CID 1.// The CID has to be defined by <strong>AT</strong>+CGDCONT<strong>AT</strong>D*99**PPP#CONNECT// establish a connection by service code 99 and L2P = PPP<strong>AT</strong>D*99***1#CONNECT // establish a connection by service code 99 and using CID 1<strong>AT</strong>D*99**PPP*1#CONNECT// establish a connection by service code 99 and L2P = PPP and// using CID 1. The CID has to be defined by <strong>AT</strong>+CGDCONT<strong>AT</strong>D*98#CONNECT // establish an IP connection by service code 98<strong>AT</strong>D*98*1#CONNECT // establish an IP connection by service code 98 using CID 1// The CID has to be defined by <strong>AT</strong>+CGDCONTPage 177 of 207


7 <strong>AT</strong> <strong>Command</strong>s for SIM Application Toolkit (GSM 11.14)SIM Application Toolkit (S<strong>AT</strong>) is a technology that lets the SIM card execute a great variety of additionalapplications. Conventionally, SIM cards are intended to store user specific data, such as phonebooks,secure user identification codes and messages, but they can also hold a lot of value-addedmobile applications.The S<strong>AT</strong> functionality integrated in MC35 and MC35T allows to execute network specific applicationsimplemented on the SIM card. Typical examples are online banking and information services.The commands exchanged between S<strong>AT</strong> and the SIM application fall into two categories:• Proactive commands – sent from the SIM application to the module’s S<strong>AT</strong>, e.g. DISPLAY TEXT.• Envelope commands – sent from the module's S<strong>AT</strong> to the SIM application, e.g. MENU SELEC-TION.The S<strong>AT</strong> implementation supports S<strong>AT</strong> class 3, GSM 11.14 Release 98, no support of letter classes.GSM 11.14 describes Proactive and Envelope <strong>Command</strong>s in detail.Note:To give you an idea, this chapter contains a brief overview of the <strong>AT</strong> commands and responsesrelated to the SIM Application Toolkit (S<strong>AT</strong>) implementation. The full set of S<strong>AT</strong> specific<strong>AT</strong> commands and a detailed descripton of the S<strong>AT</strong> functions is provided in a separatedocumentation: the "MC35 Remote-S<strong>AT</strong> User's Guide" supplied with MC35 and MC35 Terminal.Please contact your local dealer for details.Page 178 of 207


7.1 <strong>AT</strong>^SSTA Remote-S<strong>AT</strong> Interface ActivationTest command<strong>AT</strong>^SSTA=?Response^SSTA:(list of supported s), (list of supported s)Parameter description see below.Read command<strong>AT</strong>^SSTA?The read command can be used to request the current operating status and theused alphabet of the Remote-S<strong>AT</strong> interface.Response^SSTA:,,,device state:0 S<strong>AT</strong> is already used on an other instance (logical channel incase of the multiplex protocol). Only test and read commandscan be used.1 S<strong>AT</strong> may be started on this instance via the write version ofthis command (see below).S<strong>AT</strong> profile according to GSM 11.14.The profile tells the SIM application which features aresupported by the SIM Application Toolkit implemented by theME.Write command<strong>AT</strong>^SSTA=[,]The write command is used to activate the <strong>AT</strong> command interface to the SIMApplication Toolkit in the ME, and must be issued after every power on. However,removing and inserting the SIM does not affect the activation status.S<strong>AT</strong> commands which are not using the <strong>AT</strong> interface (non MMI related S<strong>AT</strong>commands , e.g. PROVIDE LOCAL INFORM<strong>AT</strong>ION) may be executed withoutactivating Remote-S<strong>AT</strong>.ResponseOKParameter1 Activate Remote-S<strong>AT</strong> (to enter state IDLE)0 ANSI character setInput of a character requests one byte , e.g. “Y”.1 UCS2To display the 16 bit value of characters represented inUCS2 alphabet a 4 byte string is required, e.g. “0059” iscoding the character “Y”. For details please refer to ISO/IEC10646.ReferenceSiemensNotePage 179 of 207


7.2 ^SSTN Remote-S<strong>AT</strong> NotificationProactive<strong>Command</strong>sEvery time the SIM application issues a proactive command, via the ME, the TAwill receive a notification. This indicates the type of proactive command issued.<strong>AT</strong>^SSTGI must then be used by the TA to request the parameters of the proactivecommand from the ME.Upon receiving the ^SSTGI response from the ME, the TA must send <strong>AT</strong>^SSTRto confirm the execution of the proactive command and provide any required userresponse, e.g. selected menu item.Unsolicited result code^SSTN: ParametersProactive command IDTerminateProactive<strong>Command</strong>When the SIM application has issued a proactive command, via the ME, to theTA, it is possible that this command must be terminated. The ^SSTN UnsolicitedResult Code is sent but with a different command type to indicate the terminationof the specified command.Unsolicited result code^SSTN: ParametersTerminate proactive command IDSIM Applicationreturns tomain menuReferenceSiemensNotification to the TA when the SIM Application has finished a command cycleand again enters its main menue.This URC should be used to open this menue on the sreen.Unsolicited result code^SSTN: NotePage 180 of 207


7.3 <strong>AT</strong>^SSTGI Remote-S<strong>AT</strong> Get InformationTest command<strong>AT</strong>^SSTGI=?Response^SSTGI:(list of supported s), (list of supported s)OKRead command<strong>AT</strong>^SSTGI?Response^SSTGI: , OKParameters Remote-S<strong>AT</strong> interface states (refer to <strong>AT</strong>^SSTA) Ongoing Proactive <strong>Command</strong>Write command<strong>AT</strong>^SSTGI=Regularly this Write command is used upon receipt of an unsolicited result code^SSTN:.The TA is expected to acknowledge the ^SSTGI response with <strong>AT</strong>^SSTR toconfirm that the proactive command has been executed.<strong>AT</strong>^SSTR will also provide any user information, e.g. a selected menu item.The command type value is returned to the ME to identify which ^SSTN is beingresponded to.ReferenceSiemensNotePage 181 of 207


7.4 <strong>AT</strong>^SSTR Remote-S<strong>AT</strong> ResponseTest command<strong>AT</strong>^SSTR=?Response^SSTR:(list of supported s), (list of supported s)OKRead command<strong>AT</strong>^SSTR?Response^SSTR: , OKWrite command<strong>AT</strong>^SSTR=,[,][,]ParametersRemote-S<strong>AT</strong> interface stateOngoing Proactive <strong>Command</strong>The TA is expected to acknowledge the ^SSTGI response with <strong>AT</strong>^SSTR toconfirm that the proactive command has been executed.<strong>AT</strong>^SSTR will also provide any user information, e.g. a selected menu item.ResponseOKParametersNumber related to Proactive command or event type<strong>Command</strong> status return regarding the type of action that hastaken place, e.g. action performed by the user.id of menu item selected by userstring response entered by userReferenceSiemensNotePage 182 of 207


8 APPENDIX8.1 Summary of ERRORS and MessagesThe final result codes +CME ERROR: and +CMS ERROR: indicate errors related to mobileequipment or network. The effect is similar to an ERROR result code.A final result error code terminates the execution of the command and prevents the execution of allremaining commands that may follow on the same command line. If so, neither ERROR nor OK resultcode are returned. A 30 seconds timeout causes ERROR to be returned when the input of a commandis not complete.The format of can be either numeric or verbose. This is set with the <strong>AT</strong>+CMEE command (seeChapter 4.25).8.1.1 Summary of CME ERRORS related to GSM 07.07Code of Meaning0 phone failure1 no connection to phone2 phone-adapter link reserved3 Operation not allowed4 Operation not supported5 PH-SIM PIN required6 PH-FSIM PIN required7 PH-FSIM PUK required10 SIM not inserted11 SIM PIN required12 SIM PUK required13 SIM failure14 SIM busy15 SIM wrong16 Incorrect password17 SIM PIN2 required18 SIM PUK2 required20 Memory full21 invalid index22 not found23 Memory failure24 text string too long25 invalid characters in text string26 dial string too long27 invalid characters in dial string30 no network service31 Network timeout32 Network not allowed emergency calls only40 Network personalization PIN required41 Network personalization PUK required42 Network subset personalization PIN required43 Network subset personalization PUK requiredPage 183 of 207


Code of Meaning44 service provider personalization PIN required45 service provider personalization PUK required46 Corporate personalization PIN required47 Corporate personalization PUK requiredPH-SIM PUK required48(PH-SIM PUK may also be referred to as Master Phone Code. For further detailssee Chapters 4.21.2 and 4.35.1)100 Unknown256 Operation temporarily not allowed257 call barred258 phone is busy259 user abort260 invalid dial string261 ss not executed262 SIM blockedNote: Values below 256 are reserved.8.1.2 Summary of GPRS-related CME ERRORSCode of Meaning103 Illegal MS106 Illegal ME107 GPRS services not allowed111 PLMN not allowed112 Location area not allowed113 Roaming not allowed in this location area132 service option not supported133 requested service option not subscribed134 service option temporarily out of order148 unspecified GPRS error149 PDP authentication failure150 invalid mobile classPage 184 of 207


8.1.3 Summary of CMS ERRORS related to GSM 07.05Code of Meaning1 Unassigned (unallocated) number8 Operator determined barring10 Call barred21 Short message transfer rejected27 Destination out of service28 Unidentified subscriber29 Facility rejected30 Unknown subscriber38 Network out of order41 Temporary failure42 Congestion47 Resources unavailable, unspecified50 Requested facility not subscribed69 Requested facility not implemented81 Invalid short message transfer reference value95 Invalid message, unspecified96 Invalid mandatory information97 Message type non-existent or not implemented98 Message not compatible with short message protocol state99 Information element non-existent or not implemented111 Protocol error, unspecified127 Interworking, unspecified128 Telematic interworking not supported129 Short message Type 0 not supported130 Cannot replace short message143 Unspecified TP-PID error144 Data coding scheme (alphabet) not supported145 Message class not supported159 Unspecified TP-DCS error160 <strong>Command</strong> cannot be actioned161 <strong>Command</strong> unsupported175 Unspecified TP-<strong>Command</strong> error176 TPDU not supported192 SC busy193 No SC subscription194 SC system failure195 Invalid SME address196 Destination SME barred197 SM Rejected-Duplicate SM198 TP-VPF not supported199 TP-VP not supported208 D0 SIM SMS storage full209 No SMS storage capability in SIM210 Error in MS211 Memory Capacity Exceeded212 SIM Application Toolkit Busy213 SIM data download errorPage 185 of 207


Code of Meaning255 Unspecified error cause300 ME failure301 SMS service of ME reserved302 Operation not allowed303 Operation not supported304 Invalid PDU mode parameter305 Invalid text mode parameter310 SIM not inserted311 SIM PIN required312 PH-SIM PIN required313 SIM failure314 SIM busy315 SIM wrong316 SIM PUK required317 SIM PIN2 required318 SIM PUK2 required320 Memory failure321 Invalid memory index322 Memory full330 SMSC address unknown331 no network service332 Network timeout340 NO +CNMA ACK EXPECTED500 Unknown error512 User abort513 unable to store514 invalid status515 invalid character in address string516 invalid length517 invalid character in pdu518 invalid parameter519 invalid length or character520 invalid character in text521 timer expiredNote:If you attempt to use SMS related <strong>AT</strong> commands before inserting a SIM card or entering the SIM PIN,the resulting errors will be delivered in the form of CME errors instead of CMS errors.This is a normal behaviour since the GSM 07.05 based CMS errors are mapped to GSM 07.07 basedCME errors if SIM PIN authentication has not been done.Example 1The application tries to send a short message though the SIM card is not present:<strong>AT</strong>+CMGF=1OK<strong>AT</strong>+CMGS=123456+CME ERROR: 10 // Equivalent to +CMS ERROR: 310Page 186 of 207


Example 2The application tries to send a short message while the SIM card is present, butPIN authentication has not yet been done.<strong>AT</strong>+CMGF=1OK<strong>AT</strong>+CMGS=123456+CME ERROR: 11 // Equivalent to +CMS ERROR: 311Page 187 of 207


8.1.4 Summary of Unsolicited Result Codes (URC)A URC is a report message sent from the ME to the TE. An unsolicited result code can either be deliveredautomatically when an event occurs or as a result of a query the ME received before. However, aURC is not issued as a direct response to an executed <strong>AT</strong> command.Typical URCs may be information about incoming calls, received SMS, changing temperature, statusof the battery etc. A summary of URCs is listed in Table 10 and Table 11.When sending a URC the ME activates its Ring Line (Logic "1"), i.e. the line goes active low for 1 second.If an event that delivers a URC coincides with the execution of an <strong>AT</strong> command, the URC will be outputafter command execution has completed.For each of these messages, you can configure the ME whether or not to send an unsolicited resultcode. Remember that the presentation mode of URCs will be reset to the default values• when you power down the GSM engine, e.g. with <strong>AT</strong>^SMSO or when disconnecting power supply,• when you reset the engine with <strong>AT</strong>+CFUN=1,1• when you restore the factory settings with <strong>AT</strong>&F.To take advantage of the messages, you need to activate the desired URC every time you reboot theGSM engine or have the parameters included in the user profile saved with <strong>AT</strong>&W. If you do so, takeinto account that the presentation mode of some URCs cannot be saved to the user profile, for example^SBC, ^SCTM, +CSSI and +CSSU.The URCs SYSSTART, SYSSTART CHARGE-ONLY MODE and SYSSTART ALARM MODE are notuser definable. This is also true for the Fax Class 2 URCS listed in Table 11.Table 10: Summary of URCsMessage Meaning How to activateURCRING Incoming calls Not defined by user+CCCM: Current call meter value <strong>AT</strong>^SACM=1+CREG: [,,] Registration to ME network changed <strong>AT</strong>+CREG=1 or<strong>AT</strong>+CREG=2+CRING: Indication of an incoming call <strong>AT</strong>+CRC=1+CLIP: , Telephone number of caller <strong>AT</strong>+CLIP=1+CMTI:,Indication of a new short message (textand PDU mode)<strong>AT</strong>+CNMI=1,1+CMT:,+CMT:,,[,,,,,,,]+CBM:,,,, +CBM: +CDS: +CDS: ,,[],[],,, +CDSI: ,+CSSI: Short message is output directly to theTE (in PDU mode)Short message is output directly to theTE (in text mode)Cell broadcast message is output directlyto the TE (in text mode)Cell broadcast message is output directlyto the TE (in PDU mode)SMS status report routed directly to TE(in PDU mode)SMS status report routed directly to TE(in text mode)SMS status report routed ME/TA. Can bequeried from the memory with locationindex number (text and PDU mode)Supplementary service intermediate/unsolicitedresult codePage 188 of 207Example:<strong>AT</strong>+CNMI=1,2Example:<strong>AT</strong>+CNMI=1,2Example:<strong>AT</strong>+CNMI=1,0,2Examples:<strong>AT</strong>+CNMI=1,0,2Example:<strong>AT</strong>+CNMI=1,0,0,1Example:<strong>AT</strong>+CNMI=1,0,0,2<strong>AT</strong>+CSSN=1,1


Message Meaning How to activateURC+CSSU: ate/unsolicited result code^SMGO: SMS overflow indicator <strong>AT</strong>^SMGO=1^SCKS: Indicates whether card has been removed<strong>AT</strong>^SCKS=1orinserted^SCTM_A: ^SCTM_B: ^SBC: UndervoltageBattery (A) or board (B) is close to or beyondcritical temperature limit. If =2or -2, ME switches off.Undervoltage of battery detected. ME willbe switched off within a minute.<strong>AT</strong>^SCTM=1<strong>AT</strong>^SBC=^SYSSTARTIndicates that ME has successfully beenstarted.Note that this URC will not appear ifautobauding is enabled.Not defined by user^SYSSTART CHARGE-ONLYMODEOnly applicable to battery operated MEs:URC indicates that ME has entered theCharge-only mode.Charge-only mode allows charging whileME is detached from network. Limitednumber of <strong>AT</strong> commands is accessible.Mode can be launched by connecting thebattery charger to the POWER pins ofthe ZIF connector, before or after poweringdown ME with <strong>AT</strong>^SMSO.Note that this URC will not appear ifautobauding is enabled.Not defined by user^SYSSTART ALARM MODEor, if individual text available:^SYSSTART ALARM MODE+CALA: +CALA: Indicates that ME has entered Alarmmode.RTC alert set with the <strong>AT</strong>+CALA command.Executed when ME has beenpowered down. Causes ME to wake upfrom Power Down mode. Preventing MEfrom unintentionally registering to thenetwork, Alarm mode allows limited operation.Limited number of <strong>AT</strong> commandsis accessible. Do not confusewith wake-up or reminder call.Note that this URC will not appear ifautobauding is enabled.Wake-up or reminder call set with<strong>AT</strong>+CALA command. Executed while MEis in normal operation. Do not confusewith Alarm mode.Enabled when youconfigure AlarmmodeEnabled when youset wake-up call+CIEV: Reports changes from indicators listed inthe <strong>AT</strong>+CIND command specification.<strong>AT</strong>+CMER=2,0,0,2<strong>AT</strong>+CMER=3,0,0,2Page 189 of 207


Table 11: Summary of Fax Class 2 URCs defined by EIA PN-2388Message+FCON+FNSF:+FTSI:""+FCSI:""+FDCS:,,,,,,,+FDIS:,,,,,,,+FHNG:+FPTS:+FET:MeaningIndicates connection with a fax machineReports non-standard setup frameReports the remote ID, transmit station IDReports the remote ID, called station IDReports the current session parameter(refer to EIA PN-2388, table 3.10)Reports the remote station capabilities(refer to EIA PN-2388, table 3.10)Reports call terminated with statusReports received page statusReports post page messagePage 190 of 207


8.1.5 Result codesIndication Numeric MeaningOK 0 <strong>Command</strong> executed, no errors, Wake up after resetCONNECT 1 Link establishedRING 2 Ring detectedNO CARRIER 3 Link not established or disconnectedERROR 4 Invalid command or command line too longNO DIALTONE 6 No dial tone, dialling impossible, wrong modeBUSY 7 Remote station busyCONNECT 2400/RLP 47 Link with 2400 bps and Radio Link ProtocolCONNECT 4800/RLP 48 Link with 4800 bps and Radio Link ProtocolCONNECT 9600/RLP 49 Link with 9600 bps and Radio Link ProtocolCONNECT 14400/RLP 50 Link with 14400 bps and Radio Link ProtocolALERTINGAlerting at called phoneDIALINGMobile phone is dialing8.1.6 Cause Location ID for the extended error report (<strong>AT</strong>+CEER)IDDescription0 No error (default)1 SIEMENS L2 cause2 GSM cause for L3 Radio Resource Sublayer (GSM 04.08 annex F)3 SIEMENS cause for L3 Radio Resource Sublayer4 GSM cause for L3 Mobility Management (GSM 04.08 annex G)5 SIEMENS cause for L3 Mobility Management6 GSM cause for L3 Mobility Management via MMR-SAP (GSM 04.08 annex G)7 SIEMENS cause for L3 Mobility Management via MMR-SAP8 GSM cause for L3 Call Control (GSM 04.08 10.5.4.11 and annex H)9 SIEMENS cause for L3 Call Control11 SIEMENS cause for L3 Advice of Charge Entity12 GSM cause for L3 SMS CP Entity13 SIEMENS cause for L3 SMS CP Entity14 GSM cause for L3 SMS RL Entity15 SIEMENS cause for L3 SMS RL Entity16 GSM cause for L3 SMS TL Entity17 SIEMENS cause for L3 SMS TL Entity18 SIEMENS cause for DSM Entity21 GSM cause for L3 Call-related Supplementary Services22 SIEMENS cause for L3 Call-related Supplementary Services32 SIEMENS cause for Supplementary Services Entity33 SIEMENS cause for Supplementary Services Manager34 Network cause for Supplementary Services (GSM 04.08 10.5.4.11 and annex H)35 Supplementary Services network error (GSM 04.80 3.6.6)48 GSM cause for GPRS Mobility Management (GSM 04.08 annex G.6)49 SIEMENS cause for GPRS Mobility Management50 GSM cause for Session Management (GSM 04.08 annex I)51 SIEMENS cause for Session Management128 Supplementary Services general problem (GSM 04.80 3.6.7)Page 191 of 207


129 Supplementary Services invoke problem (GSM 04.80 3.6.7)130 Supplementary Services result problem (GSM 04.80 3.6.7)131 Supplementary Services error problem (GSM 04.80 3.6.7)241 SIEMENS cause for GPRS API242 SIEMENS cause for Link Management243 SIEMENS cause for Embedded Netcore (Internet Protocol Stack)8.1.7 GSM release cause for L3 Radio Resource (RR) (<strong>AT</strong>+CEER)Number Description0 Normal event1 Abnormal release, unspecified2 Abnormal release, channel unacceptable3 Abnormal release, timer expired4 Abnormal release, no activity on the radio path5 Pre-emptive release8 Handover impossible, timing advance out of range9 Channel mode unacceptable10 Frequency not implemented65 Call already cleared95 Semantically incorrect message96 Invalid mandantory information97 Message type non-existent or not implemented98 Message type not compatible with protocol state100 Conditional information element error101 No cell allocation available111 Protocol error unspecified8.1.8 SIEMENS release cause for L3 Radio Resource (RR) (<strong>AT</strong>+CEER)Number Description1 Racchs not answered2 Racchs rejected3 Access class of the SIM is barred by the network provider4 SABM failure5 Radio link counter expiry or PerformAbnormalRelease6 Confirm ABORT of the MM7 Respond to DEACT_REQ8 Loss of coverage9 Reestablishment not possiblePage 192 of 207


8.1.9 GSM release cause for Mobility Management (MM) (<strong>AT</strong>+CEER)Number DescriptionCauses related to MS identification2 IMSI unknown in HLR3 Illegal MS4 IMSI unknown in VLR5 IMEI not accepted6 Illegal MECause related to subscription options11 PLMN not allowed12 Location Area not allowed13 Roaming not allowed in this location areaCauses related to PLMN specific network failures and congestion17 Network failure22 CongestionCauses related to nature of request32 Service option not supported33 Requested service option not subscribed34 Service option temporarily out of order38 Call cannot be identifiedCauses related to invalid messages95 Semantically incorrect message96 Invalid mandantory information97 Message type non-existent or not implemented98 Message not compatible with protocol state99 Information element non-existent or not implemented100 Conditional information element error101 Messages not compatible with protocol state111 Protocol error, unspecifiedCauses related GPRS7 GPRS services not allowed8 GPRS services not allowed in combination with non-GPRS services9 MS identity cannot be identified by the network10 Implicitly detached14 GPRS services not allowed in current PLMN16 MSC temporarily unreachablePage 193 of 207


8.1.10 SIEMENS release cause for L3 Mobility Management (MM) (<strong>AT</strong>+CEER)Number Description1 No SIM available8 No MM connection9 Authentification failure11 MM performs detach17 The registration failed and will be re-attempted in a short term18 The CM connection establishment failed19 The registration failed and will be re-attempt in a long term20 The RR connection is released21 The MS tries to register22 The SPLMN is not available23 An MTC is in progress24 A PLMN scan is in progress25 The MM is detached, the MS is in MS class C GPRS only8.1.11 GSM release cause for L3 Call Control (CC) (<strong>AT</strong>+CEER)NumberDescription0 No errorNormal class1 Unassigned (unallocated) number3 No route to destination6 Channel unacceptable8 Operator determined barring16 Normal call clearing17 User busy18 No user responding19 User alerting, no answer21 Call rejected22 Number changed25 Pre-emption26 Non-selected user clearing27 Destination out of order28 Invalid number format (incomplete number)29 Facility rejected30 Response to ST<strong>AT</strong>US ENQUIRY31 Normal, unspecifiedResource unavailable class34 No circuit/channel available38 Network out of order41 Temporary failure42 Switching equipment congestion43 Access information discarded44 Requested circuit/channel not available47 Resource unavailable, unspecifiedService or option not available class49 Quality of service unavailablePage 194 of 207


Number Description50 Requested facility not subscribed55 Incoming calls barred within the CUG57 Bearer capability not authorized58 Bearer capability presently not available63 Service or option not available, unspecifiedService or option not implemented65 Bearer service not implemented68 ACM equal or greater than ACMmax69 Requested facility not implemented70 Only restricted digital information bearer capability is available79 service or option not implemented, unspecifiedInvalid message (e.g. parameter out of range) class81 Invalid transaction identifier value87 User not member of CUG88 Incompatible destination91 Invalid transit network selection95 Semantically incorrect messageProtocol error (e.g. unknown message) class96 Invalid mandantory information97 Message type non-existant or not implemented98 Message type not comaptible with protocol state99 Information element non-existent or not implemented100 Conditional information element error101 Message not compatible with protocol102 Recovery on timer expiry111 Protocol error, unspecifiedInterworking class127 Interworking, unspecified8.1.12 SIEMENS release cause for L3 Call Control (CC) (<strong>AT</strong>+CEER)Number Description1 Call dropped2 Service not available3 Hold procedure not available4 Temporary no service, previous procedure not yet finished5 No speech service available6 Call reestablishment procedure active7 Mobile received a release (complete) message during a modify procedure (modify reject)8 Call clearing, because loss of radio connection, if no reestablishment is allowed (callnot active)10 Number not included in FDN listNotifications300 Called party barred incoming call8.1.13 SIEMENS release cause for L3 Advice of Charge (AOC) (<strong>AT</strong>+CEER)NumberDescriptionPage 195 of 207


Number Description1 SIM data not available2 SIM does not support AOC3 SIM data access error4 ACM limit almost reached ACM range overflow5 ACM range overflow8.1.14 GSM release cause for Supplementary Service call (<strong>AT</strong>+CEER)Number Description0 No error (default)1 UnknownSubscriber9 IllegalSubscriber10 BearerServiceNotProvisioned11 TeleserviceNotProvisioned12 IllegalEquipment13 CallBarred15 CUGReject16 IllegalSSOperation17 SSErrorStatus18 SSNotAvailable19 SSSubscriptionViolation20 SSIncompatibility21 FacilityNotSupported27 AbsentSubscriber29 ShortTermDenial30 LongTermDenial34 SystemFailure35 DataMissing36 UnexpectedDataValue37 PWRegistrationFailure38 NegativePWCheck43 NumberOfPWAttemptsViolation71 UnknownAlphabet72 USSDBusy126 MaxNumsOfMPTYCallsExceeded127 ResourcesNotAvailableGeneral Problem Codes300 Unrecognized Component301 Mistyped Component302 Badly Structured ComponentInvoke Problem Codes303 Duplicate Invoke ID304 Unrecognized Operation305 Mistyped Parameter306 Resource Limitation307 Initiating Release308 Unrecognized Linked IDPage 196 of 207


Number Description309 Linked Response Unexpected310 Unexpected Linked OperationReturn Result Problem Codes311 Unrecognize Invoke ID312 Return Result Unexpected313 Mistyped ParameterReturn Error Problem Codes314 Unrecognized Invoke ID315 Return Error Unexpected316 Unrecognized Error317 Unexpected Error318 Mistyped Parameter8.1.15 Siemens release cause for Call related Supplementary Services (CRSS)(<strong>AT</strong>+CEER)NumberDescription0 ECT procedure failed (timer expired)1 Call has been cleared without receiving an answer to ECT request2 Initial conditions not fulfilled (one active, one held call)3 Received “return error”4 Call has been cleared without receiving an answer to CCBS request5 Initial conditions for CCBS not fulfilled (Idle CRSS)8.1.16 GSM release cause for Session Management (SM) (<strong>AT</strong>+CEER)NumberDescriptionCauses related to nature of request25 LLC or SNDCP failure26 Insufficient ressources27 Unknown or missing access point name28 Unknown PDP address or PDP type29 User authentification failed30 Activation rejected by GGSN31 Activation rejected, unspecified32 Service option not supported33 Requested service option not subscribed34 Service option temporarily out of order35 NSAPI already used36 Regular PDP context deactivation37 QoS not accepted38 Network failure39 Reactivation requestedPage 197 of 207


Number Description40 Feature not supportedCauses related to invalid messages81 Invalid transaction identifier value95 Semantically incorrect message96 Invalid mandantory information97 Message type non-existant or not implemented98 Message type not comaptible with protocol state99 Information element non-existent or not implemented100 Conditional information element error101 Message not compatible with protocol111 Protocol error, unspecified8.1.17 SIEMENS release cause for Session Management (SM) (<strong>AT</strong>+CEER)Number Description3 The MS has not got any answer to the ACTIV<strong>AT</strong>E PDP CONTEXT request messagesent five times to the network4 A MT PDP context which is active or in the activation process is deactivated becauseanother MT PDP context with the same TI is requested by the network to be activated5 A MT PDP context which is active or in the activation process is deactivated becauseanother MT PDP context with the same TI is requested by the network to be activated.The activation request is rejected by the SM sending the cause 'insufficient resources'to the network because the SM was not able to perform the necessary comparisonsfor a static PDP address collision detection.6 A MT PDP context which is active or in the activation process is deactivated becauseanother MT PDP context with the same TI is requested by the network to be activated.As a static PDP address collision with an MO activating PDP context has been detectedby the SM the SM discards the activation request7 A MT PDP context request has been indicated but could not be processed in time.The activation request is rejected by the SM sending the cause 'insufficient resources'to the network.8.1.18 SIEMENS release cause for GPRS API (<strong>AT</strong>+CEER)NumberDescription0 Regular deactivation of the call1 Action temporarily not allowed2 Wrong connection type3 Specified data service profile invalid4 PDP type or address is unknown255 UndefinedPage 198 of 207


8.1.19 SIEMENS release cause for Embedded Netcore (<strong>AT</strong>+CEER)Number Description0 Regular call deactivation1 LCP stopped255 UndefinedPage 199 of 207


8.2 Summary of PIN requiring <strong>AT</strong> <strong>Command</strong>sThe following table lists all the <strong>AT</strong> commands that are available after the PIN was entered.<strong>AT</strong> commandStandard V25.ter <strong>AT</strong> commands<strong>AT</strong>A PIN 1<strong>AT</strong>D PIN 1<strong>AT</strong>H PIN 1<strong>AT</strong>+ILRR PIN 1<strong>AT</strong>+VTS PIN 1Required PIN<strong>AT</strong> commands originating from GSM 07.07<strong>AT</strong>+CACM PIN 1, PIN 2<strong>AT</strong>+CAMM PIN 1, PIN 2<strong>AT</strong>+CAOC PIN 1<strong>AT</strong>+CCFC PIN 1<strong>AT</strong>+CCUG PIN 1<strong>AT</strong>+CCWA PIN 1<strong>AT</strong>+CEER PIN 1<strong>AT</strong>+CGACT PIN 1<strong>AT</strong>+CG<strong>AT</strong>T PIN 1<strong>AT</strong>+CGD<strong>AT</strong>A PIN 1<strong>AT</strong>+CGDCONT PIN 1<strong>AT</strong>+CGQMIN PIN 1<strong>AT</strong>+CGQREQ PIN 1<strong>AT</strong>+CHLD PIN 1<strong>AT</strong>+CHUP PIN 1<strong>AT</strong>+CIMI PIN 1<strong>AT</strong>+CLCC PIN 1<strong>AT</strong>+CLCK PIN 1<strong>AT</strong>+CLIP read PIN 1<strong>AT</strong>+CLIR PIN 1<strong>AT</strong>+CMER PIN 1<strong>AT</strong>+CMGC PIN 1<strong>AT</strong>+CMGD PIN 1<strong>AT</strong>+CMGL PIN 1<strong>AT</strong>+CMGR PIN 1<strong>AT</strong>+CMGS PIN 1<strong>AT</strong>+CMGW PIN 1<strong>AT</strong>+CMSS PIN 1<strong>AT</strong>+CNMA PIN 1<strong>AT</strong>+CNMI PIN 1<strong>AT</strong>+COPN PIN 1<strong>AT</strong>+CPIN2PIN1<strong>AT</strong>+CPBR PIN 1<strong>AT</strong>+CPBS PIN 1<strong>AT</strong>+CPBW PIN 1<strong>AT</strong>+CPMS PIN 1<strong>AT</strong>+CPUC PIN 1, PIN 2<strong>AT</strong>+CPWD PIN 1, PIN 2Page 200 of 207


<strong>AT</strong> commandRequired PIN<strong>AT</strong>+CR PIN 1<strong>AT</strong>+CRSM PIN 1<strong>AT</strong>+CSCA PIN 1<strong>AT</strong>+CSCB PIN 1<strong>AT</strong>+CSDH PIN 1<strong>AT</strong>+CSMP PIN 1<strong>AT</strong>+CSMS PIN 1<strong>AT</strong>+CUSD PIN 1Page 201 of 207


8.3 <strong>AT</strong> commands available before entering the SIM PINThe following table summarizes the <strong>AT</strong> commands you can use before the SIM PIN has been entered.Explanation:• <strong>AT</strong> command usable without PIN--- not usable without PINn.a. <strong>AT</strong> command not available at all<strong>AT</strong> command Test Read Write /ExecuteStandard V.25ter <strong>AT</strong> commandsNote<strong>AT</strong>D n.a. n.a • For emergency calls only<strong>AT</strong>E n.a. n.a •<strong>AT</strong>I n.a. n.a •<strong>AT</strong>O n.a. n.a •<strong>AT</strong>Q n.a. n.a •<strong>AT</strong>S3 n.a. • •<strong>AT</strong>S4 n.a. • •<strong>AT</strong>S5 n.a. • •<strong>AT</strong>\Q n.a. n.a. •<strong>AT</strong>Sn n.a. • •<strong>AT</strong>S18 • n.a •<strong>AT</strong>V n.a. n.a •<strong>AT</strong>X n.a. n.a •<strong>AT</strong>Z n.a. n.a •<strong>AT</strong>&C n.a. n.a •<strong>AT</strong>&D n.a. n.a •<strong>AT</strong>&F n.a. n.a •<strong>AT</strong>&V n.a. n.a •<strong>AT</strong>+IPR • • •<strong>AT</strong> commands originating from GSM 07.07<strong>AT</strong>+CALA • • •<strong>AT</strong>+CBST • • •<strong>AT</strong>+CCLK • • •<strong>AT</strong>+CFUN • • •<strong>AT</strong>+CGMI • n.a. •<strong>AT</strong>+CGMM • n.a. •<strong>AT</strong>+CGMR • n.a. •<strong>AT</strong>+CGSN • n.a. •<strong>AT</strong>+CIND • • •<strong>AT</strong>+CLIP • --- •<strong>AT</strong>+CLVL • • • Write command in audio mode 2-6only<strong>AT</strong>+CMEE • • •<strong>AT</strong>+CMGF • • •<strong>AT</strong>+CMUT • • • Write command depending on audiomode<strong>AT</strong>+CMUX • • Error Only mode 0<strong>AT</strong>+COPS Phone busy Unknown --- Not useful without PINPage 202 of 207


<strong>AT</strong> command Test Read Write / NoteExecute<strong>AT</strong>+CPAS • n.a. • Only 0<strong>AT</strong>+CPIN • • •<strong>AT</strong>+CRC • • •<strong>AT</strong>+CREG • • •<strong>AT</strong>+CRLP • • •<strong>AT</strong>+CSCS • • •<strong>AT</strong>+CSNS • • •<strong>AT</strong>+CSQ • --- •<strong>AT</strong>+CSSN • • •<strong>AT</strong>+GCAP • n.a. •<strong>AT</strong>+GMI • n.a. •<strong>AT</strong>+GMM • n.a. •<strong>AT</strong>+GMR • n.a. •<strong>AT</strong>+GSN • n.a. •<strong>AT</strong>+VTD • • •<strong>AT</strong>+VTS • n.a. •<strong>AT</strong>+WS46 • • • 12 (GSM digital cellular)Page 203 of 207


8.4 Standard GSM service codesThe following GSM command strings can be sent with the <strong>AT</strong>D command. Reference: GSM 2.30Table 12: GSM service codes*# code Functionality Possible response(s)Phone security*#06# Query IMEI OK**04*oldPIN*newPIN*newPIN#**042*oldPIN2*newPIN2*newPIN2#**05*unblKey*newPIN*newPIN#**052*unblKey*newPIN*newPIN#*#0003*MasterPhoneCode#*[*]03*[ZZ]*oldPw*newPw*newPw#Phone number presentationChange PIN1Change PIN2Unlock PIN 1. (Unblock SIM card after3 failed attempts to enter PIN1)Unlock PIN2 (after 3 failed attempts toenter PIN2)Unlock “PS” lock with Master PhoneCodeRegistration of net password (changecall barring password)*#30# Check status of CLIP (Calling LineIdentification Presentation)*#31# Check status of CLIR (Calling LineIdentification Restriction)+CME ERROR: /*31#[;] Suppress CLIR (Chapter 4.23, p.93)#31#[;] Activate CLIR (Chapter 4.23, p.93)*#76# Check status of COLP (Connected LineIdentification Presentation)*#77# Check status of COLR (Connected LineIdentification Restriction)Call forwarding (see also Chapter 8.5)(choice of *,#,*#,**,##)21*DN*BS#(choice of *,#,*#,**,##)67*DN*BS#(choice of *,#,*#,**,##)61*DN*BS*T#(choice of *,#,*#,**,##)62*DN*BS#(choice of *,#,*#,**,##)002*DN*BS*T#(choice of *,#,*#,**,##)004*DN*BS*T#Call waiting (see also Chapter 8.5)Act/deact/int/reg/eras CFUAct/deact/int/reg/eras CF busyAct/deact/int/reg/eras CF no replyAct/deact/int/reg/eras CF no reachAct/deact/int/reg/eras CF allAct/deact/int/reg/eras CF all cond.OKSee also Chapters 4.21, 4.35, 4.35.1,4.36.+CLIP : , OK (Chapter 4.22, p. 92)+CLIR : , OK (Chapter 4.23, p.93)+COLP: 0, OK (where = active ornot active)+COLR: 0, OK (where = active ornot active)^SCCFC : , , [,...] like +CCFC (Chapter 4.6, p. 68)(choice of *,#,*#)43*BS# Activation/deactivation/int WAIT +CCWA: , * )Call barring (see also Chapter 8.5)(choice of *,#,*#)33*Pw*BS#(choice of *,#,*#)331*Pw*BS#(choice of *,#,*#)332*Pw*BS#(choice of *,#,*#)35*Pw*BS#(choice of *,#,*#)351*Pw*BS##330*Pw*BS##333*Pw*BS##353*Pw*BS#Call Hold / MultipartyAct/deact/int BAOCAct/deact/int BAOICAct/deact/int BAOIC exc.homeAct/deact/int. BAICAct/deact/int BAIC roamingDeact. All Barring ServicesDeact. All Outg.Barring ServicesDeactivation. All Inc.Barring Services^SCLCK: , , [, ...]like +CLCK * ) (see Chapter 4.21, p. 86)C[C] in call Call hold and multiparty +CME ERROR: /OK (see Chapter 4.16, p. 81)USSD messagesPage 204 of 207


*# code Functionality Possible response(s)[C]...[C]#(varies with the serving network)C[C] (excluded 1[C])(varies with the serving network)Send USSD message +CME ERROR: /OK (see Chapter 4.48, p. 130)Send USSD message +CME ERROR: /OK (see Chapter 4.48, p. 130)Abbreviations of codes and responses used in Table 12Codes / parameters to be sent with <strong>AT</strong>DZZ = type of supplementary services:All servicesDN = dialling number: String of digits 0-9BS = basic serviceequivalent to parameter T = time in secondsPW = PasswordBarring services 330Voice 11FAX 13SMS 16SMS +FAX 12Voice + FAX 19Voice + SMS + FAX 10Data circuit asynchron 25Data circuit synchron 24PAD 27Packet 26Data circuit asynchron + PAD 21Data circuit synchron + packet 22Data circuit asynchron + syncron. + PAD 20All Services ---Not specifiedC = character of TE character set (e.g. asterix, hash or digit in case of USSD, or digits in case of held calls or multiparty calls)Possible responsesMode: 0 = not active, 1 = activeUnsolicited result code: 0 = presentation disabled, 1 = presentation enabledStatus: 0 = not active, 1 = activeRepresents BS = basic serviceSee Chapters 4.6 (<strong>AT</strong>+CCFC), 4.21 (<strong>AT</strong>+CLCK)Facility lock. See Chapter 4.21 (<strong>AT</strong>+CLCK)Call forwarding reasonFunction of *# codes for Supplementary Services*# code Abbreviation used in FunctionChapter 8.4* act Activate (except for CLIR, see list above)** reg Register and activate*# int Check status (interrogate)# deact Deactivate (except for CLIR, see list above)## eras Unregister and deactivatePage 205 of 207

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!