Siemens Tc63 Users Manual Список АТ команд для GSM модуля (на английском языке)
TC63 siemens_tc63_at_command_eng
TC63 to the manual cb4da4aa-6896-433d-b481-874ea047f36c
2015-02-05
: Siemens Siemens-Tc63-Users-Manual-410093 siemens-tc63-users-manual-410093 siemens pdf
Open the PDF directly: View PDF .
Page Count: 501
Download | |
Open PDF In Browser | View PDF |
TC63 Siemens Cellular Engine Version: DocId: 00.490 TC63_ATC_V00.490 AT Command Set s TC63 AT Command Set s Document Name: TC63 AT Command Set Version: 00.490 Date: May 24, 2005 DocId: TC63_ATC_V00.490 Status Confidential / Draft - Do not copy General Notes Product is deemed accepted by Recipient and is provided without interface to Recipient´s products. The Product constitutes pre-release version and code and may be changed substantially before commercial release. The Product is provided on an “as is” basis only and may contain deficiencies or inadequacies. The Product is provided without warranty of any kind, express or implied. To the maximum extent permitted by applicable law, Siemens further disclaims all warranties, including without limitation any implied warranties of merchantability, fitness for a particular purpose and noninfringement of third-party rights. The entire risk arising out of the use or performance of the Product and documentation remains with Recipient. 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. Applications incorporating the described product must be designed to be in accordance with the technical 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. Siemens AG customers using or selling this product for use in any applications do so at their own risk and agree to fully indemnify Siemens for any damages resulting from illegal use or resale. To the maximum extent permitted by applicable law, in no event shall Siemens or its suppliers be liable for any consequential, incidental, direct, indirect, punitive or other damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information or data, or other pecuniary loss) arising out the use of or inability to use the Product, even if Siemens has been advised of the possibility of such damages. Subject to change without notice at any time. Copyright Transmittal, reproduction, dissemination and/or editing of this document as well as utilization of its contents and communication thereof to others without express authorization are prohibited. Offenders will be held liable for payment of damages. All rights created by patent grant or registration of a utility model or design patent are reserved. Copyright © Siemens AG 2005 Trademark notice Bluetooth™ is a registered trademark of Bluetooth SIG Inc. TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 2 of 501 5/24/05 TC63 AT Command Set s Contents Contents 1. Introduction............................................................................................................................................ 14 1.1 Scope of the document ................................................................................................................. 14 1.2 Related documents ....................................................................................................................... 15 1.3 Document conventions.................................................................................................................. 16 1.3.1 1.3.2 1.4 AT Command Syntax .................................................................................................................... 18 1.4.1 1.4.2 1.5 Software Flow Control (XON/OFF Handshake) ............................................................... 26 Hardware Flow Control (RTS/CTS Handshake)............................................................... 26 Unsolicited Result Code Presentation........................................................................................... 27 1.7.1 2. GSM alphabet tables and UCS2 character values........................................................... 22 UCS2 and GSM data coding and conversion for SMS text mode.................................... 24 Implementing output of SIM data to Terminal (direction TA to TE) ................................... 24 Implementing input of Terminal data to SIM (direction TE to TA) ..................................... 25 Serial Interface Flow Control ......................................................................................................... 26 1.6.1 1.6.2 1.7 Using Parameters............................................................................................................. 18 Combining AT commands on the same command line.................................................... 19 Supported character sets .............................................................................................................. 20 1.5.1 1.5.2 1.5.2.1 1.5.2.2 1.6 Quick reference table ....................................................................................................... 16 Superscript notation for parameters and values............................................................... 17 Communication between Customer Application and TC63.............................................. 27 1.8 Common PCN Handset Specification (CPHS) .............................................................................. 28 1.9 Errors and Messages .................................................................................................................... 29 Configuration Commands..................................................................................................................... 30 2.1 AT&F Set all current parameters to manufacturer defaults ......................................................... 30 2.2 AT&V Display current configuration ............................................................................................ 31 2.2.1 AT&V responses .............................................................................................................. 32 2.3 AT&W Stores current configuration to user defined profile ......................................................... 34 2.4 ATQ Set result code presentation mode ..................................................................................... 35 2.5 ATV Set result code format mode ............................................................................................... 36 2.5.1 Verbose and numeric result codes................................................................................... 36 2.6 ATX Set CONNECT result code format and call monitoring ....................................................... 37 2.7 AT\V Set CONNECT result code format ..................................................................................... 38 2.8 ATZ Set all current parameters to user defined profile................................................................ 39 2.9 AT+CFUN Set phone functionality .............................................................................................. 40 2.9.1 Wake up the ME from SLEEP mode ................................................................................ 42 2.10 AT^SMSO Switch off mobile station............................................................................................ 44 2.11 AT+GCAP Request complete TA capabilities list........................................................................ 45 2.12 AT+CMEE Mobile Equipment Error Message Format ................................................................ 46 2.12.1 CME/CMS Error Code Overview...................................................................................... 47 TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 3 of 501 5/24/05 TC63 AT Command Set s Contents 2.13 AT+CSCS Select TE character set ............................................................................................. 51 2.14 AT^SCFG Extended Configuration Settings ............................................................................... 52 2.15 AT^SM20 Set M20 compatibility mode ....................................................................................... 65 3. Status Control Commands ................................................................................................................... 66 3.1 AT+CMER Mobile Equipment Event Reporting .......................................................................... 66 3.2 AT+CIND Indicator control .......................................................................................................... 68 3.3 AT^SIND Extended Indicator Control .......................................................................................... 71 3.4 AT+CEER Extended Error Report............................................................................................... 78 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.4.7 3.4.8 4. Cause Location ID for the extended error report.............................................................. 79 GSM release cause for L3 Radio Resource (RR) ............................................................ 80 GSM release cause for Mobility Management (MM) ........................................................ 80 GSM release cause for L3 Call Control (CC) ................................................................... 81 GSM Release cause for Supplementary Service Call...................................................... 83 GSM cause for L3 Protocol module or other local cause ................................................ 84 SIEMENS release cause for GPRS API........................................................................... 84 SIEMENS release cause for PPP/IP-Stack...................................................................... 84 3.5 ATS18 Extended call release report............................................................................................ 85 3.6 AT+CPAS Mobile equipment activity status ................................................................................ 87 3.7 AT+WS46 Select wireless network ............................................................................................. 88 Serial Interface Control Commands..................................................................................................... 89 4.1 AT\Q Flow control........................................................................................................................ 89 4.2 AT&C Set circuit Data Carrier Detect (DCD) function mode ....................................................... 90 4.3 AT&D Set circuit Data Terminal Ready (DTR) function mode..................................................... 91 4.4 AT&S Set circuit Data Set Ready (DSR) function mode ............................................................. 92 4.5 ATE Enable command echo........................................................................................................ 93 4.6 AT+ICF Serial Interface Character Framing................................................................................ 94 4.7 AT+IFC Set Flow Control separately for data directions ............................................................. 96 4.8 AT+ILRR Set TE-TA local rate reporting ..................................................................................... 98 4.9 AT+IPR Set fixed local rate ....................................................................................................... 100 4.9.1 Autobauding ................................................................................................................... 101 4.10 AT+CMUX Enter multiplex mode .............................................................................................. 103 4.10.1 Restrictions on Multiplex mode ...................................................................................... 104 4.10.2 Second serial interface ASC1 ........................................................................................ 106 4.11 AT^STPB Transmit Parity Bit (for 7E1 and 7O1 only) ............................................................... 107 5. Security Commands ............................................................................................................................ 108 5.1 AT+CPIN PIN Authentication .................................................................................................... 108 5.1.1 What to do if PIN or password authentication fails?....................................................... 110 5.2 AT+CPIN2 PIN2 Authentication ................................................................................................ 112 5.3 AT^SPIC Display PIN counter ................................................................................................... 114 5.4 AT+CLCK Facility lock .............................................................................................................. 118 5.5 AT^SLCK Facility lock ............................................................................................................... 123 TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 4 of 501 5/24/05 TC63 AT Command Set Contents s 5.6 AT+CPWD Change Password .................................................................................................. 124 5.7 AT^SPWD Change Password ................................................................................................... 128 5.8 AT^SCSL Customer SIM Lock .................................................................................................. 130 6. Identification Commands.................................................................................................................... 134 6.1 ATI Display product identification information ........................................................................... 134 6.2 AT+CGMI Request manufacturer identification......................................................................... 135 6.3 AT+GMI Request manufacturer identification ........................................................................... 135 6.4 AT+CGMM Request model identification .................................................................................. 136 6.5 AT+GMM Request model identification..................................................................................... 136 6.6 AT+CGMR Request revision identification of software status................................................... 137 6.7 AT+GMR Request revision identification of software status ..................................................... 137 6.8 AT+CGSN Request International Mobile Equipment Identity (IMEI) ......................................... 138 6.9 AT+GSN Request International Mobile Equipment Identity (IMEI) ........................................... 138 6.10 AT+CIMI Request International Mobile Subscriber Identity (IMSI)............................................ 139 7. Call related Commands....................................................................................................................... 140 7.1 Call Status Information ................................................................................................................ 140 7.2 ATA Answer a call ..................................................................................................................... 141 7.3 ATD Mobile originated call to specified number ........................................................................ 142 7.4 ATD>Mobile originated call using specific memory and index number ................. 144 7.5 ATD> Mobile originated call from active memory using index number ............................... 146 7.6 ATD> Mobile originated call from active memory using corresponding field .................... 147 7.7 ATDI Mobile originated call to ISDN number............................................................................. 148 7.8 ATDL Redial last number used ................................................................................................. 149 7.9 ATH Disconnect existing connection......................................................................................... 150 7.10 AT+CHUP Hang up call ............................................................................................................ 151 7.11 AT^SHUP Hang up call(s) indicating a specific GSM04.08 release cause ............................... 152 7.12 ATS0 Set number of rings before automatically answering a call ............................................. 154 7.13 ATS6 Set pause before blind dialing ......................................................................................... 155 7.14 ATS7 Set number of seconds to wait for connection completion .............................................. 156 7.15 ATS8 Set number of seconds to wait for comma dialing modifier............................................. 157 7.16 ATS10 Set disconnect delay after indicating the absence of data carrier ................................. 158 7.17 ATO Switch from command mode to data mode / PPP online mode........................................ 159 7.18 +++ Switch from data mode to command mode ....................................................................... 160 7.19 AT+CBST Select bearer service type ....................................................................................... 161 7.20 AT+CRLP Select radio link protocol parameters for originated non-transparent data calls ...... 163 7.21 AT+CLCC List current calls of ME ............................................................................................ 164 7.22 AT^SLCC Siemens defined command to list current calls of ME.............................................. 166 7.23 AT+CR Service reporting control .............................................................................................. 172 7.24 AT+CRC Set Cellular Result Codes for incoming call indication .............................................. 173 7.25 AT+CSNS Single Numbering Scheme ...................................................................................... 174 TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 5 of 501 5/24/05 TC63 AT Command Set s Contents 7.26 AT^SCNI List Call Number Information ..................................................................................... 175 7.27 AT^SLCD Display Last Call Duration ........................................................................................ 176 7.28 AT^STCD Display Total Call Duration....................................................................................... 177 7.29 ATP Select pulse dialing ........................................................................................................... 178 7.30 ATT Select tone dialing ............................................................................................................. 178 8. Network Service Commands .............................................................................................................. 179 8.1 AT+COPN Read operator names ............................................................................................. 179 8.2 AT+COPS Operator Selection .................................................................................................. 180 8.3 AT^SOPS Extended Operator Selection ................................................................................... 182 8.4 AT+CREG Network registration ................................................................................................ 184 8.5 AT+CSQ Signal quality ............................................................................................................. 187 8.6 AT^SMONC Cell Monitoring...................................................................................................... 188 8.7 AT^SMOND Cell Monitoring...................................................................................................... 190 8.8 AT^MONI Monitor idle mode and dedicated mode ................................................................... 193 8.8.1 8.8.2 8.9 AT^MONI responses ...................................................................................................... 194 Service states................................................................................................................. 195 AT^MONP Monitor neighbour cells ........................................................................................... 196 8.9.1 AT^MONP responses..................................................................................................... 197 8.10 AT^SMONG GPRS Monitor ...................................................................................................... 198 8.10.1 AT^SMONG Cell Info Table ........................................................................................... 199 8.11 AT^SALS Alternate Line Service............................................................................................... 200 8.12 AT^SHOM Display Homezone .................................................................................................. 202 8.13 AT^SPLM Read the PLMN list .................................................................................................. 203 8.14 AT+CPOL Preferred Operator List ............................................................................................ 204 8.15 AT^SPLR Read entry from the preferred operators list............................................................. 205 8.16 AT^SPLW Write an entry to the preferred operators list ........................................................... 206 9. Supplementary Service Commands .................................................................................................. 207 9.1 AT+CACM Accumulated call meter (ACM) reset or query ........................................................ 207 9.2 AT^SACM Advice of charge and query of ACM and ACMmax ................................................. 208 9.3 AT+CAMM Accumulated call meter maximum (ACMmax) set or query.................................... 210 9.4 AT+CAOC Advice of Charge information .................................................................................. 211 9.5 AT+CCUG Closed User Group ................................................................................................. 212 9.6 AT+CCFC Call forwarding number and conditions control ....................................................... 214 9.7 AT+CCWA Call Waiting ............................................................................................................ 218 9.8 AT+CHLD Call Hold and Multiparty........................................................................................... 222 9.9 AT+CLIP Calling line identification presentation ....................................................................... 224 9.10 AT+CLIR Calling line identification restriction ........................................................................... 226 9.11 AT+COLP Connected Line Identification Presentation ............................................................. 227 9.12 AT+CPUC Price per unit and currency table............................................................................. 229 9.13 AT+CSSN Supplementary service notifications ........................................................................ 231 TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 6 of 501 5/24/05 TC63 AT Command Set s Contents 9.14 AT+CUSD Supplementary service notifications ........................................................................ 233 10. Internet Service Commands ............................................................................................................... 235 10.1 AT^SICS Internet Connection Setup Profile.............................................................................. 237 10.1.1 Example: Default values of a CSD connection profile.................................................... 240 10.1.2 Example: GPRS connection profile ................................................................................ 240 10.2 AT^SISS Internet Service Setup Profile .................................................................................... 242 10.2.1 10.2.2 10.2.3 10.2.4 10.2.5 Example: Configuring Socket Listener ........................................................................... 250 Example: Configuring Socket Client for Calling a Socket Listener on Another Host...... 250 Example: Configuring and Using FTP Download ........................................................... 251 Example: Configuring and Using FTP Upload................................................................ 251 Example: Sending Email over GPRS ............................................................................. 252 10.3 AT^SISO Internet Service Open ............................................................................................... 254 10.3.1 Example: Accepting / Rejecting Socket Connection Request from Remote Client ........ 257 10.4 AT^SISC Internet Service Close ............................................................................................... 259 10.4.1 Effect of parameter .................................................................................. 260 10.5 AT^SISR Internet Service Read Data ....................................................................................... 261 10.6 AT^SISW Internet Service Write Data....................................................................................... 263 10.7 Information Elements Related to Internet Service URCs ............................................................ 265 10.7.1 10.7.2 10.7.3 10.7.4 10.7.5 11. URC Information Elements Related to the Service Application...................................... 265 URC Information Elements Related to FTP Service ...................................................... 266 URC Information Elements Related to HTTP Service.................................................... 266 URC Information Elements Related to POP3 Service.................................................... 267 URC Information Elements Related to SMTP Service ................................................... 267 GPRS Commands ................................................................................................................................ 268 11.1 AT+CGACT PDP context activate or deactivate ....................................................................... 268 11.2 AT+CGANS Manual response to a network request for PDP context activation ...................... 270 11.3 AT+CGATT GPRS attach or detach ......................................................................................... 272 11.4 AT+CGAUTO Automatic response to a network request for PDP context activation ............... 273 11.5 AT+CGDATA Enter data state .................................................................................................. 275 11.5.1 Automatic deactivation of PDP context during dial-up PPP ........................................... 276 11.6 AT+CGDCONT Define PDP Context ........................................................................................ 277 11.7 AT+CGEQMIN 3G Quality of Service Profile (Minimum acceptable) ........................................ 279 11.8 AT+CGEQREQ 3G Quality of Service Profile (Requested) ...................................................... 283 11.9 AT+CGPADDR Show PDP address ......................................................................................... 287 11.10 AT+CGQMIN Quality of Service Profile (Minimum acceptable) ................................................ 288 11.11 AT+CGQREQ Quality of Service Profile (Requested) .............................................................. 292 11.12 AT+CGREG GPRS network registration status ........................................................................ 296 11.13 AT+CGSMS Select service for MO SMS messages ................................................................. 298 11.14 AT^SGACT Query all PDP context activations ......................................................................... 299 11.15 AT^SGAUTH Set type of authentication for PPP connection.................................................... 301 11.16 AT^SGCONF Configuration of GPRS related Parameters ...................................................... 302 TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 7 of 501 5/24/05 TC63 AT Command Set s Contents 11.17 ATA Manual response to a network request for PDP context activation................................... 303 11.18 ATD*99# Request GPRS service.............................................................................................. 304 11.19 ATD*98# Request GPRS IP service ......................................................................................... 305 11.20 ATH Manual rejection of a network request for PDP context activation.................................... 306 11.21 ATS0 Automatic response to a network request for PDP context activation............................. 307 11.22 Using GPRS AT commands (Examples)..................................................................................... 308 11.23 Using the GPRS dial command ATD .......................................................................................... 310 12. FAX Commands ................................................................................................................................... 311 12.1 FAX parameters .......................................................................................................................... 311 12.2 AT+FCLASS Fax: Select, read or test service class ................................................................. 312 12.3 AT+FRH Receive Data Using HDLC Framing .......................................................................... 313 12.4 AT+FRM Receive Data ............................................................................................................. 314 12.5 AT+FRS Receive Silence.......................................................................................................... 315 12.6 AT+FTH Transmit Data Using HDLC Framing .......................................................................... 316 12.7 AT+FTM Transmit Data............................................................................................................. 317 12.8 AT+FTS Stop Transmission and Wait ....................................................................................... 318 13. Short Message Service (SMS) Commands........................................................................................ 319 13.1 SMS parameters ......................................................................................................................... 319 13.2 AT+CMGC Send an SMS command......................................................................................... 324 13.3 AT+CMGD Delete SMS message ............................................................................................. 325 13.4 AT+CMGF Select SMS message format .................................................................................. 326 13.5 AT+CMGL List SMS messages from preferred store................................................................ 327 13.6 AT+CMGR Read SMS messages ............................................................................................. 329 13.7 AT+CMGS Send SMS message ............................................................................................... 331 13.8 AT+CMGW Write SMS messages to memory .......................................................................... 333 13.9 AT+CMSS Send SMS messages from storage ........................................................................ 335 13.10 AT+CNMA New SMS message acknowledge to ME/TE, only phase 2+ .................................. 336 13.11 AT+CNMI New SMS message indications ................................................................................ 337 13.12 AT+CPMS Preferred SMS message storage ............................................................................ 340 13.13 AT+CSCA SMS service centre address.................................................................................... 342 13.14 AT+CSCB Select Cell Broadcast Message Indication .............................................................. 343 13.15 AT+CSDH Show SMS text mode parameters........................................................................... 344 13.16 AT+CSMP Set SMS text mode parameters .............................................................................. 345 13.17 AT+CSMS Select Message Service.......................................................................................... 347 13.18 AT^SCML List Concatenated SMS messages from preferred store ......................................... 349 13.19 AT^SCMR Read concatenated SMS messages ....................................................................... 351 13.20 AT^SCMS Send concatenated SMS messages ....................................................................... 353 13.21 AT^SCMW Write concatenated SMS messages to memory .................................................... 354 13.22 AT^SLMS List SMS Memory Storage ....................................................................................... 355 13.23 AT^SMGL List SMS messages from preferred store without setting status to REC READ ...... 356 TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 8 of 501 5/24/05 TC63 AT Command Set s Contents 13.24 AT^SMGO Set or query SMS overflow presentation mode or query SMS overflow ................. 357 13.25 AT^SMGR Read SMS message without setting status to REC READ ..................................... 359 13.26 AT^SSCONF SMS Command Configuration ........................................................................... 360 13.27 AT^SSDA Set SMS Display Availability .................................................................................... 361 13.28 AT^SSMSS Set Short Message Storage Sequence ................................................................. 362 14. SIM related Commands ....................................................................................................................... 363 14.1 AT+CRSM Restricted SIM Access ............................................................................................ 363 14.2 AT^SXSM Extended SIM Access.............................................................................................. 366 14.3 AT^SCKS Query SIM and Chip Card Holder Status ................................................................. 368 14.4 AT^SSET Indicate SIM data ready............................................................................................ 370 14.5 AT^SCID Display SIM card identification number ..................................................................... 371 14.6 AT+CXXCID Display card ID..................................................................................................... 372 15. Remote SIM Access (RSA) Commands ............................................................................................. 373 15.1 AT^SRSA Remote SIM Access Activation ................................................................................ 376 15.2 AT^SRSM Remote SIM Access Message ................................................................................ 380 15.2.1 SAP Request Message Parameter ................................................................................ 382 15.2.2 SAP Response Message Parameter.............................................................................. 383 15.3 Related AT Commands ............................................................................................................... 384 15.3.1 Establishing an RSA connection in a PC environment................................................... 384 15.3.2 Car cradle scenario (XSAP) ........................................................................................... 384 15.3.3 Bluetooth scenario (SAP) ............................................................................................... 385 16. SIM Application Toolkit (SAT) Commands........................................................................................ 386 16.1 AT^SSTA SAT Interface Activation ........................................................................................... 386 16.2 ^SSTN SAT Notification ............................................................................................................ 388 16.3 AT^SSTGI SAT Get Information ............................................................................................... 389 16.4 AT^SSTR SAT Response ......................................................................................................... 390 17. Phonebook Commands....................................................................................................................... 391 17.1 Sort Order for Phonebooks ......................................................................................................... 391 17.2 AT+CNUM Read own numbers................................................................................................. 392 17.3 AT+CPBR Read from Phonebook............................................................................................. 393 17.4 AT+CPBS Select phonebook memory storage ......................................................................... 396 17.5 AT+CPBW Write into Phonebook ............................................................................................. 398 17.6 AT^SDLD Delete the 'last number redial' memory .................................................................... 401 17.7 AT^SPBC Find first matching entry in sorted phonebook ......................................................... 402 17.8 AT^SPBD Purge phonebook memory storage .......................................................................... 403 17.9 AT^SPBG Display phonebook entries in alphabetical order ..................................................... 404 17.10 AT^SPBS Step through the selected phonebook alphabetically ............................................... 407 18. Audio Commands ................................................................................................................................ 411 18.1 Audio programming model .......................................................................................................... 411 18.2 ATL Set monitor speaker loudness ........................................................................................... 412 TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 9 of 501 5/24/05 TC63 AT Command Set s Contents 18.3 ATM Set monitor speaker mode................................................................................................ 412 18.4 AT+CLVL Loudspeaker volume level........................................................................................ 413 18.5 AT+CMUT Mute control ............................................................................................................ 414 18.6 AT+VTD Tone duration ............................................................................................................. 415 18.7 AT+VTS DTMF and tone generation......................................................................................... 416 18.8 AT^SAIC Audio Interface Configuration .................................................................................... 417 18.9 AT^SNFA Set or query of microphone attenuation .................................................................. 419 18.10 AT^SNFD Set audio parameters to manufacturer default values ............................................. 421 18.11 AT^SNFI Set microphone path parameters .............................................................................. 422 18.12 AT^SNFM Set microphone audio path and power supply......................................................... 423 18.13 AT^SNFO Set audio output (= loudspeaker path) parameter ................................................... 425 18.14 AT^SNFPT Set progress tones ................................................................................................. 427 18.15 AT^SNFS Select audio hardware set ........................................................................................ 428 18.16 AT^SNFTTY Signal TTY/CTM audio mode capability............................................................... 431 18.17 AT^SNFV Set loudspeaker volume ........................................................................................... 432 18.18 AT^SNFW Write audio setting in non-volatile store .................................................................. 433 18.19 AT^SRTC Ring tone configuration ............................................................................................ 434 19. Hardware related Commands ............................................................................................................. 436 19.1 AT+CCLK Real Time Clock....................................................................................................... 436 19.2 AT+CALA Set alarm time ......................................................................................................... 437 19.3 AT^SBC Battery Charge Control ............................................................................................... 440 19.3.1 Responses returned by read command ......................................................................... 442 19.4 AT^SBV Battery/Supply Voltage ............................................................................................... 443 19.5 AT^SCTM Set critical operating temperature presentation mode or query temperature........... 444 19.6 AT^SSYNC Configure SYNC Pin .............................................................................................. 447 19.6.1 ME status indicated by status LED patterns................................................................... 448 19.7 AT^SSPI Serial Protocol Interface ............................................................................................ 450 19.7.1 Specifying Delay Time for I²C......................................................................................... 451 19.7.2 Transmitting Data over AT Interface .............................................................................. 453 19.7.2.1Structure of Messages on the I²C Bus............................................................................ 454 19.7.3 Error Handling on the I²C Bus ........................................................................................ 455 19.7.4 Example: Using I²C Bus ................................................................................................. 456 20. Miscellaneous Commands.................................................................................................................. 457 20.1 A/ Repeat previous command line ............................................................................................ 457 20.2 ATS3 Set command line termination character......................................................................... 458 20.3 ATS4 Set response formatting character .................................................................................. 459 20.4 ATS5 Write command line editing character ............................................................................. 460 20.5 AT^SFDL Enter Firmware Download Mode .............................................................................. 461 21. Appendix .............................................................................................................................................. 462 21.1 Restricted access to SIM data after SIM PIN authentication....................................................... 462 TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 10 of 501 5/24/05 TC63 AT Command Set s Contents 21.2 Star-Hash (*#) Network Commands............................................................................................ 463 21.3 Available AT Commands and Dependency on SIM PIN ............................................................. 466 21.4 Availability of AT Commands Depending on Operating Mode of ME.......................................... 473 21.5 AT Command Settings storable with AT&W................................................................................ 480 21.6 Factory Default Settings Restorable with AT&F .......................................................................... 483 21.7 Summary of Unsolicited Result Codes (URC)............................................................................. 486 21.8 AT Command Usability for USB .................................................................................................. 489 21.9 Alphabetical List of AT Commands ............................................................................................. 496 TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 11 of 501 5/24/05 TC63 AT Command Set s List of Tables List of Tables Table 1.1: Table 1.2: Table 1.3: Table 1.4: Table 1.5: Table 2.1: Table 2.2: Table 2.3: Table 2.4: Table 2.5: Table 2.6: Table 2.7: Table 2.8: Table 4.1: Table 4.2: Table 10.1: Table 19.1: Table 19.2: Table 19.3: Table 19.4: Table 21.1: Table 21.2: Table 21.3: Table 21.4: Table 21.5: Table 21.6: Table 21.7: Table 21.8: Table 21.9: Table 21.10: Table 21.11: Table 21.12: Symbols used to mark the type of parameters ........................................................................... 17 Symbols used to indicate the correlations with other commands ............................................... 17 Symbols used to mark different types of default values of parameters ..................................... 17 Types of AT commands and responses .................................................................................... 18 Examples for character definitions depending on alphabet ........................................................ 21 Current configuration on ASC0 / MUX channel 1 (example) ...................................................... 32 Current configuration on ASC1 and MUX channels 2 and 3 (example) .................................... 33 Wake-up events in NON-CYCLIC and CYCLIC SLEEP modes ................................................. 42 General "CME ERROR" Codes (GSM 07.07) .......................................................................... 47 General "CME ERROR" Codes (SIEMENS) ............................................................................ 48 GPRS related "CME ERROR" Codes (GSM 07.07) ................................................................. 48 GPRS related "CME ERROR" Codes (SIEMENS) ................................................................... 48 SMS related "CMS ERROR" Codes (GSM 07.05) ................................................................... 49 Availability of AT Commands on Virtual Channels .................................................................. 104 Summary of AT commands with Different Behavior in Multiplex Mode ................................... 105 Applicability of AT^SICS values ................................................................... 237 Modes of the LED and indicated ME functions......................................................................... 448 Values for calculating the delay ................................................................................................ 451 Special characters for ASCII coding ......................................................................................... 453 Structure of Transfer and Response Messages on the I²C bus................................................ 454 Star-Hash (*#) Command Overview ........................................................................................ 463 Abbreviations of Codes and Parameters used in Table 21.1 .................................................. 464 Star-Hash Command Response Parameters .......................................................................... 465 Star-Hash Commands for Supplementary Services ................................................................ 465 Available AT Commands and Dependency on SIM PIN........................................................... 466 Availability of AT Commands Depending on Operating Mode of ME ....................................... 473 Settings Stored to User Profile on ASC0 / MUX Channel 1...................................................... 480 Settings Stored to User Profile on ASC1 / MUX Channels 2 and 3.......................................... 481 Factory Default Settings Restorable with AT&F ....................................................................... 483 Summary of Unsolicited Result Codes (URC) .......................................................................... 486 AT Command Usablility for USB............................................................................................... 489 Alphabetical List of AT Commands........................................................................................... 496 TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 12 of 501 5/24/05 TC63 AT Command Set s List of Figures List of Figures Figure 1.1: Figure 1.2: Figure 15.1: Figure 15.2: Figure 15.3: Figure 18.1: Figure 19.1: Figure 19.2: Figure 19.3: Main character table of GSM 03.38 alphabet ............................................................................. 22 Extension character table of GSM 03.38 alphabet ..................................................................... 23 Basic Remote SIM Access Usage Scenario............................................................................. 373 SIM usage states of SAP server............................................................................................... 374 SIM usage states of SAP client ................................................................................................ 375 Audio programming model........................................................................................................ 411 Formula for calculating the delay.............................................................................................. 451 Delay time on I²C after Write .................................................................................................... 452 Delay time on I²C after Read .................................................................................................... 452 TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 13 of 501 5/24/05 TC63 AT Command Set s 1. Introduction 1. Introduction 1.1 Scope of the document This document presents the AT Command Set for the Siemens Cellular Engine TC63 Version 00.490. Before using the Cellular Engine or upgrading to a new firmware version please read the latest product information provided in the Release Notes [1]. More information is available at the Siemens Website: http://www.siemens.com/wm. TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 14 of 501 5/24/05 TC63 AT Command Set s 1.2 Related documents 1.2 Related documents [1] TC63 Release Notes, Version 00.490 [2] TC63 Hardware Interface Description, Version 00.490 [3] GPRS Startup User's Guide [4] Remote-SAT User's Guide [5] Multiplexer User's Guide [6] Multiplex Driver Developer's Guide for Windows 2000 and Windows XP [7] Multiplex Driver Installation Guide for Windows 2000 and Windows XP [8] Application Note 02: Audio Interface Design [9] Application Note 16: Updating TC63 Firmware [10] Application Note 24: Application Developer's Guide [11] Application Note 22: Using TTY / CTM equipment with TC63 [12] SIM Access Profile Interoperability Specification (Revision 0.95c), issued by the Bluetooth Special Interest Group [13] TC63 Remote SIM Access User's Guide [14] ISO/IEC10646: "Universal Multiple-Octet Coded Character Set (UCS)"; UCS2, 16 bit coding [15] ITU-T Recommendation V.24: List of definitions for interchange circuits between data terminal equipment (DTE) and data circuit-terminating equipment (DCE) [16] ITU-T Recommendation V.250: Serial asynchronous automatic dialling and control [17] 3GPP TS 100 918/EN 300 918 (GSM 02.04): General on supplementary services [18] 3GPP TS 100 907 (GSM 02.30): Man-Machine Interface (MMI) of the Mobile Station (MS) [19] 3GPP TS 23.038 (GSM 03.38): Alphabets and language specific information [20] 3GPP TS 27.005 (GSM 07.05): Use of Data Terminal Equipment - Data Circuit terminating Equipment (DTE - DCE) interface for Short Message Service (SMS) and Cell Broadcast Service (CBS) [21] 3GPP TS 27.007 (GSM 07.07): AT command set for User Equipment (UE) [22] 3GPP TS 27.060 (GSM 07.60): Mobile Station (MS) supporting Packet Switched Services [23] 3GPP TS 51.011 (GSM 11.11): Specification of the Subscriber Identity Module - Mobile Equipment (SIM - ME) interface [24] 3GPP TS 11.14 (GSM 11.14): Specification of the SIM Application Toolkit for the Subscriber Identity Module - Mobile Equipment (SIM - ME) interface [25] 3GPP TS 22.101 (GSM 22.101): Service principles [26] Common PCN Handset Specification (CPHS) v4.2 TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 15 of 501 5/24/05 TC63 AT Command Set s 1.3 Document conventions 1.3 Document 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 modem, FAX board). To control your GSM engine you can simply send AT Commands via its serial interface. The controlling 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). All abbreviations and acronyms used throughout this document are based on the GSM specifications. For definitions please refer to TR 100 350 V7.0.0 (1999-08), (GSM 01.04, version 7.0.0 release 1998). 1.3.1 Quick reference table Each AT command description includes a table similar to the example shown below. The table is intended as a quick reference to indicate the following functions: PIN: Is the AT command PIN protected? % Yes ! No § Usage is dependent on conditions specified for the command, or not all command types are PIN protected (for example write command PIN protected, read command not). Note: The table provided in Section 21.3, Available AT Commands and Dependency on SIM PIN uses the same symbols. ASC0: Is the AT command supported on the first physical serial interface ASC0? % Yes ! No ASC1: Is the AT command supported on the second physical serial interface ASC1? % Yes ! No USB: Is the AT command supported on the USB interface? % Yes ! No MUXn: Is the AT command usable on the Multiplexer channels MUX1, MUX2, MUX3? % Yes ! No § AT command is usable, but under the restrictions specified in the section related to the command. Note: The columns MUX1, MUX2 and MUX3 are relevant only when the GSM engine operates in Multiplexer mode, that is, when the first physical serial interface is partitioned into 3 virtual channels by using the Multiplexer protocol. Usage is the same on ASC0 and MUX1. Is the AT command supported in AIRPLANE mode? 4 % Yes ! No § In AIRPLANE mode, not all described functions are available. For example, the test or read command is usable, the write or execute command is not. Furthermore, only some of the listed parameters can be changed in AIRPLANE mode. A typical example is AT^SCFG that controls different features. Charge: Is the AT command supported in CHARGE ONLY mode? % Yes ! No § AT command is usable, but under the restrictions specified in the section related to the command. Last: If commands are concatenated, this AT command must be the last one. % Yes ! No Note: See also Section 1.4, AT Command Syntax for details on concatenated AT commands. Example: PIN ! ASC0 ASC1 USB % % % MUX1 MUX2 MUX3 Charge § TC63_ATC_V00.490 Confidential / Draft - Do not copy § § % 4 Last ! ! Page 16 of 501 5/24/05 TC63 AT Command Set s 1.3 Document conventions 1.3.2 Superscript notation for parameters and values Table 1.1: Symbols used to mark the type of parameters Parameter type Meaning (num) Parameter value must be numeric type (str) Parameter value must be string type Table 1.2: Symbols used to indicate the correlations with other commands Parameter option Meaning (&W) Parameter value will be stored with AT&W (&V) Parameter value will be displayed with AT&V (ˆSNFW) Parameter value will be stored with AT^SNFW (+CSCS) Parameter value has to be (is) coded according to current setting of (see AT+CSCS for details) Table 1.3: Symbols used to mark different types of default values of parameters Value option Meaning [x] Default value: if the parameter is omitted, the value 'x' will be assumed x (&F) Factory default value, will be restored to 'x' with AT&F x (P) Powerup default value of a parameter which is not stored at power down x (D) Delivery default value of a parameter which cannot be restored automatically TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 17 of 501 5/24/05 TC63 AT Command Set s 1.4 AT Command Syntax 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 . Commands are usually followed by a response that includes " ". Throughout this document, only the responses are presented, are omitted intentionally. Table 1.4: AT command type Syntax Function 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 parameter or parameters. Write command AT+CXXX=<...> This command sets user-definable parameter values. Exec(ution) command AT+CXXX The execution command reads non-variable parameters determined by internal processes in the GSM engine. 1.4.1 • • • • • • • Types of AT commands and responses Using Parameters Optional parameters are enclosed in square brackets. If optional parameters are omitted, the current settings are used until you change them. Optional parameters or subparameters can be omitted unless they are followed by other parameters. If you want to omit a parameter in the middle of a string it must be replaced by a comma. See also example 1. A parameter value enclosed in square brackets represents the value that will be used if an optional parameter is omitted. See also example 2. When the parameter is a character string, e.g. or , the string must be enclosed in quotation marks, e.g. "Charlie Brown" or "+49030xxxx". Symbols in 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. If an optional parameter of a V.250 command is omitted, its value is assumed to be 0. Example 1: Omitting parameters in the middle of a string AT+CCUG? +CCUG: 1,10,1 OK AT+CCUG=,9 OK AT+CCUG? +CCUG: 1,9,1 OK Query current setting Set only the middle parameter Query new setting Example 2: Using default parameter values for optional parameters AT+CFUN=7,0 OK AT+CFUN? +CFUN: 7 OK AT+CFUN= OK +CFUN: 1 OK TC63_ATC_V00.490 Confidential / Draft - Do not copy Activate CYCLIC SLEEP mode, don't reset ME Query ME mode Set ME back to normal (default parameters: 1,0) Page 18 of 501 5/24/05 TC63 AT Command Set s 1.4 AT Command Syntax 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 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. AT command type Comment V.250 commands with FAX commands (Prefix AT+F) GSM 7.07 commands with Siemens commands, Prefix AT^S) GSM 7.05 commands (SMS) To be used standalone Commands starting with AT& To be used standalone AT+IPR To be used standalone 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 and the associated responses is your concern, avoid concatenating commands on the same line. TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 19 of 501 5/24/05 TC63 AT Command Set s 1.5 Supported character sets 1.5 Supported character sets The ME supports two character sets: GSM 03.38 (7 bit, also referred to as GSM alphabet or SMS alphabet) and UCS2 (16 bit, refer to ISO/IEC 10646). See AT+CSCS for information about selecting the character set. Character tables can be found below. Explanation of terms • International Reference Alphabet (IRA) IRA means that one byte is displayed as two characters in hexadecimal format. For example, the byte 0x36 (decimal 54) is displayed as "36" (two characters). IRA is used here for input 8-bit or 16-bit data via terminal devices using text mode. This means only characters 'A'..F','a'..'f' and '0'..'9' are valid. • Escape sequences The escape sequence used within a text coded in the GSM default alphabet (0x1B) must be correctly interpreted by the TE, both for character input and output. To the module, an escape sequence appears like any other byte received or sent. • Terminal Adapter (TA) TA is used equivalent to Mobile Equipment (ME) which stands for the GSM module described here. It uses GSM default alphabet as its character set. • Terminal Equipment (TE) TE is the device connected to the TA via serial interface. In most cases TE is an ANSI/ASCII terminal that does not fully support the GSM default alphabet, for example MS Hyperterminal. • TE Character Set The character set currently used by Terminal Equipment is selected with AT+CSCS. • Data Coding Scheme (dcs) DCS is part of a short message and is saved on the SIM. When writing a short message to the SIM in text mode, the dcs stored with AT+CSMP is used and determines the coded character set. The behavior when encountering characters, that are not valid characters of the supported alphabets, is undefined. 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 (between TE and TA) are in the range from 0 to 127 (7 Bit range). CAUTION: ASCII alphabet (TE) is not GSM alphabet (TA/ME) ! Several problems resulting from the use of GSM alphabet with ASCII terminal equipment: • "@" character with GSM alphabet value 0 is not printable by an ASCII terminal program (e.g. Microsoft© Hyperterminal®). • "@" character with GSM alphabet value 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 the table below. By the way, this may be the reason why even network providers often replace "@"with "@=*" in their SIM application. • Other characters of the GSM alphabet are misinterpreted by an ASCII terminal program. For example, GSM "ö" (as in "Börse") is assumed to be "|" in ASCII, thus resulting in "B|rse". This is because both alphabets mean different characters with values hex. 7C or 00 and so on. • 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 escape 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. TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 20 of 501 5/24/05 TC63 AT Command Set s 1.5 Supported character sets Table 1.5: Examples for character definitions depending on alphabet 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. TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 21 of 501 5/24/05 TC63 AT Command Set s 1.5 Supported character sets 1.5.1 GSM alphabet tables and UCS2 character values This section provides tables for the GSM 03.38 alphabet supported by the ME. Below any GSM character find the corresponding two byte character value of the UCS2 alphabet. Figure 1.1: Main character table of GSM 03.38 alphabet 1) This code is an escape to the following extension of the 7 bit default alphabet table. 2) This code is not a printable character and therefore not defined for the UCS2 alphabet. It shall be treated as the accompanying control character. TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 22 of 501 5/24/05 TC63 AT Command Set s 1.5 Supported character sets Figure 1.2: Extension character table of GSM 03.38 alphabet 1) This code value is reserved for the extension to another extension table. On receipt of this code, a receiving entity shall display a space until another extension table is defined. 2) This code represents the EURO currency symbol. The code value is the one used for the character 'e'. Therefore a receiving entity which is incapable of displaying the EURO currency symbol will display the character 'e' instead. 3) This code is defined as a Page Break character and may be used for example in compressed CBS messages. Any mobile which does not understand the 7 bit default alphabet table extension mechanism will treat this character as Line Feed. TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 23 of 501 5/24/05 TC63 AT Command Set s 1.5 Supported character sets In the event that an MS receives a code where a symbol is not represented in Figure 1.2, Extension character table of GSM 03.38 alphabet the MS shall display the character shown in the main default 7 bit alphabet table (see Figure 1.1, Main character table of GSM 03.38 alphabet). 1.5.2 UCS2 and GSM data coding and conversion for SMS text mode This section provides basic information on how to handle input and output character conversion for SMS text mode and Remote-SAT if internal (TA) and external (TE) character representation differ, i.e. if the Data Coding Scheme and the TE character use different coding. 1.5.2.1 Implementing output of SIM data to Terminal (direction TA to TE) Used character set DCS = 7 bit GSM DCS = 8 bit Data DCS = 16 bit UCS2 GSM Case 1 GSM (1:1) Case 2 8 bit to IRA (1:2) Case 3 UCS2 to IRA (2:4) Case 4 Case 5 GSM to IRA (1:4) 8 bit to IRA (1:4) Note: The ratio of SIM bytes to output bytes is given in parentheses. Case 6 UCS2 to IRA (2:4) UCS2 Case 1 Every GSM character is sent to TE as it is (8-bit value with highest bit set to zero). Example: 47'H, 53'H, 4D'H → 47'H, 53'H, 4D'H, displayed as "GSM" Case 2 Every data byte will is sent to TE as 2 IRA characters each representing a halfbyte. Example: B8'H (184 decimal) → 42'H, 38'H, displayed as "B8" Case 3 Every 16-bit UCS2 value is sent to TE as 4 IRA characters. Example: C4xA7'H (50343 decimal) → 43'H, 34'H, 41'H, 37'H, displayed as "C4A7" Problem: An odd number of bytes leads to an error because there are always two bytes needed for each USC2 character Case 4 Every GSM character is sent to TE as 4 IRA characters to show UCS2 in text mode. Example: 41'H ("A") → 30'H, 30'H, 34'H, 31'H, displayed as "0041" Case 5 Every data byte is sent to TE as IRA representation of UCS2 (similar to case 4). Example: B2'H → 30'H, 30'H, 42'H, 32'H, displayed as "00B2" Case 6 Every 16-bit value is sent to TE as IRA representation of it. It is assumed that number of bytes is even. Example: C3x46'H → 43'H, 33'H, 34'H, 36'H, displayed as "C346" TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 24 of 501 5/24/05 TC63 AT Command Set s 1.5 Supported character sets 1.5.2.2 Implementing input of Terminal data to SIM (direction TE to TA) Used character set DCS = 7 bit GSM DCS = 8 bit Data DCS = 16 bit UCS2 GSM Case 1 GSM (1:1) Case 2 IRA to 8 bit (2:1) Case 3 IRA to 16 bit (4:2) UCS2 Case 4 Case 5 Case 6 UCS2 to GSM (4:1) UCS2 to 8 bit (4:1) UCS2 to 16 bit (4:2) Note: The ratio between the number of input characters and bytes stored on the SIM is given in parentheses. Case 1 Every character is sent from TE to TA as GSM character (or ASCII with Hyperterminal). Character value must be in range from 0 to 127 because of 7-bit GSM alphabet. To reach maximum SMS text length of 160 characters in 140 bytes space characters will be compressed on SIM. This must be set using the parameter of AT+CSMP (add 64). Example: "ABCDEFGH" typed is sent and stored uncompressed as → 4142434445464748'H (stored compressed as 41E19058341E91'H) Case 2 Every data byte is sent to TA as 2 IRA characters. Maximum text length is 280 IRA characters which will be converted into 140 bytes SMS binary user data Example: "C8" typed is sent as 43'H, 38'H → stored as C8'H Case 3 Every 16-bit value is sent to TA as 4 IRA characters. Maximum text length is 280 IRA characters which will be converted into 70 UCS2 characters (16-bit each) Number of IRA characters must be a multiple of four because always 4 half bytes are needed for a 16-bit value Example: "D2C8" typed is sent as 44'H, 32'H, 43'H, 38'H → stored as D2C8'H Case 4 Every GSM character is sent to TA as 4 IRA characters representing one UCS2 character. Example: To store text "ABC" using UCS2 character set you have to type "004100420043". This is sent as 30'H,30'H,34'H,31'H, 30'H,30'H,34'H,32'H, 30'H,30'H,34'H,33'H → detected as IRA representation of 3 UCS2 characters, converted to GSM character set and stored as 41'H, 42'H, 43'H. Maximum input is 640 IRA characters repesenting 160 UCS2 characters when compression is active. These are converted to 160 GSM 7-bit characters. Without compression only 140 GSM characters can be stored which are put in as 560 IRA characters. Values of UCS2 characters must be smaller than 80'H (128 decimal) to be valid GSM characters. Number of IRA characters must be a multiple of four. Problems: • "41" → Error, there are four IRA characters (two bytes) needed • "0000" → Error, not an UCS2 character • "4142" → Error, value of UCS2 character > 7F'H • "008B" → Error, value of UCS2 character > 7F'H This affects the maximum input length of a string) Case 5 Every UCS2 character is sent as 4 IRA characters and is converted into two 8-bit values. This means that the first two characters have to be '00'. Example: UCS2 character 009F'H typed as "009F" is sent as 30'H,30'H,39'H,46'H → converted into 8-bit value 9F'H. Maximum number of UCS2 characters is 140 which are represented by 560 IRA characters. Number of IRA characters must be a multiple of four. Case 6 Every UCS2 character is sent as 4 IRA characters each and is converted into a 16-bit value again. Example: UCS2 character 9F3A'H typed as "9F3A" is sent as 39'H,46'H,33'H,41'H → converted into 9F3A'H. Maximum number of UCS2 characters is 70 which are represented by 280 IRA characters. Number of IRA characters must be a multiple of four. Invalid UCS2 values must be prevented. TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 25 of 501 5/24/05 TC63 AT Command Set s 1.6 Serial Interface Flow Control 1.6 Serial Interface 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 until 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 total 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. During Multiplex mode (AT+CMUX) it is recommended to use hardware flow control. 1.6.1 Software Flow Control (XON/OFF Handshake) Software flow control sends different characters to stop (XOFF, decimal 19) and resume (XON, decimal 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 Handshake) 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 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 after the GSM engine was switched off. AT\Q has no read command. To verify the current setting of AT\Q, simply check the settings of the active profile with AT&V. Often, fax programs run an intialization procedure when started up. The intialization commonly includes enabling RTS/CTS hardware handshake, eliminating the need to set AT\Q3 once again. However, before setting up a CSD call, you are advised to check that RTS/CTS handshake is set. RTS/CTS hardware handshake must also be set if you want to take advantage of the CYCLIC SLEEP modes. For further details refer to AT+CFUN. TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 26 of 501 5/24/05 TC63 AT Command Set s 1.7 Unsolicited Result Code Presentation 1.7 Unsolicited Result Code Presentation URC stands for Unsolicited Result Code and is a report message issued by the ME without being requested by the TE, i.e. a URC is issued automatically when a certain event occurs. Hence, a URC is not issued as part of the response related to an executed AT command. Typical events leading to URCs are incoming calls ("RING"), waiting calls, received short messages, changes in temperature, network registration etc. A list of all URCs can be found in Section 21.7, Summary of Unsolicited Result Codes (URC). To announce a pending URC transmission the ME will do the following: • The ME activates its RING line (logic "1") for 1 second, i.e. the RING line changes to the physical "Low" level. This allows the TE to stay in power saving mode until an ME related event requests service. If several URCs occur coincidently or in quick succession each URC triggers the RING line independently, although the line will not be deactivated between each URC. As a result, the RING line may stay low for more than 1 second. If an incoming call is answered within less than 1 second (with ATA or if autoanswering is set to ATS0=1) than the RING line will be deactivated earlier. The "^SHUTDOWN" will not activate the RING line. • If the AT command interface is busy a "BREAK" will be sent immediately but the URC will not be issued until the line is free. This may happen if the URC is pending in the following cases: - During the processing of an AT command (i.e. the time after the TE echoes back the first character "A" of an AT command just sent by itself until the ME responds with "OK" or "ERROR"). - During a data call. Please note that AT command settings may be necessary to enable in-band signaling, e.g. refer to AT+CMER or AT+CNMI. It is strongly recommended to use the multiplex mode to map logical communication channels onto the serial line of the TC63, for details refer to [5] and AT command AT+CMUX. Doing so it is possible to use one channel to still process URCs while having a data call active on another. For most of these messages, the ME needs to be configured whether or not to send a URC. Depending on the AT command, the URC presentation mode can be saved to the user defined profile (see AT&W), or needs to be activated every time you reboot the ME. Several URCs are not user definable, such as "^SYSSTART", "^SYSSTART ", "^SHUTDOWN" If autobauding is enabled (as factory default mode or set with AT+IPR=0), URCs generated after restart will be output with 57600 bps until the ME has detected the current bit rate. The URCs "^SYSSTART", "^SYSSTART ", however, are not presented at all. For details please refer to Section 4.9.1, Autobauding. To avoid problems we recommend to configure a fixed bit rate rather than using autobauding. 1.7.1 Communication between Customer Application and TC63 Leaving hardware flow control unconsidered the Customer Application (TE) is coupled with the TC63 (ME) via a receive and a transmit line. Since both lines are driven by independent devices collisions may (and will) happen, i.e. while the TE issues an AT command the TC63 starts sending an URC. This will probably lead to the TE's misinterpretation of the URC being part of the AT command's response. To avoid this conflict the following measures must be taken: • • If an AT command is finished (with "OK" or "ERROR") the TE shall always wait at least 100 milliseconds before sending the next one. This gives the TC63 the opportunity to transmit pending URCs and get necessary service. Note that some AT commands may require more delay after "OK" or "ERROR" response, refer to the following command specifications for details. The TE shall communicate with the TC63 using activated echo (ATE1), i.e. the TC63 echoes characters received from the TE. Hence, when the TE receives the echo of the first character "A" of the AT command just sent by itself it has control both over the receive and the transmit paths. TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 27 of 501 5/24/05 TC63 AT Command Set 1.8 Common PCN Handset Specification (CPHS) 1.8 s Common PCN Handset Specification (CPHS) The ME provides features to implement a device following the prerequisites of the Common PCN Handset Specification (CPHS) Phase 2. CPHS Feature Description/Remarks AT command Alternate Line Service Using two phone numbers with one SIM card. AT^SALS Voice Message Waiting Indication Indicate the receipt of a short message coded as Voice Mes- AT^SIND, sage Waiting Indicator as defined by the CPHS Phase 2 AT+CMER, indicators standard. "vmwait1" and "vmwait2" Operator (Service provider) name from SIM Read specific Elementary Files (6F14h, 6F18h) from SIM. AT+CRSM Network and Service Pro- Lock/Unlock an ME to specific HPLMN and service provider. AT+CLCK, vider Lock (AT+CPIN) Call Forwarding Get and set diverted call status. Access specific Elementary File (6F13h) from SIM. AT+CCFC, AT+CRSM Customer Service Profile (CSP) Setting services and their menu entries depending on customer profiles. AT+CRSM Information numbers Hierarchically structured service numbers phonebook on SIM according to CPHS 4.2 (mandatory). AT+CRSM TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 28 of 501 5/24/05 TC63 AT Command Set s 1.9 Errors and Messages 1.9 Errors and Messages The command result codes "+CME ERROR: " and "+CMS ERROR: " indicate errors related to mobile equipment or network functionality. The format of can be either numeric or verbose and is selectable via AT+CMEE. A result error code terminates the execution of the command and prevents the execution of all remaining commands that may follow on the same command line. If so, neither "ERROR" nor "OK" result codes are returned for these commands. A 30 seconds timeout will deliver "ERROR" when the input of a command is not complete. Using the wrong command syntax may result in errors: For example, using the execute command syntax although the command has no execute format, causes "ERROR" to be returned. Likewise, using the write command syntax although the command has no write format causes "+CME ERROR: " to be returned. See also: • Section 2.12.1, CME/CMS Error Code Overview • Section 2.5.1, Verbose and numeric result codes • Section 3.4, AT+CEER TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 29 of 501 5/24/05 TC63 AT Command Set s 2. Configuration Commands 2. Configuration Commands The AT Commands described in this chapter allow the external application to determine the TC63's behaviour under various conditions. 2.1 AT&F Set all current parameters to manufacturer defaults AT&F sets all current parameters to the manufacturer defined profile. All defined GPRS contexts which are not activated or not online will be undefined (see AT+CGDCONT). Syntax Exec Command AT&F[ ] Response(s) OK Reference(s) PIN V.250 ! ASC0 ASC1 USB % % % MUX1 MUX2 MUX3 Charge % % % ! 4 Last % ! Parameter Description (num) [0] Set all TA parameters to manufacturer defaults Notes • List of parameters reset to manufacturer default can be found in Section 21.6, Factory Default Settings Restorable with AT&F. • 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). • Every ongoing or incoming call will be terminated. TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 30 of 501 5/24/05 TC63 AT Command Set s 2.2 AT&V 2.2 AT&V Display current configuration AT&V returns the current parameter setting. The configuration varies depending on whether or not PIN authentication has been done and whether or not Multiplex mode is enabled (see AT+CMUX). Syntax Exec Command AT&V[ ] Response(s) ACTIVE PROFILE: ... (see Section 2.2.1, AT&V responses) OK Reference(s) PIN V.250 ! ASC0 ASC1 USB % § % MUX1 MUX2 MUX3 Charge % § § ! 4 Last % ! Parameter Description (num) [0] Profile number Notes • The value of \Q (flow control) is also determined by the AT+IFC command. In case the value set by AT+IFC cannot be represented by a \Q equivalent, \Q255 will be displayed. • The parameters of AT^SMGO can only be displayed after the SMS data from the SIM have been read successfully for the first time. Reading starts after successful SIM authentication has been performed, and may take up to 30 seconds depending on the SIM used. While the read process is in progress, an attempt to read the parameter will result in empty values. • The parameter of AT+CSDH will only be displayed in SMS text mode, see AT+CMGF. TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 31 of 501 5/24/05 TC63 AT Command Set s 2.2 AT&V 2.2.1 AT&V responses The following tables show four different kinds of responses depending on whether or not the PIN is entered and whether or not the Multiplex mode is enabled (see AT+CMUX). Table 2.1: Current configuration on ASC0 / MUX channel 1 (example) PIN authentication done No PIN authentication ACTIVE PROFILE: E1 Q0 V1 X4 &C1 &D2 &S0 \Q0 \V1 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 +CSDH: 0 +CNMI: 0,0,0,0,1 +ICF: 3 +IFC: 0,0 +ILRR: 0 +IPR: 57600 +CMEE: 2 ^SMGO: 0,0 +CSMS: 0,1,1,1 ^SACM: 0,"000000","000000" ^SLCC: 0 ^SCKS: 0,1 ^SSET: 0 +CREG: 0,1 +CLIP: 0,2 +CAOC: 0 +COPS: 0,0,"operator" +CGSMS: 3 OK ACTIVE PROFILE: E1 Q0 V1 X4 &C1 &D2 &S0 \Q0 \V1 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 +ICF: 3 +IFC: 0,0 +ILRR: 0 +IPR: 57600 +CMEE: 2 ^SCKS: 0,1 ^SSET: 0 OK TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 32 of 501 5/24/05 TC63 AT Command Set s 2.2 AT&V Table 2.2: Current configuration on ASC1 and MUX channels 2 and 3 (example) PIN authentication done No PIN authentication ACTIVE PROFILE: E1 Q0 V1 X4 &C1 &D0 &S0 \Q0 S0:000 S3:013 S4:010 S5:008 +CR: 0 +CRC: 0 +CMGF: 0 +CSDH: 0 +CNMI: 0,0,0,0,1 +ICF: 3 +IFC: 0,0 +ILRR: 0 +IPR: 57600 +CMEE: 2 ^SMGO: 0,0 +CSMS: 0,1,1,1 ^SACM: 0,"000000","000000" ^SLCC: 0 ^SCKS: 0,1 ^SSET: 0 +CREG: 0,1 +CLIP: 0,2 +CAOC: 0 +COPS: 0,0,"operator" +CGSMS: 3 OK ACTIVE PROFILE: E1 Q0 V1 X4 &C1 &D0 &S0 \Q0 S0:000 S3:013 S4:010 S5:008 +CR: 0 +ICF: 3 +IFC: 0,0 +ILRR: 0 +IPR: 57600 +CMEE: 2 ^SCKS: 0,1 ^SSET: 0 +CGSMS: 3 OK TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 33 of 501 5/24/05 TC63 AT Command Set s 2.3 AT&W 2.3 AT&W Stores current configuration to user defined profile AT&W stores the currently set parameters to a user defined profile in the non-volatile memory. Syntax Exec Command AT&W[ ] Response(s) OK ERROR/+CME ERROR Reference(s) PIN V.250 ! ASC0 ASC1 USB % % % MUX1 MUX2 MUX3 Charge % % % ! 4 Last % ! Parameter Description (num) [0] Number of profile Notes • The user defined profile will be restored automatically after power-up. 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. • AT&W stores all global settings and the current local settings of the interface, on which the command is executed. • A list of parameters stored to the user profile can be found in Section 21.5, AT Command Settings storable with AT&W. TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 34 of 501 5/24/05 TC63 AT Command Set s 2.4 ATQ 2.4 ATQ Set result code presentation mode This parameter setting determines whether or not the TA transmits any result code to the TE. Information text transmitted in response is not affected by this setting. Syntax Exec Command ATQ[ ] Response(s) If =0: OK If =1: (none) Reference(s) V.250 PIN ! ASC0 ASC1 USB % % % MUX1 MUX2 MUX3 Charge % % % ! 4 Last % ! Parameter Description (num)(&W)(&V) [0](&F) DCE transmits result code 1 Result codes are suppressed and not transmitted TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 35 of 501 5/24/05 TC63 AT Command Set s 2.5 ATV 2.5 ATV Set result code format mode This command determines the contents of header and trailer transmitted with AT command result codes and information responses. Possible responses are described in Section 2.5.1, Verbose and numeric result codes. Syntax Exec Command ATV[ ] Response(s) OK ERROR Reference(s) PIN V.250 ! ASC0 ASC1 USB % % MUX1 MUX2 MUX3 Charge % % % % ! 4 Last % ! Parameter Description (num)(&W)(&V) [0] Information response: Short result code format: 1(&F) Information response: Long result code format: 2.5.1 Verbose and numeric result codes Verbose format Numeric format Meaning OK 0 Command executed, no errors CONNECT 1 Link established RING 2 Ring detected NO CARRIER 3 Link not established or disconnected ERROR 4 Invalid command or command line too long NO DIALTONE 6 No dial tone, dialling impossible, wrong mode BUSY 7 Remote station busy CONNECT 2400/RLP 47 Link with 2400 bps and Radio Link Protocol CONNECT 4800/RLP 48 Link with 4800 bps and Radio Link Protocol CONNECT 9600/RLP 49 Link with 9600 bps and Radio Link Protocol CONNECT 14400/RLP 50 Link with 14400 bps and Radio Link Protocol ALERTING Alerting at called phone DIALING Mobile phone is dialing TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 36 of 501 5/24/05 TC63 AT Command Set s 2.6 ATX 2.6 ATX Set CONNECT result code format and call monitoring ATX determines whether or not the TA detects the presence of dial tone and busy signal and whether or not TA transmits particular result codes. Syntax Exec Command ATX[ ] Response(s) OK ERROR Reference(s) V.250 PIN ! ASC0 ASC1 USB % % % MUX1 MUX2 MUX3 Charge % % % ! 4 Last % ! Parameter Description (num)(&W)(&V) [0] CONNECT result code only returned, dial tone and busy detection are both disabled. 1 CONNECT result code only returned, dial tone and busy detection are both disabled. 2 CONNECT result code returned, dial tone detection is enabled, busy detection is disabled. 3 CONNECT result code returned, dial tone detection is disabled, busy detection is enabled. 4(&F) CONNECT result code returned, dial tone and busy detection are both enabled. TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 37 of 501 5/24/05 TC63 AT Command Set s 2.7 AT\V 2.7 AT\V Set CONNECT result code format Syntax Exec Command AT\V[ ] Response(s) OK ERROR Reference(s) PIN V.250 ! ASC0 ASC1 USB % ! % MUX1 MUX2 MUX3 Charge % ! ! ! 4 Last % ! Parameter Description (num)(&W)(&V) [0] CONNECT result code returned without RLP trailer (&F) 1 CONNECT result code returned with RLP trailer Notes • For circuit switched data calls only. • Output only if ATX parameter is set with value > 0. TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 38 of 501 5/24/05 TC63 AT Command Set s 2.8 ATZ 2.8 ATZ Set all current parameters to user defined profile ATZ sets all current parameters to the user profile stored with AT&W. 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 AT+CGDCONT, AT+CGQREQ and AT+CGQMIN command). The user defined profile is stored to the non-volatile memory. Syntax Exec Command ATZ[ ] Response(s) OK Reference(s) V.250 PIN ! ASC0 ASC1 USB % % % MUX1 MUX2 MUX3 Charge % % % ! 4 Last % ! Parameter Description (num) [0] Reset to user profile Notes • First the profile will be set to factory default (see AT&F). If there is a valid user profile (stored with AT&W), this profile will be loaded afterwards. • Any additional commands on the same command line may be ignored. A delay of 300 ms is required before next command is sent, otherwise "OK" response may be corrupted. TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 39 of 501 5/24/05 TC63 AT Command Set s 2.9 AT+CFUN 2.9 AT+CFUN Set phone functionality The AT+CFUN command serves to control the functionality level of the ME. It 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 of the ME to a minimum and thus minimizes the current consumption. SLEEP mode falls in two categories: • NON-CYCLIC SLEEP mode =0 • and CYCLIC SLEEP modes, selectable as = 7 or 9. NON-CYCLIC SLEEP mode permanently blocks the serial interface. The benefit of the CYCLIC SLEEP mode is that the serial interface remains accessible and that, in intermittent wake-up periods, characters can be sent or received without terminating the selected mode. This allows the ME to wake up for the duration of an event and, afterwards, to resume power saving. Please refer to Section 2.9.1, Wake up the ME from SLEEP mode for a summary of all SLEEP modes and the different ways of waking up the module. For CYCLIC SLEEP mode both the ME and the application must be configured to use hardware flow control. This is necessary since the CTS signal is set/reset every 0.9-2.7 seconds in order to indicate to the application when the UART is active. The default setting of hardware flow control is AT\Q0 which must be altered to AT\Q3. For use after restart you are advised to add it to the user profile saved with AT&W. If both interfaces ASC0 and ASC1 are connected, hardware flow control must be set in either application. The AT+CFUN test command returns the values of the supported parameters. The AT+CFUN read command returns the current functionality value. The AT+CFUN write command can be used to reset the ME, to choose one of the SLEEP modes or to return to full functionality. Syntax Test Command AT+CFUN=? Response(s) +CFUN: (list of supported s) , (list of supported s) OK Read Command AT+CFUN? Response(s) +CFUN: OK Write Command AT+CFUN=[ [, ]] Response(s) OK ERROR +CME ERROR Reference(s) PIN GSM 07.07 ! TC63_ATC_V00.490 Confidential / Draft - Do not copy ASC0 ASC1 USB % Page 40 of 501 % % MUX1 MUX2 MUX3 Charge § § § ! 4 Last % ! 5/24/05 TC63 AT Command Set s 2.9 AT+CFUN Unsolicited Result Codes URC 1 ^SYSSTART Indicates that the ME has been started and is ready to operate. If autobauding is active (AT+IPR=0) the URC is not generated. If the ME is configured to enter the Airplane mode after restart or reset the following URC is received on bootup: "^SYSSTART AIRPLANE MODE". In this mode, only the AT commands listed in Section 21.4, Availability of AT Commands Depending on Operating Mode of ME can be used. For details please refer to the AT^SCFG command, parameter . URC 2 ^SYSSTART CHARGE ONLY MODE Indicates that the ME has entered the CHARGE ONLY mode. This occurs if the charger is connected while the ME is in POWER DOWN mode. If autobauding is active (AT+IPR=0) the URC is not generated. In CHARGE ONLY mode the ME is neither registered to the GSM network nor are the serial interfaces fully accessible. Only the AT commands listed in Section 21.4, Availability of AT Commands Depending on Operating Mode of ME can be used. For further details on charging refer to the Hardware Interface Description [2]. Parameter Description (num) 0 NON-CYCLIC SLEEP mode: In this mode, the AT interface is not accessible. Consequently, after setting =0, do not send further characters. Otherwise these characters remain in the input buffer and may delay the output of an unsolicited result code. Due to the fact that the serial interface is disabled, this mode cannot be used if a Remote SIM Access (RSA) connection is ongoing (reason: during RSA connections the SIM communication is routed via a serial channel). The first wake-up event stops power saving and takes the ME back to full functionality level =1. [1](&F) Full functionality. If the ME is in one of the 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 for details on the reset. 7 CYCLIC SLEEP mode: In this mode, the serial interface is shortly enabled while CTS is active. If characters are recognized on the serial interface, the ME stays active for 2 seconds after the last character was sent or received. ME exits SLEEP mode only, if AT+CFUN=1 is entered. 9 CYCLIC SLEEP mode: In this mode, the serial interface is shortly enabled while CTS is active. If characters are recognized on the serial interface, the ME stays active after the last character was sent or received for at least the time, which can be configured by AT^SCFG="PowerSaver/Mode9/Timeout", (temporary wakeup). In contrast to SLEEP mode 7 assertion of RTS can also be used to temporarily wake up the ME. In this case too, activity time is at least the time set with AT^SCFG="PowerSaver/Mode9/Timeout", . RTS can be activated either from ASC0 or ASC1. ME exits SLEEP mode only, if AT+CFUN=1 is entered. TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 41 of 501 5/24/05 TC63 AT Command Set s 2.9 AT+CFUN (num) The parameter can only be used if the serial interface is enabled. Due to the command syntax, you need to enter parameter , followed by , where is only a placeholder and has no effect. See examples below. [0] Placeholder for as stated above. 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 Section 4.9.1, Autobauding. Notes • If both serial interfaces ASC0 and ASC1 are connected, any functionality level set with AT+CFUN takes effect on both of them. In Multiplex mode, the CFUN profile is shared by all multiplexer channels. • If the ME is in Multiplexer mode, it is not recommended to activate SLEEP mode with AT+CFUN= . The best approach to properly control SLEEP mode in this case is to issue the PSC messages described in [5], Section "Power saving control". • When a circuit-switched call is in progress, =7 or 9 can be activated without terminating the call. However, setting =0 during a circuit-switched call immediately disconnects this call. • To check whether power saving is on, you can query the status with the read command AT+CFUN? only if the module is in full functionality mode or in CYCLIC SLEEP mode. If available, you can also take advantage of the status LED controlled by the SYNC pin (see AT^SSYNC and [2]). With AT^SSYNC you can select different modes of LED signalization during SLEEP modes (see Section 19.6.1, ME status indicated by status LED patterns for details). However, the module can wake up temporarily from power saving without leaving its CYCLIC SLEEP mode (without changing +CFUN " "), e.g. for a network scan after a loss of radio coverage, or after receipt of serial data during CYCLIC SLEEP mode. During this "temporary wakeup state" the LED will operate as if the ME was in full functionality mode. • 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. 2.9.1 Wake up the ME from SLEEP mode A wake-up event is any event that causes the ME to draw more current. Depending on the selected mode, the wake-up event either switches the SLEEP mode off and takes the ME back to full functionality AT+CFUN=1, or activates the ME temporarily without terminating the selected SLEEP mode. Definitions of the state transitions described in Table 2.3: • • • Quit: ME exits SLEEP mode. Temporary: ME becomes active temporarily for the duration of the event and the mode-specific follow-up time after the last character was sent or received on the serial interface. No effect: Event is not relevant in the selected SLEEP mode. The ME does not wake up. Table 2.3: Wake-up events in NON-CYCLIC and CYCLIC SLEEP modes Event Selected mode: =0 Selected mode: =7 or 9 Ignition line No effect No effect /RTS0 or /RTS1 activation Quit Mode 7: No effect (RTS is only used for flow control) Mode 9: Temporary Unsolicited Result Code (URC) Quit Temporary Incoming voice or data call Quit Temporary TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 42 of 501 5/24/05 TC63 AT Command Set s 2.9 AT+CFUN Event Selected mode: =0 Selected mode: =7 or 9 Any AT command (incl. outgoing SMS, voice or data call) Not possible (UART disabled) Temporary Incoming SMS (AT+CNMI is set to 0,0 (this is the default setting) No effect No effect Incoming SMS (AT+CNMI is set to 1,1) Quit Temporary GPRS data transfer Not possible (UART disabled) Temporary RTC alarm line Quit Temporary AT+CFUN=1 Not possible (UART disabled) Quit TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 43 of 501 5/24/05 TC63 AT Command Set s 2.10 AT^SMSO 2.10 AT^SMSO Switch off mobile station AT^SMSO initiates the power-off procedure. High level of the module's PWR_IND pin and the URC "^SHUTDOWN" notify that the procedure has completed and the module has entered the POWER DOWN mode. Therefore, be sure not to disconnect the operating voltage until PWR_IND is high or until the URC "^SHUTDOWN" is displayed. Otherwise, you run the risk of losing data. For further details on how to turn off the module see the [2]. Syntax Test Command AT^SMSO=? Response(s) OK Exec Command AT^SMSO Response(s) ^SMSO: MS OFF OK Reference(s) PIN SIEMENS ! ASC0 ASC1 USB % % % MUX1 MUX2 MUX3 Charge % % % ! 4 Last % % Unsolicited Result Code ^SHUTDOWN Indicates that the power-off procedure is finished and the module will be switched off in less than 1 second. Notes • Do not send any other AT command after AT^SMSO. • If AT^SMSO is entered on one of the Multiplexer channels the ME closes the Multiplexer channels, terminates the Multiplexer and deactivates all other functions. Then, the URC "^SHUTDOWN" will be issued on the physical serial interface (ASC0). The URC will be transmitted at the bit rate last activated on ASC0 for use with the Multiplex driver. • If both interfaces ASC0 and ASC1 are connected the URC appears on both of them. • If the module is in NORMAL mode and the charger is connected to the VCHARGE line, the AT^SMSO command causes the module to shut down shortly and then start into the CHARGE ONLY mode. If the module is in CHARGE ONLY mode the AT^SMSO command is not supported at all. In both cases, the module can only be switched off by disconnecting the charger. See also [2]. TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 44 of 501 5/24/05 TC63 AT Command Set s 2.11 AT+GCAP 2.11 AT+GCAP Request complete TA capabilities list AT+GCAP returns a list of additional capabilities. Syntax Test Command AT+GCAP=? Response(s) OK Exec Command AT+GCAP Response(s) +GCAP: OK Reference(s) V.250 PIN ! ASC0 ASC1 USB % % % MUX1 MUX2 MUX3 Charge % % % ! 4 Last % ! Parameter Description (str) e.g.: +CGSM,+FCLASS Note • +CGSM: The response text shows which GSM commands of the ETSI standard are supported. TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 45 of 501 5/24/05 TC63 AT Command Set s 2.12 AT+CMEE 2.12 AT+CMEE Mobile Equipment Error Message Format AT+CMEE controls the format of the error result codes that indicates errors related to TC63 functionality. Format can be selected between plain "ERROR" output, error numbers or verbose "+CME ERROR: " and "+CMS ERROR: " messages. Possible error result codes are listed in Table 2.4, General "CME ERROR" Codes (GSM 07.07), Table 2.6, GPRS related "CME ERROR" Codes (GSM 07.07) and Table 2.8, SMS related "CMS ERROR" Codes (GSM 07.05). In multiplex mode (refer AT+CMUX) the setting applies only to the logical channel where selected. The setting on the other channels may differ. Syntax Test Command AT+CMEE=? Response(s) +CMEE: (list of supported s) OK Read Command AT+CMEE? Response(s) +CMEE: OK Write Command AT+CMEE= Response(s) OK ERROR +CME ERROR: Reference(s) PIN GSM 07.07 ! ASC0 ASC1 USB % % % MUX1 MUX2 MUX3 Charge % % % ! 4 Last % ! Parameter Description (num)(&W)(&V) 0(&F)(D) Disable result code, i.e. only "ERROR" will be displayed. 1 Enable error result code with numeric values. 2 Enable error result code with verbose (string) values. Example To obtain enhanced error messages it is recommended to choose =2. AT+CMEE=2 OK TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 46 of 501 5/24/05 TC63 AT Command Set s 2.12 AT+CMEE 2.12.1 CME/CMS Error Code Overview Table 2.4: General "CME ERROR" Codes (GSM 07.07) Code Text (if AT+CMEE=2) 0 phone failure 1 no connection to phone 2 phone-adapter link reserved 3 Operation not allowed 4 Operation not supported 5 PH-SIM PIN required 6 PH-FSIM PIN required 7 PH-FSIM PUK required 10 SIM not inserted 11 SIM PIN required 12 SIM PUK required 13 SIM failure 14 SIM busy 15 SIM wrong 16 Incorrect password 17 SIM PIN2 required 18 SIM PUK2 required 20 Memory full 21 invalid index 22 not found 23 Memory failure 24 text string too long 25 invalid characters in text string 26 dial string too long 27 invalid characters in dial string 30 no network service 31 Network timeout 32 Network not allowed emergency calls only 40 Network personalization PIN required 41 Network personalization PUK required 42 Network subset personalization PIN required 43 Network subset personalization PUK required 44 service provider personalization PIN required 45 service provider personalization PUK required 46 Corporate pe sonalization PIN required 47 Corporate personalization PUK required 48 Master Phone Code required 100 unknown 132 service option not supported TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 47 of 501 5/24/05 TC63 AT Command Set s 2.12 AT+CMEE Code Text (if AT+CMEE=2) 133 requested service option not subscribed 134 service option temporarily out of order 256 Operation temporary not allowed 257 call barred 258 phone is busy 259 user abort 260 invalid dial string 261 ss not executed 262 SIM blocked 263 Invalid Block Table 2.5: General "CME ERROR" Codes (SIEMENS) Code Text (if AT+CMEE=2) 772 SIM powered down Table 2.6: GPRS related "CME ERROR" Codes (GSM 07.07) Code Text (if AT+CMEE=2) 103 Illegal MS 106 Illegal ME 107 GPRS services not allowed 111 PLMN not allowed 112 Location area not allowed 113 Roaming not allowed in this location area 148 unspecified GPRS error 149 PDP authentication failure 150 invalid mobile class Table 2.7: GPRS related "CME ERROR" Codes (SIEMENS) Code Text (if AT+CMEE=2) 578 GPRS - unspecified activation rejection 588 GPRS - feature not supported 594 GPRS - invalid address length 595 GPRS - invalid character in address string 596 GPRS - invalid cid value 607 GPRS - missing or unknown APN 625 GPRS - pdp type not supported 630 GPRS - profile (cid) not defined 632 GPRS - QOS not accepted 633 GPRS - QOS validation fail 643 GPRS - unknown PDP address or type 644 GPRS - unknown PDP context 646 GPRS - QOS invalid parameter TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 48 of 501 5/24/05 TC63 AT Command Set s 2.12 AT+CMEE Table 2.8: SMS related "CMS ERROR" Codes (GSM 07.05) Code Text (if AT+CMEE=2) 1 Unassigned (unallocated) number 8 Operator determined barring 10 Call barred 21 Short message transfer rejected 27 Destination out of service 28 Unidentified subscriber 29 Facility rejected 30 Unknown subscriber 38 Network out of order 41 Temporary failure 42 Congestion 47 Resources unavailable, unspecified 50 Requested facility not subscribed 69 Requested facility not implemented 81 Invalid short message transfer reference value 95 Invalid message, unspecified 96 Invalid mandatory information 97 Message type non-existent or not implemented 98 Message not compatible with short message protocol state 99 Information element non-existent or not implemented 111 Protocol error, unspecified 127 Interworking, unspecified 128 Telematic interworking not supported 129 Short message Type 0 not supported 130 Cannot replace short message 143 Unspecified TP-PID error 144 Data coding scheme (alphabet) not supported 145 Message class not supported 159 Unspecified TP-DCS error 160 Command cannot be actioned 161 Command unsupported 175 Unspecified TP-Command error 176 TPDU not supported 192 SC busy 193 No SC subscription 194 SC system failure 195 Invalid SME address 196 Destination SME barred 197 SM Rejected-Duplicate SM 198 TP-VPF not supported 199 TP-VP not supported TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 49 of 501 5/24/05 TC63 AT Command Set s 2.12 AT+CMEE Code Text (if AT+CMEE=2) 208 D0 SIM SMS storage full 209 No SMS storage capability in SIM 210 Error in MS 211 Memory Capacity Exceeded 212 SIM Application Toolkit Busy 213 SIM data download error 255 Unspecified error cause 300 ME failure 301 SMS service of ME reserved 302 Operation not allowed 303 Operation not supported 304 Invalid PDU mode parameter 305 Invalid text mode parameter 310 SIM not inserted 311 SIM PIN required 312 PH-SIM PIN required 313 SIM failure 314 SIM busy 315 SIM wrong 316 SIM PUK required 317 SIM PIN2 required 318 SIM PUK2 required 320 Memory failure 321 Invalid memory index 322 Memory full 330 SMSC address unknown 331 no network service 332 Network timeout 340 NO +CNMA ACK EXPECTED 500 Unknown error 512 User abort 513 unable to store 514 invalid status 515 invalid character in address string 516 invalid length 517 invalid character in pdu 518 invalid parameter 519 invalid length or character 520 invalid character in text 521 timer expired 522 Operation temporary not allowed TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 50 of 501 5/24/05 TC63 AT Command Set s 2.13 AT+CSCS 2.13 AT+CSCS Select TE character set The AT+CSCS write command informs the TA which character set is used by the TE. This enables the TA to convert character strings correctly between TE and ME character sets. See also Section 1.5, Supported character sets. Note that when the TA-TE interface is set to 8-bit operation and the used TE alphabet is 7-bit, the highest bit will be set to zero. Syntax Test Command AT+CSCS=? Response(s) +CSCS: (list of supported s) OK Read Command AT+CSCS? Response(s) +CSCS: OK Write Command AT+CSCS=[ ] Response(s) OK Reference(s) GSM 07.07, GSM 11.11 PIN ! ASC0 ASC1 USB % % % MUX1 MUX2 MUX3 Charge % % % ! 4 Last % ! Parameter Description (str) “GSM“(&F) GSM default alphabet (GSM 03.38 subclause 6.2.1); Note: This setting may cause software flow control problems since the codes used to stop and resume data flow (XOFF = decimal 19, XON = decimal 17) are interpreted as normal characters. “UCS2“ 16-bit universal multiple-octet coded character set (ISO/IEC10646 [32]); UCS2 character strings are converted to hexadecimal numbers from 0000 to FFFF; e.g. "004100620063" equals three 16-bit characters with decimal values 65, 98 and 99, $(AT R97)$ TC63_ATC_V00.490 Confidential / Draft - Do not copy Page 51 of 501 5/24/05 TC63 AT Command Set s 2.14 AT^SCFG 2.14 AT^SCFG Extended Configuration Settings AT^SCFG can be used to query and configure various settings of the TC63. The AT^SCFG read command returns a list of all supported parameters and their current values. The AT^SCFG write command queries a configuration parameter (if no value is entered) or sets its value(s). Input of parameter names is always coded in GSM character set, parameter values are expected to be given as specified via AT+CSCS. The following error messages may be returned by the AT^SCFG write commands: • "+CME ERROR: operation temporary not allowed" Change of parameter value(s) temporarily not allowed. • "+CME ERROR: invalid index" Invalid parameter name or value(s). • "+CME ERROR: invalid characters in text string" Character set conversion of parameter value(s) failed. • "+CME ERROR: memory failure" Could not allocate necessary memory or storing a parameter failed. • "+CME ERROR: operation not allowed" Change of parameter value(s) not allowed • "+CME ERROR: unknown" Other error Syntax Test Command AT^SCFG=? Response(s) ^SCFG: "AutoExec" , (list of supported ), (list of supported ), (list of supported ), (list of supported ), (max. string length of ), (time range of ) ^SCFG: "GPRS/ATS0/withAttach", (list of supported s) ^SCFG: "GPRS/AutoAttach", (list of supported s) ^SCFG: "GPRS/RingOnIncomingData", (list of supported s) ^SCFG: "MEopMode/Airplane", (list of supported