Siemens MC35 User Manual

Siemens Cellular Engines
MC35 Module
MC35 Terminal
Version: 05.00
DocID: MC35_ATC_01_V05.00
AT Command Set
Document Name: Siemens Cellular Engines
Version: 05.00 Date: July 15, 2002 Doc Id: MC35_ATC_01_V05.00 Status: Released
General note
With respect to any damages arising in connection with the described product or this document, Sie­mens shall be liable according to the General Conditions on which the delivery of the described prod­uct and this document are based. This product is not intended for use in life support appliances, devices or systems where a malfunction of the product can reasonably be expected to result in personal injury. Siemens AG customers using or selling this product for use in such applications do so at their own risk and agree to fully indemnify Siemens for any damages resulting from illegal use or resale. Applications incorporating the described product must be designed to be in accordance with the tech­nical specifications provided in these guidelines. Failure to comply with any of the required procedures can result in malfunctions or serious discrepancies in results. Furthermore, all safety instructions regarding the use of mobile technical systems, including GSM products, which also apply to cellular phones must be followed. Handheld applications such as mobile phones or PDAs incorporating the described product must be in accordance with the guidelines for human exposure to radio frequency energy. The Specific Absorp­tion Rate (SAR) of the application must be evaluated and approved to be compliant with national and international safety standards or directives.
Subject to change without notice at any time.
Copyright
Copying of this document and giving it to others and the use or communication of the contents thereof, are forbidden without express authority. Offenders are liable to the payment of damages. All rights re­served in the event of grant of a patent or the registration of a utility model or design.
Copyright © Siemens AG 2002
AT Command Set
MC35_ATC_01_V05.00 Page 2 of 256 15.07.2002
AT Command Set

Contents

0 Version History .............................................................................................9
1 Introduction .................................................................................................13
1.1 Scope of the document ...........................................................................................................13
1.2 Supported product versions and related documents ..............................................................14
1.3 Conventions ............................................................................................................................15
1.4 AT command syntax ...............................................................................................................15
1.4.1 Using parameters....................................................................................................................15
1.4.2 Combining AT commands on the same command line ..........................................................16
1.4.3 Entering successive AT commands on separate lines ...........................................................16
1.5 Supported character sets ........................................................................................................17
1.6 Flow control.............................................................................................................................18
1.6.1 Software flow control (XON/OFF flow control)........................................................................18
1.6.2 Hardware flow control (RTS/CTS flow control) .......................................................................18
2 Standard V.25ter AT Commands ...............................................................19
2.1 A/ Repeat previous command line .........................................................................................19
2.2 +++ Switch from data mode or PPP online mode to command mode...................................19
2.3 AT\Qn Flow control ................................................................................................................20
2.4 ATA Answer a call..................................................................................................................20
2.5 ATD Mobile originated call to dial a number ..........................................................................21
2.6 ATD><mem><n> Originate call to phone number <n> in memory <mem> ..........................23
2.7 ATD><n> Originate call to phone number selected from active memory..............................25
2.8 ATD><str> Originate call to phone number in memory with corresponding field ..................26
2.9 ATDI Mobile originated call to dialable ISDN number <n> ....................................................27
2.10 ATDL Redial last telephone number used .............................................................................28
2.11 ATE Enable command echo ..................................................................................................29
2.12 ATH Disconnect existing connection .....................................................................................29
2.13 ATI Display product identification information........................................................................30
2.14 ATI[value] Display additional identification information..........................................................30
2.15 ATL Set monitor speaker loudness........................................................................................31
2.16 ATM Set monitor speaker mode ............................................................................................31
2.17 ATO Switch from command mode to data mode / PPP online mode....................................31
2.18 ATQ Set result code presentation mode................................................................................32
2.19 ATP Select pulse dialling .......................................................................................................32
2.20 ATS0 Set number of rings before automatically answering the call ......................................32
2.21 ATS3 Write command line termination character ..................................................................33
2.22 ATS4 Set response formatting character...............................................................................33
2.23 ATS5 Write command line editing character..........................................................................33
2.24 ATS6 Set pause before blind dialling.....................................................................................34
2.25 ATS7 Set number of seconds to wait for connection completion ..........................................34
2.26 ATS8 Set number of seconds to wait for comma dial modifier ..............................................34
2.27 ATS10 Set disconnect delay after indicating the absence of data carrier .............................35
2.28 ATS18 Extended error report.................................................................................................35
2.29 ATT Select tone dialling .........................................................................................................35
2.30 ATV Set result code format mode..........................................................................................36
2.31 ATX Set CONNECT result code format and call monitoring..................................................36
2.32 ATZ Set all current parameters to user defined profile ..........................................................37
2.33 AT&C Set circuit Data Carrier Detect (DCD) function mode..................................................37
MC35_ATC_01_V05.00 Page 3 of 256 15.07.2002
AT Command Set
2.34 AT&D Set circuit Data Terminal Ready (DTR) function mode...............................................38
2.35 AT&F Set all current parameters to manufacturer defaults ...................................................39
2.36 AT&S Set circuit Data Set Ready (DSR) function mode........................................................41
2.37 AT&V Display current configuration .......................................................................................42
2.38 AT&W Store current configuration to user defined profile .....................................................43
2.39 AT+GCAP Request complete TA capabilities list ..................................................................44
2.40 AT+GMI Request manufacturer identification........................................................................44
2.41 AT+GMM Request TA model identification............................................................................44
2.42 AT+GMR Request TA revision identification of software status ............................................45
2.43 AT+GSN Request TA serial number identification(IMEI).......................................................45
2.44 AT+ILRR Set TE-TA local rate reporting ................................................................................46
2.45 AT+IPR Set fixed local rate.....................................................................................................47
2.45.1 Autobauding ............................................................................................................................48
3 AT Commands for FAX...............................................................................49
3.1 AT+FBADLIN Bad Line Treshold ...........................................................................................49
3.2 AT+FBADMUL Error Threshold Multiplier..............................................................................50
3.3 AT+FBOR Query data bit order .............................................................................................50
3.4 AT+FCIG Query or set the Local polling id ............................................................................51
3.5 AT+FCLASS Fax: Select, read or test service class .............................................................51
3.6 AT+FCQ Copy Quality Checking ...........................................................................................52
3.7 AT+FCR Capability to receive................................................................................................52
3.8 AT+FDCC Query or set capabilities.......................................................................................53
3.9 AT+FDFFC Data Compression Format Conversion ..............................................................54
3.10 AT+FDIS Query or set session parameters...........................................................................55
3.11 AT+FDR Begin or continue phase C data reception..............................................................56
3.12 AT+FDT Data Transmission ..................................................................................................56
3.13 AT+FET End a page or document .........................................................................................57
3.14 AT+FK Kill operation, orderly FAX abort................................................................................57
3.15 AT+FLID Query or set the Local Id setting capabilities .........................................................57
3.16 AT+FMDL Identify Product Model..........................................................................................58
3.17 AT+FMFR Request Manufacturer Identification ....................................................................58
3.18 AT+FOPT Set bit order independently...................................................................................58
3.19 AT+FPHCTO DTE Phase C Response Timeout ...................................................................59
3.20 AT+FREV Identify Product Revision ......................................................................................59
3.21 AT+FRH Receive Data Using HDLC Framing .......................................................................59
3.22 AT+FRM Receive Data ..........................................................................................................60
3.23 AT+FRS Receive Silence ......................................................................................................60
3.24 AT+FTH Transmit Data Using HDLC Framing ......................................................................60
3.25 AT+FTM Transmit Data .........................................................................................................61
3.26 AT+FTS Stop Transmission and Wait ...................................................................................61
3.27 AT+FVRFC Vertical resolution format conversion .................................................................62
4 AT Commands originating from GSM 07.07 .............................................63
4.1 AT+CACM Accumulated call meter (ACM) reset or query ....................................................63
4.2 AT+CALA Set alarm time.......................................................................................................64
4.3 AT+CAMM Accumulated call meter maximum (ACMmax) set or query................................67
4.4 AT+CAOC Advice of Charge information ..............................................................................68
4.5 AT+CBST Select bearer service type ....................................................................................69
4.6 AT+CCFC Call forwarding number and conditions control ....................................................70
4.6.1 Examples: Call forwarding ......................................................................................................71
4.7 AT+CCLK Real Time Clock ...................................................................................................73
4.8 AT+CCUG: Closed User Group ..............................................................................................74
4.9 AT+CCWA Call waiting ..........................................................................................................75
4.10 AT+CEER Extended error report ...........................................................................................77
MC35_ATC_01_V05.00 Page 4 of 256 15.07.2002
AT Command Set
4.11 AT+CFUN Set phone functionality .........................................................................................78
4.11.1 Wake up the ME from SLEEP mode.......................................................................................81
4.12 AT+CGMI Request manufacturer identification ......................................................................82
4.13 AT+CGMM Request model identification...............................................................................82
4.14 AT+CGMR Request revision identification of software status ...............................................82
4.15 AT+CGSN Request product serial number identification (IMEI) identical to GSN ................83
4.16 AT+CHLD Call hold and multiparty .........................................................................................83
4.17 AT+CHUP Hang up call .........................................................................................................84
4.18 AT+CIMI Request international mobile subscriber identity ....................................................84
4.19 AT+CIND Indicator control ......................................................................................................85
4.20 AT+CLCC List current calls of ME .........................................................................................87
4.21 AT+CLCK Facility lock ...........................................................................................................88
4.21.1 Examples: Enabling / disabling PIN 1 authentication .............................................................90
4.21.2 Examples: Phone lock.............................................................................................................91
4.21.3 Examples: Call barring ............................................................................................................93
4.22 AT+CLIP Calling line identification presentation....................................................................94
4.23 AT+CLIR Calling line identification restriction (by *# sequence) ...........................................95
4.24 AT+CLVL Loudspeaker volume level ....................................................................................96
4.25 AT+CMEE Report mobile equipment error ............................................................................97
4.26 AT+CMER Mobile equipment event reporting .......................................................................98
4.27 AT+CMUT Mute control .......................................................................................................100
4.28 AT+CMUX Enter multiplex mode .........................................................................................101
4.28.1 Restricted use of AT commands in Multiplex mode..............................................................102
4.29 AT+COPN Read operator names ........................................................................................104
4.30 AT+COPS Operator selection ..............................................................................................105
4.31 AT+CPAS Mobile equipment activity status ........................................................................107
4.32 AT+CPBR Read current phonebook entries ........................................................................108
4.33 AT+CPBS Select phonebook memory storage....................................................................109
4.34 AT+CPBW Write phonebook entry ......................................................................................110
4.35 AT+CPIN Enter PIN .............................................................................................................111
4.35.1 What to do if PIN or password authentication fails? .............................................................114
4.36 AT+CPIN2 Enter PIN2 .........................................................................................................116
4.37 AT+CPUC Price per unit and currency table .......................................................................118
4.38 AT+CPWD Change password .............................................................................................119
4.39 AT+CR Service reporting control .........................................................................................122
4.40 AT+CRC Set Cellular Result Codes for incoming call indication.........................................123
4.41 AT+CREG Network registration ...........................................................................................124
4.42 AT+CRLP Select radio link protocol param. for orig. non-transparent data call..................126
4.43 AT+CRSM Restricted SIM access .......................................................................................127
4.44 AT+CSCS Set TE character set...........................................................................................128
4.45 AT+CSNS Single Numbering Scheme ................................................................................129
4.46 AT+CSQ Signal quality ........................................................................................................130
4.47 AT+CSSN Supplementary service notifications...................................................................131
4.48 AT+CUSD Unstructured supplementary service data .........................................................132
4.49 AT+VTD=<n> Tone duration................................................................................................133
4.50 AT+VTS DTMF and tone generation (<Tone> in {0-9, *, #, A, B, C, D}) .............................133
4.51 AT+WS46 Select wireless network .......................................................................................134
5 AT commands originating from GSM 07.05 for SMS .............................135
5.1 AT+CMGC Send an SMS command ...................................................................................135
5.2 AT+CMGD Delete SMS message........................................................................................136
5.3 AT+CMGF Select SMS message format .............................................................................136
5.4 AT+CMGL List SMS messages from preferred store ..........................................................137
5.5 AT+CMGR Read SMS message .........................................................................................140
5.6 AT+CMGS Send SMS message..........................................................................................143
5.7 AT+CMGW Write SMS message to memory.......................................................................145
5.8 AT+CMSS Send SMS message from storage.....................................................................147
MC35_ATC_01_V05.00 Page 5 of 256 15.07.2002
AT Command Set
5.9 AT+CNMA New SMS message acknowledge to ME/TE, only phase 2+ ............................148
5.10 AT+CNMI New SMS message indications ..........................................................................149
5.11 AT+CPMS Preferred SMS message storage ......................................................................152
5.12 AT+CSCA SMS service centre address ..............................................................................154
5.13 AT+CSCB Select cell broadcast messages.........................................................................155
5.14 AT+CSDH Show SMS text mode parameters .....................................................................156
5.15 AT+CSMP Set SMS text mode parameters.........................................................................157
5.16 AT+CSMS Select Message Service ....................................................................................158
6 GPRS AT commands in accordance with GSM 07.07............................159
6.1 Commands specific to MTs supporting GPRS .....................................................................159
6.1.1 AT+CGATT GPRS attach and detach .................................................................................159
6.1.2 AT+CGACT PDP context activate or deactivate..................................................................160
6.1.3 AT+CGDATA Enter data state .............................................................................................161
6.1.4 AT+CGDCONT Define PDP Context...................................................................................162
6.1.5 AT+CGQMIN Quality of Service Profile (Minimum acceptable) ..........................................164
6.1.6 AT+CGQREQ Quality of Service Profile (Requested) .........................................................168
6.1.7 AT+CGSMS Select service for MO SMS messages ...........................................................172
6.1.8 AT^SGAUTH Set type of authentication for PPP connection .............................................173
6.2 Modem compatibility commands to MTs supporting GPRS .................................................174
6.3 ATD *99# Request GPRS service .......................................................................................174
6.3.1 ATD *98# Request GPRS IP service ..................................................................................175
6.3.2 ATH Manual rejection of a network request for PDP context activation ..............................176
6.4 Using GPRS AT commands (examples)...............................................................................177
6.4.1 Miscellaneous AT commands ...............................................................................................177
6.5 Using the GPRS dial command ATD ....................................................................................179
7 AT Commands for SIM Application Toolkit (GSM 11.14).......................180
7.1 AT^SSTA Remote-SAT Interface Activation .........................................................................181
7.2 ^SSTN Remote-SAT Notification ..........................................................................................182
7.3 AT^SSTGI Remote-SAT Get Information .............................................................................183
7.4 AT^SSTR Remote-SAT Response .......................................................................................184
8 Siemens defined AT commands for enhanced functions .....................185
8.1 AT+CXXCID Display card ID (identical to AT^SCID)...........................................................185
8.2 AT^MONI Monitor idle mode and dedicated mode ..............................................................186
8.3 AT^MONP Monitor neighbour cells......................................................................................188
8.4 AT^SACM Advice of charge and query of ACM and ACMmax ...........................................189
8.5 AT^SBC Battery charging / discharging and charge control................................................190
8.6 AT^SCID Display SIM card identification number................................................................193
8.7 AT^SCKS Set SIM connection presentation mode and query SIM connection status........194
8.8 AT^SCNI List Call Number Information ...............................................................................195
8.9 AT^SCTM Set critical operating temperature presentation mode or query temperature.....196
8.10 AT^SDLD Delete the “last number redial“ memory..............................................................198
8.11 AT^SHOM Display Homezone.............................................................................................198
8.12 AT^SLCD Display Last Call Duration...................................................................................198
8.13 AT^SLCK Facility lock ..........................................................................................................199
8.14 AT^SMGL List SMS messages from preferred storage.......................................................201
8.15 AT^SMGO Set or query SMS overflow presentation mode or query SMS overflow ...........202
8.16 AT^SMSO Switch off mobile station ....................................................................................203
8.17 AT^SMGR Read SMS message without set to REC READ................................................203
8.18 AT^SM20 Set M20 Compatibility .........................................................................................204
8.19 AT^SNFA Set or query microphone attenuation..................................................................205
MC35_ATC_01_V05.00 Page 6 of 256 15.07.2002
AT Command Set
8.20 AT^SNFD Set audio parameters to manufacturer default values........................................206
8.21 AT^SNFI Set microphone path parameters .........................................................................207
8.22 AT^SNFM Mute microphone................................................................................................208
8.23 Audio programming model ....................................................................................................208
8.24 AT^SNFO Set audio output (= loudspeaker path) parameter..............................................209
8.25 AT^SNFPT Call progress tones ..........................................................................................210
8.26 AT^SNFS Select audio hardware set...................................................................................211
8.27 AT^SNFV Set loudspeaker volume......................................................................................212
8.28 AT^SNFW Write audio setting in non-volatile store .............................................................212
8.29 AT^SPBC Search the first entry in the sorted telephone book ............................................213
8.30 AT^SPBG Read entry from active telephone book via sorted index ...................................214
8.31 AT^SPBS Steps the selected phonebook alphabetically.....................................................215
8.32 AT^SPIC Display PIN counter..............................................................................................216
8.33 AT^SPLM Read the PLMN list .............................................................................................217
8.34 AT^SPLR Read entry from the preferred operators list .......................................................218
8.35 AT^SPLW Write an entry to the preferred operators list......................................................219
8.36 AT^SPWD Change password for a lock ..............................................................................220
8.37 AT^SRTC Select, query, test ring tone parameters.............................................................222
8.38 AT^SSCONF SMS Configuration........................................................................................224
8.39 AT^SSDA Set Display Availability.......................................................................................225
8.40 AT^SSYNC Configure SYNC Pin.........................................................................................226
8.41 AT^STCD Display Total Call Duration .................................................................................228
9 APPENDIX .................................................................................................229
9.1 Summary of ERRORS and Messages..................................................................................229
9.1.1 Summary of CME ERRORS related to GSM 07.07 ..............................................................229
9.1.2 Summary of GPRS-related CME ERRORS..........................................................................230
9.1.3 Summary of CMS ERRORS related to GSM 07.05 ..............................................................231
9.1.4 Summary of Unsolicited Result Codes (URC) ......................................................................234
9.1.5 Result codes .........................................................................................................................237
9.1.6 Cause Location ID for the extended error report (AT+CEER) ..............................................237
9.1.7 GSM release cause for L3 Radio Resource (RR) (AT+CEER) ...........................................238
9.1.8 SIEMENS release cause for L3 Radio Resource (RR) (AT+CEER) ...................................238
9.1.9 GSM release cause for Mobility Management (MM) (AT+CEER) ........................................239
9.1.10 SIEMENS release cause for L3 Mobility Management (MM) (AT+CEER) ...........................240
9.1.11 GSM release cause for L3 Call Control (CC) (AT+CEER) ...................................................240
9.1.12 SIEMENS release cause for L3 Call Control (CC) (AT+CEER) ...........................................241
9.1.13 SIEMENS release cause for L3 Advice of Charge (AOC) (AT+CEER) ...............................242
9.1.14 GSM release cause for Supplementary Service call (AT+CEER) ........................................242
9.1.15 Siemens release cause for Call related Supplementary Services (CRSS) (AT+CEER) ....243
9.1.16 GSM release cause for Session Management (SM) (AT+CEER) ........................................243
9.1.17 SIEMENS release cause for Session Management (SM) (AT+CEER) ................................244
9.1.18 SIEMENS release cause for GPRS API (AT+CEER) ..........................................................244
9.1.19 SIEMENS release cause for Embedded Netcore (AT+CEER) ...........................................245
9.2 Summary of PIN requiring AT Commands............................................................................246
9.3 AT commands available before entering the SIM PIN..........................................................248
9.4 Standard GSM service codes ...............................................................................................250
9.4.1 Additional notes on ^SCCFC, ^SCCWA, ^SCLCK ...............................................................252
9.5 GSM and UCS2 alphabet tables...........................................................................................254
MC35_ATC_01_V05.00 Page 7 of 256 15.07.2002
AT Command Set

Figures

Figure 1: AT audio programming model...............................................................................................208

Tables

Table 1: Product specific use of AT commands .....................................................................................13
Table 2: Types of AT commands and responses...................................................................................15
Table 3: Illegal combinations of AT commands .....................................................................................16
Table 4: Character definitions depending on alphabet (examples)........................................................17
Table 5: Factory settings ........................................................................................................................39
Table 6: Summary of AT commands available in Alarm mode ..............................................................66
Table 7: Wake-up events in NON-CYCLIC and CYCLIC SLEEP mode ................................................81
Table 8: Availability of AT commands on virtual channels ...................................................................102
Table 9: Summary of AT commands with different behaviour in Multiplex mode ...............................103
Table 10: Timing algorithm of incorrect password input.......................................................................114
Table 11: Summary of AT commands available in Charge-only and Alarm mode ..............................192
Table 12: Operating modes of the ME indicated by status LED (if <mode> = 1):................................227
Table 13: Summary of URCs................................................................................................................234
Table 14: Summary of Fax Class 2 URCs defined by EIA PN-2388 ...................................................236
Table 15: GSM service codes ..............................................................................................................250
MC35_ATC_01_V05.00 Page 8 of 256 15.07.2002
AT Command Set
0 Version History
This chapter reports modifications and improvements over previous versions of the document.
"AT Command Set" Version MC35-ATC_01_V04.00 => MC35-ATC_01_V05.00
Chapter Page AT command What is new
1.5 17 Character sets Chapter revised and associated character set tables in Chapter 9.5 updated.
1.6 18
2.3 20 AT\Q<n> Further details added: Using RTS/CTS handshake.
2.12 29 ATH Notes on Multiplex mode and GPRS operation cor-
2.35 39 AT&F Added further commands to list of factory settings
2.45 47 AT+IPR Added note on minimum bit rate.
4.6 70 AT+CCFC Added note on applicability of <class> according to
4.9 75 AT+CCWA AT+CHLD can be used to put an active call on hold an
4.11 78 AT+CFUN Chapter revised.
4.16 83 AT+CHLD Removed note on GPRS.
4.19 85 AT+CIND Revised Chapter.
4.21
8.13
4.21.2 91 AT+CLCK Modified examples.
4.24 96 AT+CLVL Added information on related AT commands
4.26 98 AT+CMER Revised Chapter.
4.27 100 AT+CMUT Added information on related AT commands
4.28.1 102f AT+CMUX AT\Q3 (hardware flow control) is recommended.
4.36 116 AT+CPIN2 Added more details on validity of CPIN2 authentica-
4.44 128 AT+CSCS Further details added: Using RTS/CTS handshake.
4.49
4.50
5.4
5.5
5.7 145 AT+CMGW Parameter <length> corrected (only required for PDU,
88 199
133 133
137 140
Flow control How to use flow control.
Restoring AT\Q settings.
rected
GSM02.04.
accept a waiting voice call. Not for data or fax calls. Added notes on applicability of different <class>es.
Added notes: AT+CHLD for voice calls only. Further information on Call Waiting.
AT+CLCK AT^SLCK
AT+VTD AT+VTS AT+CMGL AT+CMGR
Corrected description of “FD” lock: PIN2 is requested as password (it is not sufficient to have done PIN2 au­thentication before).
Added notes on applicability of different <class>es and <fac>s.
AT^SNF0, AT^SNFV, AT^SNFS
AT^SNF0, AT^SNFM, AT^SNFS
Notes regarding execution of ATH on different chan­nels corrected.
tion.
Restoring AT\Q settings. Revised chapters.
Removed all information on CB messages. Added note regarding AT^SSCONF.
not for text mode). Result code after failure of storing a message to the
MC35_ATC_01_V05.00 Page 9 of 256 15.07.2002
AT Command Set
SIM card (ME returns OK or ERROR depending on setting of AT^SM20).
Statement about sending e-mails via SMS corrected: If not recognized by provider, @ may be replaced with “*”.
5.10 149 AT+CNMI Notes regarding AT^SSCONF and AT^SMGO added. Note regarding the handling of Class 0 short mes-
sages added.
5.11 152 AT+CPMS <mem3> now offers the choice between “MT” and “SM”
<mem1>, <mem2> and <mem3> are now stored non­volatile.
Added notes on handling <mem3>.
6.1.7 172 AT+CGSMS Modified parameter <service>=2 (GPRS preferred): No SMS via GPRS during a circuit switched call.
6.1.8 173 AT^SGAUTH Notes added: Parameter cannot be stored with AT&W. Default value after power-up is <auth>=3 (PAP and CHAP).
6.3.2 176 ATH Notes on deactivation of PDP context and GPRS con­nection removed.
8.2
186f
AT^MONI
Response example b): Parameter C1 corrected. <chann> and <rs> explained in greater detail References for 3GPP TS 05.05 and 05.08 added Notes modified: If the radio cell changes during a connection, the pa-
rameters PWR and RXLev of the ‘Serving Cell’ part will not be updated, and updating the Cell ID takes 1 or 2 seconds.
8.3 188 AT^MONP <chann> and <rs> explained in greater detail Notes modified: During a connection new neighbour
cells can be added, but their parameters C1 and C2 will be updated after the call.
8.15 202 AT^SMGO Added note: Indication of URC requires AT+CNMI=3,1. SMS indication during data transfer via Break (100ms)
8.19 - 8.28 205 - 212 AT^SNF… All Chapters revised.
8.25 210 AT^SNFPT New AT command: Call progress tones
8.37 222 AT^SRTC New AT command: Select, query, test ringing tones
8.38 224 AT^SSCONF New AT command: Configuring recipient address pa­rameters in SMS result codes and in +CDS URCs.
9.1.3 231 CMS errors Note and example added: Mapping of CME and CMS errors if SIM PIN authentication has not been done.
9.1.4 234 URCs Added: URCs will be output after command execution. Added list of Fax Class 2 URCs.
9.1.5 237 Result codes Removed 3 result codes “CONNECT…”, and pre­served those wich include “CONNECT …/RLP”
Added to List of PIN1 requiring AT commands:
AT+CPIN2, AT^SSDA
9.3 248f Added to List of PIN1 independent AT commands:
AT+VTS, AT^SNFPT, AT^SRTC, AT^SSCONF
MC35_ATC_01_V05.00 Page 10 of 256 15.07.2002
AT Command Set
"AT Command Set" Version MC35-ATC_01_V03.02 => MC35-ATC_01_V04.00
Chapter Page AT command What is new
2.2 19 +++ Chapter revised.
2.5 21
ATD Parameters “G” and “g” for Closed User Group added.
2.17 31 ATO Chapter revised.
4.8 74 AT+CCUG New AT command: Closed User Group.
4.9 75 AT+CCWA New AT command: Call Waiting.
4.19 85 AT+CIND New AT command: Indicator control.
4.21 88 AT+CLCK Under parameter “PS” lock, the following statement has been removed: “ME may remember numbers of previously used cards.”
4.26 98 AT+CMER New AT command: Mobile equipment event reporting.
8.2
8.3
186f 188
AT^MONI At^MONP
Statement regarding RING line revised.
8.19 205 AT^SNFA New AT command: Set or query microphone attenua­tion
8.39 225 AT^SSDA New AT command: Set Display Availability
9.1.4 234 +CIEV: <text> added to list of URCs
9.2 - 9.3 246f - 248f AT+CCUG,
AT+CCWA, AT+CMER, AT^SSDA
AT+CIND
Added to Chapter 9.2 (PIN 1 required).
Added to Chapter 9.3 (PIN1 independent)
AT^SNFA
"AT Command Set" Version MC35-ATC_01_V02.00 => MC35_ATC_01_V03.02
Chapter Page AT command What is new
1.4.2 16 Note regarding sequential order of concatenated commands added.
4.5 69 AT+CBST Command syntax corrected: Parameter <speed> is mandatory.
4.6 70 AT+CCFC New <class> parameters added.
4.11 78 AT+CFUN SLEEP mode described in greater detail
4.21 88 AT+CLCK New <class> parameters added.
4.35.1 114 AT+CPIN Timing algorithm of incorrect password corrected
4.46 130 AT+CSQ Note added: Realistic BER values can be obtained only if there is a call in progress.
5.11 152 AT+CPMS Difference between SM, ME and MT storage ex­plained.
6.1.8 173 AT^SGAUTH New command to specify protocol for PPP authentica­tion
8.2 186f AT^MONI Channel numbers are now issued in the form of 4-digit numbers. Therefore, the examples on page 186 have been updated.
Frequency hopping will now be indicated with “h” (in­stead of the previously used “0”.
MC35_ATC_01_V05.00 Page 11 of 256 15.07.2002
AT Command Set
Notes modified: If during a connection the radio cell is changed, the parameters LAC, Cell, NCC BCC, PWR and RXLev of the ‘Serving Cell’ part will not be up­dated.
8.7 194 AT^SCKS Notes regarding empty SIM card tray modified.
8.9 196 AT^SCTM Chapter revised due to improved presentation of tem­perature shutdown URCs.
9.2 - 9.3 246f - 248f AT+CXXCID
AT^SCID
AT^SGAUTH
Both commands now independent of PIN authentica­tion
Command added to list of PIN independent com­mands
9.1 - 9.1.19
9.1.12
229 - 245f 241
Lists of result codes restructured. Notification number 300 added: “Called party barred incoming call”
9.4
9.4.1
250f 252f
*# codes Chapter revised. Further examples added.
MC35_ATC_01_V05.00 Page 12 of 256 15.07.2002
AT Command Set
1 Introduction
1.1 Scope of the document
This document presents the AT Command Set for the Siemens cellular engines MC35 Module
MC35 Terminal
The AT commands detailed in this document are supported by both products. Where differences oc­cur, they are noted in the chapter that refers to the command. In the present version, the only excep­tions concern these commands:
Table 1: Product specific use of AT commands
AT command MC35 Module MC35 Terminal
AT+CALA, Chapter 4.2 Alarm mode and reminder call
fully applicable
AT^SSYNC, Chapter 8.40 SYNC pin may be assigned dif-
ferent functions: <mode> 0 or 1.
AT^SBC, Chapter 8.5 All functions fully applicable
MC35 and MC35 Terminal feature basic SIM Application Toolkit (SAT) functionality which enables SIM cards to run additional network based applications, such as value added services, online banking, in­formation services etc. To give you an idea, Chapter 7 provides a brief overview. In greater detail, the SAT functions and the required AT commands are described in [4].
Does not support Alarm mode. Please ignore any information relat­ing to the subject.
The reminder call can be used as described.
SYNC pin supports only <mode>=1 (LED status).
Command not applicable.
MC35_ATC_01_V05.00 Page 13 of 256 15.07.2002
AT Command Set
1.2 Supported product versions and related documents
Please note that this AT Command Set is intended for MC35 Version 05.00
Related documents
[1] MC35 Hardware Interface Description, Version 05.00 [2] Release Notes: MC35, Version 05.00 [3] MC35 GPRS Startup User's Guide [4] MC35 Remote-SAT User's Guide, as of Version 05.00 [5] MC35 Multiplexer User's Guide, Version 05.00 [6] Application Note 16: Updating MC35 Firmware, as of Version 05.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 XP
Prior to using MC35 / MC35T or upgrading to a new firmware release, be sure to carefully read the latest product information provided in the Release Notes.
To visit the Siemens Website you can use the following link:
http://www.siemens.com/wm
MC35_ATC_01_V05.00 Page 14 of 256 15.07.2002
AT Command Set
1.3 Conventions
Throughout the document, the GSM engines are referred to as ME (Mobile Equipment), MS (Mobile Station), TA (Terminal Adapter), DCE (Data Communication Equipment) or facsimile DCE (FAX mo­dem, 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 AT Commands via its serial interface. The control­ling device at the other end of the serial line is referred to as TE (Terminal Equipment), DTE (Data Terminal Equipment) or plainly ´the application´ (probably running on an embedded system).
1.4 AT command syntax
The "AT" or "at" prefix must be set at the beginning of each command line. To terminate a command line enter <CR>.
Commands are usually followed by a response that includes “<CR><LF><response><CR><LF>”. Throughout this document, only the responses are presented, <CR><LF> are omitted intentionally.
Table 2: Types of AT commands and responses
Test command AT+CXXX=? The mobile equipment returns the list of parameters and
value ranges set with the corresponding Write command or by internal processes.
Read command AT+CXXX? This command returns the currently set value of the pa-
rameter or parameters Write command AT+CXXX=<...> This command sets user-definable parameter values. Execution command AT+CXXX The execution command reads non-variable parameters
affected 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 cur-
rent settings are used until you change them.
· Optional parameters or subparamters can be omitted unless they are followed by other parame­ters. If you want to omit a parameter in the middle of a string it must be replaced by a comma. Ex­ample: AT+CPBW=,<number>,<type>,<text> writes a phonebook entry to the first free memory location. AT+CPBW=<index>,<number>,<type>,<text> writes a phonebook entry to the memory location specified by <index>.
· When the parameter is a character string, e.g. <text> or <number>, the string must be enclosed in quotation marks, e.g. "Charlie Brown" or "+49030xxxx". Symbols within quotation marks will be recognized 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 to
be 0.
MC35_ATC_01_V05.00 Page 15 of 256 15.07.2002
AT Command Set
1.4.2 Combining AT commands on the same command line
You may enter several AT commands on the same line. This eliminates the need to type the "AT" or "at" prefix before each command. Instead, it is only needed once at the beginning of the command line. Use a semicolon as command delimiter.
The command line buffer accepts a maximum of 391 characters. If this number is exceeded none of the commands will be executed and TA returns ERROR.
The table below lists the AT commands you cannot enter together with other commands on the same line. Otherwise, the responses may not be in the expected order.
Table 3: Illegal combinations of AT commands
V.25ter commands With GSM 7.07 commands With GSM 7.05 commands (SMS) --- To be used standalone Commands starting with AT& --- To be used standalone AT+IPR --- To be used standalone
FAX commands, Prefix AT+F Siemens commands, Prefix AT^S
Note: When concatenating AT commands please keep in mind that the sequence of processing may
be different from the sequential order of command input. Therefore, if the consecutive order of the issued commands is your concern, avoid concatenating commands on the same line.
1.4.3 Entering successive AT commands on separate lines
When you enter a series of AT commands on separate lines, leave a pause between the preceding and the following command until OK appears. This avoids sending too many AT commands at a time without waiting for a response for each.
MC35_ATC_01_V05.00 Page 16 of 256 15.07.2002
AT Command Set
1.5 Supported character sets
The 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 9.5.
Due to the constraints described below it is recommended to prefer the USC2 alphabet in any external application.
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. Mi-
crosoft
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 may cause problems on application level when using a ´C´-function as „strlen()“. This can be avoided if it is represented by an escape sequence as shown in Table 4. By the way, this may be the reason why even network providers often replace "@"with “@=*” in their SIM application.
3. Other characters of the GSM alphabet are misinterpreted by an ASCII terminal program. For ex-
ample, GSM "ö" (as in "Börse") is assumed to be "|" in ASCII, thus resulting in "B|rse". This is be­cause both 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 software
flow 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 es­cape sequences. 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 show wrong responses.
©
Hyperterminal®).
Table 4: Character definitions depending on alphabet (examples)
GSM 03.38 character
GSM character hex. value
Corresponding ASCII character
ASCII Esc sequence
Hex
Esc sequence Ö 5C \ \5C 5C 35 43 " 22 \22 5C 32 32 ò 08 BSP \08 5C 30 38 @ 00 NULL \00 5C 30 30
CAUTION: 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 this problem is to write a script which includes a decimal code instead of an escape sequence. This way you can write, for example, short messages which may contain differently coded characters.
MC35_ATC_01_V05.00 Page 17 of 256 15.07.2002
AT Command Set
1.6 Flow control
Flow control is essential to prevent loss of data or avoid errors when, in a data or fax call, the sending device is transferring data faster than the receiving side is ready to accept. When the receiving buffer reaches its capacity, the receiving device should be capable to cause the sending device to pause un­til it catches up.
There are basically two approaches to regulate data flow: software flow control and hardware flow control. The High Watermark of the input / output buffer should be set to approximately 60% of the to­tal buffer size. The Low Watermark is recommended to be about 30%. The data flow should be stopped when the capacity rises close to the High Watermark and resumed when it drops below the Low Watermark. The time required to cause stop and go results in a hysteresis between the High and Low 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, deci­mal 17) data flow. The only advantage of software flow control is that three wires would be sufficient on 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 the transfer from the buffer has completed. When the Low Watermark is passed, CTS goes active once again.
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. This needs to be done with the AT command AT\Q3 - it is not sufficient to set RTS/CTS handshake in the used Terminal program only.
The default setting of the GSM engine is AT\Q0 (no flow control) which must be altered to AT\Q3 (RTS/CTS hardware handshake on). The setting is stored volatile and must be restored each time af­ter the GSM engine was switched off. For further details refer to Chapter 2.3.
AT\Q has no read command. To verify the current setting of AT\Q, simply check the settings of the ac­tive profile with AT&V.
Often, fax programs run an intialization procedure when started up. The intialization commonly in­cludes enabling RTS/CTS hardware handshake, eliminating the need to set AT\Q3 once again. How­ever, 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 SLEEP modes. For further details refer to Chapter 4.11, AT+CFUN.
Note: After deactivating the RTS line, the ME may still send up to 32 bytes. This can be easily han-
dled if the buffer of the host application is sufficiently sized, and if a hysteresis is implemented in its Rx buffer as mentioned in Chapter 1.6. A total buffer capacity of 256 bytes has been proved to work well.
MC35_ATC_01_V05.00 Page 18 of 256 15.07.2002
AT Command Set
2 Standard V.25ter AT Commands
These AT Commands are related to ITU-T (International Telecommunication Union, Telecommunica­tion sector) V.25ter document.
MC35 supports the registers S0-S29. You can change S0,S3,S4,S5,S6,S7,S8,S10,S18 by using the appropriate ATSn commands. All the other registers are read-only and for internal usage only!
2.1 A/ Repeat previous command line
Execute command
Response
A/
Repeats previous command line. Line does not need to end with terminating character.
Parameter
Reference
V.25ter
Note
· 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 to start again with character “a“ or “A“.
· If autobauding is active (see +IPR, pg. 46) A/ (and a/) cannot be used.
2.2 +++ Switch from data mode or PPP online mode to command mode
Execute command
+++
Reference
V.25ter
Response
This 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 AT inter­face and switch to command mode. This allows you to enter AT commands while maintaining the data connection to the remote device or, accordingly, the GPRS connection.
OK
To prevent the +++ escape sequence from being misinterpreted as data, it must be preceded and followed by a pause of at least 1000 ms. The +++ characters must be entered in quick succession, all within 1000 ms.
Note:
· To return from command mode to data or PPP online mode: Enter ATO as de­scribed in Chapter 2.17.
MC35_ATC_01_V05.00 Page 19 of 256 15.07.2002
AT Command Set
2.3 AT\Qn Flow control
Execute command
AT\Q<n>
Reference
Response
OK
Parameter
<n> 0 AT\Q0 No flow control 1 AT\Q1 XON/XOFF software flow control 2 AT\Q2 Only CTS by DCE 3 AT\Q3 RTS/CTS hardware flow control
Note
Line state refers to RS-232 levels. The setting of AT\Q is stored volatile and must be restored each time after the
GSM engine was switched off. Also, there is no way to store AT\Q to the user defined profile.
See also Chapter 1.6 for general information on flow control.
Required for the following procedures: incoming or outgoing data calls, fax calls, GPRS connec­tions, CYCLIC SLEEP modes set with AT+CFUN. Often, the initialization routine of Fax programs in­cludes enabling RTS/CTS handshake, eliminating the need to issue AT\Q3 once again.
2.4 ATA Answer a call
Execute command
ATA
Reference
V.25ter
TA causes remote station to go off-hook (e.g. answer call).
Note1: Any additional commands on the same command line are ignored. Note2: This command may be aborted generally by receiving a character during
execution. It can´t be aborted in some connection setup states, such as handshaking.
Response
Response in case of data call, if successfully connected: CONNECT<text> TA switches to data mode. Note: <text> output only if +ATX parameter setting with value > 0.
Response in case of voice call, if successfully connected:
OK
When TA returns to command mode after call release:
OK
Response if no connection:
NO CARRIER
Parameter
Note
See also AT+ATX and Chapter 9.1.5 for <text>
MC35_ATC_01_V05.00 Page 20 of 256 15.07.2002
AT Command Set
2.5 ATD Mobile originated call to dial a number
Execute command
ATD[<n>] [<mgsm][;]
This command can be used to set up outgoing voice, data or fax calls. It also serves to control supplementary services.
Note:
The command may be aborted generally when receiving an ATH command during execution. It can´t be aborted in some connection setup states, such as handshak­ing.
Two different call setup options can be determined for voice calls: TA returns OK either after dialing was completed or after call has been established. Setting is made with AT^SM20 (see Chapter 8.18). In data connections, call setup always terminates when call has been established.
Response
If no dialtone (parameter setting ATX2 or ATX4):
NO DIALTONE
If busy (parameter setting ATX3 or ATX4):
BUSY
If a connection cannot be set up:
NO CARRIER
If successfully connected and non-voice call: CONNECT<text> TA switches to data state.
Note: <text> output only if +ATX parameter setting with value > 0.
When TA returns to command mode after call release:
OK
If successfully connected and voice call:
OK
Parameter
<n> String of dialling digits and optionally V.25ter modifiers (dialling digits):
0-9, * , #, +, A, B, C V.25ter modifiers: these are ignored: ,(comma), T, P, !, W, @
Emergency call:
<n> = 112 worldwide number (no SIM needed)
<mgsm> String of GSM modifiers: I Activates CLIR (disables presentation of own phone number to called
party)
i Deactivates CLIR (enables presentation of own phone number to
called 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.
MC35_ATC_01_V05.00 Page 21 of 256 15.07.2002
AT Command Set
Reference
V.25ter/GSM
07.07
Note
· Before setting up a data call, check that RTS/CTS handshake is enabled. See
· Parameter ”l“ and ”i“ only if no *# code is within the dial string.
· <mgsm> is not supported for data calls.
· <n> is default for last number that can be dialled by ATDL.
· See also +ATX and chapter 9.1.5 for <text>.
· The *# codes can only be used with voice calls (i.e.if “;” is appended).
· If ATD is used with a USSD command (e.g. ATD*100#;) an AT+CUSD=1 is
· Parameter ‘G’ or ‘g’ will be ignored if Closed User Group was already activated,
Chapters 1.6 and 2.3.
executed implicitly (see AT+CUSD, pg. 132).
or accordingly, deactivated with AT+CCUG command.
MC35_ATC_01_V05.00 Page 22 of 256 15.07.2002
AT Command Set
2.6 ATD><mem><n> Originate call to phone number <n> in memory <mem>
This command allows you to dial a phone number from a specific phonebook. To initiate a call, enter a two letter abbreviation for the phonebook <mem>, followed by the memory location <n> of the de­sired entry. The location range of each phonebook can be queried by AT+CPBR (see Chapter 4.32).
Execute command
ATD><mem> <n>[<mgsm>][;]
Parameter
TA attempts to set up an outgoing call to the specified number.
Note: This command may be aborted generally by receiving a character during
execution. Abortion is not possible during some states of connection setup such as handshaking.
Response
If error is related to ME functionality:
+CME ERROR: <err>
If no dialtone (parameter setting ATX2 or ATX4):
NO DIALTONE
If busy (parameter setting ATX3 or ATX4):
BUSY
If connection cannot be set up:
NO CARRIER
If successfully connected and non-voice call: CONNECT<text> TA switches to data state.
Note: <text> output only if +ATX parameter setting with value > 0.
When TA returns to command mode after call release:
OK
If successfully connected and voice call:
OK
<mem> 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 di-
aled are stored on the SIM card, no matter whether or not the
calls 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) list Note: <mem> must be included in quotation marks (""), if parameter
<mgsm> is used. If not, quotation marks are optional.
<n> Integer type memory location in the range of locations available in
the selected memory, i.e. the index number returned by AT+CPBR.
MC35_ATC_01_V05.00 Page 23 of 256 15.07.2002
AT Command Set
<mgsm> I Activates CLIR (disables presentation of own phone number to
i Deactivates CLIR (enables presentation of own phone number
<;> Only required to set up voice calls. TA remains in command mode.
Reference
V.25ter/GSM
07.07
Example
Note
· There is no <mem> for emergency call (“EN”).
· Command is not supported for data call!
· Parameter <mgsm> 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 ATX and chapter 9.1.5 for <text>.
To query the location number of the phonebook entry:
AT+CPBR=1,xx
TA returns the entries available in the active phonebook.
To dial a number from the SIM phonebook, for example the number stored to location 15:
ATD>SM15; OK
To dial a phone number stored in the last dial memory on the SIM card:
ATD>LD9; OK
called party)
to called party)
MC35_ATC_01_V05.00 Page 24 of 256 15.07.2002
AT Command Set
2.7 ATD><n> Originate call to phone number selected from active memory
This command can be used to dial a phone number selected from the active memory. The active memory is the phonebook selected with AT+CPBS (see Chapter 4.33). To set up a call simply enter the memory location of the desired entry. The memory location range of each phonebook can be queried by AT+CPBR (see Chapter 4.32).
Execute command
ATD><n>[<mgsm>][;]
Reference
V.25ter/GSM 07.07
TA attempts to set up an outgoing call to the stored number.
Note: This command may be aborted generally by receiving a character
during execution. It can´t be aborted in some connection setup states, such as handshaking.
Response
If error is related to ME functionality:
+CME ERROR: <err>
If no dialtone (parameter setting ATX2 or ATX4):
NO DIALTONE
If busy (parameter setting ATX3 or ATX4):
BUSY
If a connection cannot be set up:
NO CARRIER
If successfully connected and non-voice call: CONNECT<text> TA switches to data state.
Note: <text> output only if +ATX parameter setting with value > 0.
When TA returns to command mode after call release:
OK
If successfully connected and voice call:
OK
Parameter
<n> integer type memory location should be in the range of locations
available in the memory used, i.e. the index number returned by AT+CPBR.
<mgsm> I Activates CLIR (disables presentation of own phone number to
called party)
i Deactivates CLIR (enables presentation of own phone number
to called party)
<;> Only required to set up voice calls. TA remains in command mode.
Note
· Parameter <mgsm> only if no *# code is within the dial string.
· Command is not supported for data call!
· The *# codes can only be used with voice calls (i.e.if “;” is appended).
· See also +ATX and chapter 9.1.5 for <text>.
MC35_ATC_01_V05.00 Page 25 of 256 15.07.2002
AT Command Set
2.8 ATD><str> Originate call to phone number in memory with correspond­ing field
This command searches the active phonebook for a given string <str> and dials the assigned phone number. The active phonebook is the one set with AT+CPBS.
Execute command
ATD><str>[mgsm][;]
Reference
V.25ter/GSM 07.07
TA attempts to set up an outgoing call to stored number
Note: This command may be aborted generally by receiving a character dur-
ing execution. It can´t be aborted in some connection setup states, such as handshaking.
Response
If error is related to ME functionality:
+CME ERROR: <err>
If no dialtone (parameter setting ATX2 or ATX4):
NO DIALTONE
If busy (parameter setting ATX3 or ATX4):
BUSY
If a connection cannot be set up:
NO CARRIER
If successfully connected and non-voice call: CONNECT<text> TA switches to data state.
Note: <text> output only if +ATX parameter setting with value > 0.
When TA returns to command mode after call release:
OK
If successfully connected and voice call:
OK
Parameter
<str> string type value (“x”), which should equal an alphanumeric field in
at least one phonebook entry in the searched memories; used char­acter set should be the one selected with AT+CSCS. <str> can con­tain escape sequences as described in Chapter 1.5. <str> must be wrapped in quotation marks (""), if escape sequences or parameter <mgsm> are used or if the alphanumeric strings con­tains a blank. If not, quotation marks are optional.
<mgsm> I Activates CLIR (disables presentation of own phone number to
called party)
i Deactivates CLIR (enables presentation of own phone number to
called party)
<;> Only required to set up voice calls. TA remains in command mode.
Note
Command is not supported for data calls! See also ATX and Chapter 9.1.5 for <text>
MC35_ATC_01_V05.00 Page 26 of 256 15.07.2002
AT Command Set
2.9 ATDI Mobile originated call to dialable ISDN number <n>
Execute command
ATDI<n>[;]
Parameter
Reference
V.25ter
TA attempts to set up an outgoing call to ISDN number.
Note: This command may be aborted generally by receiving a character during
execution. This command cannot be aborted in some connection setup states, such as handshaking.
Response
If no dialtone (parameter setting ATX2 or ATX4):
NO DIALTONE
If busy (parameter setting ATX3 or ATX4):
BUSY
If a connection cannot be set up:
NO CARRIER
If successful connected and non-voice call: CONNECT<text> TA switches to data state.
Note: <text> output only if +ATX parameter setting with value > 0.
When TA returns to command mode after call release:
OK
If successfully connected and voice call:
OK
<n> [+]<d> phone number string with maximum length of 20 characters + international dialling format <d> ISDN number string of digits: +,0-9, A, B, C <;> voice call
MC35_ATC_01_V05.00 Page 27 of 256 15.07.2002
AT Command Set
2.10 ATDL Redial last telephone number used
Execute command
ATDL[;]
Reference
V.25ter
This command redials the last voice and data call number used in the ATD com­mand.
· To redial the last data call number simply enter ATDL
· To redial the last voice call number type ATDL;
Note: The command may be aborted generally by receiving a character during
execution. This command cannot be aborted in some connection setup states, such as handshaking.
Response
If there is no last number or number is not valid:
+CME ERROR
If no dialtone (parameter setting ATX2 or ATX4):
NO DIALTONE
If busy (parameter setting ATX3 or ATX4):
BUSY
If a connection cannot be set up:
NO CARRIER
If successfully connected and non-voice call: CONNECT<text> TA switches to data state.
Note: <text> output only if +ATX parameter setting with value > 0.
When TA returns to command mode after call release:
OK
If successfully connected and voice call:
OK
Parameter
<;> voice call
Note
In case of voice calls “;” is necessary.
MC35_ATC_01_V05.00 Page 28 of 256 15.07.2002
AT Command Set
2.11 ATE Enable command echo
Write command
ATE[<value>]
Reference
V.25ter
This setting determines whether or not the TA echoes characters received from TE during command state.
Response
OK
Parameter
<value> 0 Echo mode off 1 Echo mode on
Note
In case of using the command without parameter, <value> is set to 0.
2.12 ATH Disconnect existing connection
Execute command
ATH[n]
Reference
V.25ter
Disconnects any call in progress, such as voice, fax or CSD calls. See notes be­low for GPRS and multiplex mode.
Response
OK
Note:
OK is issued after circuit 109 (DCD) is turned off (RS-232 level), if it was previ­ously on.
Parameter
<n> 0 terminate call
Note
Using ATH in Multiplex mode (AT+CMUX):
· ATH terminates every voice, fax or CSD call, no matter on which channel ATH was executed.
For example, if ATH is executed on channel 2 or 3, a voice call made on chan-
nel 1 will be disconnected, too.
This behaviour is in accordance with ITU-T V.25 ter; (07/97, see “6.3.6 Hook
control“: "ATH is terminating any call in progress").
Using ATH while GPRS is active during Multiplex mode:
· ATH 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 not affect PDP contexts and PPP connections on other channels.
· See also Chapter 6.3.2, ATH Manual rejection of a network request for PDP context activation.
MC35_ATC_01_V05.00 Page 29 of 256 15.07.2002
AT Command Set
2.13 ATI Display product identification information
Execute command
ATI
Reference
V.25ter
Response
ME issues product information text
SIEMENS
MC35 REVISION xx.yy
OK
Explanation of “Revision“ parameter: Version xx and variant yy of software release.
Note
2.14 ATI[value] Display additional identification information
Execute command
ATI[value]
Reference
V.25ter
Response
<value>=9 delivers the following information. Other values are not supported and only return OK.
ATI9 SIEMENS Gipsy Soft Protocolstack V2.550 MC35
Note
MC35_ATC_01_V05.00 Page 30 of 256 15.07.2002
AT Command Set
2.15 ATL Set monitor speaker loudness
Execute command
ATL[val]
Reference
V.25ter
2.16 ATM Set monitor speaker mode
Execute command
ATM[val]
Reference
V.25ter
Response
OK
Note
· The two commands ATL and ATM are implemented only for V.25ter compatibil­ity reasons and have no effect.
· In multiplex mode the command is supported on logical channel 1 only.
Response
OK
Note
· The two commands ATL and ATM are implemented only for V.25ter compatibil­ity reasons and have no effect.
· In multiplex mode the command is supported on logical channel 1 only.
2.17 ATO Switch from command mode to data mode / PPP online mode
Execute command
ATO[n]
Reference
V.25ter
Response
ATO is the corresponding command to the +++ escape sequence described in Chapter 2.2: When you have established a CSD call or a GPRS connection and TA is in command mode, ATO causes the TA to resume the data or GPRS con­nection and takes you back to data mode or PPP online mode.
If connection is not successfully resumed
NO CARRIER
or TA returns to data or PPP online mode from command mode
CONNECT <text>
Note: <text> output only if +ATX parameter setting with value > 0.
Parameter
<n> 0 switch from command mode to data or PPP online mode
Note
MC35_ATC_01_V05.00 Page 31 of 256 15.07.2002
AT Command Set
2.18 ATQ Set result code presentation mode
Write command
ATQ[<n>]
Reference
V.25ter
Response
Specifies whether or not the TA transmits any result code to the TE. Information text transmitted in response is not affected by this setting.
If <n>=0:
OK
If <n>=1:
(none)
Parameter
<n> 0 DCE transmits result code 1 Result codes are suppressed and not transmitted
Note
2.19 ATP Select pulse dialling
Execute command
ATP
Reference
V.25ter
Response
OK
Note
No effect for GSM
2.20 ATS0 Set number of rings before automatically answering the call
Read command
ATS0?
Write command
ATS0=<n>
Reference
V.25ter
Response
<n> OK Specifies whether or not the TA will accept an incoming data / fax call without
user intervention. <n> determines the number of rings to wait before the TA will automatically answer.
Response
OK
Parameter
<n> 000 disables automatic answer mode 001-255 enables automatic answering after specified number of rings
Note
· Auto-answer mode is only applicable to data or fax calls.
· If <n> is set too high, the calling party may hang up before the call can be
automatically answered.
· The correlation between ATS7 and ATS0 is important. Example: Call setup may fail if ATS0=20 and ATS7=30.
MC35_ATC_01_V05.00 Page 32 of 256 15.07.2002
AT Command Set
2.21 ATS3 Write command line termination character
Read command
ATS3?
Write command
ATS3=<n>
Parameter
Reference
V.25ter
Response
<n> OK
This parameter setting determines the character recognized by TA to terminate an incoming command line.
Response
OK
<n> 000-013-127 command line termination character
Note
2.22 ATS4 Set response formatting character
Read command
ATS4?
Write command
ATS4=<n>
Parameter
Reference
V.25ter
Response
<n> OK
This parameter setting determines the character generated by the TA for result code and information text.
Response
OK
<n> 000-010-127 response formatting character.
Note
2.23 ATS5 Write command line editing character
Read command
ATS5?
Write command
ATS5=<n>
Parameter
Reference
V.25ter
Response
<n> OK
This parameter setting determines the character recognized by TA as a request to delete the immediately preceding character from the command line.
Response
OK
<n> 000-008-127 command line editing character
Note
MC35_ATC_01_V05.00 Page 33 of 256 15.07.2002
AT Command Set
2.24 ATS6 Set pause before blind dialling
Read command
ATS6?
Write command
ATS6=<n>
Parameter
Reference
V.25ter
Response
<n> OK
No effect for GSM
Response
OK
<n> 000-255 number of seconds to wait before blind dialling.
Note
2.25 ATS7 Set number of seconds to wait for connection completion
Read command
ATS7?
Write command
ATS7=<n>
Parameter
Reference
V.25ter
Response
<n> OK
Specifies the number of seconds the TA will wait for the completion of the call setup when answering or originating a data call. Also referred to as "no answer timeout". To put it plainly, this is the time to wait for the carrier signal. If no carrier signal is received within the specified time, the TA hangs up.
Response
OK
<n>0 <n> 000 – 060 no. of seconds to wait for connection completion. Note
· Values greater than 60 cause no error, but <n> will be restored to the maxi- mum value of 60.
· If called party has specified a high value for ATS0=<n>, call setup may fail.
· The correlation between ATS7 and ATS0 is important.
Example: Call setup may fail if ATS7=30 and ATS0=20.
· ATS7 is only applicable to data calls.
2.26 ATS8 Set number of seconds to wait for comma dial modifier
Read command
ATS8?
Write command
ATS8=<n>
Reference
V.25ter
MC35_ATC_01_V05.00 Page 34 of 256 15.07.2002
Response
<n> OK
No effect for GSM
Response
OK
Note
AT Command Set
2.27 ATS10 Set disconnect delay after indicating the absence of data carrier
Read command
ATS10?
Write command
ATS10=<n>
Parameter
Reference
V.25ter
Response
<n> OK
This parameter setting determines the amount of time, that the TA remains con­nected in absence of a data carrier. If the data carrier is detected before discon­nect, the TA remains connected.
Response
OK
<n> 001-002-254 number of tenths of seconds of delay
Note
2.28 ATS18 Extended error report
Test command
ATS18?
Execute command
ATS18=<n>
Reference
Siemens
Response
<n> OK
TA returns an extended report of the reason for the last call release and location.
<n> 0 – 255, odd numbers set extended error report and even
numbers disable this feature.
Response
+Cause: <location ID>: <reason > OK
Parameter
<location ID> Location ID as number code (see subclause 9.1.6. <reason> Reason for last call release as number code (see subclause
9.1.6).
Note
This command works for data calls only. For voice calls please use AT+CEER.
2.29 ATT Select tone dialling
Execute command
ATT
Reference
V.25ter
MC35_ATC_01_V05.00 Page 35 of 256 15.07.2002
Response
OK
Note
No effect for GSM
AT Command Set
2.30 ATV Set result code format mode
Write command
ATV[<value>]
Reference
V.25ter
Response
This parameter setting determines the contents of the header and trailer transmit­ted with result codes and information responses.
When <value> =0
0 When <value> =1
OK
Parameter
<value> 0 Information response: <text><CR><LF>
Short result code format: <numeric code><CR>
1 Information response: <CR><LF><text><CR><LF> Long result code format: <CR><LF><verbose code><CR><LF>
Note
In case of using the command without parameter <value> will be set to 0. Information responses described in chapter 9 (verbose code and numeric code).
2.31 ATX Set CONNECT result code format and call monitoring
Write command
ATX[<value>]
Reference
V.25ter
Response
This parameter setting determines whether or not the TA detects the presence of dial tone and busy signal and whether or not TA transmits particular result codes.
OK
Parameter
<value>
0 CONNECT result code only returned, dial tone and busy de-
tection are both disabled
1 CONNECT<text> result code only returned, dial tone and busy
detection are both disabled
2 CONNECT<text> result code returned, dial tone detection is
enabled, busy detection is disabled
3 CONNECT<text> result code returned, dial tone detection is
disabled, busy detection is enabled
4 CONNECT<text> result code returned, dial tone and busy de-
tection are both enabled
Note
Related <text> see chapter 9.1.5.
MC35_ATC_01_V05.00 Page 36 of 256 15.07.2002
AT Command Set
2.32 ATZ Set all current parameters to user defined profile
Execute command
ATZ[<value>]
Reference
V.25ter
Response
TA sets all current parameters to the user profile stored with AT&W (see Chapter
2.38 on page 43). If a connection is in progress, it will be terminated. All defined
GPRS contexts which are not activated or not online will be undefined (see +CGDCONT,+CGQREQ,+CGQMIN commands). The user defined profile is stored to the non-volatile memory.
Note: If invalid, the user profile will be reset to the factory default profile. Any ad­ditional commands on the same command line will be ignored. A delay of 300 ms is required before next command is sent, otherwise “OK” response may be cor­rupted.
OK
Parameter
<value> 0 Reset to user profile
Note
The GSM engines referred to in this manual can be assigned two profiles: the factory profile (restored with AT&F) and the user profile (stored with AT&W). See Chapter 2.35 for details on AT&F.
2.33 AT&C Set circuit Data Carrier Detect (DCD) function mode
Write command
AT&C[<value>]
Reference
V.25ter
Response
This parameter determines how the state of circuit 109(DCD) relates to the detec­tion of received line signal from the distant end.
OK
Parameter
<value> 0 DCD line is always ON. 1 DCD line is ON in the presence of data carrier only.
Note
Line state refers to RS-232 levels.
MC35_ATC_01_V05.00 Page 37 of 256 15.07.2002
AT Command Set
2.34 AT&D Set circuit Data Terminal Ready (DTR) function mode
Write command
AT&D[<value>]
Reference
V.25ter
Response
This command is only intended for data calls. The <value> parameter determines how the TA responds when circuit 108/2 (DTR) is changed from ON to OFF dur­ing data mode.
OK
Parameter
<value> 0 TA ignores status on DTR. 1 ON->OFF on DTR: Change to command mode while retaining
the connected call.
2 ON->OFF on DTR: Disconnect data call, change to command
mode. During state DTR = OFF is auto-answer off.
Note
Line state refers to RS-232 levels.
MC35_ATC_01_V05.00 Page 38 of 256 15.07.2002
AT Command Set
2.35 AT&F Set all current parameters to manufacturer defaults
Execute command
AT&F[value]
Reference
V.25ter
Response
TA sets all current parameters to the manufacturer defined profile.
OK
Parameter
<value> 0 Set all TA parameters to manufacturer default.
See Table 5: Factory settings.
Note
In addition to the default profile, you can store an individual one with AT&W. To alternate between the two profiles enter either ATZ (loads user profile) or AT&F (restores factory profile). Refer to Chapter 2.38 for AT&W and Chapter 2.32 for ATZ.
Audio parameters set with AT^SNFA, AT^SNFO and AT^SNFI can be­stored with AT^SNFD. See Chapter 8.20.
Table 5: Factory settings
Category Command and factory setting
V.25ter commands E1, Q0, V1, X4, \Q, &D2, &C1, &S0, +ILRR=0
S registers S0=0, S3=13, S4=10, S5=8, S6=0, S7=60, S10=2, S18=0
Fax commands +FCLASS=0
GSM 07.07 commands +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
GSM 07.05 commands for SMS
+CMGF=0 +CNMI=0,0,0,0,1 +CPMS=”MT”, “MT”, “MT” +CSDH=0 +CSMS=0,1,1,1 +CSMP=17,167,0,0
MC35_ATC_01_V05.00 Page 39 of 256 15.07.2002
AT Command Set
Category Command and factory setting
GSM 07.07 commands for GPRS
Siemens defined com­mands
+CGDCONT AT&F clears every context which is not active or not
online.
+CGQREQ AT&F clears the QoS profiles of every context which
is not active or not online.
+CGQMIN AT&F clears the minimum QoS profiles of every con-
text which is not active or not online.
^SM20= 1,1 ^SCKS <n>=0 ^SACM <n>=0 ^SSDA=0 ^SSCONF=0
MC35_ATC_01_V05.00 Page 40 of 256 15.07.2002
AT Command Set
2.36 AT&S Set circuit Data Set Ready (DSR) function mode
Write command
AT&S<value>
Parameter
Reference V.25ter
Response
This parameter determines how the TA sets circuit 107 (DSR) depending on the communication state of the TA interfacing TE.
OK
<value> 0 DSR always on. 1 TA in command mode: DSR is OFF. TA in data mode: DSR is ON.
Note
Line state refers to RS-232 levels.
MC35_ATC_01_V05.00 Page 41 of 256 15.07.2002
AT Command Set
2.37 AT&V Display current configuration
Execute command
AT&V[<n>]
without Multiplex mode or configu­ration on chan­nel 1 if Multiplex mode is enabled
Logical channels 2 and 3 (Multi­plex mode en­abled)
Reference
Response
TA returns the current parameter setting. The configuration varies depending on whether or not PIN authentication has been done, or Multiplex mode has been activated.
Parameter
<n> 0 profile number
PIN entered or not required (see AT+CPIN, pg. 110)
ACTIVE PROFILE:
E1 Q0 V1 X4 &C1 &D2 &S0 \Q0
S0:000 S3:013 S4:010 S5:008 S6:000 S7:060 S8: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"
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"
OK
Note: Parameter values and order are subject to change.
Required PIN not entered Configuration
ACTIVE PROFILE:
E1 Q0 V1 X4 &C1 &D2 &S0 \Q0
S0:000 S3:013 S4:010 S5:008 S6:000 S7:060 S8: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,1
OK
+ILRR: 0
+IPR: 19200
+CMEE: 0
^SCKS: 0,1
OK
MC35_ATC_01_V05.00 Page 42 of 256 15.07.2002
AT Command Set
2.38 AT&W Store current configuration to user defined profile
Execute command
AT&W[<n>]
Reference
V.25ter
TA stores the current settings to a user defined profile in the non-volatile memory.
Response
OK or if error is related to ME functionality: ERROR / +CME ERROR: <err>
Parameter
<n> 0 number of profile
Note
The user defined profile will be loaded automatically after PowerUp. Use ATZ to restore user profile and AT&F to restore factory settings. Until the first use of AT&W, ATZ works as AT&F. See Chapter 2.32 for details on ATZ and Chapter
2.35 for AT&F.
List of settings stored to user defined profile:
· ATE, ATQ, ATV, ATX, AT+CRC, AT+CMGF, AT+CSDH, AT+CNMI, AT+ILRR, AT+CMEE, AT^SMGO, AT+CSMS, AT^SACM, ^SCKS, AT+CREG, AT+CLIP, AT+COPS. AT&C, AT&D, AT&S, ATS0, ATS3, ATS4, ATS5, ATS6, ATS7, ATS8, ATS10, ATS18, AT+FCLASS, AT+CBST, AT+CRLP, AT+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:
ATE, ATQ, ATV, ATX, AT+CRC, AT+CMGF, AT+CSDH, AT+CNMI, AT+ILRR, AT+CMEE, AT^SMGO, AT+CSMS, AT^SACM, ^SCKS, AT+CREG, AT+CLIP, AT+COPS. AT&C, AT&D, AT&S, ATS0, ATS3, ATS4, ATS5, ATS6, ATS7, ATS8, ATS10, ATS18, AT+FCLASS, AT+CBST, AT+CRLP, AT+CR.
· List of settings stored to profile on multiplexer channels 2 and 3: ATE, ATQ, ATV, ATX, AT+CRC, AT+CMGF, AT+CSDH, AT+CNMI, AT+ILRR, AT+CMEE, AT^SMGO, AT+CSMS, AT^SACM, ^SCKS, AT+CREG, AT+CLIP, AT+COPS. (Parameters for data call are not relevant on channels 2 and 3.)
MC35_ATC_01_V05.00 Page 43 of 256 15.07.2002
AT Command Set
2.39 AT+GCAP Request complete TA capabilities list
Test command
AT+GCAP=?
Execute command
AT+GCAP
Reference
V.25ter
Response
OK
Parameter
Response
TA reports a list of additional capabilities.
+GCAP: <name>
OK
Parameter
<name> e.g.: +CGSM,+FCLASS
Note
+CGSM: The response text shows which GSM commands of the ETSI standard are supported.
2.40 AT+GMI Request manufacturer identification
Test command
AT+GMI=?
Execute command
AT+GMI
Reference
V.25ter
Response
OK
Response
TA reports information to identify the manufacturer.
SIEMENS OK
Note
See also ”AT+CGMI Request manufacturer identification”, Chapter 4.12.
2.41 AT+GMM Request TA model identification
Test command
AT+GMM=?
Execute command
AT+GMM
Reference
V.25ter
Response
OK
TA reports one or more lines of information text which permit the user to identify the specific model of device.
MC35 OK
Note
See also ”AT+CGMM Request model identification”, Chapter 4.13.
MC35_ATC_01_V05.00 Page 44 of 256 15.07.2002
AT Command Set
2.42 AT+GMR Request TA revision identification of software status
Test command
AT+GMR=?
Execute command
AT+GMR
Reference
V.25ter
Response
OK
Response
TA returns product software version identification text.
REVISION xx.yy OK
xx.yy Version xx and variant yy of software release.
Note
See also AT+CGMR Request revision identification of software status, Chapter
4.14.
2.43 AT+GSN Request TA serial number identification(IMEI)
Test command
AT+GSN=?
Execute command
AT+GSN
Parameter
Reference
V.25ter
Response
OK
Response
TA reports one or more lines of information text which permit the user to identify the individual device.
<sn>
OK
<sn> IMEI of the telephone(International Mobile station Equipment Identity)
Note
The serial number (IMEI) varies for every individual ME device.
MC35_ATC_01_V05.00 Page 45 of 256 15.07.2002
AT Command Set
2.44 AT+ILRR Set TE-TA local rate reporting
Test command
AT+ILRR=?
Read command
AT+ILRR?
Write command
AT+ILRR= <value>
Intermediate result code
Reference
V.25ter
Example
Response
+ILRR: (list of supported <value>s) OK
Parameter
See write command
Response
+ILRR: <value> OK
Parameter
See write command
The write command specifies whether or not an intermediate result code shall in­dicate the currently used local rate when an incoming or outgoing data call is es­tablished. The message is transmitted from the DCE (= TA) to the DTE (=TE) be­fore the final result code of the connection setup (e.g. CONNECT) appears.
Response
OK
Parameter
<value> 0 Disables reporting of local port rate 1 Enables reporting of local port rate
+ILRR:<rate>
Parameter
<rate> port rate setting in bit per second 0 (Autobauding, see Chapter 2.45.1) 300 600 1200 2400 4800 9600 14400 19200 28800 38400 57600 115200
Note
ATD030112233445 +ILRR: 57600 CONNECT 9600/RLP
MC35_ATC_01_V05.00 Page 46 of 256 15.07.2002
AT Command Set
2.45 AT+IPR Set fixed local rate
Test command
AT+IPR=?
Read command
AT+IPR?
Write command
AT+IPR=<rate>
Reference
V.25ter
Response
+IPR: (list of supported auto-detectable <rate>s), (list of supported fixed-only <rate>s) OK
Parameter
See write command
Response
+IPR: <rate> OK
Parameter
See write command
This command specifies the DTE-DCE bitrate. When you set a fix rate, make sure that both DTE (TE) and DCE (= TA) are configured to the same rate. When you select autobauding the DCE will automatically recognize the bitrate currently used by the DTE.
A selected bitrate takes effect following the issue of any result code associated with this command (e.g. OK).
The setting is stored in the non-volatile memory and will be used whenever the engine is powered up again. However, in case of autobaud mode (+IPR=0) the detected DCE bitrate will not be saved and, therefore, needs to be be re­synchronized after restarting the GSM engine (see Chapter 2.45.1).
Response
OK or if error is related to ME functionality: ERROR / +CME ERROR: <err>
Parameter
<rate> bit rate per second 0 (Autobauding, see Chapter 2.45.1)
300 600 1200 2400 4800 9600 14400 19200 28800 38400 57600 115200 In order to account for greater amounts of data it is recommended to choose a
minimum bit rate of 2400 bps. If the ME is operated in Multiplex mode we suggest a minimum bit rate of 4800 bps.
Note
Factory setting is <rate>=0. It cannot be restored with AT&F. The current setting will be preserved when you download new firmware or when the ME is powered down.
MC35_ATC_01_V05.00 Page 47 of 256 15.07.2002
AT Command Set
Generally, AT +IPR=x should be used as a standalone command. If nevertheless combinations with other commands on the same line cannot be avoided, there are several constraints to be considered:
· Avoid combinations with the AT commands listed in Chapter 1.4.2.
· Take into account that a delay of 100 ms is required between a response to the
last command (e.g. OK) and the next command on the same line.
· When you enter AT+IPR=0, autobauding will be activated after the response to the last command is received.
· When local echo is active (ATE1) and you enter AT+IPR=x with other com- mands you may encounter the following problem: If switching to the new bit rate takes effect while a response is being transmitted, the last bytes may be sent at the new bit rate and thus, not properly transmitted. The following com­mands will be correctly sent at the new bit rate.
2.45.1 Autobauding
Autobauding allows the GSM engine to automatically detect the bitrate configured in the host applica­tion. 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 gives you the flexibility to put the GSM engine into operation no matter what bitrate your host application is configured to.
To take advantage of autobaud mode specific attention must be paid to the following requirements:
Synchronization between DTE and DCE
Ensure that DTE and DCE are correctly synchronized and the bitrate used by the DTE is detected by the DCE (= ME). To allow the bitrate to be synchronized simply issue an "AT" or "at" string. This is necessary
· after you have activated autobauding
· when you start up the GSM engine while autobauding is enabled. It is recommended to wait 3 to 5
seconds before sending the first AT character. Otherwise undefined characters might be returned.
If you want to use autobauding and autoanswer at the same time, you can easily enable the synchro­nization, when you activate autobauding first and then configure the autoanswer mode (ATS0=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 “AT“ or “at“ can be detected (neither “aT“ nor “At“).
· The Unsolicited Result Codes "^SYSSTART", "^SYSSTART ALARM MODE" and "^SYSSTART
CHARGE-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 syn­chronized as described above.
· Any other Unsolicited Result Codes that may be issued before the ME detects the new bitrate (by receiving the first AT 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 auto­baud mechnism (e.g. 300 baud). Responses to +IPR=0 and any commands on the same line might be corrupted.
· When entering several AT commands on the same line, consider the requirements described in the Notes of Chapter 2.45.
· See also AT+ILRR Set TE-TA local rate reporting , pg. 45
Autobauding and multiplex mode
If autobauding is active you cannot switch to multiplex mode (see +CMUX, pg. 101). Vice versa, when you run the multiplex mode, the write command AT+IPR=<rate> cannot be used.
MC35_ATC_01_V05.00 Page 48 of 256 15.07.2002
AT Command Set
3 AT Commands for FAX
The following commands can be used for FAX transmission. If the ME is acting as a Fax modem to a PC-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 of services available. This is provided by the AT+FCLASS command (see pg. 51).
Note: When sending a FAX with a standard FAX application for Personal Computers it is recom­mended to use autobauding (AT+IPR=0).
Currently defined Service Class values (see TIA/EIA-592-A)
ME +FCLASS parameter Service Class Reference, Standard
C C
0 data modem 1 Service Class 1 EIA/TIA-578-A
1.0 Service Class 1 ITU-T T.31
C
2 manufacture specific this document and EIA PN-2388 (draft)
2.0 Service Class 2 TIA/EIA-592
2.1 Service Class 2 TIA/EIA-592-A or ITU-T T.32
8 Voice DCE TIA IS-101 Reserved
Note: Be aware that there is a difference between Service Classes 2 and 2.0! Only the first is applica­ble to 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 9.1.4, Table 14.
e.g. TIA/EIA-602 or ITU V.25ter
3.1 AT+FBADLIN Bad Line Treshold
Read command
AT+FBADLIN?
Write command
AT+FBADLIN= <badlin>
Reference
EIA PN-2388
This command defines the “Copy-Quality-OK”-threshold. If <badline> consecu­tive lines have pixel count errors in normal resolution (98 dpi) mode, then the copy quality is unacceptable. If <badline> * 2 consecutive lines have pixel count errors 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 too many consecutive lines contain errors. A value of 0 implies that error checking is not present or disabled.
Response
<badlin> OK
Parameter
See write command
Response
OK
If error is related to ME functionality:
ERROR
Parameter
<badlin> 0 – 10 – 255 bad lines
Note
Used for Fax class 2 only
MC35_ATC_01_V05.00 Page 49 of 256 15.07.2002
AT Command Set
3.2 AT+FBADMUL Error Threshold Multiplier
Read command
AT+FBADMUL?
Write command
AT+FBADMUL= <n>
Reference
EIA PN-2388
This command defines the “Copy-Quality-OK” multiplier. The number of lines received with a bad pixel count is multiplied by this number. If the result ex­ceeds the total number of lines on the page the error rate is considered too high. A threshold multiplier value of 20 corresponds to a 5% error rate. A value of 0 implies that error checking is not present or disabled.
Response
<badmul> OK
Parameter
See write command
Response
OK
If error is related to ME functionality:
ERROR
Parameter
<n> 0 – 20 – 255
Note
Used for Faxclass 2 only
3.3 AT+FBOR Query data bit order
Test command
AT+FBOR=?
Read command
AT+FBOR?
Write command
AT+FBOR=<bor>
Reference
EIA PN-2388
Query the bit order for receive-mode. The mode is set by the ME dependent on the selected Service Class, see “AT+FCLASS Fax: Select, read or test service class”, pg. 51.
Response
(list of supported bit order modes <bor>s)
OK
Parameter
See write command
Response
<bor> OK
Parameter
See write command
Response
OK
Parameter
<bor> 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 for
Phase B/D data.
Note
Used for Fax class 2 only
MC35_ATC_01_V05.00 Page 50 of 256 15.07.2002
AT Command Set
3.4 AT+FCIG Query or set the Local polling id
Test command
AT+FCIG =?
Read command
AT+FCIG?
Write command
AT+FCIG =<id>
Reference
EIA PN-2388
Response
(max. length of Local Polling ID string) (range of supported ASCII character values) OK
Parameter
See write command
Response
<id> OK
Parameter
See write command
Response
OK
Parameter
<id> Local Polling ID string, max. length and possible content as reported
by test command. Default value is empty string (“”).
Note
See also “AT+FLID Query or set the Local Id setting capabilities”, pg. 57. Used for Faxclass 2 only
3.5 AT+FCLASS Fax: Select, read or test service class
Test command
AT+FCLASS=?
Read command
AT+FCLASS?
Write command
AT+FCLASS= <n>
Reference
EIA/TIA-592-A
See introduction to fax commands, pg. 49.
Response
(list of supported <n>s) OK
Parameter
See write command
Response
<n> OK
Parameter
See write command The ME is set to a particular mode of operation (data, fax). This causes the MA
to process information in a manner suitable for that type of information.
Response
OK
Parameter
<n> 0 data (e.g. EIA/TIA-602 or ITU V.25ter)
1 Fax class 1 (EIA/TIA-578-A, Service Class 1) 2 Fax class 2 (EIA/TIA SP-2388, an early draft version of
EIA/TIA-592-A – Service class 2.1)
Note
Using Error Correcting Mode (ECM) when sending FAXes over GSM should be avoided.
MC35_ATC_01_V05.00 Page 51 of 256 15.07.2002
AT Command Set
3.6 AT+FCQ Copy Quality Checking
Test command
AT+FCQ =?
Read command
AT+FCQ?
Write command
AT+FCQ =<cq>
Reference
EIA PN-2388
This command controls Copy Quality checking when receiving a fax.
Response
(list of supported copy quality checking <cq>s)
OK
Parameter
See write command
Response
<cq> OK
Parameter
See write command
Response
OK
Parameter
<cq> 0 No copy quality checking. The ME will generate Copy Qual-
ity OK (MCF) responses to complete pages.
1 ME can check 1-D phase data. The connected application
must check copy quality for 2-D phase C data
Note
Used for for Faxclass 2 only.
3.7 AT+FCR Capability to receive
Write command
AT+FCR=<cr>
Reference
EIA PN-2388
Response
OK
Parameter
<cr> 0 ME will not receive message data. This can be used when
the application has insufficient storage. The ME can send and can be polled for a file.
1 ME can receive message data.
Note
Used for Faxclass 2 only
MC35_ATC_01_V05.00 Page 52 of 256 15.07.2002
AT Command Set
3.8 AT+FDCC Query or set capabilities
Test command
AT+FDCC =?
Read command
AT+FDCC?
Write command
AT+FDCC=<VR>, <BR>,<WD>,<LN>, <DF>,<EC>,<BF>, <ST>
Reference
EIA PN-2388
This command allows the connected application to sense and constrain the capabilities of the facsimile DCE (=ME), from the choices defined in CCITT T.30 Table 2.
Response
(list of <VR>s), (list of <BR>s), (list of <WD>s), (list of <LN>s), (list of <DF>s), (list of <EC>s), (list of <BF>s), (list of <ST>s)
OK
Parameter
VR: Vertical Resolution, BR: Bit Rate, WD: Page Width, LN: Page Length, DF: Data Compression Format, EC: Error Correction Mode, BF: Binary File Trans­fer Mode, ST: Scan Time/Line.
Note: For further information see AT+FDIS, pg. 55
Response
<dcc> OK
Parameter
See write command
Response
OK
Parameter
VR: Vertical Resolution, BR: Bit Rate, WD: Page Width, LN: Page Length, DF: Data Compression Format, EC: Error Correction Mode, BF: Binary File Trans­fer Mode, ST: Scan Time/Line.
Note: For further information see AT+FDIS, pg. 55
Note
Used for Faxclass 2 only
MC35_ATC_01_V05.00 Page 53 of 256 15.07.2002
AT Command Set
3.9 AT+FDFFC Data Compression Format Conversion
Test command
AT+FDFFC=?
Read command
AT+FDFFC?
Write command
AT+FDFFC =<df>
Reference
EIA PN-2388
This parameter determines the ME response to a mismatch between the data format negotiated for the facsimile session, reported by the +FDCS:DF sub­parameter, and the Phase C data desired by the controlling application, indi­cated by the optional +FDT:DF subparameter, or the +FDIS=DF subparameter for the +FDR operation.
Response
(list of supported <df>s) OK
Parameter
See write command
Response
<df> OK
Parameter
See write command
Response
OK
Parameter
<df> 0 Mismatch checking is always disabled. The controlling ap-
plication has to check the +FDCS: DF subparameter and transfer matching data.
Note
Used for Fax Class 2 only
MC35_ATC_01_V05.00 Page 54 of 256 15.07.2002
AT Command Set
3.10 AT+FDIS Query or set session parameters
Test command
AT+FDIS =?
Read command
AT+FDIS?
Write command
AT+FDIS = <VR>,<BR>,<WD>, <LN>,<DF>,<EC>, <BF>,<ST>
Reference
EIA PN-2388
This command allows the controlling application to sense and constrain the capabilities used for the current session. It uses +FDIS to generate DIS or DTC messages directly, and uses +FDIS and received DIS messages to gen­erate DCS messages.
Response
(list of <VR>s), (list of <BR>s), (list of <WD>s), (list of <LN>s), (list of <DF>s), (list of <EC>s), (list of <BF>s), (list of <ST>s)
Parameter
See write command
Response
<cdec> OK
Parameter
See write command
Response
OK
Parameter
Vertical Resolution VR 0 normal, 98 lpi 1 fine, 196 lpi
Bit Rate BR 0 2400 bit/s, V.27ter 1 4800 bit/s, V.27ter 2 7200 bit/s, V.29 3 9600 bit/s, V.29
Page Width WD 0 *) 1728 pixels in 215mm 1 2048 pixels in 255 mm 2 2432 pixels in 303 mm 3 1216 pixels in 151 mm 4 864 pixels in 107 mm
Page Length LN 0 A4, 297mm 1 B4, 364mm 2 unlimited length
Data Compression Format DF 0 *) 1-D modified Huffman 1 2-D modified read 2 2-D uncompressed mode
Error correction EC 0 *) disable ECM (Annex A/T.30) 1 enable ECM, 64 bytes/frame 2 enable ECM, 256 bytes/frame
Binary File mode BF 0 *) disable BFT Transfer Mode 1 enable BFT
Scan Time/Line ST 0 *) 0 ms (at VR= normal) 1 5 ms 2 10 ms 3 10 ms 4 20 ms 5 20 ms 6 40 ms 7 40 ms
*) Note: Only the default value needs to be implemented. Use test command to check which parameter values are really possible!
Note
Used for Faxclass 2 only
MC35_ATC_01_V05.00 Page 55 of 256 15.07.2002
AT Command Set
3.11 AT+FDR Begin or continue phase C data reception
Execute command
AT+FDR
Reference
EIA PN-2388
The +FDR command initiates transition to Phase C data reception.
Response
CONNECT
or
OK
If error is related to ME functionality:
ERROR
Note
Used for Faxclass 2 only
3.12 AT+FDT Data Transmission
Execute command
AT+FDT
Write command
AT+FDT =<dt>
Reference
EIA PN-2388
This command requests the ME to transmit a Phase C page. When the ME is ready to accept Phase C data, it issues the negotiation responses and the CONNECT 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 +FDT command resumes transmission after the end of a data stream transmited be­fore.
Response
CONNECT
Response
CONNECT
Parameter
<dt> DF,VR,BR,WD,LN comma separated parameter list
Data Compression Format DF 0 1-D modified Huffman 1 2-D modified read 2 2-D uncompressed mode
Vertical Resolution VR 0 normal, 98 lpi 1 fine, 196 lpi
Bit Rate BR 0 2400 bit/s, V.27ter 1 4800 bit/s, V.27ter 2 7200 bit/s, V.29 3 9600 bit/s, V.29
Page Width WD 0 1728 pixels in 215mm 1 2048 pixels in 255 mm 2 2432 pixels in 303 mm 3 1216 pixels in 151 mm 4 864 pixels in 107 mm
Page Length LN 0 A4, 297mm 1 B4, 364mm 2 unlimited length
Note
Used for Faxclass 2 only
MC35_ATC_01_V05.00 Page 56 of 256 15.07.2002
AT Command Set
3.13 AT+FET End a page or document
Write command
AT+FET=<ppm>
Reference
EIA PN-2388
This command indicates that the current page or partial page is complete. An ERROR response code results if this command is issued while the mode is on­hook.
Response
OK
Parameter
<ppm> Post Page Message Codes
1 another document next 2 no more pages or documents 4 another page, procedure interrupt 5 another document, procedure interrupt
Note
Used for Faxclass 2 only
3.14 AT+FK Kill operation, orderly FAX abort
Execute command
AT+FK
Reference
This command causes the TA to terminate the session in an orderly manner.
Response
OK
Note
Used for Faxclass 2 only
3.15 AT+FLID Query or set the Local Id setting capabilities
Test command
AT+FLID =?
Read command
AT+FLID?
Write command
AT+FLID =<lid>
Reference
EIA PN-2388
Response
(max. character length of Local ID string) (range of supported ASCII character values) OK
Parameter
See write command
Response
< lid > OK
Parameter
See write command
Response
OK
Parameter
<lid> Local ID string, max. length and possible content as reported by test
command. Default value is empty string (“”).
Note
See also “AT+FCIG Query or set the Local polling id”, pg. 50. Used for Faxclass 2 only
MC35_ATC_01_V05.00 Page 57 of 256 15.07.2002
AT Command Set
3.16 AT+FMDL Identify Product Model
Read command
AT+FMDL?
Reference
Siemens
Send the model identification to the TA
Response
Gipsy Soft Protocolstack
OK
Note
Used for Faxclass 2 only
3.17 AT+FMFR Request Manufacturer Identification
Read command
AT+FMFR?
Reference
Siemens
Send the manufacturer identification to the TA
Response
SIEMENS OK
Note
Used for Fax class 2 only
3.18 AT+FOPT Set bit order independently
Write command
AT+FOPT=<opt>
Reference
Siemens
Model specific command to set bit order independently of the understanding which is "mirrored" and which is direct.
Response
OK
Parameter
<opt> 0 non-standard
1 standard
Note
Used for Fax class 2 only
MC35_ATC_01_V05.00 Page 58 of 256 15.07.2002
AT Command Set
3.19 AT+FPHCTO DTE Phase C Response Timeout
Read command
AT+FPHCTO?
Write command
AT+FPHCTO= <tout>
Reference
EIA PN-2388
The time-out value <tout> determines how long the DCE will wait for a command after reaching the end of data when transmitting in Phase C. When time-out is reached, the DCE assumes that there are no more pages or documents to send.
Response
<tout> OK
Parameter
See write command
Parameter
<tout> 0 – 30 – 255 time-out value in 100ms units.
Response
OK
If error is related to ME functionality:
ERROR
Note
Used for Fax class 2 only
3.20 AT+FREV Identify Product Revision
Test command
AT+FREV?
Reference
Siemens
Sends the revision identification to the TA
Response
V2.550
OK
Note
Used for Fax class 2 only
3.21 AT+FRH Receive Data Using HDLC Framing
Execute command
AT+FRH=<mod>
Reference
TIA/EIA-578
This command causes the TA to receive frames using the HDLC protocol and the modulation defined below. An ERROR response code results if this command is issued while the modem is on-hook.
Response
CONNECT
If error is related to ME functionality:
ERROR
Parameter
<mod> modulation mode 3 V21 Ch2 300 bps 24 V.27ter 2400 bps 48 V.27ter 4800 bps 72 V.29 7200 bps 96 V.29 9600 bps
Note
Used for Fax class 1 only
MC35_ATC_01_V05.00 Page 59 of 256 15.07.2002
AT Command Set
3.22 AT+FRM Receive Data
Test command
AT+FRM=?
Write command
AT+FRM=<mod >
Reference
TIA/EIA-578
Response
(List of supported modulation modes <mod>s) OK
Parameter
See write command This command causes the TA to enter the receiver-mode using the modulation
defined below. An ERROR response code results if this command is issued while the modem is on-hook.
Response
CONNECT
If error is related to ME functionality:
ERROR
Parameter
<mod> 96 V.29 9600 bps 72 V.29 7200 bps 48 V.27ter 4800 bps 24 V.27ter 2400 bps
Note
Used for Faxclass 1 only
3.23 AT+FRS Receive Silence
Write command
AT+FRS=<time>
Reference
TIA/EIA-578
+FRS=n causes the TA to report an OK result code to the TE after <time> 10 mil- lisecond intervals of silence have been detected on the line. This command is aborted if any character is received by the DTE. The modem discards the abort­ing character and issues an OK result code. An ERROR response code results if this command is issued while the mode is on-hook.
Response
OK
If error is related to ME functionality:
ERROR
Parameter
<time> 0 – 255 no. of 10 millisecond intervals
Note
Used for Faxclass 1 only
3.24 AT+FTH Transmit Data Using HDLC Framing
Write command
AT+FTH=<mod>
Reference
TIA/EIA-578
This command causes the TA to transmit data using HDLC protocol and the modulation mode defined below. An ERROR response code results if this com­mand is issued while the modem is on-hook.
Response
CONNECT
Parameter
<mod> 3 V.21 Ch2 300 bps
Note
Used for Faxclass 1 only
MC35_ATC_01_V05.00 Page 60 of 256 15.07.2002
AT Command Set
3.25 AT+FTM Transmit Data
Test command
AT+FTM=?
Write command
AT+FTM=<mod>
Reference
TIA/EIA-578
Response
(List of supported modulation modes) OK
Parameter
See write command
This command causes the TA to transmit data using the modulation mode de­fined below. An ERROR response code results if this command is issued while the modem is on-hook.
Response
CONNECT
If error is related to ME functionality:
ERROR
Parameter
<mod> modulation mode 96 V.29 9600 bps 72 V.29 7200 bps 48 V.27ter 4800 bps 24 V.27ter 2400 bps
Note
Used for Fax class 1 only
3.26 AT+FTS Stop Transmission and Wait
Write command
AT+FTS=<time>
Reference
TIA/EIA-578
This command causes the TA to terminate a transmission and wait for <time> 10 millisecond intervals before responding with the OK result code to the DTE.
Response
An ERROR response code results if this command is issued while the modem is on-hook.
Parameter
<time> 0 – 85 no. of 10 millisecond intervals
Note
Used for Fax class 1 only
MC35_ATC_01_V05.00 Page 61 of 256 15.07.2002
AT Command Set
3.27 AT+FVRFC Vertical resolution format conversion
Test command
AT+FVRFC =?
Read command
AT+FVRFC?
Write command
AT+FVRFC =<vrfc>
Reference
EIA PN-2388
This command determines the DCE response to a mismatch between the vertical resolution negotiated for the facsimile session and the Phase C data desired by the DTE.
Response
(List of supported mismatch checking modes) OK
Parameter
See write command
Response
<vrfc> OK
Parameter
See write command
Response
OK
Parameter
<vrfc> 0 disable mismatch checking. 2 enable mismatch checking, with resolution conversion of 1-D
data in the DCE, and an implied AT+FK command executed on 2-D mismatch detection
Note
Used for Fax class 2 only
The following AT commands are dummy commands. Invoking these commands will not cause ER­ROR result codes, but these commands have no functionality.
AT+FAA Auto Answer mode AT+FECM Error Correction Mode control AT+FLNFC Page Length format conversion AT+FLPL Indicate document available for polling AT+FMINSP Minimum Phase C speed AT+FRBC Phase C data receive byte count AT+FREL Phase C received EOL alignment AT+FSPL Enable polling AT+FTBC Phase C data transmit byte count AT+FWDFC Page width format conversion
MC35_ATC_01_V05.00 Page 62 of 256 15.07.2002
AT Command Set
4 AT Commands originating from GSM 07.07
These AT Commands are according to ETSI (European Telecommunications Standards Institute) GSM 07.07 document.
4.1 AT+CACM Accumulated call meter (ACM) reset or query
Test command
AT+CACM=?
Read command
AT+CACM?
Write command
AT+CACM= [<passwd>]
Reference
GSM 07.07
Response
OK
Parameter
Response
TA returns the current ACM value.
+CACM: <acm> OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<acm> string type; three bytes of the current ACM value in hexadecimal for-
mat (e.g. “00001E” indicates decimal value 30) 000000 – FFFFFF
Parameter
<passwd> string type: SIM PIN2
Response
TA 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 both for the current and preceding calls.
OK
If error is related to ME functionality:
+CME ERROR: <err>
MC35_ATC_01_V05.00 Page 63 of 256 15.07.2002
AT Command Set
4.2 AT+CALA Set alarm time
Test command
AT+CALA=?
Read command
AT+CALA?
Write command
AT+CALA=<time> [,<n>[,<type>[,<te xt>]]]
Test command returns supported array index values <n>, alarm types <type>, and maximum length of the text <tlength> to be output.
Response
+CALA: (list of supported <n>s), (list of supported <type>s), (range of sup­ported <tlength>) OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See write command Read command returns the list of current active alarm settings in the ME.
Response
+CALA: <time>[,<n>[,<type>[,<text>]]]
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See write command The write command sets an alarm time in the ME. When the alarm is timed out
and executed the ME returns an Unsolicited Result Code (URC). The alarm call can adopt two functions, depending on whether or not you switch the GSM en­gine off 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 not switch off or power down the ME. When executed the call comes as an Unsolicited Result Code. Applies to MC35 and MC35 Terminal.
Alarm mode: You can use the alarm call to restart the ME when powered
down. For this purpose, set the alarm as described below. Then power down the ME by entering the AT^SMSO command (pg.
202). When the alarm time is reached, the ME will wake up to Alarm mode. To prevent the ME from unintentionally logging into the GSM network, Alarm mode provides restricted opera­tion. Upon wake-up, the ME indicates an Unsolicited Result Code which reads: ^SYSSTART ALARM MODE. A limited number of AT commands is available during Alarm mode: AT+CCLK, AT+CALA, AT^SBC, AT^SCTM, AT^SMSO. The ME remains deregistered from the GSM network. If you want 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 that charging cannot be started while ME is in Alarm mode. For de­tails please refer to the "Hardware Interface Description" sup­plied with your GSM engine. Applies to MC35 module only. MC35 Terminal does not support the Alarm mode.
Response
OK
If setting fails: +CME ERROR: <err> Refer to Chapter 9.1.1, pg. 229, for <err> values.
MC35_ATC_01_V05.00 Page 64 of 256 15.07.2002
AT Command Set
Unsolicited result code
Reference
GSM 07.07
Parameter
<time> string type value; format is "yy/MM/dd,hh:mm:ss", where characters
indicate year (two last digits), month, day, hour, minutes. E.g. 6th of May 2001, 22:10:00 hours equals to “01/05/06,22:10:00" (see also +CCLK). Note: if <time> equals current date and time or is to an ear­lier date, TA returns +CME ERROR: <21>.
<n> integer type value indicating the array index of the alarm. Index starts
with 0. If only this value is returned by the test command, it is default and indicates that only one alarm time is possible; however, if a sec­ond alarm time is set, the previous alarm is deleted.
<type> integer type value indicating the type of the alarm
0 Alarm indication: text message via serial interface
<text> string type value indicating the text to be displayed when alarm time
is reached; maximum length is <tlength>. After first connection to power supply <text> is undefined.
Note: <text> will be stored to the non-volatile flash memory when the
device enters the Power Down mode via AT^SMSO (pg. 202). Once saved, it will be available upon next power-up, until you overwrite it by typing another text. This eliminates the need to enter the full string when setting a fresh alarm and thus, saves memory due to the limited number of flash memory write cycles (e.g. 100.000).
<tlength> integer type value indicating the maximum length of <text>. The
maximum length is 16.
Indicates reminder call:
+CALA: <text>
Indicates ME wake-up into Alarm mode:
^SYSSTART ALARM MODE
+CALA: <text>
If autobauding is active (AT+IPR=0) the URCs ^SYSSTART ALARM MODE and +CALA: <text> do not appear. Therefore, avoid using Alarm mode in con­junction with autobauding.
Note
· <text> should not contain characters which are coded differently in ASCII and GSM (e.g. Ä, Ö, Ü), see also Chapter 9.5.
· In the event of power outage the GSM engine retains the current alarm set­ting, but the RTC will be reset to <time> = “00/01/01,00:00:00” and must be restored after resume of power (see also AT+CCLK, pg. 73. It is only in Power Down mode, that the RTC is kept powered from a dedicated voltage regulator, thus saving the current date and time.
· When the GSM engine wakes up to Alarm mode, the system takes 1s to re­initialize the RTC and to update the current time. Therefore, it is recom­mended to wait 1s before using the AT+CCLK command (for example 1s af­ter ^SYSSTART has been output).
· Please consider when using multiplex mode (+CMUX, pg. 101):
- 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 <n> =
0 is returned by the test command, this indicates that only one common alarm time is possible for all logical channels.
MC35_ATC_01_V05.00 Page 65 of 256 15.07.2002
AT Command Set
Examples
- For every channel a different <text> parameter can be stored.
- <text> will be output on the same logical channel the alarm was entered.
If not in multiplex mode, <text> will be output independent of the related channel.
- The read command returns all pending alarms, independent on which
logical channel an alarm was entered. It´s up to the user to identify these alarms by specific <text>s.
Example 1:
You may want to configure a reminder call for May 31, 2001, at 9.30h, including the message "Good Morning".
Write command:
AT+CALA="01/05/31,09:30:00",0,0,"Good Morning" OK
Do not switch off the GSM engine. When the alarm is executed the ME returns the following URC:
+CALA: Good Morning
Example 2:
To set a fresh alarm using the same message as in Example 1, simply enter date and time. <n>, <type>, <text>, <tlength> can be omitted:
AT+CALA="01/05/31,08:50:00" OK When the alarm is executed the URC comes with the same message: +CALA: Good Morning
Example 3:
To configure the alarm mode, e.g. for May 20, 2001, at 8.30h, enter
AT+CALA="01/05/20,08:30:00" OK
Next, power down the ME:
AT^SMSO ^SMSO: MS OFF
When the alarm is executed the ME wakes up to Alarm mode and displays a URC. If available, this line is followed by the individual <text> most recently saved. If no individual message was saved only the first line appears.
^SYSSTART ALARM MODE +CALA: Good Morning
Table 6: Summary of AT commands available in Alarm mode
AT command Use
AT+CALA Set alarm time AT+CCLK Set date and time of RTC AT^SBC In Alarm mode, you can only query the present current consumption and check
whether or not a charger is connected. The battery capacity is returned as 0, re­gardless of the actual voltage (since the values measured directly on the cell are
not delivered to the module). AT^SCTM Query temperature of GSM engine AT^SMSO Power down GSM engine
MC35_ATC_01_V05.00 Page 66 of 256 15.07.2002
AT Command Set
4.3 AT+CAMM Accumulated call meter maximum (ACMmax) set or query
Test command
AT+CAMM=?
Read command
AT+CAMM?
Write command
AT+CAMM= [<acmax>[,<passwd>]]
Reference
GSM 07.07
Response OK Parameter
Response
TA returns the current ACMmax value.
+CAMM: <acmmax> OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See write command
Response
TA sets the Advice of Charge related to the accumulated call meter maxi­mum value in SIM file EF (ACMmax). ACMmax contains the maximum number of home units allowed to be consumed by the subscriber.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<acmmax> string type; three bytes of the max. ACM value in hexadeci-
mal format (e.g. “00001E” indicates decimal value 30) 000000 disable ACMmax feature 000001-FFFFFF
<passwd> string type SIM PIN2
Note
MC35_ATC_01_V05.00 Page 67 of 256 15.07.2002
AT Command Set
4.4 AT+CAOC Advice of Charge information
Test command
AT+CAOC=?
Read command
AT+CAOC?
Write command
AT+CAOC=<mode>
Execute command
AT+CAOC
Reference
GSM 07.07
Response
+CAOC: (list of supported <mode>s) OK
Parameter
See write command
Response
+CAOC: <mode> OK
Parameter
See write command
Response
TA sets the Advice of Charge supplementary service function mode. If error is related to ME functionality:
+CME ERROR: <err> If <mode>=0, TA returns the current call meter value
OK
Parameter
<mode> 0 query CCM value <ccm> string type; three bytes of the current CCM value in hexadecimal
format (e.g. “00001E” indicates decimal value 30); bytes are simi­larly coded as ACMmax value in the SIM 000000-FFFFFF
Response
TA returns the current call meter value If error is related to ME functionality:
+CME ERROR: <err> If <mode>=0, TA returns the current call meter value
+CAOC: <ccm> OK
Parameter
See write command
Note
MC35_ATC_01_V05.00 Page 68 of 256 15.07.2002
AT Command Set
4.5 AT+CBST Select bearer service type
Test command
AT+CBST=?
Read command
AT+CBST?
Write command
AT+CBST= <speed>[,<name> [,<ce>]]
Reference
GSM 07.07
Response
+CBST: (list of supported <speed>s),(list of supported <name>s),(list of sup­ported <ce>s) OK
Parameter
See write command
Response
+CBST: <speed>,<name>,<ce> OK
Parameter
See write command
Response
TA selects the bearer service <name>, the data rate <speed> and the connec­tion element <ce> to be used when data calls are originated. The settings also apply to mobile terminated data calls, especially when single numbering scheme calls or calls from analog devices are received (see also Chapter
4.45).
OK
Parameter
<speed> 0 auto bauding 4 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)
<name> 0 asynchronous modem <ce> 1 non-transparent
Transparent mode is not supported.
Note
· GSM 02.02[1]: List of allowed combinations of subparameters.
· The PLMN influences the second air interface (to the terminator), therefore
another mode may be established by the network.
MC35_ATC_01_V05.00 Page 69 of 256 15.07.2002
AT Command Set
4.6 AT+CCFC Call forwarding number and conditions control
Test command
AT+CCFC=?
Write command
AT+CCFC=<reas>, <mode>[,<number> [,<type>[,<class> [,<time>]]]]
Response
+CCFC: (list/range of supported <reas>s) OK
Parameter
See execute command
Response
TA controls the call forwarding supplementary service. Registration, erasure, activation, deactivation and status query are supported.
If <mode> ¹ 2 and command successful:
OK
If <mode> = 2, <reas> ¹ 2 and command successful:
+CCFC: <status>, <class1>[, <number>, <type>]
[<CR><LF>+CCFC: ....] OK
If <mode> = 2, <reas> = 2 and command successful:
+CCFC: <status>, <class1>[, <number>, <type> [, <time>]]
[<CR><LF>+CCFC: ....] OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<reas> 0 unconditional 1 mobile busy 2 no reply 3 not reachable 4 all call forwarding (includes reasons 0, 1, 2 and 3) 5 all conditional call forwarding (includes reasons 1, 2 and 3)
<mode> 0 disable call forwarding 1 enable call forwarding 2 query status of call forwarding 3 register <number> and activate call forwarding 4 erase <number> and deactivate call forwarding
<number> string type phone number of forwarding address in format speci-
fied by <type>. If you select <mode> = 3, the phone <number> will be registered in the network. This allows you to disable / enable CF to the same destination without the need to enter the phone number once again. Depending on the services offered by the provider the registration may be mandatory before CF can be used. The number remains registered in the network until you register an­other number or erase it using <mode> = 4.
<type> type of address in integer format; default 145 when dialling string in-
cludes international access code character “+”, otherwise 129
MC35_ATC_01_V05.00 Page 70 of 256 15.07.2002
AT Command Set
Reference
GSM 07.07, GSM 02.04, GSM 02.82
<class> integer or sum of integers each representing a <class> of informa-
tion:
1 voice 2 data 4 fax 8 short message service 16 data circuit sync 32 data circuit async 64 dedicated packet access 128 dedicated PAD access x combination of some of the above classes. For example, the default setting 7 represents the sum of
the integers 1, 2 and 4 (CF for voice, data and fax). The value 255 covers all classes. If the <class> parameter is omitted, the default value 7 is used.
<time> time to wait before call is forwarded, rounded to a multiple of 5 sec..
1...20..30 (only for <reas>=no reply)
<status> 0 not active 1 active
Note
· Please note that you can register, disable, enable and erase <reas> 4 and 5 as described above. However, it is not possible to query the status of <reas> 4 and 5 with AT+CCFC. Instead, you may use the ATD com­mand followed by *'# codes to check the status of these two reasons. See Chapter 9.4 for a complete list of *# GSM codes. See also examples be­low.
· The AT+CCFC command offers a broad range of call forwarding options according to the GSM specifications. However, when you attempt to set a call forwarding option which is not provisioned or not yet subscribed to, the setting will not take effect regardless of the response returned. The re­sponses in these cases vary with the network (for example “OK”, “Opera­tion not allowed”, “Operation not supported” etc.). To make sure check the call forwarding status with <mode>=2.
· <class> 2 (data) comprises all those <class> values between 16 and 128, that are supported both by the network and the MS. This means, a setting made for <class> 2 applies to all remaining data classes (if supported). In addition, you can assign a different setting to a specific class. For exam­ple, you can activate Call Forwarding for all data classes, but deactivate it for a specific data class.
· The command has been implemented with the full set of <class> parame­ters according to GSM 07.07. For actual applicability of SS “call forward­ing” to a specific service or service group (a specific <class> value) please consult table A.1 of GSM 02.04.
4.6.1 Examples: Call forwarding
Please note that when you configure or query call forwarding without specifying any classes, the set­tings will refer to classes 1, 2 and 4 only (=default). The handling of classes is equivalent to AT+CLCK (Chapter 4.21.3).
Example 1
MC35_ATC_01_V05.00 Page 71 of 256 15.07.2002
To register the destination number for unconditional call forwarding (CFU):
at+ccfc=0,3,"+493012345678",145 OK
AT Command Set
Example 2
Example 3
Example 4
Example 5
Example 6
Remember that call forwarding will be activated for voice, data and fax (de­fault classes) when you register the destination number.
To query the status of CFU without specifying <class>:
at+ccfc=0,2 +CCFC: 1,1,"+493012345678",145 +CCFC: 1,2,"+493012345678",145 +CCFC: 1,4,"+493012345678",145 OK
To deactivate CFU without specifying <class>:
at+ccfc=0,0 OK
To check whether CFU was successfully deactivated (note that the destina­tion number 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",145 OK
To erase the registered CFU destination number:
at+ccfc=0,4 OK
Now, when you check the status, no destination number will be indicated:
at+ccfc=0,2 +CCFC: 0,1 +CCFC: 0,2
+CCFC: 0,4
To 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,128
OK
<reas>=4 or 5 cannot be used to query the status of all call forwarding rea­sons (see also notes above):
at+ccfc=4,2 +CME error: operation not supported
at+ccfc=5,2 +CME error: operation not supported
MC35_ATC_01_V05.00 Page 72 of 256 15.07.2002
AT Command Set
4.7 AT+CCLK Real Time Clock
Test command
AT+CCLK=?
Read command
AT+CCLK?
Write command
AT+CCLK=<time>
Reference
GSM 07.07
Response
OK
Response
+CCLK: <time>
OK/ERROR/+CME ERROR
Parameter:
<time>: string type value; format is "yy/MM/dd,hh:mm:ss", where characters
indicate year (two last digits), month, day, hour, minutes, seconds; e.g. 6th of May 2001, 22:10:00 hours equals to “01/05/06,22:10:00"
Response
OK/ERROR/+CME ERROR
Parameter:
<time> see read command
Note
· <time> is retained if the device enters the Power Down mode via AT^SMSO (pg. 203).
· <time> is lost if power is totally disconnected and if no separate battery back-up for the clock is provided via the ZIF cable. In this case, the clock starts with <time> = “00/01/01,00:00:00” upon next power-up.
· See AT+CALA, pg. 64.
· When the GSM engine wakes up to Alarm mode, the system takes 1s to
re-initialize the RTC and to update the current time. Therefore, it is rec­ommended to wait 1s before using the AT+CCLK command (for example 1s after ^SYSSTART has been output).
MC35_ATC_01_V05.00 Page 73 of 256 15.07.2002
AT Command Set
4.8 AT+CCUG: Closed User Group
Test command
AT+CCUG=?
Read command
AT+CCUG?
Write command
AT+CCUG= [,<n>[,<index>[,<in fo>]]
Reference
GSM 02.85 Siemens
The Test command returns the supported parameters.
Response
+CCUG: (list of supported <n>s),(list of supported <index>),(list of supported <info>) OK
Explicit CUG invocation means that at each call setup, CUG information is added to the called number.
The Read command returns if the Explicit CUG invocation is activated, which CUG index is chosen, and if Preferential Group or Outgoing Access is sup­pressed.
Response
+CCUG: <n>, <index>,<info> OK
The write command serves to activate or deactivate the explicit CUG invoca­tion, to set the desired index, and to specify if Preferential Group or Outgoing Access shall be suppressed.
Parameter
<n> 0 Deactivate explicit CUG invocation 1 Activate explicit CUG invocation
<index> 0...9 CUG index 10 No index (preferred CUG taken from subscriber data)
<info> 0 No information 1 Suppress Outgoing Access 2 Suppress preferential CUG 3 Suppress preferential CUG and Outgoing Access.
Response
OK/ERROR/+CME ERROR
Note
MC35_ATC_01_V05.00 Page 74 of 256 15.07.2002
AT Command Set
4.9 AT+CCWA Call waiting
Test command
AT+CCWA=?
Read command
AT+CCWA?
Write command
AT+CCWA= [<n>,[<mode> [,<class>]]]
Unsolicited Result Code
Response
+CCWA: (list of supported <n>s)
OK/ERROR/+CME ERROR
Parameter
See write command
Response
+CCWA: <n> OK/ERROR/+CME ERROR
Parameter
See write command
This command controls the Call Waiting supplementary service according to GSM 02.83. Activation, deactivation and status query are supported.
Response
If <mode>=2 and command is successful
+CCWA: <status>, <class1><CR><LF> +CCWA: <status>, <class2><CR><LF>... OK/ERROR/+CME ERROR
Parameters
<n> Sets/shows the presentation mode of URC in the TA 0 disable 1 enable
<mode> When <mode> is not given, network is not interrogated. 0 disable 1 enable 2 query status
<class> Sum of integers each representing a class of information (de-
1 voice 2 data 4 fax 7 voice, data and fax (1+2+4) 8 SMS 16 data circuit sync 32 data circuit async 64 dedicated packet access 128 dedicated PAD access
<status> 0 not active 1 active
If <n>=1 and the Call Waiting service is enabled the following URC indicates a waiting call to the TE:
+CCWA: <number>,<type>,<class>,,<CLI validity>
fault 7). Specifies the class of the active call.
MC35_ATC_01_V05.00 Page 75 of 256 15.07.2002
AT Command Set
Reference
GSM 07.07, GSM 02.04, GSM 02.83
Parameters of the URC
<number> String type phone number of calling address in format speci-
fied by <type>
<type> Type of address octet in integer format (refer to GSM 04.08
subclause 10.5.4.7)
<class> Indicates the class of the waiting call. See Write command for
possible values.
<CLI validity> 0 CLI valid 1 CLI has been withheld 2 CLI is not available
Note
· With the AT+CHLD command, it is possible to establish a multiparty call or to set the active voice call on hold and then accept a waiting voice call (not possible with fax and data call). See also AT+CHLD in Chapter 4.16.
· The AT+CCWA command offers a broad range of options according to the GSM specifications. However, when you attempt to set a <class> which is not provisioned or not supported for Call Waiting, the setting will not take ef­fect regardless of the response returned. The responses in these cases vary with the network (for example “OK”, “Operation not allowed”, “Operation not supported” etc.). To make sure check the current Call Waiting settings with <mode>=2.
· <class> 2 (data) comprises all those <class> values between 16 and 128, that are supported both by the network and the MS. This means, a setting made for <class> 2 applies to all remaining data classes (if supported). In addition, 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 spe­cific data class.
· The AT+CCWA command has been implemented with the full set of <class> parameters according to GSM 07.07. For actual applicability of SS “call wait­ing” to a specific service or service group (a specific <class> value) please consult table A.1 of GSM 02.04
MC35_ATC_01_V05.00 Page 76 of 256 15.07.2002
AT Command Set
4.10 AT+CEER Extended error report
Test command
AT+CEER=?
Execute command
AT+CEER
Reference
GSM 07.07
Response
OK
TA returns an extended error report of the reason for the last call release and location.
Response
+CEER: <location ID>, <reason > , <ss_release>OK
Parameter
<location ID> Location ID as number code (see subclause 9.1.6)
<reason> Reason for last call release as number code (see subclause
9.1.6)
<ss_release> Release cause for last Supplementary Service Call
(see subclause 9.1.14)
Note
· AT+CEER is not available for data calls, please use ATS18=1.
· Default output in the case of a no-error-situation is +CEER: 0,0,0.
MC35_ATC_01_V05.00 Page 77 of 256 15.07.2002
AT Command Set
4.11 AT+CFUN Set phone functionality
Test command
AT+CFUN=?
Read command
AT+CFUN?
Write command
AT+CFUN=[<fun> [,<rst>]]
Response
+CFUN: (list of supported <fun>s), (list of supported <rst>s) If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See below
Response
+CFUN: <fun>
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See below
The write command can be used to reset the ME, to choose one of the SLEEP modes or to return to full functionality.
Intended for power saving, SLEEP mode reduces the functionality level of the ME to a minimum and, thus, minimizes the current consumption. SLEEP mode falls in two categories: NON-CYCLIC SLEEP mode <fun>=0 and CYCLIC SLEEP modes, selectable as <fun>= 5 or 6.
NON-CYCLIC SLEEP mode permanently blocks the serial interface. The CY­CLIC SLEEP mode, however, is a dynamic process which alternatingly enables and disables the serial interface. The major benefit of CYCLIC SLEEP mode is that the serial interface remains accessible and that packet-switched calls can be done without exiting the SLEEP mode. Also, NON-CYCLIC and CYCLIC SLEEP mode provide different ways to wake up the ME. For details see Chap­ter 4.11.1.
For CYCLIC SLEEP mode (<fun>=5 or 6) the application must be configured to use hardware flow control, set with AT\Q3. This is necessary since the CTS signal is set/reset every time when the ME listens to a paging message from the base station. This is the way how the module indicates to the application when the UART is active. For detailed information on the timing of the CTS sig­nal refer to [1].
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<fun> 0 NON-CYCLIC SLEEP mode:
In this mode, the AT interface is not accessible. Consequently, once you have set <fun> level 0, do not send further characters. Otherwise these characters remain in the input buffer and may delay the output of an unsolicited result code. The first wake-up event stops power saving and takes the ME back to full functionality level <fun>=1.
MC35_ATC_01_V05.00 Page 78 of 256 15.07.2002
AT Command Set
Reference
GSM 07.07
Example 1
1 Full functionality.
If the ME is in one of the two CYCLIC SLEEP modes you can issue AT+CFUN=1 to stop power saving and return to full functionality. Keep in mind that, unlike the reset command described below, this action does not restart the ME but only changes the level of functionality. See parameter <rst> for details on the reset.
5 CYCLIC SLEEP mode:
In this mode, the serial interface is shortly enabled during paging. If characters are recognized on the serial interface, the ME stays active for 2 seconds after the last character was sent or received.
6 CYCLIC SLEEP mode:
In this mode, the serial interface is shortly enabled during paging. If characters are recognized on the serial interface, the ME stays active for 10 minutes after the last character was sent or received.
<rst> 0 The <rst> parameter can only be used if the serial interface
is enabled. Due to the command syntax, you need to enter <fun>, followed by <rst>, where <fun> is only a placeholder and has no effect. See examples below.
1 ME resets and restarts to full functionality.
After reset and restart, PIN 1 authentication is necessary (AT+CPIN). If autobauding is enabled it is recommended to wait 3 to 5 seconds before entering the first AT command. For details on autobauding refer to Chapter 2.45.1.
Note
· If SLEEP mode (<fun>=0, 5, or 6) is activated while a circuit-switched call is in progress, this call will immediately be terminated.
· Please keep in mind that power saving works only while the ME is registered to the GSM network. If you attempt to activate one of the SLEEP modes
while the ME is deregistered, the selected <fun> level will be set, but power saving does not take effect. Furthermore, in order to accept incoming calls, SMS or network related URCs in SLEEP mode the ME must be registered when it enters the SLEEP mode.
· To check that power saving is on, you can query the status with AT+CFUN?, if you have chosen CYCLIC SLEEP mode. If available, you can take advan­tage of the status LED controlled by the SYNC pin (see Chapter 8.40 and [1]. The LED stops flashing once the module starts power saving.
· In Multiplex mode, the CFUN profile is shared by all multiplexer channels.
To check the level of functionality use the read command:
AT+CFUN? +CFUN: 1 Default mode after ME was restarted.
Remember that the AT interface is not accessible in NON-CYCLIC SLEEP mode. Consequently, the read command is only useful when the ME is set to full functionality or, when <fun> is set to 5or 6.
AT+CFUN? +CFUN: 5 CYCLIC SLEEP mode.
MC35_ATC_01_V05.00 Page 79 of 256 15.07.2002
AT Command Set
Example 2
Example 3
Example 4
To set the ME to NON-CYCLIC SLEEP mode enter
AT+CFUN=0 OK
When, for example, an SMS is being received and indicated by an unsolicited result code (URC), the ME wakes up to full operation.
+CMTI: "SM",5 Note that the URC used in this example will appear
only if CMTI=1,1 was configured before. See Chapters
5.10 and 9.1.4.
After this, you may want to verify the operating status:
AT+CFUN? +CFUN: 1 Indicates that ME has entered full functionality mode.
To stop CYCLIC SLEEP mode and return to full functionality:
AT+CFUN? +CFUN: 5
OK AT+CFUN=1 OK
Remember that this approach is not applicable to the NON-CYCLIC SLEEP mode (since the serial interface is disabled). The NON-CYCLIC SLEEP mode ends with the first wake-up event.
To reset and restart the ME:
AT+CFUN=1,1 or alternatively, AT+CFUN=0,1 or 5,1 or 6,1 OK
^SYSSTART The ^SYSSTART URC confirms that the ME has been
rebooted. Note that ^SYSSTART appears only if AT+IPR¹0. If the ME is in autobaud mode, it is recommended to wait 3 to 5 seconds before entering the first AT command. Remember to enter the SIM PIN after restart.
MC35_ATC_01_V05.00 Page 80 of 256 15.07.2002
AT Command Set
4.11.1 Wake up the ME from SLEEP mode
A wake-up event is any event that switches off the SLEEP mode and causes the ME to return to full functionality. In short, it takes the ME back to AT+CFUN=1.
Definitions of the state transitions described in Table 7: Yes = ME exits SLEEP mode. No = ME does not exit SLEEP mode.
Table 7: Wake-up events in NON-CYCLIC and CYCLIC SLEEP mode
Event From SLEEP mode
AT+CFUN=0 to AT+CFUN=1
Ignition line No No
/RTS0 (falling edge) Yes No
Unsolicited Result Code (URC) Yes Yes
Incoming voice or data call Yes Yes
Any AT command (incl. outgoing voice or data call, outgo­ing SMS)
Incoming SMS depending on mode se­lected by AT+CNMI:
AT+CNMI=0,0 (= default, no indication upon receipt of SMS)
AT+CNMI=1,1 (= displays URC upon receipt of SMS)
GPRS data transfer Not possible
RTC alarm Yes Yes
Not possible (UART disabled)
No
Yes
(UART disabled)
From SLEEP mode AT+CFUN=5 or 6 to AT+CFUN=1
No
No
Yes
No
AT+CFUN=1 Not possible
(UART disabled)
Recommendation:
· In NON-CYCLIC SLEEP mode, you can set an RTC alarm to wake up the ME and return to full functionality. This is a useful approach because, in this mode, the AT interface is not accessible.
MC35_ATC_01_V05.00 Page 81 of 256 15.07.2002
Yes
AT Command Set
4.12 AT+CGMI Request manufacturer identification
Test command
AT+CGMI=?
Execute command
AT+CGMI
Reference
GSM 07.07
Response
OK
Response
TA returns manufacturer identification text.
SIEMENS OK
Note
See also ”AT+GMI Request manufacturer identification”.
4.13 AT+CGMM Request model identification
Test command
AT+CGMM=?
Execute command
AT+CGMM
Reference
GSM 07.07
Response
OK
Response
TA returns product model identification text.
MC35 OK
Note
See also ”AT+GMM Request TA model identification”.
4.14 AT+CGMR Request revision identification of software status
Test command
AT+CGMR=?
Execute command
AT+CGMR
Reference
GSM 07.07
Response OK
Response
TA returns product firmware version identification text.
REVISION xx.yy OK
xx.yy Version xx and variant yy of software release
Note
See also AT+GMR Request TA revision identification of software status
MC35_ATC_01_V05.00 Page 82 of 256 15.07.2002
AT Command Set
4.15 AT+CGSN Request product serial number identification (IMEI) identical to GSN
Test command
AT+CGSN=?
Execute command
AT+CGSN
Reference
GSM 07.07
Response
OK
Response
TA returns identification text for determination of the individual ME.
<sn> OK
Parameter
<sn> IMEI of the telephone (International Mobile station Equipment Identity)
Note
See also ”AT+GSN Request TA serial number identification”.
4.16 AT+CHLD Call hold and multiparty
Test command
AT+CHLD=?
Response
+CHLD: (list of supported <n>s)
Execute command
AT+CHLD=[<n>]
Reference
GSM 07.07
OK
Response
TA controls the supplementary services Call Hold, MultiParty and Explicit Call Transfer. Calls can be put on hold, recovered, released, added to conversation and transferred.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<n> 0 Terminate all held calls; or set UDUB (User Determined User
Busy) 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 call 2X Place all active calls except call X (X= 1-7) on hold 3 Add the held call to the active calls
Note
· This supplementary service is only applicable to teleservice 11 (Speech te-
lephony). It is neither possible to put a data or fax call on hold, nor to switch from a voice call to a waiting data or fax call. The classes of waiting calls can be easily distinguished if the URC +CCWA: <number>,<type>,<class>,,<CLI validity> is enabled. See AT+CCWA in Chapter 4.9.
· The AT+CHLD command offers a broad range of options according to the
GSM specifications. However, many of these options are dependent on the SIM card / service provider.
· In conflicting situations, e.g. when a waiting call comes while there are already
held calls, the above procedures apply to the waiting call only. For example, <n>=0 rejects the waiting call, but does not affect the held calls.
MC35_ATC_01_V05.00 Page 83 of 256 15.07.2002
AT Command Set
4.17 AT+CHUP Hang up call
Test command
AT+CHUP=?
Execute command
AT+CHUP
Reference
GSM 07.07
Response
OK
Cancels all active and held calls.
Response
OK/ERROR
Note
AT+CHUP implements the same behaviour as ATH (see Chapter 2.12).
4.18 AT+CIMI Request international mobile subscriber identity
Test command
AT+CIMI=?
Execute command
AT+CIMI
Reference
GSM 07.07
Response
OK
Response
TA returns < IMSI> for identifying the individual SIM which is attached to ME.
<IMSI> OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<IMSI> International Mobile Subscriber Identity (string without quotes)
Note
MC35_ATC_01_V05.00 Page 84 of 256 15.07.2002
AT Command Set
4.19 AT+CIND Indicator control
MC35 supports indicator event reporting for the following items: battery capacity, signal quality, ser­vice availability, generation of sound in the ME, indication of unread short messages, full SMS stor­age, 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 AT+CIND. The Read command returns the status no matter whether the indicator has been reg­istered with the Write command AT+CIND=[<stat>[,<stat>[,...]]].
2. You can take advantage of Unsolicited Result Codes. These are the +CIEV URCs which the ME automatically 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 AT+CIND=[<stat>[,<stat>[,...]]].
By default, all of them are registered. Any URCs you do not need can easily be excluded if deregistered with <stat>=0.
b) The URC presentation mode must be enabled with AT+CMER (see Chapter 4.26).
Test command
AT+CIND=?
Response
+CIND: (<descr>,(list of supported <ind>s)) [,(<descr>,(list of supported <ind>s))[,...]]
Parameters
<descr> values and their <ind> ranges. "battchg" Battery charge level (0-5),
where (0-5) means 0, 20, 40, 60, 80 or 100 per cent of the the remaining battery capacity. If no battery is connected to the ME, then the value will be always equal to 5. See also Chapter 8.5.
"signal" Signal quality (0-7 or 99 if not measurable). The
indicated value is the bit error rate of the signal
received. See also Chapter 4.46. "service" Service availability (0-1). "sounder" Sounder activity (0-1). The indicator provides in-
formation about tones generated in the ME. The
value 1 means for example:
Incoming call - ME is ringing.
Waiting call – ME generates waiting call tone (if
call 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 call
has been established, for example when both in-
terlocutors are connected or when the call ends. "roam" Roaming indicator (0-1). "smsfull" A short message memory storage in the MT has
become full (1) or memory locations are available
(0); i.e. the range is (0-1).
<ind> integer type value, in the range stated above for the corresponding
<descr>.
In the list above, all parameters are presented by the sequence used in the Test, Read and Write commands.
MC35_ATC_01_V05.00 Page 85 of 256 15.07.2002
AT Command Set
Read command
AT+CIND?
Write command
AT+CIND= [<stat>[,<stat> [,...]]]
Reference
GSM 07.07
Examples
Response
TA returns the status of the ME indicators.
+CIND: <ind>[,<ind>[,...]] OK
If error is related to ME functionality
+CME ERROR: <err>
Parameter
See Test command The Write command simply controls the registration / deregistration of indicators.
<stat> 0 Indicator is deregistered. The indicator cannot be presented as
1 Indicator is registered, indicator event report is allowed.
Note
at+cind? +CIND: 5,99,1,0,0,0,0,0 The battery is either full or an external supply
OK source is used. The bit error rate of the signal
at+cmer=2,0,0,2 Activate Indicator Event Report with at+cmer OK +CIEV: message,0 +CIEV: battchg,5 +CIEV: signal,99 +CIEV: service,1 +CIEV: sounder,0 +CIEV: call,0 +CIEV: roam,0 +CIEV: smsfull,0
atd"0123456"; You make a call. OK
+CIEV: sounder,1 A set of +CIEV URCs reports is presented +CIEV: call,1 +CIEV: sounder,0 +CIEV: call,0 The receiver hangs up. NO CARRIER
at+cind=,,,0,,0 You deregister the indicators ‘call’ and OK ‘sounder’
atd"0123456"; You make a call. OK NO CARRIER This time, no +CIEV URCs are displayed.
+CIEV URC, but can be directly queried with AT+CIND?.
quality is not available (since there no call in progress), and the ME is registered to its home network.
MC35_ATC_01_V05.00 Page 86 of 256 15.07.2002
AT Command Set
4.20 AT+CLCC List current calls of ME
Test command
AT+CLCC=?
Execute command
AT+CLCC
Reference
GSM 07.07
Response
OK
Parameters
Response
TA returns a list of current calls of ME. If command successful, but no calls are available, no information response is sent to TE.
[+CLCC: <id1>,<dir>,<stat>,<mode>,<mpty>, [<number>,<type>,[<alpha>]]]
[<CR><LF>+CLCC: <id2>,<dir>,<stat>,<mode>,<mpty>, [<number>,<type>,[<alpha>]]]
[...]]] OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<idx> Integer type; call identification number as described in GSM
02.30[19] subclause 4.5.5.1; this number can be used in +CHLD
command operations <dir> 0 mobile originated (MO) call 1 mobile terminated (MT) call <stat> state of the call: 0 active 1 held 2 dialing (MO call) 3 alerting (MO call) 4 incoming (MT call) 5 waiting (MT call) <mode> bearer/teleservice: 0 voice 1 data 2 fax 9 unknown <mpty> 0 call is not one of multiparty (conference) call parties 1 call is one of multiparty (conference) call parties
<number> string type phone number in format specified by <type> <type> type of address octet in integer format; 145 when dialling string in-
cludes international access code character “+”, otherwise 129 <alpha> string type alphanumeric representation of <number> correspond-
ing to the entry found in phonebook; used character set should be
the one selected with command Select TE Character Set +CSCS
Note
MC35_ATC_01_V05.00 Page 87 of 256 15.07.2002
AT Command Set
4.21 AT+CLCK Facility lock
Test command
AT+CLCK=?
Execute command
AT+CLCK=<fac>, <mode> [,<passwd>
[,<class>]]
Response
+CLCK: (list of supported <fac>s) OK
Parameter
See execute command Use this command to lock, unlock or interrogate a ME or a network facility
<fac>. The command can be aborted when network facilities are being set or in­terrogated.
Response
If <mode> ¹ 2 and command is successful
OK
If <mode> = 2 and command is successful
+CLCK: <status>[,<class1>[<CR><LF>
+CLCK: <status>, class2....]] OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<fac> Phone security locks set by client or factory: “SC” SIM (lock SIM cards). SIM requests password upon ME power-
“PS” Phone locked to SIM card. ME requests password when other
“FD” SIM fixed dialling memory: If the mobile is locked to "FD", only
"CS" Keypad lock (not supported since keypad cannot be directly
Note: Primarily intended for the client to take safety precautions, "SC",
up and when this lock command is issued. "SC" lock is protected with SIM PIN1. The number can be modified with AT+CPWD or AT^SPWD. See examples in Chapter 4.21.2 for further explana­tions.
than current SIM card is inserted. If set individually by the client, the password for the "PS" lock can be specified with AT+CPWD or AT^SPWD. If set by factory (e.g. for a prepaid mobile), the password is sup­plied by the provider or operator.
the phone numbers stored to the "FD" memory can be dialled (depending on the SIM card, usually up to 7 numbers). PIN2 is requested as <passwd>.
connected to the GSM engine)
"PS" and "FD" can be configured individually. "PS" may also be factory set. "PS" lock is frequently referred to as "phone lock", or "device lock". Accordingly, the password may be called "phone code" or "device code". The "PS" password is not associated with the PUK of the SIM card. If incorrectly entered three times, the Mas­ter Phone Code is required to lift the lock. Once the Master Phone Code has been acctepted, the mobile is operational, and the "PS" lock is no longer active. If needed it must be set once again. See Chapter 4.35.1 and examples below for further de­tails.
MC35_ATC_01_V05.00 Page 88 of 256 15.07.2002
AT Command Set
Factory set SIM locks “PF” lock Phone to the very First SIM card “PN” Network Personalisation “PU” Network subset Personalisation “PP” Service Provider Personalisation “PC” Corporate Personalisation
Note: Typical examples of factory set SIM locks are prepaid phones or
network locks, used to restrict the operation of a mobile to a spe­cific provider or operator. The client should be aware that each of these lock types can only be unlocked if the associated pass­word is available. For example, a mobile can be locked to accept only SIM cards from the respective provider, or even one single SIM card. Once a different SIM card is inserted the ME will prompt the client to enter a specific code. This is not the PUK of the SIM card, but usually an 8-digit code which needs to be re­quested from the provider. The locks can only be set by the manufacturer and need to be agreed upon between the parties concerned, e.g. provider, op­erator, distributor etc. on the one side and the manufacturer on the other side. For details contact your local dealer or Siemens AG. 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 Home
Country) “AI” BAIC (Bar All Incoming Calls) “IR” BIC-Roam (Bar Incoming Calls when Roaming outside the home
country) “AB” All Barring services (applicable only for <mode>=0) “AG” All outGoing barring services (applicable only for <mode>=0) “AC” All inComing barring services (applicable only for <mode>=0)
Note: The availability of the Supplementary Services varies with the
network. To benefit from call barring the client will need to sub-
scribe them, though a limited number of call barring types may
be included in the basic tariff package. Call barring is protected
by a password supplied from the provider or operator. Usually
there is one password which applies to all call barring options.
For details contact your provider. When you attempt to set a <fac> or <class> which is not provi-
sioned, not yet subscribed to, or not supported by the module,
the setting will not take effect regardless of the response re-
turned. The responses in these cases vary with the network (for
example “OK”, “Operation not allowed”, “Operation not sup-
ported” etc.). To make sure check the call barring status with
<mode>=2.
<mode> 0 unlock
1 lock 2 query status
<passwd> password
See Chapters 4.38 and 8.36 for instructions of how to specify pass­words.
MC35_ATC_01_V05.00 Page 89 of 256 15.07.2002
AT Command Set
Reference
GSM 07.07 GSM 02.04, GSM 02.88
<class> integer or sum of integers each representing a <class> of information: 1 voice
2 data 4 fax 8 short message service 16 data circuit sync 32 data circuit async 64 dedicated packet access 128 dedicated PAD access x combination of some of the above classes. For example, the default setting 7 represents the sum of the
integers 1, 2 and 4 (call barring for voice, data and fax). The value 255 covers all classes. If the <class> parameter is omitted, the default value 7 is used.
See examples in 4.21.3 for correct handling of class numbers. <class> 2 (data) comprises all those <class> values between 16 and
128, that are supported both by the network and the MS. This means, a setting made for <class> 2 applies to all remaining data classes (if supported). In addition, you can assign a different setting to a specific class. For example, you can activate call barring for all data classes, but deactivate it for a specific data class.
<status> 0 off 1 on
Note
The command has been implemented with the full set of <class> parameters according to GSM 07.07. For actual applicability of a specific <fac> to a specific service or service group (a specific <class> value) please consult table A.1 of GSM 02.04.
4.21.1 Examples: Enabling / disabling PIN 1 authentication
Example 1
Example 2
To lock or unlock the SIM card: The "SC" parameter enables or disables the SIM PIN authentication (PIN 1) when you power up the GSM engine:
AT+CLCK="SC",1,9999 Activates SIM card lock. OK As a result, SIM PIN 1 must be entered to en-
able ME to register to the GSM network.
AT+CLCK="SC",0,9999 Unlocks SIM card. OK When powered up, ME registers to the GSM
network without requesting SIM PIN1. Note: Depending on the services offered by the provider, this feature is not supported by all SIM card types. If so, the command returns ERROR when you attempt to unlock the card.
To query the status of the SIM card lock:
AT+CLCK="SC",2 +clck: 1 SIM card is locked. SIM PIN1 must be entered
to enable ME to register to the GSM network.
MC35_ATC_01_V05.00 Page 90 of 256 15.07.2002
AT Command Set
4.21.2 Examples: Phone lock
Example 1
Example 2
Example 3
Example 4
Example 5
Be sure that PIN 1 authentication is valid:
AT+CPIN? +CPIN: SIM PIN OK
AT+CPIN=9999 OK
To lock the mobile to the currently inserted SIM card, first specify a password (= a phone code):
AT+CPWD="PS",,1234 If "PS" lock has not been set before: enter new OK password.
or: AT+CPWD="PS",1234,3333 To replace existing "PS" password: Enter old
OK and new one.
Then, activate the phone lock:
AT+CLCK="PS",1,3333 Locks the mobile to the current SIM card. OK
To deactivate the phone lock:
AT+CLCK="PS",0,3333 Enter lock type "PS", followed by 0 to lift the OK lock. Then type "PS" lock password.
As a result, the mobile accepts any SIM card and can be operated after the card's SIM PIN 1 was entered.
To operate the mobile with the SIM card for which "PS" lock was activated:
AT+CPIN? Enter SIM PIN used when locking the mobile. +CPIN: SIM PIN "PS"lock password is not needed.
AT+CPIN=9999 OK
To 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.
AT+CPIN? Enter SIM PIN of present SIM card. +CPIN: SIM PIN AT+CPIN=1111
OK SIM PIN accepted.
AT+CPIN? +CPIN: PH-SIM PIN "PS" lock password is required.
AT+CPIN=3333 OK "PS" lock password has been accepted.
Attempt to unblock the "PS" lock using an invalid password:
MC35_ATC_01_V05.00 Page 91 of 256 15.07.2002
AT Command Set
Example 6
Example 7
AT+CPIN? Enter SIM PIN of present SIM card. +CPIN: SIM PIN AT+CPIN=1111
OK SIM PIN accepted.
AT+CPIN? +CPIN: PH-SIM PIN "PS" lock password is required.
AT+CPIN=4444 Bad password is given: +CME ERROR: incorrect password
After the "PS" lock password was incorrectly entered three times in a row:
AT+CPIN? +CPIN: PH-SIM PUK Master Phone Code is required (8-digit code
available from the manufacturer. See Chapter
4.35.1).
AT+CPIN=12345678 Master Phone Code has been accepted. As a
result, the mobile is operational, and the "PS" lock is totally removed. If needed, it must be set once again.
Attempt to unblock the "PS" lock using an invalid Master Phone Code: Due to the timing algorithm explained in Chapter 4.35.1 the intervals between each at­tempt are getting longer. See also AT^SPIC in Chapter 8.32.
As an alternative to the AT+CPIN command you can use AT+CPWD. In this case the following syntax shall be observed: AT+CPWD=PS,Master Phone Code[,new password].
AT+CPWD=PS,12345678 Deactivates the "PS" lock.
Or
AT+CPWD=PS,12345678,3333 Deactivates the present "PS" lock
and sets a new "PS" lock.
MC35_ATC_01_V05.00 Page 92 of 256 15.07.2002
AT Command Set
4.21.3 Examples: Call barring
Please note that when you configure or query call barring without specifying any classes, the settings will 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 subject to a password supplied from the provider.
Example 1
Example 2
Example 3
Example 4
Example 5
When checking the status of barring for outgoing international calls without specifying 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 <passwd>: 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 barred OK
To 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 <passwd>: 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)
OK
To 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) OK
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) OK
To disable call barring for all outgoing international calls:
at+clck=oi,0,0000,255 OK
MC35_ATC_01_V05.00 Page 93 of 256 15.07.2002
AT Command Set
4.22 AT+CLIP Calling line identification presentation
This command refers to the GSM supplementary service CLIP (Calling Line Identification Presenta­tion) that enables a called subscriber to get the calling line identity (CLI) of the calling party when re­ceiving a mobile terminated call.
Test command
AT+CLIP=?
Read command
AT+CLIP?
Write command
AT+CLIP=<n>
Unsolicited result code
Reference
GSM 07.07
Response
+ CLIP: (list of supported <n>s) OK
Parameter
See write command
Response
+CLIP: <n>, <m> OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See write command Set command enables or disables the presentation of the CLI at the TE. It has no
effect on the execution of the supplementary service CLIP in the network.
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<n> 0 suppress unsolicited result codes
1 display unsolicited result codes <m> 0 CLIP not provisioned 1 CLIP provisioned 2 unknown When CLIP is enabled at the TE (and is permitted by the calling subscriber), an
unsolicited result code is returned after every RING (or +CRING: <type>) at a mobile terminating call.
Voice call response format:
+CLIP: <number>, <type>,,,,<CLI validity>
Data/FAX call response format:
+CLIP: <number>, <type>
Parameter
<number> string type phone number of calling address in format specified by
<type>
<type> type of address octet in integer format; 145 when dialling string in-
cludes international access code character “+”, otherwise 129.
<CLI validity>
0 CLI valid 1 CLI has been withheld by the originator. 3 CLI is not available due to interworking problems or limitations
of originating network. <number> shall be an empty string ("") and <type> value will not be significant.
Note
MC35_ATC_01_V05.00 Page 94 of 256 15.07.2002
AT Command Set
4.23 AT+CLIR Calling line identification restriction (by *# sequence)
The AT+CLIR command is not supported. Instead, you can handle CLIR on a call-by-call basis using the ATD command and a *# sequence
Read command
ATD*#31#
Run the Read command to query status:
Response
+CLIR: <n>,<m>
Defined values <n> (parameter shows the settings for outgoing calls):
0 presentation indicator is used according to the
1 CLIR invocation 2 CLIR suppression
<m> (parameter shows the subscriber CLIR service status in
0 CLIR not provisioned 1 CLIR provisioned in permanent mode 2 unknown (e.g. no network, etc.) 3 CLIR temporary mode presentation restricted 4 CLIR temporary mode presentation allowed
Execute commands
ATD*31#<Phonenumber>[;]
ATD#31#<Phonenumber>[;]
The Execute commands allow you to enable or disable the presenta­tion of your phone number to the called party when you set up a call:
Deactivate CLIR = enable presentation of own phone number to called party
Activate CLIR = suppress presentation of own phone number to called party
Note:
<Phonenumber> = phone number of called party
subscription of the CLIR service
the network):
MC35_ATC_01_V05.00 Page 95 of 256 15.07.2002
AT Command Set
4.24 AT+CLVL Loudspeaker volume level
Test command
AT+CLVL=?
Read command
AT+CLVL?
Write command
AT+CLVL=<level>
Reference
GSM 07.07
Response
+CLVL: (list of supported <level>s)OK
Response
+CLVL: <level>
OK/ERROR/+CME ERROR
Response
OK/ERROR/+CME ERROR
Parameter
<level> Loudspeaker Volume Level (0-4)
Note
· The write command can only be used in audio mode 2 – 6.
· The values of the volume steps are specified with the parameters
<outCalibrate[0]>,...<outCalibrate[4]> of the AT^SNFO command (see Chapter 8.24).
· As an alternative to AT+CLVL, you can use AT^SNFO and AT^SNFV (Chapter 8.27). The parameter <level> is identical with <outStep> used by both commands.
· Any change to <level> (or <outStep>) takes effect in audio modes 2 to
6. That is, when you change <level> (or <outStep>) and then select another mode with AT^SNFS, the same step will be applied. The only exception is audio mode 1 which is fixed to <level>=4 (or ac­cordingly <outStep>=4).
· <level> (or <outStep> is stored non-volatile when the ME is powered down with AT^SMSO or reset with AT+CFUN=1,1.
MC35_ATC_01_V05.00 Page 96 of 256 15.07.2002
AT Command Set
4.25 AT+CMEE Report mobile equipment error
Test command
AT+CMEE=?
Read command
AT+CMEE?
Write command
AT+CMEE=<n>
Example
Reference
GSM 07.07
Response
+CMEE: (list of supported <n>s) OK
Parameter
See write command
Response
+CMEE: <n> OK
Parameter
See write command
This command controls the presentation of the result codes +CME ERROR: <err> and CMS:<err> that indicate errors relating to ME functionality.
When you power down or reset the ME with AT+CFUN=1,1 the setting will be re­set to its default. The levels 1 or 2 need to be selected every time you reboot the ME, or may be included, for permanent use, in the user profile saved with AT&W.
Response
OK
Parameter
<n> 0 disable result code (only 'ERROR' will be displayed)
1 enable result code and use numeric values 2 enable result code and use verbose values
To obtain enhanced error messages it is recommended to choose <n>=2. AT+CMEE=2
OK
Note
· The possible error result codes are listed in chapter 9
· In multiplex mode (see “AT+CMUX Enter multiplex mode”, pg. 101) the set-
ting applies only to the logical channel where selected. The setting on the other channels may differ.
MC35_ATC_01_V05.00 Page 97 of 256 15.07.2002
AT Command Set
4.26 AT+CMER Mobile equipment event reporting
Test command
AT+CMER=?
Read command
AT+CMER?
Write command
AT+CMER= [<mode>
[,<keyp> [,<disp> [,<ind> [,<bfr>]]]]]
Unsolicited Result Code:
Response
+CMER: (list of supported <mode>s),(list of supported <keyp>s),(list of supported <disp>s),(list of supported <ind>s),(list of supported <bfr>s)
Parameters
See write command
Response
+CMER: <mode>,<keyp>,<disp>,<ind>,<bfr>
Parameters
See write command The Execute command enables and disables the presentation of Unsolicited Re-
sult Codes for event reporting. MC35 supports only the type +CIEV (indicator event reporting). If enabled the +CIEV URCs are sent whenever the value of an indicator changes.
Response
OK
Parameters
<mode> 0 Discard CIEV Unsolicited Result Codes 1 Discard CIEV Unsolicited Result Codes when TA-TE link is
reserved (e.g. in on-line data mode); otherwise forward them directly to the TE
2 Buffer CIEV Unsolicited Result Codes in the TA when TA-TE
link is reserved (e.g. in on-line data mode) and flush them to the TE after reservation. Otherwise forward them directly to the TE.
3 Forward CIEV Unsolicited Result Codes directly to the TE; TA-
TE link specific inband technique used to embed result codes and data when TA is in on-line data mode
<keyp> 0 No keypad event reporting <disp> 0 No display event reporting <ind> 0 No indicator event reporting
2 Indicator event reporting using result code
+CIEV: <desc>,<value> <desc> indicates the indicator’s name and <value> is the new value of this indicator. All indicator events shall be directed from TA to TE.
<bfr> 0 TA buffer of Unsolicited Result Codes defined within this
command; is cleared when <mode> 1...3 is entered
+CIEV: <desc>,<value>
Parameters
<descr> values and their <value> ranges: "battchg" Battery charge level (0-5),
where (0-5) means 0, 20, 40, 60, 80 or 100 per cent of the the remaining battery capacity. If no battery is connected to the ME, then the value will be always equal to 5. See also Chapter 8.5.
MC35_ATC_01_V05.00 Page 98 of 256 15.07.2002
AT Command Set
"signal" Signal quality (0-7 or 99 if not measurable). The
"service" Service availability (0-1). "sounder" Sounder activity (0-1). The indicator provides in-
"message" Unread short message(s) (0-1). "call" Call in progress (0-1). Voice und data calls only.
"roam" Roaming indicator (0-1). "smsfull" A short message memory storage in the MT has
<value> integer type value, in the range stated above for the corresponding
<descr>.
indicated value is the bit error rate of the signal received. See also Chapter 4.46.
formation about tones generated in the ME. The value 1 means for example: Incoming call - ME is ringing. Waiting call – ME generates waiting call tone (if call 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.
The indicator changes its value as soon as a call has been established, for example when both in­terlocutors are connected or when the call ends.
become full (1) or memory locations are available (0); i.e. the range is (0-1).
Reference
GSM 07.07
Note
· Only the indicators which are registered (see AT+CIND command), will be re­ported if CMER is enabled.
· After CMER has been switched on, +CIEV URCs for all registered indicators with their default value will be presented to the TE.
· While the ME is in online data mode, no URC will be displayed. Each +CIEV URC is replaced with a Break (100 ms), and is stored in a buffer. Once the ME goes into command mode (after +++ was entered), all URCs stored in the buffer will be output. Exception: For “message” indicator, please note that each incoming short mes­sage will cause a Break.
· See AT+CIND in Chapter 4.19.
MC35_ATC_01_V05.00 Page 99 of 256 15.07.2002
AT Command Set
4.27 AT+CMUT Mute control
Test command
AT+CMUT=?
Read command
AT+CMUT?
Write command
AT+CMUT=<n>
Reference
GSM 07.07
Response
+CMUT: (list of supported <n>s)
OK
Response
+CMUT: <n>
OK/ERROR/+CME ERROR
Response
OK/ERROR/+CME ERROR
Parameter
<n>: 0 mute off 1 mute on
Note
This command can be used in all audio modes (1 to 6) and during a voice call only. See AT^SNFS in Chapter 8.26 for more details on the various audio modes.
Users should be aware that when they switch back and forth between dif­ferent audio modes the value of <mute> does not change. This means that the status of mute operaton is retained until explicitly changed.
As alternative, you can use the AT^SNFM command described in Chap­ter 8.22.
MC35_ATC_01_V05.00 Page 100 of 256 15.07.2002
Loading...