|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
s www..com XT65 Siemens Cellular Engine Version: DocId: 01.001 XT65_ATC_V01.001 AT Command Set XT65 AT Command Set s Document Name: Version: Date: DocId: www..com XT65 AT Command Set 01.001 January 9, 2007 XT65_ATC_V01.001 Confidential / Released Status General Notes Product is deemed accepted by recipient and is provided without interface to recipient's products. The documentation and/or product are provided for testing, evaluation, integration and information purposes. The documentation and/or product are provided on an "as is" basis only and may contain deficiencies or inadequacies. The documentation and/or product are 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, completeness, fitness for a particular purpose and non-infringement of thirdparty 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 or its suppliers shall, regardless of any legal theory upon which the claim is based, not 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 documentation and/or product, even if Siemens has been advised of the possibility of such damages. The foregoing limitations of liability shall not apply in case of mandatory liability, e.g. under the German Product Liability Act, in case of intent, gross negligence, injury of life, body or health, or breach of a condition which goes to the root of the contract. However, claims for damages arising from a breach of a condition, which goes to the root of the contract, shall be limited to the foreseeable damage, which is intrinsic to the contract, unless caused by intent or gross negligence or based on liability for injury of life, body or health. The above provision does not imply a change on the burden of proof to the detriment of the recipient. Subject to change without notice at any time. The interpretation of this general note shall be governed and construed according to German law without reference to any other substantive law. 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 (c) Siemens AG 2007 Trademark notice BluetoothTM is a registered trademark of Bluetooth SIG Inc. XT65_ATC_V01.001 Confidential / Released Page 2 of 588 1/9/07 XT65 AT Command Set Contents s Contents Introduction............................................................................................................................................ 14 1.1 Scope of the document ................................................................................................................. 14 1.2 Related documents ....................................................................................................................... 15 1.3 Document conventions.................................................................................................................. 16 1.3.1 Quick reference table..................................................................................................... 16 1.3.2 Superscript notation for parameters and values ............................................................ 17 www..com 1.4 AT Command Syntax .................................................................................................................... 18 1.4.1 Using Parameters .......................................................................................................... 18 1.4.2 Combining AT commands on the same command line ................................................. 19 1.5 Supported character sets .............................................................................................................. 20 1.5.1 GSM alphabet tables and UCS2 character values ........................................................ 22 1.5.2 UCS2 and GSM data coding and conversion for SMS text mode ................................. 24 1.5.2.1 Implementing output of SIM data to Terminal (direction TA to TE) ................................ 24 1.5.2.2 Implementing input of Terminal data to SIM (direction TE to TA)................................... 25 1.6 Serial Interface Flow Control ......................................................................................................... 26 1.6.1 Software Flow Control (XON/OFF Handshake)............................................................. 26 1.6.2 Hardware Flow Control (RTS/CTS Handshake) ............................................................ 26 1.7 Communication between Customer Application and XT65 ........................................................... 28 1.8 Unsolicited Result Code Presentation........................................................................................... 29 1.9 Common PCN Handset Specification (CPHS) .............................................................................. 30 1.10 Errors and Messages .................................................................................................................... 31 2. Configuration Commands..................................................................................................................... 32 2.1 AT&F Set all current parameters to manufacturer defaults ......................................................... 32 2.2 AT&V Display current configuration ............................................................................................ 33 2.2.1 AT&V responses............................................................................................................ 34 2.3 AT&W Stores current configuration to user defined profile ......................................................... 36 2.4 ATQ Set result code presentation mode ..................................................................................... 37 2.5 ATV Set result code format mode ............................................................................................... 38 2.5.1 Verbose and numeric result codes ................................................................................ 38 2.6 ATX Set CONNECT result code format and call monitoring ....................................................... 39 2.7 AT\V Set CONNECT result code format ..................................................................................... 40 2.8 ATZ Set all current parameters to user defined profile................................................................ 41 2.9 AT+CFUN Set phone functionality .............................................................................................. 42 2.9.1 Wake up the ME from SLEEP mode ............................................................................. 45 2.10 AT^SMSO Switch off mobile station............................................................................................ 46 2.11 AT+GCAP Request complete TA capabilities list........................................................................ 47 2.12 AT+CMEE Mobile Equipment Error Message Format ................................................................ 48 2.12.1 CME/CMS Error Code Overview ................................................................................... 49 2.13 AT+CSCS Select TE character set ............................................................................................. 54 2.14 AT^SCFG Extended Configuration Settings ............................................................................... 55 2.15 AT^SM20 Set M20 compatibility mode ....................................................................................... 79 Status Control Commands ................................................................................................................... 80 3.1 AT+CMER Mobile Equipment Event Reporting .......................................................................... 80 3.2 AT+CIND Indicator control .......................................................................................................... 82 1. 3. XT65_ATC_V01.001 Confidential / Released Page 3 of 588 1/9/07 XT65 AT Command Set Contents s 3.3 3.4 www..com 3.5 3.6 3.7 4. AT^SIND Extended Indicator Control .......................................................................................... 85 AT+CEER Extended Error Report............................................................................................... 92 3.4.1 Cause Location ID for the extended error report ........................................................... 93 3.4.2 SIEMENS L2 cause ....................................................................................................... 94 3.4.3 GSM release cause for L3 Radio Resource (RR).......................................................... 94 3.4.4 SIEMENS release cause for L3 Radio Resource (RR).................................................. 94 3.4.5 GSM release cause for Mobility Management (MM) or Session Management (SM)..... 95 3.4.6 SIEMENS release cause for L3 Mobility Management (MM) ........................................ 96 3.4.7 GSM release cause for L3 Call Control (CC)................................................................. 96 3.4.8 SIEMENS release cause for L3 Call Control (CC)......................................................... 98 3.4.9 GSM Release cause for Supplementary Service Call ................................................... 98 3.4.10 GSM release cause for Session Management (SM) ..................................................... 99 3.4.11 GSM cause for L3 Protocol module or other local cause ........................................... 100 3.4.12 SIEMENS release cause for GPRS API ...................................................................... 100 3.4.13 SIEMENS release cause for PPP/IP-Stack ................................................................. 100 ATS18 Extended call release report.......................................................................................... 101 AT+CPAS Mobile equipment activity status .............................................................................. 103 AT+WS46 Select wireless network ........................................................................................... 104 Serial Interface Control Commands................................................................................................... 105 4.1 AT\Q Flow control...................................................................................................................... 105 4.2 AT&C Set Data Carrier Detect (DCD) Line mode ..................................................................... 106 4.3 AT&D Set circuit Data Terminal Ready (DTR) function mode................................................... 107 4.4 AT&S Set circuit Data Set Ready (DSR) function mode ........................................................... 108 4.5 ATE Enable command echo...................................................................................................... 109 4.6 AT+ICF Serial Interface Character Framing.............................................................................. 110 4.7 AT+IFC Set Flow Control separately for data directions ........................................................... 112 4.8 AT+ILRR Set TE-TA local rate reporting ................................................................................... 114 4.9 AT+IPR Set fixed local rate ....................................................................................................... 116 4.9.1 Autobauding................................................................................................................. 117 4.10 AT+CMUX Enter multiplex mode .............................................................................................. 119 4.10.1 Restrictions on Multiplex mode.................................................................................... 120 4.11 AT^STPB Transmit Parity Bit (for 7E1 and 7O1 only) ............................................................... 122 Security Commands ............................................................................................................................ 123 5.1 AT+CPIN PIN Authentication .................................................................................................... 123 5.1.1 What to do if PIN or password authentication fails? .................................................... 125 5.2 AT+CPIN2 PIN2 Authentication ................................................................................................ 127 5.3 AT^SPIC Display PIN counter ................................................................................................... 129 5.4 AT+CLCK Facility lock .............................................................................................................. 133 5.5 AT^SLCK Facility lock ............................................................................................................... 138 5.6 AT+CPWD Change Password .................................................................................................. 139 5.7 AT^SPWD Change Password ................................................................................................... 143 5.8 AT^SCSL Customer SIM Lock .................................................................................................. 145 Identification Commands.................................................................................................................... 149 6.1 ATI Display product identification information ........................................................................... 149 6.2 AT+CGMI Request manufacturer identification......................................................................... 150 6.3 AT+GMI Request manufacturer identification ........................................................................... 150 6.4 AT+CGMM Request model identification .................................................................................. 151 5. 6. XT65_ATC_V01.001 Confidential / Released Page 4 of 588 1/9/07 XT65 AT Command Set Contents s 6.5 6.6 6.7 6.8 6.9 6.10 7. AT+GMM Request model identification..................................................................................... 151 AT+CGMR Request revision identification of software status................................................... 152 AT+GMR Request revision identification of software status ..................................................... 152 AT+CGSN Request International Mobile Equipment Identity (IMEI) ......................................... 153 AT+GSN Request International Mobile Equipment Identity (IMEI) ........................................... 153 AT+CIMI Request International Mobile Subscriber Identity (IMSI)............................................ 154 Call related Commands....................................................................................................................... 155 7.1 Call Status Information ................................................................................................................ 155 7.2 ATA Answer a call ..................................................................................................................... 156 7.3 ATD Mobile originated call to specified number ........................................................................ 157 www..com 7.4 ATD> XT65_ATC_V01.001 Confidential / Released Page 5 of 588 1/9/07 XT65 AT Command Set Contents s 8.9.2 Service states .............................................................................................................. 211 8.10 AT^MONP Monitor neighbour cells ........................................................................................... 212 8.10.1 AT^MONP responses .................................................................................................. 213 8.11 AT^SMONG GPRS Monitor ...................................................................................................... 214 8.11.1 AT^SMONG Cell Info Table......................................................................................... 215 8.12 AT^SALS Alternate Line Service............................................................................................... 216 8.13 AT^SHOM Display Homezone .................................................................................................. 218 8.14 AT^SPLM Read the PLMN list .................................................................................................. 219 8.15 AT+CPOL Preferred Operator List ............................................................................................ 221 8.16 AT^SPLR Read entry from the preferred operators list............................................................. 222 www..com 8.17 AT^SPLW Write an entry to the preferred operators list ........................................................... 223 9. Supplementary Service Commands .................................................................................................. 224 9.1 AT+CACM Accumulated call meter (ACM) reset or query ........................................................ 224 9.2 AT^SACM Advice of charge and query of ACM and ACMmax ................................................. 225 9.3 AT+CAMM Accumulated call meter maximum (ACMmax) set or query.................................... 227 9.4 AT+CAOC Advice of Charge information .................................................................................. 228 9.5 AT+CCUG Closed User Group ................................................................................................. 229 9.6 AT+CCFC Call forwarding number and conditions control ....................................................... 231 9.7 AT+CCWA Call Waiting ............................................................................................................ 235 9.8 AT+CHLD Call Hold and Multiparty........................................................................................... 239 9.9 AT+CLIP Calling Line Identification Presentation ..................................................................... 241 9.10 AT+CLIR Calling Line Identification Restriction ........................................................................ 243 9.11 AT+COLP Connected Line Identification Presentation ............................................................. 244 9.12 AT+CPUC Price per unit and currency table............................................................................. 246 9.13 AT+CSSN Supplementary service notifications ........................................................................ 248 9.14 AT+CUSD Unstructured supplementary service data ............................................................... 250 Internet Service Commands ............................................................................................................... 252 10.1 AT^SICS Internet Connection Setup Profile.............................................................................. 255 10.1.1 Example: Default values of a CSD connection profile ................................................. 258 10.1.2 Example: GPRS connection profile ............................................................................. 259 10.2 AT^SICI Internet Connection Information.................................................................................. 260 10.2.1 Checking Connection Profile Status ............................................................................ 261 10.3 AT^SISS Internet Service Setup Profile .................................................................................... 262 10.4 AT^SISI Internet Service Information ........................................................................................ 271 10.5 AT^SISO Internet Service Open ............................................................................................... 273 10.5.1 Example: Accepting / Rejecting Socket Connection Request from Remote Client ..... 276 10.6 AT^SISC Internet Service Close ............................................................................................... 278 10.7 AT^SISR Internet Service Read Data ....................................................................................... 279 10.7.1 Example: Socket Host Reads Small Amounts of UDP Data Packets (URC Mode)..... 281 10.8 AT^SISW Internet Service Write Data....................................................................................... 282 10.8.1 Usage of parameter 10. XT65_ATC_V01.001 Confidential / Released Page 6 of 588 1/9/07 XT65 AT Command Set Contents s 10.13.2 Information Elements Related to FTP Service............................................................. 295 10.13.3 Information Elements Related to HTTP Service .......................................................... 296 10.13.4 Information Elements Related to POP3 Service.......................................................... 296 10.13.5 Information Elements Related to SMTP Service ......................................................... 296 10.14 Examples of how to Configure and Use Internet Service Profiles............................................... 297 10.14.1 Selecting URC Mode or Polling Mode ......................................................................... 297 10.14.2 Configuring Socket Listener......................................................................................... 297 10.14.3 Configuring Socket Client for Calling a Socket Listener on Another Host ................... 298 10.14.4 Socket Client Sends Data via TCP Connection (Polling Mode)................................... 298 10.14.5 Socket client sends data via TCP connection with URCs............................................ 299 www..com 10.14.6 Socket Scenario with UDP Endpoint ........................................................................... 299 10.14.7 Configuring and Using FTP Download (URC Mode) ................................................... 301 10.14.8 Configuring and Using FTP Upload (URC Mode)........................................................ 301 10.14.9 Configuring SMPT Service Profile ............................................................................... 302 10.14.10 Sending Email (URC Mode) ........................................................................................ 303 10.14.11 Sending Email (Polling Mode) ..................................................................................... 303 10.14.12 Configuring POP3 Service Profile................................................................................ 304 10.14.13 Retrieving Email (URC Mode) ..................................................................................... 306 10.14.14 Retrieving Email (Polling Mode) .................................................................................. 306 10.14.15 HTTP POST (Polling Mode) ........................................................................................ 307 10.14.16 HTTP GET (Polling Mode)........................................................................................... 308 11. GPRS Commands ................................................................................................................................ 309 11.1 AT+CGACT PDP context activate or deactivate ....................................................................... 309 11.2 AT+CGANS Manual response to a network request for PDP context activation ...................... 311 11.3 AT+CGATT GPRS attach or detach ......................................................................................... 313 11.4 AT+CGAUTO Automatic response to a network request for PDP context activation ............... 314 11.5 AT+CGDATA Enter data state .................................................................................................. 316 11.5.1 Automatic deactivation of PDP context during dial-up PPP......................................... 317 11.6 AT+CGDCONT Define PDP Context ........................................................................................ 318 11.7 AT+CGEQMIN 3G Quality of Service Profile (Minimum acceptable) ........................................ 320 11.8 AT+CGEQREQ 3G Quality of Service Profile (Requested) ...................................................... 324 11.9 AT+CGPADDR Show PDP address ......................................................................................... 328 11.10 AT+CGQMIN Quality of Service Profile (Minimum acceptable) ................................................ 329 11.11 AT+CGQREQ Quality of Service Profile (Requested) .............................................................. 333 11.12 AT+CGREG GPRS Network Registration Status...................................................................... 337 11.13 AT+CGSMS Select service for MO SMS messages ................................................................. 339 11.14 AT^SGACT Query all PDP context activations ......................................................................... 340 11.15 AT^SGAUTH Set type of authentication for PPP connection.................................................... 342 11.16 AT^SGCONF Configuration of GPRS related Parameters ...................................................... 343 11.17 ATA Manual response to a network request for PDP context activation................................... 344 11.18 ATD*99# Request GPRS service.............................................................................................. 345 11.19 ATD*98# Request GPRS IP service ......................................................................................... 346 11.20 ATH Manual rejection of a network request for PDP context activation.................................... 347 11.21 ATS0 Automatic response to a network request for PDP context activation............................. 348 11.22 Using GPRS AT commands (Examples)..................................................................................... 349 11.23 Using the GPRS dial command ATD .......................................................................................... 351 FAX Commands ................................................................................................................................... 352 12.1 FAX parameters .......................................................................................................................... 352 12. XT65_ATC_V01.001 Confidential / Released Page 7 of 588 1/9/07 XT65 AT Command Set Contents s 12.2 12.3 12.4 12.5 12.6 12.7 12.8 13. 12.1.1 Fax Result Codes ........................................................................................................ 352 AT+FCLASS Fax: Select, read or test service class ................................................................. 353 AT+FRH Receive Data Using HDLC Framing .......................................................................... 354 AT+FRM Receive Data ............................................................................................................. 355 AT+FRS Receive Silence.......................................................................................................... 356 AT+FTH Transmit Data Using HDLC Framing .......................................................................... 357 AT+FTM Transmit Data............................................................................................................. 358 AT+FTS Stop Transmission and Wait ....................................................................................... 359 Short Message Service (SMS) Commands........................................................................................ 360 13.1 SMS parameters ......................................................................................................................... 360 www..com 13.2 AT+CMGC Send an SMS command......................................................................................... 365 13.3 AT+CMGD Delete short message............................................................................................. 366 13.4 AT+CMGF Select SMS message format .................................................................................. 367 13.5 AT+CMGL List SMS messages from preferred store................................................................ 368 13.6 AT+CMGR Read SMS messages ............................................................................................. 370 13.7 AT+CMGS Send Short Message .............................................................................................. 372 13.8 AT+CMGW Write Short Messages to Memory ......................................................................... 374 13.9 AT+CMSS Send short messages from storage ........................................................................ 376 13.10 AT+CNMA New Message Acknowledgement to ME/TE, only phase 2+ .................................. 377 13.11 AT+CNMI New short Message Indication ................................................................................. 378 13.12 AT+CPMS Preferred SMS message storage ............................................................................ 381 13.13 AT+CSCA SMS Service Center Address .................................................................................. 383 13.14 AT+CSCB Select Cell Broadcast Message Indication .............................................................. 384 13.15 AT+CSDH Show SMS text mode parameters........................................................................... 385 13.16 AT+CSMP Set SMS text Mode Parameters.............................................................................. 386 13.17 AT+CSMS Select Message Service.......................................................................................... 388 13.18 AT^SCML List Concatenated Short Messages from preferred store ........................................ 390 13.19 AT^SCMR Read Concatenated Short Messages ..................................................................... 391 13.20 AT^SCMS Send Concatenated Short Messages ...................................................................... 392 13.21 AT^SCMW Write Concatenated Short Messages to Memory ................................................... 393 13.22 AT^SLMS List SMS Memory Storage ....................................................................................... 394 13.23 AT^SMGL List Short Messages from preferred store without setting status to REC READ ..... 395 13.24 AT^SMGO Set or query SMS overflow presentation mode or query SMS overflow ................. 396 13.25 AT^SMGR Read short message without setting status to REC READ ..................................... 398 13.26 AT^SSCONF SMS Command Configuration ........................................................................... 399 13.27 AT^SSDA Set SMS Display Availability .................................................................................... 400 13.28 AT^SSMSS Set Short Message Storage Sequence ................................................................. 401 14. SIM related Commands ....................................................................................................................... 402 14.1 AT+CRSM Restricted SIM Access ............................................................................................ 402 14.2 AT+CSIM Generic SIM Access ................................................................................................. 405 14.3 AT^SATR Query SIM's Answer to Reset Data.......................................................................... 407 14.4 AT^SXSM Extended SIM Access.............................................................................................. 408 14.5 AT^SCKS Query SIM and Chip Card Holder Status ................................................................. 410 14.6 AT^SSET Indicate SIM data ready............................................................................................ 412 14.7 AT^SCID Display SIM card identification number ..................................................................... 413 14.8 AT+CXXCID Display card ID..................................................................................................... 414 XT65_ATC_V01.001 Confidential / Released Page 8 of 588 1/9/07 XT65 AT Command Set Contents s 15. Remote SIM Access (RSA) Commands ............................................................................................. 415 15.1 AT^SRSA Remote SIM Access Activation ................................................................................ 418 15.2 AT^SRSM Remote SIM Access Message ................................................................................ 422 15.2.1 SAP Request Message Parameters ............................................................................ 425 15.2.2 SAP Response Message Parameters ......................................................................... 425 15.3 Related AT Commands ............................................................................................................... 426 15.3.1 Establishing an RSA Connection in a PC Environment............................................... 426 15.3.2 Bluetooth scenario (SAP) ............................................................................................ 426 15.3.3 Serial Interface Scenario (XSAP) ................................................................................ 427 Application Toolkit (SAT) Commands........................................................................................ 428 16.1 AT^SSTA SAT Interface Activation ........................................................................................... 428 16.2 ^SSTN SAT Notification ............................................................................................................ 430 16.3 AT^SSTGI SAT Get Information ............................................................................................... 431 16.4 AT^SSTR SAT Response ......................................................................................................... 432 16. SIM www..com 17. Phonebook Commands....................................................................................................................... 433 17.1 Sort Order for Phonebooks ......................................................................................................... 433 17.2 AT+CNUM Read own numbers................................................................................................. 434 17.3 AT+CPBR Read from Phonebook............................................................................................. 435 17.4 AT+CPBS Select phonebook memory storage ......................................................................... 438 17.5 AT+CPBW Write into Phonebook ............................................................................................. 440 17.6 AT^SPBW Write into Phonebook with location report ............................................................... 443 17.7 AT^SDLD Delete the 'last number redial' memory .................................................................... 446 17.8 AT^SPBC Find first matching entry in sorted phonebook ......................................................... 447 17.9 AT^SPBD Purge phonebook memory storage .......................................................................... 448 17.10 AT^SPBG Display phonebook entries in alphabetical order ..................................................... 449 17.11 AT^SPBS Step through the selected phonebook alphabetically ............................................... 452 Audio Commands ................................................................................................................................ 456 18.1 Audio programming model .......................................................................................................... 456 18.2 ATL Set monitor speaker loudness ........................................................................................... 457 18.3 ATM Set monitor speaker mode................................................................................................ 457 18.4 AT+CLVL Loudspeaker volume level........................................................................................ 458 18.5 AT+CMUT Mute control ............................................................................................................ 459 18.6 AT+VTD Tone duration ............................................................................................................. 460 18.7 AT+VTS DTMF and tone generation......................................................................................... 461 18.8 AT^SAIC Audio Interface Configuration .................................................................................... 462 18.9 AT^SNFA Set or query of microphone attenuation .................................................................. 464 18.10 AT^SNFD Set audio parameters to manufacturer default values ............................................. 466 18.11 AT^SNFI Set microphone path parameters .............................................................................. 467 18.12 AT^SNFM Set microphone audio path and power supply......................................................... 468 18.13 AT^SNFO Set audio output (= loudspeaker path) parameter ................................................... 470 18.14 AT^SNFPT Set progress tones ................................................................................................. 472 18.15 AT^SNFS Select audio hardware set ........................................................................................ 473 18.16 AT^SNFTTY Signal TTY/CTM audio mode capability............................................................... 476 18.17 AT^SNFV Set loudspeaker volume ........................................................................................... 477 18.18 AT^SNFW Write audio setting in non-volatile store .................................................................. 478 18.19 AT^SRTC Ring tone configuration ............................................................................................ 479 18. XT65_ATC_V01.001 Confidential / Released Page 9 of 588 1/9/07 XT65 AT Command Set Contents s Hardware Related Commands............................................................................................................ 481 19.1 AT+CCLK Real Time Clock....................................................................................................... 481 19.2 AT+CALA Set alarm time ......................................................................................................... 482 19.3 AT^SBC Battery Charge Control ............................................................................................... 485 19.3.1 Responses returned by read command....................................................................... 487 19.4 AT^SBV Battery/Supply Voltage ............................................................................................... 488 19.5 AT^SCTM Set critical operating temperature presentation mode or query temperature........... 489 19.6 AT^SSYNC Configure SYNC Pin .............................................................................................. 492 19.6.1 ME status indicated by status LED patterns ................................................................ 493 19.7 AT^SSPI Serial Protocol Interface ............................................................................................ 495 www..com 19.7.1 Specifying Delay Time for IC ...................................................................................... 497 19.7.2 Selecting SPI Mode ..................................................................................................... 498 19.7.3 Transmitting Data over AT Interface............................................................................ 499 19.7.3.1 Structure of Messages on the IC Bus ......................................................................... 500 19.7.3.2 Structure of Messages on the SPI ............................................................................... 501 19.7.4 Error Handling on the IC Bus...................................................................................... 501 19.7.5 Example: Using IC Bus............................................................................................... 503 19.7.6 Example: Transfer and Response Messages on SPI .................................................. 504 19.8 AT^SWDAC Configure and Read PWM Signal for DAC ........................................................... 505 19.9 AT^SRADC Configure and Read ADC Measurement............................................................... 507 20. GPIO Commands ................................................................................................................................. 510 20.1 AT^SPIO General Purpose IO Driver Open/Close .................................................................... 510 20.2 AT^SCPIN Pin Configuration .................................................................................................... 511 20.3 AT^SCPOL Polling Configuration.............................................................................................. 513 20.4 AT^SCPORT Port Configuration ............................................................................................... 515 20.5 AT^SDPORT Delete a Port Configuration................................................................................. 516 20.6 AT^SGIO Get IO state of a specified pin or port ....................................................................... 517 20.7 AT^SSIO Set IO state of a specified pin or port ........................................................................ 518 20.8 AT^SCCNT Configure Pulse Counter ....................................................................................... 519 20.8.1 Using the Pulse Counter in Limit Counter Mode.......................................................... 520 20.9 AT^SSCNT Start and Stop Pulse Counter ................................................................................ 521 20.9.1 Using the Pulse Counter in Start-Stop Counter Mode ................................................. 522 Java related Commands ..................................................................................................................... 523 21.1 AT^SJRA Run Java Application ................................................................................................ 523 21.2 AT^SJNET Set Dialup Network Access Parameters................................................................. 524 21.3 AT^SJOTAP Over The Air Application Provisioning ................................................................. 527 21.4 AT^SJSEC Write Binary Java Security Data............................................................................. 529 GPS Commands................................................................................................................................... 531 22.1 GPS parameters.......................................................................................................................... 533 22.2 AT^SGPSS GPS Switch ........................................................................................................... 537 22.3 AT^SGPSC GPS Configuration ................................................................................................ 540 22.4 AT^SGPSP GPS URC presentation mode ............................................................................... 544 22.5 AT^SGPSR GPS Read ............................................................................................................. 545 Miscellaneous Commands.................................................................................................................. 546 23.1 A/ Repeat previous command line ............................................................................................ 546 23.2 ATS3 Set command line termination character......................................................................... 547 23.3 ATS4 Set response formatting character .................................................................................. 548 19. 21. 22. 23. XT65_ATC_V01.001 Confidential / Released Page 10 of 588 1/9/07 XT65 AT Command Set Contents s 23.4 ATS5 Write command line editing character ............................................................................. 549 23.5 AT^SFDL Enter Firmware Download Mode .............................................................................. 550 Appendix .............................................................................................................................................. 552 24.1 Restricted access to SIM data after SIM PIN authentication....................................................... 552 24.2 Star-Hash (*#) Network Commands............................................................................................ 553 24.3 Available AT Commands and Dependency on SIM PIN ............................................................. 556 24.4 Availability of AT Commands Depending on Operating Mode of ME.......................................... 564 24.5 AT Command Settings storable with AT&W................................................................................ 572 24.6 Factory Default Settings Restorable with AT&F .......................................................................... 575 24.7 Summary of Unsolicited Result Codes (URC)............................................................................. 578 www..com 24.8 AT Commands not usable for USB ............................................................................................. 581 24.9 Alphabetical List of AT Commands ............................................................................................. 582 24. XT65_ATC_V01.001 Confidential / Released Page 11 of 588 1/9/07 XT65 AT Command Set List of Tables s List of Tables Table 1.1: Table 1.2: Table 1.3: Table 1.4: Table 1.5: Table 2.1: Table 2.2: www..com Table 2.3: Table 2.4: Table 2.5: Table 2.6: Table 2.7: Table 2.8: Table 2.9: Table 4.1: Table 4.2: Table 10.1: Table 10.2: Table 12.1: Table 19.1: Table 19.2: Table 19.3: Table 19.4: Table 19.5: Table 22.1: Table 24.1: Table 24.2: Table 24.3: Table 24.4: Table 24.5: Table 24.6: Table 24.7: Table 24.8: Table 24.9: Table 24.10: Table 24.11: Table 24.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 / USB (example)............................................ 34 Current configuration on MUX channels 2 and 3 (example) ...................................................... 35 Wake-up events in NON-CYCLIC and CYCLIC SLEEP modes ................................................. 45 General "CME ERROR" Codes (GSM 07.07) .......................................................................... 49 General "CME ERROR" Codes (SIEMENS) ............................................................................ 50 GPRS related "CME ERROR" Codes (GSM 07.07) ................................................................. 50 GPRS related "CME ERROR" Codes (SIEMENS) ................................................................... 50 SMS related "CMS ERROR" Codes (GSM 07.05) ................................................................... 51 GPS related "CME ERROR" Codes (SIEMENS) ...................................................................... 53 Availability of AT Commands on Virtual Channels .................................................................. 120 Summary of AT commands with Different Behavior in Multiplex Mode ................................... 121 Applicability of AT^SICS XT65_ATC_V01.001 Confidential / Released Page 12 of 588 1/9/07 XT65 AT Command Set List of Figures s List of Figures Figure 1.1: Figure 1.2: Figure 15.1: Figure 15.2: Figure 15.3: Figure 15.4: Figure 18.1: www..com Figure 19.1: Figure 19.2: Figure 19.4: 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 via Bluetooth ....................................................... 415 Basic Remote SIM Access usage scenario via RS232 ............................................................ 415 SIM usage states of SAP server............................................................................................... 416 SIM usage states of SAP client ................................................................................................ 417 Audio programming model for XT65 Module ............................................................................ 456 Formula for calculating the delay.............................................................................................. 497 Delay time on IC after Write .................................................................................................... 497 SPI modes selectable on SPI ................................................................................................... 498 Delay time on IC after Read .................................................................................................... 498 XT65_ATC_V01.001 Confidential / Released Page 13 of 588 1/9/07 XT65 AT Command Set 1. Introduction s 1. 1.1 Introduction Scope of the document This document presents the AT Command Set for the Siemens Cellular Engine XT65 Release 01.001. Before using the Cellular Engine or upgrading to a new firmware version please read the latest product information provided in the Release Notes [1]. www..com More information is available at the Siemens Website: http://www.siemens.com/wm. XT65_ATC_V01.001 Confidential / Released Page 14 of 588 1/9/07 XT65 AT Command Set 1.2 Related documents s 1.2 Related documents [1] XT65 Release Notes, Version 01.001 [2] XT65 Hardware Interface Description, Version 01.001 [3] Java User's Guide [4] Remote-SAT User's Guide [5] GPRS Startup User's Guide [6] Multiplexer User's Guide [7] Multiplex Driver Developer's Guide for Windows 2000 and Windows XP www..com [8] Multiplex Driver Installation Guide for Windows 2000 and Windows XP [9] Application Note 02: Audio Interface Design [10] Application Note 16: Updating XT65 Firmware [11] Application Note 17: Over-The-Air Firmware Update [12] Application Note 24: Application Developer's Guide [13] Application Note 22: Using TTY / CTM equipment with XT65 [14] Application Note 32: Integrating USB into GSM Applications [15] Application Note 36: GSM Applications with Integrated GPS Receiver [16] SIM Access Profile Interoperability Specification (Revision 1.0), issued by the Bluetooth Special Interest Group [17] ISO/IEC10646: "Universal Multiple-Octet Coded Character Set (UCS)"; UCS2, 16 bit coding [18] ITU-T Recommendation V.24: List of definitions for interchange circuits between data terminal equipment (DTE) and data circuit-terminating equipment (DCE) [19] ITU-T Recommendation V.250: Serial asynchronous automatic dialling and control [20] 3GPP TS 100 918/EN 300 918 (GSM 02.04): General on supplementary services [21] 3GPP TS 100 907 (GSM 02.30): Man-Machine Interface (MMI) of the Mobile Station (MS) [22] 3GPP TS 23.038 (GSM 03.38): Alphabets and language specific information [23] 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) [24] 3GPP TS 27.007 (GSM 07.07): AT command set for User Equipment (UE) [25] 3GPP TS 27.060 (GSM 07.60): Mobile Station (MS) supporting Packet Switched Services [26] 3GPP TS 51.011 (GSM 11.11): Specification of the Subscriber Identity Module - Mobile Equipment (SIM - ME) interface [27] 3GPP TS 11.14 (GSM 11.14): Specification of the SIM Application Toolkit for the Subscriber Identity Module - Mobile Equipment (SIM - ME) interface [28] 3GPP TS 22.101 (GSM 22.101): Service principles [29] Common PCN Handset Specification (CPHS) v4.2 [30] USB.ORG: www.usb.org/developers/docs/USB_LANGIDs.pdf XT65_ATC_V01.001 Confidential / Released Page 15 of 588 1/9/07 XT65 AT Command Set 1.3 Document conventions s 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). www..com 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 24.3, Available AT Commands and Dependency on SIM PIN uses the same symbols. ASC0: Is the AT command supported on the physical serial interface ASC0? + Yes No Note: In the case of XT65 only "Yes" applies. 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 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? + 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 USB MUX1 MUX2 MUX3 Charge Last - + + + - - XT65_ATC_V01.001 Confidential / Released Page 16 of 588 1/9/07 XT65 AT Command Set 1.3 Document conventions s 1.3.2 Table 1.1: Superscript notation for parameters and values Symbols used to mark the type of parameters Parameter type Table 1.2: (num) (str) Meaning Parameter value must be numeric type Parameter value must be string type Symbols used to indicate the correlations with other commands Parameter option www..com Table 1.3: (&W) (&V) (SNFW) (+CSCS) Meaning Parameter value will be stored with AT&W Parameter value will be displayed with AT&V Parameter value will be stored with AT^SNFW Parameter value has to be (is) coded according to current setting of Symbols used to mark different types of default values of parameters Value option [x] x x x (&F) (P) (D) Meaning Default value: if the parameter is omitted, the value 'x' will be assumed Factory default value, will be restored to 'x' with AT&F Powerup default value of a parameter which is not stored at power down Delivery default value of a parameter which cannot be restored automatically XT65_ATC_V01.001 Confidential / Released Page 17 of 588 1/9/07 XT65 AT Command Set 1.4 AT Command Syntax s 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 Table 1.4: Types of AT commands and responses AT command type Test command www..com Syntax AT+CXXX=? Function The mobile equipment returns the list of parameters and value ranges set with the corresponding Write command or by internal processes. This command returns the currently set value of the parameter or parameters. This command sets user-definable parameter values. The execution command reads non-variable parameters determined by internal processes in the GSM engine. Read command Write command Exec(ution) command AT+CXXX? AT+CXXX=<...> AT+CXXX 1.4.1 * * * * * * * 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. 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 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 Activate CYCLIC SLEEP mode, don't reset ME Query ME mode Set ME back to normal (default parameters: 1,0) XT65_ATC_V01.001 Confidential / Released Page 18 of 588 1/9/07 XT65 AT Command Set 1.4 AT Command Syntax s 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 V.250 commands www..com Comment with FAX commands (Prefix AT+F) with Siemens commands, Prefix AT^S) To be used standalone To be used standalone To be used standalone GSM 7.07 commands GSM 7.05 commands (SMS) Commands starting with AT& AT+IPR 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. XT65_ATC_V01.001 Confidential / Released Page 19 of 588 1/9/07 XT65 AT Command Set 1.5 Supported character sets s 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. www..com * 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 an 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(c) Hyperterminal(R)). * "@" 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 "o" (as in "Borse") 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. A, O, U), 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. XT65_ATC_V01.001 Confidential / Released Page 20 of 588 1/9/07 XT65 AT Command Set 1.5 Supported character sets s Table 1.5: Examples for character definitions depending on alphabet GSM 03.38 character O " @ GSM character hex. value 5C 22 00 Corresponding ASCII character \ " NULL ASCII Esc sequence \5C \22 \00 Hex Esc sequence 5C 35 43 5C 32 32 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 meswww..com sages which may contain differently coded characters. XT65_ATC_V01.001 Confidential / Released Page 21 of 588 1/9/07 XT65 AT Command Set 1.5 Supported character sets s 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. (For related mapping definition see: http://www.unicode.org/Public/MAPPINGS/ETSI/GSM0338.TXT) www..com 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. 3) As the standard GSM alphabet does not provide a backspace functionality the XT65 is designed to use the GSM character 08 (hex 0x08) as backspace. This allows the user to easily erase the last character when using an ASCII terminal. On the other hand, this solution requires entering the escape sequence \08 for writing the "o" character in GSM alphabet. XT65_ATC_V01.001 Confidential / Released Page 22 of 588 1/9/07 XT65 AT Command Set 1.5 Supported character sets s www..com 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. XT65_ATC_V01.001 Confidential / Released Page 23 of 588 1/9/07 XT65 AT Command Set 1.5 Supported character sets s 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. www..com 1.5.2.1 Implementing output of SIM data to Terminal (direction TA to TE) DCS = 7 bit GSM Case 1 GSM (1:1) DCS = 8 bit Data Case 2 8 bit to IRA (1:2) DCS = 16 bit UCS2 Case 3 UCS2 to IRA (2:4) Case 6 UCS2 to IRA (2:4) Used character set GSM UCS2 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 1 Every GSM character is sent to the 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 is sent to the 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 the 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 the 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 the 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 the 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" XT65_ATC_V01.001 Confidential / Released Page 24 of 588 1/9/07 XT65 AT Command Set 1.5 Supported character sets s 1.5.2.2 Implementing input of Terminal data to SIM (direction TE to TA) DCS = 7 bit GSM Case 1 GSM (1:1) DCS = 8 bit Data Case 2 IRA to 8 bit (2:1) DCS = 16 bit UCS2 Case 3 IRA to 16 bit (4:2) Used character set GSM 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 www..com Every character is sent from TE to TA as GSM character (or ASCII with standard terminal emulation, e.g. 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 XT65_ATC_V01.001 Confidential / Released Page 25 of 588 1/9/07 XT65 AT Command Set 1.6 Serial Interface Flow Control s 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 (HWM) of the input/output buffer should be set to approximately 60% of the total buffer size, the Low Watermark (LWM) is recommended to be about 30%. The data flow should be stopped when the buffer 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. www..com 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 HWM is reached, CTS is set inactive. When the LWM is passed, CTS goes active again. To achieve smooth data flow, ensure that the RTS/CTS lines are present on your application platform. Configuring hardware flow control * * * * Hardware flow control must be set on both sides: with AT\Q3 or AT+IFC in the ME and an equivalent RTS/ CTS handshake option in the host application. The default setting of the ME 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 rebooting the ME. 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. Buffer design considerations * * Serial interface (ASC0) of the XT65 uses two buffers, one for the uplink and one for the downlink. Each buffer has a capacity of minimum 1024 bytes. Uplink direction (where ME is receiving data from host application): CTS control is based on the filling level of the ME's receive buffer. When the application detects that CTS is being deactivated it must instantly stop sending data to the ME's receive buffer. But still, after deactivation of CTS, the receive buffer of the ME can accept another 512 bytes. Downlink direction (where ME is sending data to host application): The transmit buffer of the ME can hold at least 1024 bytes. After deactivation of RTS the ME sends max. 2 more bytes and then stops transferring data to the application. The maximum time RTS can be kept inactive without losing data is determined by the buffer size and the maximum possible over-the-air data rate. In any case, the local data rate between DCE and DTE (AT+IPR) should be set to a value higher than the maximum possible over-the-air data rate. Buffer size recommended for the host application: Just like the ME, the host application should include send and receive buffers for each serial interface. To handle large amounts of data at high speed a buffer capacity of 1024 bytes is recommended. If the host application is designed mainly for one direction (uplink or downlink) a lower buffer size will do for the direction where less data is transferred. In fact, the optimal size of the host application buffers is a matter of finding the balance between the amount * * XT65_ATC_V01.001 Confidential / Released Page 26 of 588 1/9/07 XT65 AT Command Set 1.6 Serial Interface Flow Control s of data, data throughput, reaction time of the application when handling the buffer, processor performance and available memory. To give an example, a small buffer size (such as 256 bytes) increases the frequency of deactivating RTS/CTS and the frequency of flushing the buffer, thus diminishing the efficiency of the application. Also, please consider that RTS/CTS flow control cannot stop the data stream coming from the network, e.g. in a GPRS or fax connection. So the lack of appropriate hardware flow control increases the risk of losing data packets if, like in the case of UDP, the connection protocol has no or only minimum error handling functions. Other network protocols are using high level flow control mechanisms. For example, to prevent loss of data the TCP protocol uses retransmission algorithms, fax applications usually repeat the transfer of faulty pages. www..com XT65_ATC_V01.001 Confidential / Released Page 27 of 588 1/9/07 XT65 AT Command Set 1.7 Communication between Customer Application and XT65 s 1.7 Communication between Customer Application and XT65 Leaving hardware flow control unconsidered the Customer Application (TE) is coupled with the XT65 (ME) via a receive and a transmit line. Since both lines are driven by independent devices collisions may (and will) happen. For example, if the TE issues an AT command the XT65 starts sending a URC. This will probably cause the TE to misinterpret 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 www..com gives the XT65 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 XT65 using activated echo (ATE1), i.e. the XT65 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. XT65_ATC_V01.001 Confidential / Released Page 28 of 588 1/9/07 XT65 AT Command Set 1.8 Unsolicited Result Code Presentation s 1.8 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 24.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 www..com 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" URC 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 stronglyrecommended to use the multiplex mode to map logical communication channels onto the serial line of the XT65, for details refer to [6] 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 XT65_ATC_V01.001 Confidential / Released Page 29 of 588 1/9/07 XT65 AT Command Set 1.9 Common PCN Handset Specification (CPHS) s 1.9 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 Alternate Line Service Voice Message Waiting Indication www..com Description/Remarks Using two phone numbers with one SIM card. AT command AT^SALS 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" Read specific Elementary Files (6F14h, 6F18h) from SIM. AT+CRSM Operator (Service provider) name from SIM Network and Service Pro- Lock/Unlock an ME to specific HPLMN and service provider. AT+CLCK, vider Lock (AT+CPIN) Call Forwarding Customer Service Profile (CSP) Information numbers Get and set diverted call status. Access specific Elementary File (6F13h) from SIM. Setting services and their menu entries depending on customer profiles. Hierarchically structured service numbers phonebook on SIM according to CPHS 4.2 (mandatory). AT+CCFC, AT+CRSM AT+CRSM AT+CRSM XT65_ATC_V01.001 Confidential / Released Page 30 of 588 1/9/07 XT65 AT Command Set 1.10 Errors and Messages s 1.10 Errors and Messages The command result codes "+CME ERROR: 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 XT65_ATC_V01.001 Confidential / Released Page 31 of 588 1/9/07 XT65 AT Command Set 2. Configuration Commands s 2. Configuration Commands The AT Commands described in this chapter allow the external application to determine the XT65's behaviour under various conditions. 2.1 AT&F sets www..com AT&F Set all current parameters to manufacturer defaults all current parameters to the manufacturer defined profile. All defined GPRS contexts which are not activated or not online will be undefined if the non volatile storage of CGDCONT settings is not activated by the AT^SCFG parameter "GPRS/PersistentContexts" (see AT+CGDCONT). Syntax Exec Command AT&F[ Response(s) OK Reference(s) PIN ASC0 USB MUX1 MUX2 MUX3 Charge Last V.250 - + + + + + - + - Parameter Description Notes * * * List of parameters reset to manufacturer default can be found in Section 24.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. XT65_ATC_V01.001 Confidential / Released Page 32 of 588 1/9/07 XT65 AT Command Set 2.2 AT&V s 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 www..com PROFILE: ... (see Section 2.2.1, AT&V responses) OK PIN ASC0 USB MUX1 MUX2 MUX3 Charge Last Reference(s) V.250 - + + + - + - Parameter Description 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 PDU mode, see AT+CMGF. * XT65_ATC_V01.001 Confidential / Released Page 33 of 588 1/9/07 XT65 AT Command Set 2.2 AT&V s 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 / USB (example) PIN authentication done 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 www..com 7,0,1 +CBST: +CRLP: 61,61,78,6 +CR: 0 +FCLASS: 0 +CRC: 0 +CMGF: 1 +CSDH: 0 +CNMI: 0,0,0,0,1 +ICF: 3 +IFC: 0,0 +ILRR: 0 +IPR: 115200 +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 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 +ICF: 3 +IFC: 0,0 +ILRR: 0 +IPR: 115200 +CMEE: 2 ^SCKS: 0,1 ^SSET: 0 OK XT65_ATC_V01.001 Confidential / Released Page 34 of 588 1/9/07 XT65 AT Command Set 2.2 AT&V s Table 2.2: Current configuration on MUX channels 2 and 3 (example) PIN authentication done ACTIVE PROFILE: E1 Q0 V1 X4 &C1 &D0 &S0 \Q0 \V1 S0:000 S3:013 S4:010 S5:008 +CR: 0 +CRC: 0 +CMGF: 1 +CSDH: 0 +CNMI: 0,0,0,0,1 +ICF: 3 +IFC: www..com0,0 +ILRR: 0 +IPR: 115200 +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 No PIN authentication ACTIVE PROFILE: E1 Q0 V1 X4 &C1 &D0 &S0 \Q0 \V1 S0:000 S3:013 S4:010 S5:008 +CR: 0 +ICF: 3 +IFC: 0,0 +ILRR: 0 +IPR: 115200 +CMEE: 2 ^SCKS: 0,1 ^SSET: 0 +CGSMS: 3 OK XT65_ATC_V01.001 Confidential / Released Page 35 of 588 1/9/07 XT65 AT Command Set 2.3 AT&W s 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 ASC0 USB MUX1 MUX2 MUX3 Charge Last V.250 - + + + + + - + - Parameter Description 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 24.5, AT Command Settings storable with AT&W. XT65_ATC_V01.001 Confidential / Released Page 36 of 588 1/9/07 XT65 AT Command Set 2.4 ATQ s 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 Reference(s) PIN ASC0 USB MUX1 MUX2 MUX3 Charge Last V.250 - + + + + + - + - Parameter Description Note * If Java is running, the firmware will ignore the command. Responses will be invalid or result in "ERROR". See also "XT65 Java User's Guide" [3], Section "Configuring serial interface". XT65_ATC_V01.001 Confidential / Released Page 37 of 588 1/9/07 XT65 AT Command Set 2.5 ATV s 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 www..com ERROR Reference(s) PIN ASC0 USB MUX1 MUX2 MUX3 Charge Last V.250 - + + + + + - + - Parameter Description 2.5.1 OK CONNECT RING NO CARRIER ERROR NO DIALTONE BUSY Verbose and numeric result codes Numeric format 0 1 2 3 4 6 7 47 48 49 50 Meaning Command executed, no errors Link established Ring detected Link not established or disconnected Invalid command or command line too long No dial tone, dialling impossible, wrong mode Remote station busy Link with 2400 bps and Radio Link Protocol Link with 4800 bps and Radio Link Protocol Link with 9600 bps and Radio Link Protocol Link with 14400 bps and Radio Link Protocol Alerting at called phone Mobile phone is dialing Verbose format CONNECT 2400/RLP CONNECT 4800/RLP CONNECT 9600/RLP CONNECT 14400/RLP ALERTING DIALING XT65_ATC_V01.001 Confidential / Released Page 38 of 588 1/9/07 XT65 AT Command Set 2.6 ATX s 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 www..com ERROR Reference(s) PIN ASC0 USB MUX1 MUX2 MUX3 Charge Last V.250 - + + + + + - + - Parameter Description XT65_ATC_V01.001 Confidential / Released Page 39 of 588 1/9/07 XT65 AT Command Set 2.7 AT\V s 2.7 Syntax AT\V Set CONNECT result code format Exec Command AT\V[ Response(s) OK ERROR Reference(s) PIN ASC0 USB MUX1 MUX2 MUX3 Charge Last www..com V.250 - + + + - - - + - Parameter Description (&F) CONNECT Notes * * For circuit switched data calls only. Output only if ATX parameter is set with value > 0. XT65_ATC_V01.001 Confidential / Released Page 40 of 588 1/9/07 XT65 AT Command Set 2.8 ATZ s 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 if the non volatile storage of CGDCONT settings is not activated by the AT^SCFG parameter "GPRS/PersistentContexts" (see AT+CGDCONT). The user defined profile is stored to the non-volatile memory. Syntax Exec Command www..com ATZ[ Response(s) OK Reference(s) PIN ASC0 USB MUX1 MUX2 MUX3 Charge Last V.250 - + + + + + - + - Parameter Description 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. XT65_ATC_V01.001 Confidential / Released Page 41 of 588 1/9/07 XT65 AT Command Set 2.9 AT+CFUN s 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 on the GSM unit of the ME or toreturn to full functionality. Intended for power saving, SLEEP mode reduces the functionality of the ME to a minimum and thus minimizes the current consumption. The XT65 employs two power saver systems, one for the GSM unit and one for the GPS receiver. On the GSM unit, power saving is controlled by AT+CFUN as described below. On the GPS receiver it can be set using the AT^SGPSS command in AT command mode, or the UBX protocol in Transparent mode. For an efficent power saving scheme the needs of both systems and their correlations shall be taken into consideration. For example, it is important to know that power saving does not take effect if set only on the GSM unit (AT+CFUN=0 or 7 or 9), and not www..com on the GPS receiver. Please refer to the "Application Note 36: GSM Applications with Integrated GPS Receiver" which discusses various strategies to minimize the module's power consumption. Further information, particularly power supply ratings during the various operating modes and the timing of hardware signals in GSM SLEEP mode can be found in the "XT65 Hardware Interface Description, Version 01.001". On the ME's GSM unit, SLEEP mode falls in two categories: * NON-CYCLIC SLEEP mode Syntax Test Command AT+CFUN=? Response(s) +CFUN: (list of supported Read Command AT+CFUN? Response(s) +CFUN: Write Command AT+CFUN=[ Response(s) OK ERROR +CME ERROR XT65_ATC_V01.001 Confidential / Released Page 42 of 588 1/9/07 XT65 AT Command Set 2.9 AT+CFUN s PIN ASC0 USB MUX1 MUX2 MUX3 Charge Last Reference(s) GSM 07.07 - + + - + - 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. www..com 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 24.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 is the AT interface fully accessible. Only the AT commands listed in Section 24.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 [1](&F)(P) 7 9 XT65_ATC_V01.001 Confidential / Released Page 43 of 588 1/9/07 XT65 AT Command Set 2.9 AT+CFUN s * Waking up the ME temporarily by an internal interrupt driven from the GPS receiver when GPS is run in Transparent mode. This option makes AT+CFUN=9 the best choice for the XT65 module to minimize the power consumption both on the GSM unit and on the GPS receiver. To take advantage of this function first activate power saving on the GSM unit with AT+CFUN=9, then set all UBX protocol parameters required for power saving in Transparent mode. Please note that the interrupt is effective only in Transparent mode, but not in AT command mode. For further detail please refer to the "Application Note 36: GSM Applications with Integrated GPS Receiver". www..com The parameter can only be used if the serial interface is enabled. Due to the command syntax, you need to enter parameter Notes * * 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= * * * * XT65_ATC_V01.001 Confidential / Released Page 44 of 588 1/9/07 XT65 AT Command Set 2.9 AT+CFUN s 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. Wake-up events in NON-CYCLIC and CYCLIC SLEEP modes www..com Table 2.3: Event Ignition line RTS0 Selected mode: Selected mode: Internal interrupt driven by GPS receiver Unsolicited Result Code (URC) Incoming voice or data call Any AT command (incl. outgoing SMS, voice or data call) Incoming SMS (AT+CNMI is set to 0,0 (this is the default setting) Incoming SMS (AT+CNMI is set to 1,1) GPRS data transfer Interrupt not effective Quit Quit From Java: Yes Without Java: Not possible (UART disabled) No effect Quit From Java: Yes Without Java: Not possible (UART disabled) Quit From Java: Yes Without Java: Not possible (UART disabled) Quit No effect Temporary Temporary RTC alarm line AT+CFUN=1 Temporary Quit Java terminates Temporary XT65_ATC_V01.001 Confidential / Released Page 45 of 588 1/9/07 XT65 AT Command Set 2.10 AT^SMSO s 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=? www..com Response(s) OK Exec Command AT^SMSO Response(s) ^SMSO: MS OFF OK ERROR Reference(s) PIN ASC0 USB MUX1 MUX2 MUX3 Charge Last SIEMENS - + + + + + - + + 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 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]. * XT65_ATC_V01.001 Confidential / Released Page 46 of 588 1/9/07 XT65 AT Command Set 2.11 AT+GCAP s 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 www..com Exec Command AT+GCAP Response(s) +GCAP: Reference(s) PIN ASC0 USB MUX1 MUX2 MUX3 Charge Last V.250 - + + + + + - + - Parameter Description Note * +CGSM: The response text shows which GSM commands of the ETSI standard are supported. XT65_ATC_V01.001 Confidential / Released Page 47 of 588 1/9/07 XT65 AT Command Set 2.12 AT+CMEE s 2.12 AT+CMEE Mobile Equipment Error Message Format AT+CMEE controls the format of the error result codes that indicates errors related to XT65 functionality. Format can be selected between plain "ERROR" output, error numbers or verbose "+CME ERROR: www..com Syntax Test Command AT+CMEE=? Response(s) +CMEE: (list of supported Read Command AT+CMEE? Response(s) +CMEE: Write Command AT+CMEE= Response(s) OK ERROR +CME ERROR: Reference(s) PIN ASC0 USB MUX1 MUX2 MUX3 Charge Last GSM 07.07 - + + + + + - + - Parameter Description Example To obtain enhanced error messages it is recommended to choose XT65_ATC_V01.001 Confidential / Released Page 48 of 588 1/9/07 XT65 AT Command Set 2.12 AT+CMEE s 2.12.1 Table 2.4: CME/CMS Error Code Overview General "CME ERROR" Codes (GSM 07.07) www..com Text (if AT+CMEE=2) phone failure no connection to phone phone-adapter link reserved Operation not allowed Operation not supported PH-SIM PIN required PH-FSIM PIN required PH-FSIM PUK required SIM not inserted SIM PIN required SIM PUK required SIM failure SIM busy SIM wrong Incorrect password SIM PIN2 required SIM PUK2 required Memory full invalid index not found Memory failure text string too long invalid characters in text string dial string too long invalid characters in dial string no network service Network timeout Network not allowed emergency calls only Network personalization PIN required Network personalization PUK required Network subset personalization PIN required Network subset personalization PUK required service provider personalization PIN required service provider personalization PUK required Corporate pe sonalization PIN required Corporate personalization PUK required Master Phone Code required unknown service option not supported 5 6 7 10 11 12 13 14 15 16 17 18 20 21 22 23 24 25 26 27 30 31 32 40 41 42 43 44 45 46 47 48 100 132 XT65_ATC_V01.001 Confidential / Released Page 49 of 588 1/9/07 XT65 AT Command Set 2.12 AT+CMEE s www..com Text (if AT+CMEE=2) requested service option not subscribed service option temporarily out of order Operation temporary not allowed call barred phone busy user abort invalid dial string ss not executed SIM blocked Invalid Block General "CME ERROR" Codes (SIEMENS) 261 262 263 Table 2.5: Table 2.6: Text (if AT+CMEE=2) network failure network is down service type not yet available operation of service temporary not allowed missing input value invalid input value operation failed unable to get control of required module SIM invalid - network reject call setup in progress SIM powered down GPRS related "CME ERROR" Codes (GSM 07.07) Table 2.7: Text (if AT+CMEE=2) Illegal MS Illegal ME GPRS services not allowed PLMN not allowed Location area not allowed Roaming not allowed in this location area unspecified GPRS error PDP authentication failure invalid mobile class GPRS related "CME ERROR" Codes (SIEMENS) Text (if AT+CMEE=2) GPRS - unspecified activation rejection GPRS - feature not supported GPRS - invalid address length GPRS - invalid character in address string XT65_ATC_V01.001 Confidential / Released Page 50 of 588 1/9/07 XT65 AT Command Set 2.12 AT+CMEE s www..com Text (if AT+CMEE=2) GPRS - invalid cid value GPRS - missing or unknown APN GPRS - pdp type not supported GPRS - profile (cid) not defined GPRS - QOS not accepted GPRS - QOS validation fail GPRS - unknown PDP address or type GPRS - unknown PDP context GPRS - QOS invalid parameter SMS related "CMS ERROR" Codes (GSM 07.05) 644 646 Table 2.8: Text (if AT+CMEE=2) Unassigned (unallocated) number Operator determined barring Call barred Short message transfer rejected Destination out of service Unidentified subscriber Facility rejected Unknown subscriber Network out of order Temporary failure Congestion Resources unavailable, unspecified Requested facility not subscribed Requested facility not implemented Invalid short message transfer reference value Invalid message, unspecified Invalid mandatory information Message type non-existent or not implemented Message not compatible with short message protocol state Information element non-existent or not implemented Protocol error, unspecified Interworking, unspecified Telematic interworking not supported Short message Type 0 not supported Cannot replace short message Unspecified TP-PID error Data coding scheme (alphabet) not supported Message class not supported Unspecified TP-DCS error Command cannot be actioned XT65_ATC_V01.001 Confidential / Released Page 51 of 588 1/9/07 XT65 AT Command Set 2.12 AT+CMEE s www..com Text (if AT+CMEE=2) Command unsupported Unspecified TP-Command error TPDU not supported SC busy No SC subscription SC system failure Invalid SME address Destination SME barred SM Rejected-Duplicate SM TP-VPF not supported TP-VP not supported D0 SIM SMS storage full No SMS storage capability in SIM Error in MS Memory Capacity Exceeded SIM Application Toolkit Busy SIM data download error Unspecified error cause ME failure SMS service of ME reserved Operation not allowed Operation not supported Invalid PDU mode parameter Invalid text mode parameter SIM not inserted SIM PIN required PH-SIM PIN required SIM failure SIM busy SIM wrong SIM PUK required SIM PIN2 required SIM PUK2 required Memory failure Invalid memory index Memory full SMSC address unknown no network service Network timeout NO +CNMA ACK EXPECTED Unknown error User abort 196 197 198 199 208 209 210 211 212 213 255 300 301 302 303 304 305 310 311 312 313 314 315 316 317 318 320 321 322 330 331 332 340 500 512 XT65_ATC_V01.001 Confidential / Released Page 52 of 588 1/9/07 XT65 AT Command Set 2.12 AT+CMEE s www..com Text (if AT+CMEE=2) unable to store invalid status invalid character in address string invalid length invalid character in pdu invalid length or character invalid character in text timer expired Operation temporary not allowed SIM not ready Cell Broadcast error unknown PS busy invalid parameter incorrect PDU length invalid message type indication (MTI) invalid (non-hex) chars in address incorrect PDU length (UDL) incorrect SCA length GPS related "CME ERROR" Codes (SIEMENS) 521 522 532 534 535 538 549 550 551 553 554 Table 2.9: Text (if AT+CMEE=2) GPS - Invalid parameter GPS - Busy GPS - general error GPS - invalid mode GPS - invalid data GPS - No satellite data XT65_ATC_V01.001 Confidential / Released Page 53 of 588 1/9/07 XT65 AT Command Set 2.13 AT+CSCS s 2.13 AT+CSCS Select TE character set The AT+CSCS write command informs the TA which character set Syntax Test Command www..com AT+CSCS=? Response(s) +CSCS: (list of supported Read Command AT+CSCS? Response(s) +CSCS: Write Command AT+CSCS=[ Response(s) OK Reference(s) PIN ASC0 USB MUX1 MUX2 MUX3 Charge Last GSM 07.07, GSM 11.11 - + + + + + - + - Parameter Description "UCS2" XT65_ATC_V01.001 Confidential / Released Page 54 of 588 1/9/07 XT65 AT Command Set 2.14 AT^SCFG s 2.14 AT^SCFG Extended Configuration Settings AT^SCFG can be used to query and configure various settings of the XT65. 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. www..com * "+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: incorrect password" A given password was not correct. * "+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 |