You are on page 1of 195

GC75

Sony Ericsson GPRS PC Card Modem GC75

AT-Commands Manual

EN/LZT 123 928 R2A

Contents
General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Alphabet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DTE command lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Command line general format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Command line editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Command line echo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Types of TE Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TE Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Basic Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Extended commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Action Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Parameter Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Concatenating commands after extended syntax commands . . . . . . . . Concatenating commands after basic format commands . . . . . . . . . . . Issuing commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Executing commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TA responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . In-band Escape mechanism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Control and Identification Commands . . . . . . . . . . . . . . . . . . . . . . . . . Z - Reset to Factory Defined Configuration . . . . . . . . . . . . . . . . . . . . . &F - Reset to Default Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . I - Request HW Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CGMI (+GMI) - Request Manufacturer Identification . . . . . . . . . . . +CGMM (+GMM) - Request Model Id . . . . . . . . . . . . . . . . . . . . . . . . +CGMR (+GMR) - Request Revision Id . . . . . . . . . . . . . . . . . . . . . . . +CLAC - List All Available AT Commands. . . . . . . . . . . . . . . . . . . . * - List All AT Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +GCAP - Request Modem Capability List. . . . . . . . . . . . . . . . . . . . . . +WS46 - select wireless network (PCCA STD-101) . . . . . . . . . . . . . . Call Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A - Answer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . H - Hang up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D - Dial (non GPRS calls) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . <Dial-string> Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MT originated PDP context activation . . . . . . . . . . . . . . . . . . . . . . . . . D*99* - Request GPRS service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D*98* - Request GPRS IP service . . . . . . . . . . . . . . . . . . . . . . . . . . . . Network requested PDP context activation . . . . . . . . . . . . . . . . . . . . . S0 - Automatic response to a network request for PDP context activation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A - Manual acceptance of a network request for PDP context activation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . H - Manual rejection of a network request for PDP context activation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 8 8 8 9 9 9 9 10 11 13 14 15 16 16 16 17 20 22 22 23 23 24 25 26 26 27 27 28 29 29 30 30 31 32 32 34 35 35 35 36

L - Monitor Speaker Loudness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CFUN - Set Phone Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . RING - Ring Indication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . O - Return to On-line Data Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P - Select Pulse Dialing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T - Select Tone Dialing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CAOC - Advice of Charge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CACM - Accumulated Call Meter . . . . . . . . . . . . . . . . . . . . . . . . . . . +CAMM - Accumulated Call Meter Maximum. . . . . . . . . . . . . . . . . . +CPUC - Price per unit and currency . . . . . . . . . . . . . . . . . . . . . . . . . . +CCWE - Call Meter Maximum Event . . . . . . . . . . . . . . . . . . . . . . . . +CPWC - Power class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CPAS - Phone Activity Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CSTA - Select Type of Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Interface Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +++AT - Escape Sequence Character. . . . . . . . . . . . . . . . . . . . . . . . . . S3 - Command Line Termination Character . . . . . . . . . . . . . . . . . . . . S4 - Response Formatting Character . . . . . . . . . . . . . . . . . . . . . . . . . . S5 - Command Line Editing Character . . . . . . . . . . . . . . . . . . . . . . . . E - Command Echo. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Q - Result Code Suppression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V - TA Response Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . &C - Circuit 109 (DCD) Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . &D - Circuit 108 (DTR) Response. . . . . . . . . . . . . . . . . . . . . . . . . . . . +IFC - TE-TA Local Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . S0 - Automatic Answer Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . S6 - Blind Dial Delay Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . S7 - Connection Completion Timeout . . . . . . . . . . . . . . . . . . . . . . . . . S10 - Automatic Disconnect Delay Control . . . . . . . . . . . . . . . . . . . . . M - Monitor Speaker Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X - Call Progress Monitoring Control . . . . . . . . . . . . . . . . . . . . . . . . . +ILRR - TE-TA Local , 4Rate Reporting . . . . . . . . . . . . . . . . . . . . . . Error Control (LAPM/MNP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +ES - Error Control Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +ETBM - Call Termination Buffer Management. . . . . . . . . . . . . . . . . +ER - Error Control Reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36 37 38 38 39 39 40 41 42 43 44 45 46 46 48 48 48 49 50 50 51 51 52 53 54 55 56 56 57 57 58 59 60 60 61 62

Data Compression (V24bis/MNP5) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 +DS - Data Compression Mode Selection . . . . . . . . . . . . . . . . . . . . . . 63 +DR - Data Compression Reporting . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Fax Class 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FCLASS - Select Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FBO - Phase C Bit Order Parameter . . . . . . . . . . . . . . . . . . . . . . . . . +FCQ - Copy Quality Checking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FCC - TA Capability Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FCS - Current Session Parameter. . . . . . . . . . . . . . . . . . . . . . . . . . . . +FDR - Fax Data Receive Command. . . . . . . . . . . . . . . . . . . . . . . . . . +FDT - Fax Data Transmission Command . . . . . . . . . . . . . . . . . . . . . 65 65 66 67 67 69 70 71

+FEA - Phase C received EOL alignment . . . . . . . . . . . . . . . . . . . . . . +FET - Page Punctuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FIE - Procedure interrupt enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FIP - Initialise Fax Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FIS - Current Session Negotiation Parameter . . . . . . . . . . . . . . . . . . +FIT - Inactivity timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FKS - Session Termination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FLI - Local ID String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FPI - Local Polling ID String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FLP - Indicated Document to Poll . . . . . . . . . . . . . . . . . . . . . . . . . . . +FNR - Negotiation reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FPP - Packet protocol control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FPS - Page Transfer Status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FSP - Request to Poll . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FIS: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FTC: Report DTC frame information . . . . . . . . . . . . . . . . . . . . . . . . +FHR: - Report received HDLC frames. . . . . . . . . . . . . . . . . . . . . . . . +FHS - Call termination status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FCI: - Called station id (CSI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FCS: - Report DCS frame information. . . . . . . . . . . . . . . . . . . . . . . . +FTI: - Remote station id (TSI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FPI: - Report Remote id, CIG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FPS: - Page status report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FPO: - Remote polling indication . . . . . . . . . . . . . . . . . . . . . . . . . . . +FNC: - Report non-standard command frame . . . . . . . . . . . . . . . . . . +FNF: - Non standard facilities report . . . . . . . . . . . . . . . . . . . . . . . . . +FNS: - Non standard setup report. . . . . . . . . . . . . . . . . . . . . . . . . . . . +FET. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FCO: - indicates connection with a fax terminal . . . . . . . . . . . . . . . . +FDM: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +FHT: - Report transmit HDLC frames . . . . . . . . . . . . . . . . . . . . . . . .

72 72 73 74 75 75 76 77 78 78 79 80 81 82 82 82 83 83 84 84 84 85 85 85 86 86 86 86 87 87 88

GSM 07.10 Multiplexor Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 +CMUX - Multiplexing Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 GSM TE-TA Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 +CSCS - Select TE Character Set. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 GSM Call Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 +CRC - Cellular Result Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 +CR - Service Reporting control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 GSM Data/Fax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 +CBST - Select bearer service type . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 +CRLP - Radio link protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 GSM Network Reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CNUM - Subscriber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . *EBSE - Band Selection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CREG - Network Registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +COPS - Operator Selection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 97 98 99 100

+CLIP - Calling Line Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . +CLIR - Calling Line Identification. . . . . . . . . . . . . . . . . . . . . . . . . . . +COLP - Connected Line Identification . . . . . . . . . . . . . . . . . . . . . . . +CCFC - Call Forwarding Number and Conditions. . . . . . . . . . . . . . . +CSSN - Supplementary service notifications . . . . . . . . . . . . . . . . . . .

102 103 104 105 107

GSM Facility Lock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 +CLCK - Facility lock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 +CPWD - Change password. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 GSM Mobile Equipment Control and Status . . . . . . . . . . . . . . . . . . . . +CPIN - Enter PIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CGSN - Request product serial number identification. . . . . . . . . . . . +CSQ - Signal quality. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 113 114 115

GSM Mobile Equipment Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 +CEER - GSM Extended Error Reporting . . . . . . . . . . . . . . . . . . . . . . 116 +CMEE - Report Mobile Equipment Error . . . . . . . . . . . . . . . . . . . . . 117 SMS General Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CSMS - Select Message Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CPMS - Preferred Message Storage . . . . . . . . . . . . . . . . . . . . . . . . . . +CMGF - Message Format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CSCA - Service Center Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CSCB Select Cell Broadcast Message Types. . . . . . . . . . . . . . . . . . +CNMI - New Message Indications to TE . . . . . . . . . . . . . . . . . . . . . . +CMGD - Delete Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SMS Text mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CSMP - Set Text Mode Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . +CSDH - Show Text Mode Parameters . . . . . . . . . . . . . . . . . . . . . . . . +CNMI - New Message Indications to TE . . . . . . . . . . . . . . . . . . . . . . +CMGL - List Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CMGR - Read Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CNMA - New Message Acknowledgement to ME/TA . . . . . . . . . . . +CMGS - Send Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CMSS - Send Message from Storage . . . . . . . . . . . . . . . . . . . . . . . . +CMGW - Write Message to Memory. . . . . . . . . . . . . . . . . . . . . . . . . +CMGC - Send Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CMMS - More Messages to Send . . . . . . . . . . . . . . . . . . . . . . . . . . . SMS PDU mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CNMI - New Message Indications to TE . . . . . . . . . . . . . . . . . . . . . . +CMGL - List Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CMGR - Read Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CMGS - Send Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CMGW - Write Message to Memory. . . . . . . . . . . . . . . . . . . . . . . . . +CMGC - Send Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CNMA - New Message Acknowledgement to ME/TA . . . . . . . . . . . +CMSS - Send Message from Storage . . . . . . . . . . . . . . . . . . . . . . . . . 118 122 123 124 124 125 126 130 132 132 133 133 134 135 136 137 138 139 139 140 141 141 141 142 142 143 144 144 145

GSM Phonebook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CPBS - Select phone book memory . . . . . . . . . . . . . . . . . . . . . . . . . . +CPOL Preferred operator list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CIMI - Request IMSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CPBR - Read phone book entries. . . . . . . . . . . . . . . . . . . . . . . . . . . . +CPBF - Find phonebook entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CPBW - Write phonebook entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CRSM - Restricted SIM access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Phone Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +COPN - Read operator names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CMEC - Mobile Equipment control mode . . . . . . . . . . . . . . . . . . . . . +CMER - Mobile Equipment Event Reporting . . . . . . . . . . . . . . . . . . +CMAR - Master Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HSCSD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CHSD - HSCSD device parameters . . . . . . . . . . . . . . . . . . . . . . . . . . +CHST - HSCSD transparent call configuration . . . . . . . . . . . . . . . . +CHSN - HSCSD non-transparent call configuration . . . . . . . . . . . . . +CHSC HSCSD current call parameters . . . . . . . . . . . . . . . . . . . . . . . +CHSR - HSCSD parameters report . . . . . . . . . . . . . . . . . . . . . . . . . . GPRS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CGDCONT - Define PDP Context . . . . . . . . . . . . . . . . . . . . . . . . . . +CGQREQ - Quality of Service Profile (Requested). . . . . . . . . . . . . . +CGQMIN - Quality of Service Profile (Minimum acceptable) . . . . . +CGATT - GPRS attach or detach . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CGACT - PDP context activate or deactivate . . . . . . . . . . . . . . . . . . +CGDATA - Enter data state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CGPADDR - Show PDP address . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CGEREP - GPRS event reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . +CGREG - GPRS network registration status . . . . . . . . . . . . . . . . . . . +CGSMS - Select service for MO SMS messages. . . . . . . . . . . . . . . . SATK 2.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Display Text (Module -> PDA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . GET INKEY (Module -> PDA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . GET INPUT (Module -> PDA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MENU SELECTION (Module <- PDA) . . . . . . . . . . . . . . . . . . . . . . . PLAY TONE (Module -> PDA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . REFRESH (Module -> PDA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SELECT ITEM (Module -> PDA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . SEND SHORT MESSAGE (Module -> PDA) . . . . . . . . . . . . . . . . . . SEND SS (Module -> PDA). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SEND USSD (Module -> PDA) (Class 3 Feature). . . . . . . . . . . . . . . . SET UP CALL (Module -> PDA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . SET UP MENU (Module -> PDA). . . . . . . . . . . . . . . . . . . . . . . . . . . . TERMINAL RESPONSE (PDA->Module). . . . . . . . . . . . . . . . . . . . . Polling Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Provide Local Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

147 147 148 149 149 150 151 152 154 154 154 155 157 158 158 159 159 160 161 162 162 164 165 166 167 168 169 170 172 173 174 174 174 175 176 176 176 177 177 178 178 179 179 181 181 183 183

Sony Ericsson Specific Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . *ECAM - Sony Ericsson Call Monitoring . . . . . . . . . . . . . . . . . . . . . . *ESIMC - SIM Insert/Removal indication . . . . . . . . . . . . . . . . . . . . . . *EPRO . Sony Ericsson get provider name . . . . . . . . . . . . . . . . . . . . . *ECIPC - Enable/Disable Ciphering Command . . . . . . . . . . . . . . . . . *EPNR - Sony Ericsson Read SIM Preferred Network . . . . . . . . . . . . *EPNW - Sony Ericsson Write SIM Preferred Network . . . . . . . . . . .

184 184 186 186 187 187 188

Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189 +CME ERROR: <err> - Mobile Equipment error result code . . . . . . . 189 +CMS ERROR . Message Failure Result Code . . . . . . . . . . . . . . . . . . 191 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194

General
This chapter specifies concepts and definitions that are common to both ITU-T V.25ter [28] and ITU-T V.250 [29] recommendations (V.250 supersedes V.25ter), extended with Sony Ericsson specific implementations.

Alphabet
The ITU-T T.50 [27] International Alphabet 5, hereinafter cited as IA5, is used in this specification. Only the low-order seven bits of each character are significant to the TA; any eighth or higher-order bit(s), if present, are ignored for the purpose of identifying commands and parameters. Lower-case characters (IA5 values from 6/1 to 7/10) are considered identical to their up-per-case equivalents (IA5 values from 4/1 to 5/10) when received by the TA from the TE. Result codes from the TA, which are defined in this Recommendation, shall be in upper case.

DTE command lines


In the descriptions that follow, words enclosed in <angle brackets> are references to syntactical elements defined in this Specification. When they appear in a command line, the brackets are not used. Words enclosed in [square brackets] represent optional items; such items may be omitted from the command line at the point where they are specified, and when they appear the square brackets are not included in the command line. Other characters that appear in syntax descriptions shall appear in the places shown. In the following sub-clauses regarding TE commands, references are made to responses issued by the TA, which are defined in TA responses, page 17. In order to provide a clearer presentation, TA responses are mentioned in terms of their alphabetic format; the actual response issued will depend on the setting of parameters that affect response formats (e.g. Q and V commands).

Command line general format


A command line is made up of three elements: the prefix, the body, and the termination character. The command line prefix consists of the characters AT (IA5 4/1, 5/4) or at (IA5 6/1, 7/4). The body is made up of individual commands as specified later in this Recommendation. Space characters (IA5 2/0) are ignored and may be used freely for formatting purposes, unless they are embedded in numeric or string constants, see Numeric constants, page 12 or String constants, page 12. The termination character may not appear in the body. The TA shall be capable of accepting at least 40 characters in the body.

General

The termination character may be selected by a user option (parameter S3), the default being CR (IA5 0/13).

Command line editing


The character defined by parameter S5 (default, BS [IA5 0/8]) shall be interpreted as a request from the TE to the TA to delete the previous character. Any control characters (IA5 0/0 through 1/15, inclusive) that remain in the command line after receipt of the termination character shall be ignored by the TA. The TA checks characters from the TE, first to see if they match the termination character (S3), then the editing character (S5), before checking for other characters. This insures that these characters will be properly recognized even if they are set to values that the TA uses for other purposes. If S3 and S5 are set to the same value, a matching character will be treated as matching S3 (S3 is checked before S5).

Command line echo


The TA may echo characters received from the TE during command state and online command state back to the TE, depending on the setting of the E command. If so enabled, characters received from the TE are echoed at the same rate, parity, and format as received.

Types of TE Commands
There are two types of commands: action commands and parameter commands. Action commands may be executed (to invoke a particular function of the equipment, which generally involves more than the simple storage of a value for later use), or tested (to determine whether or not the equipment implements the action command, and, if subparameters are associated with the action, the ranges of sub-parameter values that are supported). Parameters may be set (to store a value or values for later use), read (to determine the current value or values stored), or tested (to determine whether or not the equipment implements the parameter, and the ranges of values supported).

TE Command
Basic Command, page 10 defines Basic Syntax TE commands, which are implemented in common TA. This specification also defines Extended Syntax TE commands in Extended commands, page 11. Commands of either type may be included in command lines, in any order.

General

Basic Command
Basic Command Format The format of Basic Syntax commands, except for the D and S commands, is as follows:
<cmd>[...<number >] <cmd>[=][<number>]

where <cmd> is either a single character, or the & character (IA5 2/6) followed by a single character. Characters used in <cmd> shall be taken from the set of alphabetic characters. <number> may be a string of one or more characters from 0 through 9 representing a decimal integer value. Commands that expect a <number> are noted in the description of the command. If a command expects <number> and it is missing (<cmd> is immediately followed in the command line by another <cmd> or the termination character), the value 0 is assumed. If a command does not expect a <number> and a number is present, an ERROR is generated. All leading 0s in <number> are ignored by the TA. Additional commands may follow a command (and associated parameter, if any) on the same command line without any character required for separation. The actions of some commands cause the remainder of the command line to be ignored (e.g. A). See the D command D - Dial (non GPRS calls), page 30 for details on the format of the information that follows it. S-parameters Commands that begin with the letter S constitute a special group of parameters known as S-parameters. These differ from other commands in important respects. The number following the S indicates the parameter number being referenced. If the number is not recognized as a valid parameter number, an ERROR result code is issued. Immediately following this number, either a ? or = character (IA5 3/15 or 3/13, respectively) shall appear. ? is used to read the current value of the indicated S-parameter; = is used to set the S-parameter to a new value.
S<parameter_number>? S<parameter_number>=[<value>]

If the = is used, the new value to be stored in the S-parameter is specified in decimal following the =. If no value is given (i.e. the end of the command line occurs or the next command follows immediately), the S-parameter specified may be set to 0, or an ERROR result code issued and the.stored value left unchanged. The ranges of acceptable values are given in the description of each S-parameter. If the ? is used, the TA transmits a single line of information text to the TE.

10

General

For S-parameters defined in this specification, the text portion of this information text consists of exactly three characters, giving the value of the S-parameter in decimal, with leading zeroes included.

Extended commands
Command naming rules Both actions and parameters have names, which are used in the related commands. Names always begin with the character + (IA5 2/15). Following the +, from one to sixteen (16) additional characters appear in the command name. These characters shall be selected from the following set:
A through Z (IA5 4/1 through 5/10) 0 through 9 (IA5 3/0 through 3/9) ! (IA5 2/1) % (IA5 2/5) - (IA5 2/13) . (IA5 2/14) / (IA5 2/15) : (IA5 3/10) _ (IA5 5/15) *E (IA5 2/10 and 4/5)

The first character following the + shall be an alphabetic character in the range of A through Z. This first character generally implies the application in which a command is used or the standards committee that defined it (e.g. command names beginning with F are generally associated with facsimile-related standards, promulgated by Study Group 8). See Appendix I for information on first command characters reserved for use by particular standards committees. All other +leadin character sequences are reserved for future standardization by the ITU-T. The command interpreter in the Data Circuit-terminating Equipment (TA) considers lower-case characters to be the same as their upper-case equivalents; therefore, command names defined in standards referencing this Recommendation that include alphabetic characters should be defined using only the uppercase characters. Standards that reference this Recommendation may choose to establish internal naming conventions that permit implicit recognition of a name as an action or as a parameter. For example, the standard could choose to end all action names with an exclamation point (!), or all parameter names with a percent sign (%). This Recommendation imposes no such conventions, however.

General

11

Sony Ericsson Specific Command Both actions and parameters have names, which are used in the related commands. Names always begin with the two characters *E (IA5 2/10 and 4/5). Following the *E, from one to fifteen (15) additional characters shall appear in the command name. Values When sub-parameters are associated with the execution of an action, or when setting a parameter, the command may include specification of values. This is indicated by the appearance of <value> in the descriptions below. <value> shall consist of either a numeric constant or a string constant. Numeric constants Numeric constants are expressed in decimal, hexadecimal, or binary. Decimal numeric constants shall consist of a sequence of one or more of the characters 0 (IA5 3/0) through 9 (IA5 3/9), inclusive. Hexadecimal numeric constants shall consist of a sequence of one or more of the characters 0 (IA5 3/0) through 9 (IA5 3/h), inclusive, and A (IA5 4/1) through F (IA5 4/6) inclusive. The characters A through F represent the equivalent decimal values 10 through 15. Binary numeric constants shall consist of a sequence of one or more of the characters 0 (IA5 3/0) and 1 (IA5 3/1). In all numeric constants, the most significant digit is specified first. Leading 0 characters shall be ignored by the TA. No spaces, hyphens, periods, commas, parentheses, or other generally-accepted numeric formatting characters are permitted in numeric constants. Note! No H suffix is appended to the end of hexadecimal constants. String constants String constants shall consist of a sequence of displayable IA5 characters, each in the range from 2/0 to 7/15, inclusive, except for the characters (IA5 2/2) and \ (IA5 5/12). String constants shall be bounded at the beginning and end by the double-quote character (, IA5 2/2). A null string constant, or a string constant of zero length, is represented by two adjacent delimiters ().

12

General

Compound values Actions may have more than one sub-parameter associated with them, and parameters may have more than one value. These are known as compound values, and their treatment is the same in both actions and parameters. A compound value consists of any combination of numeric and string values (as defined in the description of the action or parameter). The comma character (IA5 2/12) shall be included as a separator, before the second and all subsequent values in the compound value. If a value is not specified (i.e. defaults assumed), the required comma separator shall be specified; however, trailing comma characters may be omitted if all associated values are also omitted.

Action Command
Action execution command There are two general types of action commands: those that have associated sub-parameter values that affect only that invocation of the command, and those that have no subparameters. If sub-parameters are associated with a command, the definition of the action command shall indicate, for each sub-parameter, whether the specification of a value for that sub-parameter is mandatory or optional. For optional sub-parameters, the definition shall indicate the assumed (default) value for the sub-parameter if no value is specified for that sub-parameter; the assumed value may be either a previous value (i.e. the value of an omitted sub-parameter remains the same as the previous invocation of the same command, or is determined by a separate parameter or other mechanism), or a fixed value (e.g. the value of an omitted sub-parameter is assumed to be zero). Generally, the default value for numeric sub-parameters is 0, and the default value for string sub-parameters is (empty string). The following syntax is used for actions that have no sub-parameters:
+<cmd *E<cmd>

The following syntax is used for actions that have one sub-parameter:
+<cmd>[=<value>] *E<cmd>[=<value>]

The following syntax is used for actions that have two or more sub-parameters:
+<cmd>[=<compound_value>] *E<cmd>[=<compound_value>]

For actions that accept sub-parameters, if all sub-parameters are defined as being optional, and the default values for all sub-parameters are satisfactory, the Data Terminal Equipment (TE) may use the first syntax above (i.e. omit the from the action execution command as well as all of the sub-parameter value string).

General

13

If the named action is implemented in the TA and other relevant criteria are met (e.g. the TA is in the proper state), the command shall be executed with any indicated sub-parameters. If <cmd> is not recognized, the TA issues the ERROR result code and terminates processing of the command line. An ERROR is also generated if a sub-parameter is specified for an action that does not accept sub-parameters, if too many sub-parameters are specified, if a mandatory sub-parameter is not specified, if a value is specified of the wrong type, or if a value is specified that is not within the supported range. Action test command The TE may test if an action command is implemented in the TA by using the syntax:
+<cmd>=? *E<cmd>=?

If the TA does not recognize the indicated name, it shall return an ERROR result code and terminate processing of the command line. If the TA does recognize the action name, it shall return an OK result code. If the named action accepts one or more sub-parameters, the TA shall send an information text response to the TE, prior to the OK result code, specifying the values supported by the TA for each such sub-parameter, and possibly additional information. The format of this information text is defined for each action command; general formats for specification of sets and ranges of numeric values are described in Responses, page 17 and Extended syntax result codes, page 18.

Parameter Command
Parameters may be defined as read-only or read-write. Read-only parameters are used to provide status or identifying information to the TE, but are not settable by the TE; attempting to set their value is an error. In some cases (specified in the description of the individual parameter), the TA may ignore attempts to set the value of such parameters rather than respond with an ERROR result code, if the continued correct operation of the interface between the TA and TE will not be affected by such action. Readonly parameters may be read and tested. Read-write parameters may be set by the TE, to store a value or values for later use. Readwrite parameters may be set, read, and tested. Parameters may take either a single value, or multiple (compound) values. Each value may be either numeric or string; the definition of the parameter shall specify the type of value for each sub-parameter. Attempting to store a string value in a numeric parameter, or a numeric value in a string parameter, is an error.

14

General

Parameter set command The definition of the parameter shall indicate, for each value, whether the specification of that value is mandatory or optional. For optional values, the definition shall indicate the assumed (default) value if none is specified; the assumed value may be either a previous value (i.e. the value of an omitted sub-parameter retains its previous value), or a fixed value (e.g. the value of an omitted sub-parameter is assumed to be zero). Generally, the default value for numeric parameters is 0, and the default value for string parameters is (empty string). The following syntax is used for parameters that accept a single value:
+<cmd>=[<value>] *E<cmd>=[<value>]

The following syntax is used for parameters that accept more than one value:
+<cmd>=[<compound_value>] *E<cmd>=[<compound_value>]

If the named parameter is implemented in the TA, all mandatory values are specified, and all values are valid according to the definition of the parameter, the specified values shall be stored. If <cmd>is not recognized, one or more mandatory values are omitted, or one or more values are of the wrong type or outside the permitted range, the TA issues the ERROR result code and terminates processing of the command line. An ERROR is also generated if too many values are specified. In case of an error, all previous values of the parameter are unaffected. Parameter read command syntax The TE may determine the current value or values stored in a parameter by using the following syntax:
+<cmd>? *E<cmd>?

If the named parameter is implemented in the TA, the current values stored for the parameter are sent to the TE in an information text response. The format of this response is described in the definition of the parameter. Generally, the values will be sent in the same form in which they would be issued by the TE in a parameter setting command; if multiple values are supported, they will generally be separated by commas, as in a parameter setting command.

Concatenating commands after extended syntax commands


Additional commands may follow an extended syntax command on the same command line if a semicolon (; IA5 3/11) is inserted after the preceding extended command as a separator. The semicolon is not necessary when the extended syntax command is the last command on the command line.

General

15

Concatenating commands after basic format commands


Extended syntax commands may appear on the same command line after a basic syntax command without a separator, in the same manner as concatenation of basic syntax commands.

Issuing commands
All characters in a command line shall be issued at the same data rate, and with the same parity and format. If the maximum number of characters that the TA can accept in the body is exceeded, an ERROR result code shall be generated after the command line is terminated. The TE shall not begin issuing a subsequent command line until at least one-tenth of a second has elapsed after receipt of the entire result code issued by the TA in response to the preceding command line.

Executing commands
Upon receipt of the termination character, the TA shall commence execution of the commands in the command line in the order received from the TE. Should execution of a command result in an error, or a character be not recognized as a valid command (or command string), execution is terminated, the remainder of the command line is ignored, and the ERROR result code is issued. Otherwise, if all commands execute correctly, only the result code associated with the last command shall be issued; result codes for preceding commands are suppressed. If no commands appear in the command line, the OK result code is issued. Aborting commands Some action commands that require time to execute may be aborted while in progress; these are explicitly noted in the description of the command. Aborting of commands is accomplished by the transmission from the TE to the TA of any character. A single character shall be sufficient to abort the command in progress; however, characters transmitted during the first 125 milliseconds after transmission of the termination character shall be ignored (to allow for the TE to append additional control characters such as line feed after the command line termination character). To insure that the aborting character is recognized by the TA, it should be sent at the same rate as the.preceding command line; the TA may ignore characters sent at other rates. When such an aborting event is recognized by the TA, it shall terminate the command in progress and return an appropriate result code to the TE, as specified for the particular command.

16

General

Handling of invalid numbers and S-parameter values The TA shall react to undefined numbers and S-parameter values in the following way; issue the ERROR result code, and leave the previous value of the parameter unchanged;

TA responses
While in command state and online command state, the TA shall issue responses using the same rate, word length, and parity as the most recently received TE command line. In the event that no TE command has yet been received, rate, word length, and parity used will depend on the capabilities of the TA. When the TA transitions from the command state or online command state to the online data state, the result code CONNECT should be issued at the bit rate and parity used during the command state. When the TA transitions from the online data state to the command state or online command state, the result codes should be issued at the bit rate used during the online data state. Thereafter, any unsolicited result codes should use the bit rate and parity of the last command line issued by the TE to the TA. The characters of a response shall be contiguous, with no more than 100 milliseconds of mark idle issued between characters in addition to stop elements. Responses There are two types of responses that may be issued by the TA: information text and result codes. Information text responses consist of three parts: a header, text, and a trailer. The characters transmitted for the header are determined by a user setting (see the V command). The trailer consists of two characters, being the character having the ordinal value of parameter S3 followed by the character having the ordinal value of parameter S4. Result codes consist of three parts: a header, the result text, and a trailer. The characters transmitted for the header and trailer are determined by a user setting (see the V command). The result text may be transmitted as a number or as a string, depending on a user selectable setting (see the V command). There are three types of result codes: final, intermediate, and unsolicited. A final result code indicates the completion of a full TA action and a willingness to accept new commands from the TE. An intermediate result code is a report of the progress of a TA action. The CONNECT result code is an intermediate result code (others may be defined by manufacturers). In the case of a dialing or answering command, the TA moves from command state to online data state, and issues a CONNECT result code. This is an intermediate result code for the TA because it is not prepared to accept commands from the TE while in online data state. When the TA moves back to the command state, it will then issue a final result code (such as OK or NO CARRIER).

General

17

Unsolicited result codes (such as RING) indicate the occurrence of an event not directly associated with the issuance of a command from the TE. Table 1 indicates result codes that shall be implemented by the TA, their numeric equivalents, and a brief description of the use of each. In clause 6, the description of each command includes the specific result codes that may be issued in relation to that command and the circumstances under which they may be issued.
Table 1/V.250 - Result codes Result code Numeric (ATV1) (ATV0) OK CONNECT RING NO CARRIER ERROR 0 1 2 3 4 Description Acknowledges execution of a command A connection has been established; the TA is moving from command state to online data state The TA has detected an incoming call signal from the network The connection has been terminated or the attempt to establish a connection failed Command not recognized, command line maximum length exceeded, parameter value invalid, or other problem with processing the command line Engaged (busy) state detected

BUSY NO ANSWER

7 8

@ (Wait for Quiet Answer) dial modifier was used,


but remote ringing followed by five seconds of silence was not detected before expiration of the connection timer (S7)

CONNECT <text>

Manufacturer- Same as CONNECT, but includes manufacturerspecific specific text that may specify TE speed, line speed, error control, data compression, or other status

Extended syntax result codes Extended syntax result codes may be issued in response to either basic or extended commands, or both. The appropriate responses shall be specified in the definitions of the commands, the responses, or both. The general format of extended syntax result codes is the same as result codes defined in TIA-602 with regard to headers and trailers. The characters specified in S-parameters S3 and S4 shall be used in headers and trailers of extended syntax result codes as they are in basic format result codes. The setting of the V command shall affect the headers and trailers associated with extended syntax result codes in the same manner as basic format result codes; however, unlike basic format result codes, extended syntax result codes have no numeric equivalent, and are always issued in alphabetic form. Extended syntax result codes shall be subject to suppression by the Q1 command, as with basic format result codes. The issuance of extended syntax result codes shall not be affected by the setting of the X command.

18

General

Extended syntax result codes may be either final, intermediate, or unsolicited; the type shall be indicated in the definition of the result code. Extended syntax result codes shall be prefixed by the + or *E character to avoid duplication of basic format result codes specified in TIA-602 and by manufacturers. Following the + and *E character(s), the name of the result code appears; result code names shall follow the same rules as command names (see Command naming rules, page 11). Extended syntax result codes may include the reporting of values. The definition of the result code shall specify whether or not values are appended to the result code, and, if so, how many, their types, and their assumed default values if omitted. When no values are to be reported, the result code appears in the simplest form:
+<cmd> *E<cmd>

If a single value is to be reported, the form of the result code shall be:
+<cmd>:<space><value> *E<cmd>:<space><value> <value>; no space appears between the result code name and the colon.

Note! A single space character (ASCII 20h) separates the colon character (ASCII 3Ah) from the If multiple values are to be reported with the result code, the form is:
+<cmd>:<space><compound_value> *E<cmd>:<space><compound_value>

where <compound_value>follows the rules specified in Compound values, page 13. Information text formats for test commands In general, the format of information text returned by extended syntax commands shall be specified in the definition of the command. This subclause describes recommended formats for information text returned in response to action test (for actions that accept one or more sub-parameters) and parameter test commands. The definitions of the responses to such testing commands, as described in the definitions of the associated commands in standards that reference this Recommendation, may use this recommended format or any other suitable format that is adequately specified. Note! The TA may insert intermediate <CR characters in very long information text responses, in
order to avoid overrunning TE receive buffers. If intermediate <CR characters are included, the TA shall not include the character sequences 0 <CR (3/0, 0/13) or OK...CR (4/15, 4/11, 0/13), so that TE can avoid false detection of the end of these information text responses.

General

19

Range of values

When the action accepts a single numeric sub-parameter, or the parameter accepts only one numeric value, the set of supported values may be presented in the information text as an ordered list of values. The list shall be preceded by a left parenthesis ((, IA5 2/8), and is followed by a right parenthesis (), IA5 2/9). If only a single value is supported, it shall appear between the parentheses. If more than one value is supported, then the values may be listed individually, separated by comma characters (IA5 2/12), or, when a continuous range of values is supported, by the first value in the range, followed by a hyphen character (IA5 2/13), followed by the last value in the range. The specification of single values and ranges of values may be intermixed within a single information text. In all cases, the supported values shall be indicated in ascending order. For example, the following are some examples of value range indications: (0) Only the value 0 is supported. (1,2,3) The values 1, 2, and 3 are supported. (1-3) The values 1 through 3 are supported. (0,4,5,6,9,11,12) The several listed values are supported. (0,4-6,9,11-12) An alternative expression of the above list.
Compound range of values

When the action accepts more than one sub-parameter, or the parameter accepts more than one value, the set of supported values may be presented as a list of the parentheticallyenclosed value range strings described in 5.7.3.1 above, separated by commas. For example, the information text in response to testing an action that accepts three sub-parameters, and supports various ranges for each of them, could appear as follows: (0),(1-3),(0,4-6,9,11-12) This indicates that the first sub-parameter accepts only the value 0, the second accepts any value from 1 through 3 inclusive, and the third sub-parameter accepts any of the values 0, 4, 5, 6, 9, 11, or 12.

In-band Escape mechanism


An in-band escape mechanism is an identifiable sequence of characters sent from the TE to the TA that when received, causes the TA to switch from on-line data mode to on-line command mode. These characters are called escape sequence. This specification covers the use of the Time Independent Escape Sequence (TIES) by Ventel. The TIES method is as follows:
Start with the escape sequence (three +) Followed by AT

20

General

Followed by an optional AT-command Followed by the terminating character stored in S3

General

21

Control and Identification Commands


In the following syntax tables the final result codes OK and ERROR are implied and are omitted from the command syntax

Z - Reset to Factory Defined Configuration


Action command syntax Command Z Description Possible response(s)

This command resets the values to user default settings and closes all connections. If the TA has a data-call in progress, it is disconnected from the call, terminating any (GSM) dataconnection in progress. GPRS connection isnt affected by this command. All of the functions of the command shall be completed before the TA issues the result code. An OK result code for this command is issued using the same rate, parity, and word format as the TE command line containing the command, but using the new values for parameters that affect the format of result codes (e.g. Q, V, S3, S4).
Comments

ATZ is the same as ATH&F. The TE should not include additional commands on the same command line after the Z command because such commands may be ignored. Because this command may take into consideration the settings of nonvolatile parameter storage, it does not necessarily return the TA to a known state. In particular, the TA may, as a result of execution of this command, be placed in a state in which it appears to not respond to TE commands, or respond in a completely different format than was being used prior to execution of the command.

22

Control and Identification Commands

&F - Reset to Default Configuration


Action command syntax Command &F Description Possible response(s)

This command instructs the TA to set all parameters to factory default values specified by the manufacturer, which may take into consideration hardware configuration switches and other manufacturer-defined criteria.
Comments

An OK result code for this command is issued using the same rate, parity, and word format as the TE command line containing the command, but using the factory-defined values for other parameters that affect the format of result codes (e.g. Q, V, S3, S4) and dependent upon other commands that may follow on the same command line.

I - Request HW Version
Action command syntax Command
Command ATI<value> Description Possible response(s) <information>

This command causes the TA to transmit one or more lines of information text, determined by the manufacturer.
Parameter-Values

<Value> 0 1 8
Comments

<Information> same info as +GMM same info as +GMR. TA hardware revision (Type approved HW revision).

Hardware revision must be stored so it does not change when the software is upgraded.

Control and Identification Commands

23

+CGMI (+GMI) - Request Manufacturer Identification


Action command syntax Command +CGMI +CGMI=? Possible response(s): +CME ERROR: <err> SONYERICSSON

Action command syntax


Command +GMI +GMI=? Description Possible response(s) SONYERICSSON

The +CGMI command is used to get the identity of the manufacturer of the phone (ME). AT+GMI command is used to get the identity of the manufacturer of the modem (TA). The +GMI command will never give an ERROR response. Test command is used to determine if the command is supported.
Parameter-Values

<manufacturer> .Sony Ericsson. <err> Error Messages, page 189

24

Control and Identification Commands

+CGMM (+GMM) - Request Model Id


Action command syntax Command +CGMM +CGMM=? Action command syntax Command +GMM +GMM=? Description Possible response(s) <model-name> Possible response(s): +CME ERROR: <err> <model-type><model-name>

The +CGMM command is used to get the model of the phone (MS) determined by the manufacturer. The +GMM command is used to get the model of the modem (TA). The +GMM command will never give an ERROR response. Test command is used to determine if the command is supported.
Parameter-Values

<model-type> :

<model-name>: <err>

6130201-BV: A unique ASCII character/digit that may include blank characters. Always 10 characters long (padded with space if less than 10 digits long). GC75: model name for the transceiver unit. Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

Control and Identification Commands

25

+CGMR (+GMR) - Request Revision Id


Action command syntax Command +CGMR +CGMR=? Possible response(s): +CME ERROR: <err> <revision>

Action command syntax


Command +GMR +GMR=? Description Possible response(s) <revision>

The +CGMR command is used to get the SW version of the phone (ME). The +GMR command is used to get the SW version of the modem (TA). The +GMR command will never give an ERROR response. Test command is used to determine if the command is supported.
Parameter-Values

<revision>:

<err>

An ASCII string containing a six digit date (year, month, day), <space>, a four digit time (hour, minute), <space>, <softwareidentity>. Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

+CLAC - List All Available AT Commands


Action command syntax Command +CLAC +CLAC=? Description Possible response(s): +CME ERROR: <err> <AT Command-1> [<CR><LF><AT Command-2>[...]]

Execution command causes the ME to return one or more lines of AT Commands.

26

Control and Identification Commands

Parameter-Values

<AT Command-n>:Defines the AT command including the prefix AT. Text shall not contain the sequence 0<CR> or OK<CR> <err> Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.
Comments

This command only returns the AT commands that are available for the end user. This command is equivalent to AT*.

* - List All AT Commands


Action command syntax
Command * Possible response(s) <Command-1> <CR><LF><Command-2>[...]]

Description

This command is used to get the list of the supported commands.


Parameter-Values

<Commandx>:

defines the AT Command. Text shall not contain the sequence 0<CR> or OK<CR>

Comments

This command only returns the AT commands that are available for the end user.

+GCAP - Request Modem Capability List


Action command syntax
Command +GCAP +GCAP=? Description Possible response(s) +GCAP: (list of supported <capability>s)

This command is used to request the list of valid Modem Command Prefixes.

Control and Identification Commands

27

Parameter-Values

<capability> +CGSM +FCLASS +DS +ES

Description GSM commands Facsimile 2 commands V42bis, compression V42, Error correction

+WS46 - select wireless network (PCCA STD-101)


Parameter command syntax Command +WS46=[<n>] +WS46? +WS46=? Description <n> (list of supported <n>s) Possible response(s)

Set command to select the WDS side stack <n> to be used by the TA. Read command shows current setting and test command displays side stacks implemented in the TA.
Defined values

<n> 0 12 240

Indicates that no wireless stack is active i.e +CFUN=4. Only possible in a response. GSM digital cellular i.e. +CFUN=1. Default. Indicates that no wireless stack is active and the phone is connected to a power source (charge only mode) i.e. +CFUN=0. Only possible in a response.

28

Control and Identification Commands

Call Control
A - Answer
Action command syntax Command A Possible response(s) CONNECT CONNECT <text> NO CARRIER

A=? Unsolicited Result Codes RING +CRING Description

This command is used to signal the MS to answer an incoming data-call. The command is followed by an intermediate result code such as CONNECT and enters Online State. Any additional commands that appear after A on the same command line are ignored.
Parameter-Values

<text> 9600 14400 19200 28800


Abortability

9.600 bps 14.400 bps 19.200 bps 28.800 bps

The A command may be aborted in the manner described in Aborting commands, page 16. If the TA is connected to the line, it disconnects from the line in an orderly manner as required by the state of the connection. Aborting the connection by reception of a character is generally possible at any time before the TA enters online data state, but may not be possible during some states of connection establishment, such as handshaking. The TA shall issue a final result code; which result code to issue shall be determined by the manufacturer, and may depend upon the state of the connection at the time the character was received from the TE. If a CONNECT or CONNECT <text> result code is received by the TE, this indicates that the attempt to abort the command was not successful, possibly due to the state of connection establishment at the time the character was sent.

Call Control

29

Comments

This command may only initiate a data-call setup, so an OK result code would indicate an unsuccessful call-setup.

H - Hang up
Action command syntax Command Possible response(s)

H[<value>]
Description

This command is used to signal the MS to terminate an active call. All of the functions of the command shall be completed before the TA issues any result code.
Parameter-Values

<value> 0

Disconnect and terminate active data-call. Default.

D - Dial (non GPRS calls)


Execute command syntax Command D<dial_string> Possible response(s) CONNECT CONNECT <text> NO CARRIER ERROR BUSY

Description

This command is used to signal the MS to dial a call. All characters appearing on the same command line after the D are considered part of the call addressing information to be signalled to the network, or modifiers used to control the signalling process (collectively known as a dial string), up to a semicolon character (IA5 3/11) or the end of the command line. Any characters appearing in the dial string that the TA does not recognize as a valid part of the call addressing information or as a valid modifier shall be ignored. This permits characters such as parentheses and hyphens to be included that are typically used in formatting of telephone numbers.

30

Call Control

V.25ter [28] dial command D lists characters that may be used in a dialling string for making a call or controlling supplementary services in accordance with GSM 02.30 [3]. Their use in GSM is listed in this subclause, as well as new dial modifiers applicable only to GSM are introduced. For a ME supporting AT commands only, it is mandatory to support the control of supplementary services in accordance with GSM 02.30 [3] through the dial command or through the specific supplementary service commands (+CCFC, +CLCK, etc.), where GSM 02.30 [3] identifies the supplementary services as mandatory.

<Dial-string> Parameter
V.25ter [28] dialling digits

1 2 3 4 5 6 7 8 9 0 * # + A B C (implementation of these characters is mandatory for GSM) + When given before dialing digits the call is originated to an international ISDN address (TON/NPI = 145) else the call is originated to an un-known type of ISDN address (TON/NPI = 169)
V.25ter [28] modifier characters

, TP

(implementation of this character is mandatory for GSM, but it is ignored) (implementation of these characters is mandatory for GSM, but they are ignored)

V.25ter [28] semicolon character

In GSM, when semicolon character is given after dialling digits (and modifiers), a voice call is originated to the given address. GC75 will issue an ERROR response when this dial modifier is found in the dialstring.

GSM modifier characters

> I or i

(refer subclause Direct dialling from phonebooks) (override the CLIR supplementary service subscription default value for this call; I = invocation (restrict CLI presentation) and i = suppression (allow CLI presentation); refer subclause +CLIR - Calling line identification restriction)

Possible responses to ATD command are following:


CONNECT if a data-call is successfully established. NO CARRIER if unable to establish a connection or if the Mobile phone is not registered or if the connection attempt was aborted by the user. ERROR if ATD is unsuccessfully executed by the MS. NO DIALTONE if the mobile is not within coverage of the network. BUSY if the phone number called is engaged.

Call Control

31

DELAYED if calling attempt is delayed because of repeat restrictions, this is an intermediate result code. BLACKLISTED when modem is blocked because of repeat restrictions.

Comments

Note! Command also supports Supplementary Service Code (SSC) strings, e.g.
ATD**61*<adr>*11*25# (See GSM 07.07 [18] 6.23)

This subclause describes how existing AT commands, designed for use with a modem, may be used to control a GPRS MO and GPRS MT connection. This is to provide backwards compatibility with existing communications software. For new applications it is recommended that the GPRS-specific commands be used.

MT originated PDP context activation


In this mode of operation, the MT behaves like an originating modem and accepts the normal V.25ter commands associated with placing and clearing a call. If GPRS-specific configuration commands are required, they may be sent to the MT as part of the modem initialisation commands.

D*99* - Request GPRS service


Execute command syntax Command D*99[*[<called_address>] [*[<L2P>][*[<cid>]]]]# Possible response(s) CONNECT CONNECT <text> ERROR

Description

This command causes the CG75 to perform whatever actions are necessary to establish communication between the TE and the external PDN. The V.25ter D (Dial) command causes the MT to enter the V.25ter online data state and, with the TE, to start the specified layer 2 protocol. The MT returns CONNECT to confirm acceptance of the command prior to entering the V.25ter online data state. No further commands may follow on the AT command line. The detailed behaviour after the online data state has been entered is dependent on the PDP type. It is described briefly in clauses 8 (for X.25) and 9 (for IP) of GSM 07.60. GPRS attachment and PDP context activation procedures may take place prior to or during the PDP start-up if they have not already been performed using the +CGATT and +CGACT commands.

32

Call Control

When the layer 2 protocol has terminated, either as a result of an orderly shut down of the PDP or an error, the MT enters V.25ter command state and returns the NO CARRIER final result code. If <called address> is supported and provided, the MT shall automatically set up a virtual call to the specified address after the PDP context has been activated. If <L2P> and <cid> are supported, their usage shall be the same as in the +CGDATA command. The +CGDCONT, +CGQREQ, etc. commands may then be used in the modem initialisation AT command string to set values for PDP type, APN, QoS etc. If <L2P> is not supported or is supported but omitted, the MT shall use a layer 2 protocol appropriate to the PDP type. If <cid> is not supported or is supported but omitted, the MT shall attempt to activate the context using: (a) (b) (c) any information provided by the TE during the PDP start-up procedure, e.g. the TE may provide a PDP type and/or PDP address to the MT, or a prior knowledge, e.g. the MT may implement only one PDP type, or using the Empty PDP type (GSM 04.08). (No PDP address or APN shall be sent in this case and only one PDP context subscription record shall be present in the HLR for this subscriber.)

This command may be used in both normal and modem compatibility modes. Note! The dial string conforms to the syntax specified in GSM 02.30.
Parameter-Values

<value> Description <called_address>: a string that identifies the called party in the address, equivalent may be used. Also, the character comma , may be used as a substitute for the character period .. <L2P>: a string which indicates the layer 2 protocol to be used (see +CGDATA command). For communications software that does not support arbitrary characters in the dial string, the following numeric equivalents shall be used: 0 NULL (Obsolete) 1 PPP 2 PAD 3 X25 9yyyy M-xxxx Other values are reserved and will result in an ERROR response to the set command. Note! V.250 (and certain communications software) does not permit arbitrary characters in the
dial string. The <L2P> and <called_address> strings are therefore specified as containing digits (0-9) only.

Call Control

33

<cid>:

a digit string which specifies a particular PDP context definition (see +CGDCONT command).

D*98* - Request GPRS IP service


Execute command syntax Command D*98[*<cid>]# Possible response(s) CONNECT CONNECT <text> ERROR

Description

This command causes the MT to perform whatever actions are necessary to establish communication between the TE and the external PDN. The V.25ter D (Dial) command causes the MT to enter the V.25ter online data state and, with the TE, to start the specified layer 2 protocol. The MT shall return CONNECT to confirm acceptance of the command prior to entering the V.25ter online data state. No further commands may follow on the AT command line. The detailed behaviour after the online data state has been entered is described briefly in clause 9, for IP, of GSM 07.60. GPRS attachment and PDP context activation procedures may take place prior to or during the PDP start-up if they have not already been performed using the +CGATT and +CGACT commands. When the layer 2 protocol has terminated, either as a result of an orderly shut down of the PDP or an error, the MT shall enter V.25ter command state and return the NO CARRIER final result code. If <cid> is supported, its usage shall be the same as in the +CGDATA command. The +CGDCONT, +CGQREQ, etc. commands may then be used in the modem initialisation AT command string to set values for PDP type, APN, QoS etc. If <cid> is not supported or is supported but omitted, the MT shall attempt to activate the context using: (a) (b) (c) any information provided by the TE during the PDP start-up procedure, e.g. the TE may provide a PDP type and/or PDP address to the MT, or a prior knowledge, e.g. the MT may implement only one PDP type, or using the Empty PDP type (GSM 04.08). (No PDP address or APN shall be sent in this case and only one PDP context subscription record shall be present in the HLR for this subscriber.)

This command may be used in both normal and modem compatibility modes. Note! The dial string conforms to the syntax specified in GSM 02.30.

34

Call Control

Defined Values

<value> Description <GPRS_SC_IP>: (GPRS Service Code for IP) a digit string (value 98) which identifies a request to use the GPRS with IP (PDP types IP and PPP) <cid>: a digit string which specifies a particular PDP context definition(see +CGDCONT command).

Network requested PDP context activation


In this mode of operation, the MT behaves like an answering modem and accepts the normal V.25ter commands associated with answering a call. If GPRS-specific configuration commands are required, they may be sent to the GC75 as part of the modem initialisation commands. The +CGAUTO command is used to select modem compatibility mode.

S0 - Automatic response to a network request for PDP context activation


Description

The V.25ter S0=n (Automatic answer) command may be used to turn off (n=0) and on (n>0) the automatic response to a network request for a PDP context activation. When the S0=n (n>0) command is received, the GC75 shall attempt to perform a GPRS attach if it is not already attached. Failure will result in ERROR being returned to the TE. Subsequently, the GC75 will announce a network request for PDP context activation by issuing the unsolicited result code RING to the TE, followed by the intermediate result code CONNECT. The GC75 then enters V.25ter online data state and follows the same procedure as it would after having received a +CGANS=1 with no <L2P> or <cid> values specified. Note! The S0=n (n=0) command does not perform an automatic GPRS detach.

A - Manual acceptance of a network request for PDP context activation


Description

The V.25ter A (Answer) command may be used to accept a network request for a PDP context activation announced by the unsolicited result code RING. The GC75 responds with CONNECT, enters V.25ter online data state and follows the same procedure as it would after having received a +CGANS=1 with no <L2P> or <cid> values specified. It is an error to issue the A command when there is no outstanding network request.

Call Control

35

H - Manual rejection of a network request for PDP context activation


Description

The V.25ter H or H0 (On-hook) command may be used to reject a network request for PDP context activation announced by the unsolicited result code RING. The GC75 responds with OK. It is an error to issue the H command when there is no outstanding network request. Note! This is an extension to the usage of the H command that is described in ITU-T V.25ter.

L - Monitor Speaker Loudness


Parameter command syntax Command L[<value>] L? L=? Description L: <value> L: (list of supported <value>s) Possible response(s)

This command is ignored Read command is used to show the current setting Test command is used to show the list of the supported values for monitor speaker.
Parameter-Values

<value> 0 1-255

Description Min speaker volume (Silent). Default. OK but ignored

36

Call Control

+CFUN - Set Phone Functionality


Parameter command syntax Command +CFUN=[<fun>[,<rst>]] +CFUN? +CFUN=? +CFUN: <fun> +CFUN: (list of supported <fun>s), (list of supported <rst>s) Possible response(s) +CME ERROR: <err>

Description

Set command +CFUN is used to set the MS functionality and to select the level of the functionality. Read command is used to show the current setting. Test command is used to show the list of the supported power levels and supported reset modes, as compound values.
Parameter-Values

<fun> 0 1 4 <rst> 0 1 <err>

Description Minimum functionality. Default. Full functionality. Disable MS transmit and receive RF circuits. Description Do not reset. Default. Reset the MS before setting it to <fun> power level . Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

Comments

The only commands available when +CFUN=0 are; +CFUN, +GMI, +CGMI, +GMM, +CGMM, +GMR, +CGMR and +CGSN.

Call Control

37

RING - Ring Indication


Unsolicited result code Command Possible response(s) RING Description

This result code is issued by the MS to report an incoming call. This result code should be repeated each time the network repeats the incoming call indication. The transmitting of RING result codes from the MS to the TE may be suppressed during command entry and execution. Circuit 125, if provided, may be unaffected by the status of command entry and execution and continue to indicate incoming calls even though transmitting of RING result codes is suppressed.
Comments

See +CRC - Cellular Result Code, page 92.

O - Return to On-line Data Mode


Execution command syntax Command O[=][<action>] Possible response(s) ERROR CONNECT CONNECT <text> NO CARRIER

O=? Description

Returns GC75 to on-line data mode from on-line command mode.


Parameter-Values

<action> 0
Comments

(default) switch from on-line command to on-line data state.

Possible responses ERROR CONNECT <action> is outside legal range or not in on-line command mode. Re-established data connection.

38

Call Control

NO CARRIER

data connection lost or aborted by user.

P - Select Pulse Dialing


Parameter command syntax Command P P=? Description Possible response(s)

This command is ignored and implemented for compatibility only. It would normally cause the next D command (see D - Dial (non GPRS calls), page 30) to use pulses when dialing the number.

T - Select Tone Dialing


Parameter command syntax Command T T=? Description Possible response(s)

This command is ignored and implemented for compatibility only. It would normally cause the next D command (see D - Dial (non GPRS calls), page 30) to use tones when dialing the number.

Call Control

39

+CAOC - Advice of Charge


Action/Parameter command syntax Command +CAOC[=<mode>] +CAOC? +CAOC=? Unsolicited Result Code +CAOC: <ccm> Description Possible response(s) +CME ERROR <err> [+CAOC: <ccm>] +CAOC: <mode> [+CAOC: (list of supported <mode>s]

This refers to Advice of Charge supplementary service (GSM 02.24 [2] and GSM 02.86 [16]) that enables subscriber to get information about the cost of calls. With <mode>=0, the execute command returns the current call meter value from the ME. The command also includes the possibility to enable an unsolicited event reporting of the CCM information. The unsolicited result code +CCCM is sent when the CCM value changes, but not more that every 10 seconds. Deactivation of the unsolicited event reporting is made with the same command. Read command indicates whether the unsolicited reporting is activated or not. Test command returns the supported mode values.
Parameter-Values

<mode> 0 1 2 <ccm>

<err>

query CCM value deactivate the unsolicited reporting of CCM value activate the unsolicited reporting of CCM value string type; three bytes of the current call meter value in hexadecimal format (e.g. 00001E indicates decimal value 30); value is in home units and bytes are similarly coded as ACMmax value in the SIM. Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

Comments

Also see +CACM - Accumulated Call Meter, page 41; +CAMM - Accumulated Call Meter Maximum, page 42;

40

Call Control

+CPUC - Price per unit and currency, page 43; +CCWE - Call Meter Maximum Event, page 44.

+CACM - Accumulated Call Meter


Parameter command syntax Command +CACM=[<passwd>] +CACM? +CACM=? Description +CACM: <acm> Possible response(s) +CME ERROR <err>

Set command resets the Advice of Charge related accumulated call meter value in SIM file EF_ACM. ACM contains the total number of home units for both the current and preceding calls. SIM PIN2 is usually required to reset the value. If setting fails in a +CME ERROR is returned. Read command returns the current value of ACM.
Parameter-Values

<passwd> <acm> <err>

string type; SIM PIN2 string type; accumulated call meter value similarly coded as <ccm> under +CAOC Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

Comments

Also see +CAOC - Advice of Charge, page 40; +CAMM - Accumulated Call Meter Maximum, page 42; +CPUC - Price per unit and currency, page 43; +CCWE - Call Meter Maximum Event, page 44.

Call Control

41

+CAMM - Accumulated Call Meter Maximum


Parameter command syntax
Command +CAMM=[<acmmax>[,<passwd>]] +CAMM? +CAMM=? Description +CAMM: <acmmax> Possible response(s) +CME ERROR <err>

Set command sets the Advice of Charge related accumulated call meter maximum value in SIM file EF_ACMmax. ACMmax contains the maximum number of home units, allowed to be consumed, by the subscriber. When ACM (refer to +CACM - Accumulated Call Meter, page 41) reaches ACMmax, calls are prohibited (see also GSM 02.24 [2]). SIM PIN2 is usually required to set the value. If setting fails an +CME ERROR is returned. Read command returns the current value of ACMmax
Parameter-Values

<acmmax>:

<passwd>: <err>

string type; accumulated call meter maximum value similarly coded as <ccm>: under +CAOC - Advice of Charge, page 40; value zero disables ACMmax feature string type; SIM PIN2 Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189

Comments

Also see: +CAOC - Advice of Charge, page 40; +CACM - Accumulated Call Meter, page 41; +CPUC - Price per unit and currency, page 43; +CCWE - Call Meter Maximum Event, page 44.

42

Call Control

+CPUC - Price per unit and currency


Parameter command syntax Command +CPUC=<currency>,<ppu>[,<passwd>] +CPUC? +CPUC=? Description +CPUC: <currency>,<ppu> Possible response(s) +CME ERROR <err>

Set command sets the parameters of Advice of Charge related price per unit and currency table in SIM file EF_PUCT. PUCT information can be used to convert the home units (as used in +CAOC, +CACM and +CAMM) into currency units. SIM PIN2 is usually required to set the parameters. Read command returns the current parameters of PUCT.
Parameter-Values

<currency>:

<ppu>: <passwd>: <err>

string type; three-character currency code (e.g. .GBP., .DEM.); character set as specified by command Select TE Character Set +CSCS string type; price per unit; dot is used as a decimal separator (e.g. .2.66.) string type; SIM PIN2 Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189

Comments

Also see: +CAOC - Advice of Charge, page 40; +CACM - Accumulated Call Meter, page 41; +CAMM - Accumulated Call Meter Maximum, page 42; +CCWE - Call Meter Maximum Event, page 44.

Call Control

43

+CCWE - Call Meter Maximum Event


Parameter command syntax Command +CCWE=<mode> +CCWE? +CCWE=? Unsolicited Result Code +CCWV Description +CCWE: <mode> +CCWE: (list of supported <mode>s) Possible response(s) +CME ERROR <err>

Shortly before the ACM (Accumulated Call Meter) maximum value is reached, an unsolicited result code +CCWV will be sent, if enabled by this command. The warning is issued approximately when 30 seconds call time remains. It is also issued when starting a call if less than 30 s call time remains. If setting fails in an +CME ERROR is returned. Read command returns the current setting. Test command returns supported settings.
Parameter-Values

<mode> 0 1 <err>

Description (default) Disable the call meter warning event Enable the call meter warning event Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189

Comments

Also see: +CAOC - Advice of Charge, page 40; +CACM - Accumulated Call Meter, page 41; +CAMM - Accumulated Call Meter Maximum, page 42; +CPUC - Price per unit and currency, page 43.

44

Call Control

+CPWC - Power class


Parameter command syntax Command +CPWC=[<class>[,<band>]] +CPWC? +CPWC=? +CPWC: <curr_class1>,<def_class1>,<band1> [,<curr_class2>,<def_class2>,<band2>[...]] +CPWC: list of supported (<band>, (list of <class>s)) pairs Possible response(s) +CME ERROR <err>

Description

This command is used to set the preferred ME power class for each GSM frequency band supported. If setting fails +CME ERROR is returned. Read command returns the currently selected output power class and default output power class for each supported frequency band. Parameter <band1> and its associated power class parameters refer to the currently used frequency band. For example, +CPWC: 2,1,1,5,4,0 in case of a dual-band ME currently using band GSM1800, for which the power class is currently set to 2, the default being class 1, and for which the currently set power class value for GSM900 is class 5 the default being class 4. Test command returns supported bands and their power classes. For example, +CPWC: (0,(0,4,5)),(1,(0-2)) in case of a dual-band hand-held ME.
Parameter-Values

<class> <curr_classn>s <def_classn>s 0 1 <band> <bandn>s 0 1 2 <err>

default (not applicable to <curr_class>s or <def_classn>s) MS output power class as in GSM 05.05 [15]

GSM900. Default. GSM1800 GSM1900 Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189

Call Control

45

+CPAS - Phone Activity Status


Action command syntax Command +CPAS +CPAS=? Description Possible response(s) +CME ERROR <err> +CPAS: <pas> +CPAS: (list of supported <pas>s)

Execution command returns the activity status <pas> of the ME. It can be used to interrogate the ME before requesting action from the phone. Test command returns values supported by the ME as a compound value.
Parameter-Values

<pas> 0 3 4 <err>

Ready (ME allows commands from TA/TE). Ringing (ME is ready for commands from TA/TE, but the ringer is active). Call in progress (ME is ready for commands from TA/TE, but a call is in progress). Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189

+CSTA - Select Type of Address


Parameter command syntax Command +CSTA=[<type>] +CSTA? +CSTA=? Description +CSTA: <type> +CSTA: (list of supported <type>s) Possible response(s)

Set command selects the type of number for further dialing commands (D) according to GSM specifications. Test command returns values supported by the TA as a compound value.

46

Call Control

Parameter-Values

<type>:

type of address octet in integer format (refer GSM 04.08 [13] sub clause 10.5.4.7); default 145 when dialing string includes international access code character +, otherwise 129

Call Control

47

Interface Commands
+++AT - Escape Sequence Character
Action command syntax Command +++AT[<cmd>]<cr> Description Possible response(s)

This command is used for switching from on-line data mode to on-line command mode.
Parameter-Values

<cmd> H[0]

Hook Control, Hang-up (H - Hang up, page 30).

S3 - Command Line Termination Character


Parameter command syntax Command S3=[<value>] S3? S3=? Description <value> S3: (list of supported <value>s) Possible response(s)

This S-parameter represents the decimal IA5 value of the character recognized by the TA from the TE to terminate an incoming command line. It is also generated by the TA as part of the header, trailer, and terminator for result codes and information text, along with the S4 parameter (see the description of the V parameter for usage). The previous value of S3 is used to determine the command line termination character for entry of the command line containing the S3 setting command. However, the result code issued shall use the value of S3 as set during the processing of the command line. For example, if S3 was previously set to 13 and the command line ATS3=30 is issued, the command line shall be terminated with a CR character (IA5 0/13), but the result code issued will use the character with the ordinal value 30 (IA5 2/14) in place of the CR. Read command is used to show the current setting. Test command is used to show the list of the supported <value>s.

48

Interface Commands

Parameter-Values

<value> 13 0-127

Default command line termination character other values, not supported

S4 - Response Formatting Character


Parameter command syntax Command S4=[<value>] S4? S4=? Description <value> S4: (list of supported <value>s) Possible response(s)

This S-parameter represents the decimal IA5 value of the character generated by the TA as part of the header, trailer, and terminator for result codes and information text, along with the S3 parameter (see the description of the V parameter for usage (V - TA Response Format, page 51)). If the value of S4 is changed in a command line, the result code issued in response to that command line will use the new value of S4. Read command is a command that is used to show the current setting. Test command is used to show the list of the supported <value>s.
Parameter-Values

<value> 10 0-127

formatting character, default value other values, not supported

Interface Commands

49

S5 - Command Line Editing Character


Parameter command syntax Command S5=[<value>] S5? S5=? Description <value> S5: (list of supported <value>s) Possible response(s)

This S-parameter represents the decimal IA5 value of the character recognized by the TA as a request to delete from the command line the immediately preceding character (seeCommand line editing, page 9). Read command is used to show the current setting. Test command is used to show the list of the supported <value>s.
Parameter-Values

<value> 8 0-127

line editing character, default value other values, not supported

E - Command Echo
Parameter command syntax Command E[<value>] E? E=? Description <value> E=? (list of supported <value>s) Possible response(s)

The setting of this parameter determines whether or not the TA echoes characters received from the TE during command state and online command state (see Command line echo, page 9). Read command is used to show the current setting. Test command is used to show the list of the supported <value>s.
Parameter-Values

<value>

50

Interface Commands

0 1

TA does not echo characters during command state and online command state TA echoes characters during command state and online command state, default value

Q - Result Code Suppression


Parameter command syntax Command Q[<value>] Q? Q=? Description <value> (list of supported <value>s) Possible response(s)

The setting of this parameter determines whether or not the TA transmits result codes to the TE. When result codes are being suppressed, no portion of any intermediate, final, or unsolicited result code header, result text, line terminator, or trailer is transmitted. Information text transmitted in response to commands is not affected by the setting of this parameter. Read command is used to show the current setting. Test command is used to show the list of the supported <value>s.
Parameter-Values

<value> 0 1

TA transmits result codes, default value. Result codes are suppressed and not transmitted.

V - TA Response Format
Parameter command syntax Command V[<value>] V? V=? Description <value> (list of supported <value>s) Possible response(s)

This command is used to Request TA Response Format.

Interface Commands

51

The setting of this parameter determines the contents of the header and trailer transmitted with result codes and information responses. It also determines whether result codes are transmitted in a numeric form or an alphabetic (or verbose) form. The text portion of information responses is not affected by this setting. Table 3 shows the effect of the setting of this parameter on the format of information text and result codes. All references to <CR> mean the character with the ordinal value specified in parameter S3; all references to <LF> likewise mean the character with the ordinal value specified in parameter S4.
Effect of V parameter on response formats Table 3/V.25 ter Information responses Result Codes V0 <text><cr><lf> <numeric code><cr> V1 <cr><lf> <text><cr><lf> <cr><lf> <verbose code><cr><lf>

Read command is used to show the current setting. Test command is used to show the list of the supported <value>s.
Parameter-Values

<value> 0 1

TA transmits limited headers, trailers and numeric text. TA transmits full headers, trailers and verbose response text. Default.

Comments

TA Responses are described in TA responses, page 17.

&C - Circuit 109 (DCD) Control


Parameter command syntax Command &C[<value>] Description Possible response(s)

This parameter determines how the state of DCD (circuit 109) relates to the detection of received line state/signal from the distant end. Changing the parameter will take effect immediately in both the command and online command states.

52

Interface Commands

Parameter-Values

<value> 0
Comments

DCD always on. Default.

For compatibility reasons only.

&D - Circuit 108 (DTR) Response


Parameter command syntax Command &D[=][<value>] Description Possible response(s)

This command controls all action initiated by data terminal ready (DTR) from TE. This parameter determines how the TA responds when DTR (circuit 108/2) is changed from the ON to the OFF condition during online data state.
Parameter-Values

<value> 0 1

Ignore DTR. Default Upon an on-to-off transition of DTR (circuit 108/2), the TA enters online command state and issues an OK result code; the call remains connected. Upon an on-to-off transition of DTR (circuit 108/2), the TA instructs the underlying TA to perform an orderly cleardown of the call. The disposition of any data in the TA pending transmission to the remote TA is controlled by the +ETBM parameter (see +ETBM - Call Termination Buffer Management, page 61), unless the remote TA clears the call first (in which case pending data is discarded). The TA disconnects from the line. Automatic answer is disabled while DTR (circuit 108/2) remains off.

Interface Commands

53

+IFC - TE-TA Local Flow Control


Parameter command syntax Command +IFC=[<by_te>],[<by_ta>] +IFC? +IFC=? Description +IFC: <by_te>,<by_ta> +IFC: (list of supported <by_te>s,<by_ta>s) Possible response(s)

This extended format compound parameter is used to control the operation of local flow control between the TE and TA during the data state when V42 error control is being used, or when fallback to non-error control mode is specified to include buffering and flow control. It accepts two numeric sub-parameters:
<by_te>, which specifies the method to be used by the TE to control the flow of received data from the TA; and <by_ta>, which specifies the method to be used by the TA to control the flow of transmitted data from the TE.

Parameter-Values

< by_te > 0 1 2 <by_ta> 0 1 2

No flow control on TE. Xon/Xoff flow control on TA. Control characters are removed by the TA interface. RTS flow control on TA, default value No flow control on TA. Xon/Xoff flow control on TE. CTS flow control on TA, default value

54

Interface Commands

S0 - Automatic Answer Control


Parameter command syntax Command S0=[<rcnt>] S0? S0=? Unsolicited Result Codes RING +CRING Description <rcnt> S0: (list of supported < rcnt >s) Possible response(s)

This S-parameter controls the automatic answering feature of the TA. If set to 0, automatic answering is disabled. If set to a non-zero value, the TA shall cause the TA to answer when the incoming call indication (ring) has occurred the number of times indicated by the value.
Parameter-Values

<rcnt> 0 1-7
Comments

Disable automatic answer. Default. Answer after the specified number of rings.

The call is always answered in the current Fax Class, regardless of whether the incoming call is voice, data or fax.

Interface Commands

55

S6 - Blind Dial Delay Control


Parameter command syntax Command S6=[<dly>] S6? S6=? Description <dly> S6: (list of supported <dly>s) Possible response(s)

This command is used to define the number of seconds to wait before call addressing when a dial-tone is not detected. This command is ignored by the Modem and is only included for compatibility.
Parameter-Values

<dly> 2-255

seconds. (default = 2 seconds)

S7 - Connection Completion Timeout


Parameter command syntax Command S7=[<tmo>] S7? S7=? Description <tmo> S7: (list of supported < tmo >s) Possible response(s)

This command is used to define the maximum time allowed between completion of dialing and the connection being established. If this time is exceeded then the connection is aborted.
Parameter-Values

<tmo> 50 1-255

Timeout value in seconds, default value other values

56

Interface Commands

S10 - Automatic Disconnect Delay Control


Parameter command syntax Command S10=[<val>] S10? S10=? Description <val> S10: (list of supported < val >s) Possible response(s)

This parameter specifies amount of time that TA will remain connected to the line after the absence of received line signal. This command is ignored by the Modem and is only included for compatibility.
Parameter-Values

<val> 1-254

seconds

M - Monitor Speaker Control


Parameter command syntax Command Possible response(s)

M[=][<speaker>] M? M=?
Description

M: <speaker> M: (list of supported <speaker>s)

This command defines the activity of the speaker.


Parameter-Values

<speaker> 0 1-2
Comments

Off during the entire call Ignored

This command is ignored by the Modem and is only included for compatibility.

Interface Commands

57

X - Call Progress Monitoring Control


Parameter command syntax Command X[=][<n>] X? X=? Description X: <n> X: (list of supported <n>s) Possible response(s)

The setting of this parameter determines whether or not the TA transmits particular result codes to the TE. This command defines whether the dial tone detection and busy tone detection are to be used during call setup.
Parameter-Values Dial-tone detection (ignored) OFF OFF OFF ON ON

<n>

On-line data state result code CONNECT CONNECT <text> CONNECT <text> CONNECT <text> CONNECT <text>

BUSY state detection (ignored) OFF OFF ON OFF ON

0 1 2 3 4

<text> Reported line speed at connection


Comments

BUSY state and Dial-tone detection is always ignored and is only included for compatibility, i.e. 2, 3 and 4 are same as 1.

58

Interface Commands

+ILRR - TE-TA Local , 4Rate Reporting


Parameter command syntax Command +ILRR =[<value>] +ILRR? +ILRR=? Description +ILRR: <rate> +ILRR: (list of supported values) Possible response(s)

This extended-format numeric parameter controls whether or not the extended-format +ILRR: <rate> information text is transmitted from the TA to the TE. The <rate> reported shall represent the current (negotiated or renegotiated) TE-TA rate. If enabled, the intermediate result code is transmitted after any modulation, error control or data compression reports are transmitted, and before any final result code (e.g. CONNECT) is transmitted. The <rate> is applied after the final result code is transmitted. The TE-TA port rate will change only if neither buffered mode nor error-controlled means are enabled (+ES=x,0) and if the negotiated carrier rate (+MRR) does not match the current DTE-DCE port rate (set by +IPR command or auto detected from the previous command line). The format of this intermediate result code is: +ILRR: <rate> e.g. +ILRR: 19 200 <rate> values are decimal values.
Parameter-Values

<value> 0 1 <rate> 9600 14400 19200 28800 38400

disable enable 9.600 bps 14.400 bps 19.200 bps 28.800 bps 38.400 bps

Interface Commands

59

Error Control (LAPM/MNP)


+ES - Error Control Selection
Parameter Command Syntax Command +ES=[<orig_rqst> [,<orig_fbk> [,<ans_fbk>]]] +ES? +ES =? ES: <orig_rqst>s,<orgig_fbk>s,<ans_fbk>s ES: (list of supported <orig_rqst>s,<orgig_fbk>s, <ans_fbk>s) Possible response(s)

Description

This command is used to control the manner of operation of the V42 protocol in the TA (if present).
Parameter-Values

<orig_rqst>: 1 4 <orgig_fbk>: 0 2 4 <ans_fbk>: 1 2 4 6

specifies the initial requested mode of operation when the TA is operating as the originator. Initiate call in buffer mode Initiate MNP protocol. Default specifies the acceptable fallback mode of operation when the TA is operating as the originator. LAPM or MNP error control option, if no error code protocol established use of buffered mode with flow control. Default LAPM or MNP error control required, Disconnect if no error code protocol is established. MNP error control required, Disconnect if no error code protocol is established. specifies the acceptable fallback mode of operation when the TA is operating as the answerer. Disable error control, Buffer mode is used. LAPM or MNP error control option, if no error code protocol established use of buffered mode with flow control. Default LAPM error control required, Disconnect if no error code protocol is established. MNP error control required, Disconnect if no error code protocol is established.

60

Error Control (LAPM/MNP)

+ETBM - Call Termination Buffer Management


Parameter command syntax Command +ETBM=[<pending_TD> [,<pendig_RD>[,<timer>]]] + ETBM? + ETBM =? +ETBM: <pending_TD>,<pendig_RD>,<timer>) +ETBM: (list of supported <pending_TD>s, <pendig_RD>s, <timer>s) Possible response(s)

Description

This command controls the handling of data remaining in TA buffers upon call termination.
Parameter-Values

<pending_TD>:

0 1

<pendig_RD>: 0 1

<timer>:

0-30 Other

controls how previously-transmitted data remaining in the TA buffers should be handled when the local TE request disconnection of the call. Discard all data in the transmit buffer and disconnect. Wait for all the data in the transmit buffer to be send and acknowledged. If the remote TA disconnects, clear the buffer and disconnect. Default Wait for all the data in the transmit buffer to be send and acknowledged. If the remote TA disconnects or timer expires, clear the buffer and disconnect. controls how previously-received data remaining in the TA buffers should be handled when the remote TA disconnects the call. Discard all data in the receive buffer and disconnect. Wait for all the data in the receive buffer to be send and acknowledged. If the remote TA disconnects, clear the buffer and disconnect. Default Wait for all the data in the receive buffer to be send and acknowledged. If the remote TA disconnects or timer expires, clear the buffer and disconnect. sets a maximum time limit on how long the TA will attempt to deliver the buffered data before abandoning the attempt and discarding remaining data. The Delay used by timer as the timeout value for data to be sent or received. Default = 20 seconds. Higher value may be supported at manufactures option.

Error Control (LAPM/MNP)

61

+ER - Error Control Reporting


Parameter command syntax Command +ER=[<value>] +ER? +ER=? Intermediate result code +ER: <text> Description +ER: <value> +ER: (list of supported <values>s) Possible response(s)

This extended-format numeric parameter controls whether or not the extended-format +ER: intermediate result code is transmitted from the DCE to the DTE. The +ER:<type> reported shall represent the current (negotiated or renegotiated) DCE-DCE error control type. If enabled, the intermediate result code is transmitted at the point during error control negotiation (handshaking) at which the DCE has determined which error control protocol will be used (if any), before the final result code (e.g. CONNECT) is transmitted. The +ER intermediate result code, if enabled, is issued after the Modulation report (+MCR and +MRR) and before the Data Compression Report (+DR).
Parameter-Values

<value> 0 1 2 3 <text> NONE LAPM ALT

No intermediate reporting. Default Intermediate error control reporting with the Answer (A) and Dial (D) command. Intermediate error control reporting with the On-line Data (O) command Intermediate error control reporting with the Answer (A), Dial (D) and On-line Data (O) command. Error control is not in use V42 LAPM protocol is in use V42 Alternative protocol is in use

62

Error Control (LAPM/MNP)

Data Compression (V24bis/MNP5)


+DS - Data Compression Mode Selection
Parameter command syntax Command +DS=[<direction> [,<compresion_negotiation> [,<max_dict> [,<max_string>]]]] +DS? +DS=? DS: direction>s, <compression_negotiation>s, <max_dict>s, <max_string>s DS: (list of supported <direction>s, <compresion_negotiation>s, <max_dict>s, <max_string>s) Possible response(s)

Description

This command controls the V42 bis/MNP5 data compression function if provided in the TA.
Parameter-Values

specifies the desired direction(s) of operation of the data compression function; from the TE point of view. 0 Disable V.42 bis/MNP5 1 Enable V.42 bis/MNP5 in transmit direction only 2 Enable V.42 bis/MNP5 in receive direction only 3 Enable V.42 bis/MNP5 compression in both direction. Default <compression_negotiation>: specifies whether or not the TA should continue to operate if the desired result is not obtained. 0 Accept connection if compression is negotiated according to direction, Default 1 Disconnect if compression is not negotiated according to direction <max_dict>: specifies the maximum number of dictionary entries which should be negotiated (may be used by the TE to limit the codeword size transmitted, based on its knowledge of the nature of the data to be transmitted) 512-2048 Maximum dictionary size. <max_string>: specifies the maximum string length to be negotiated (V.42bis/MNP5 P2). 6-32 Maximum string length, Default value = 32

<direction>:

Data Compression (V24bis/MNP5)

63

+DR - Data Compression Reporting


Parameter command syntax Command +DR=[<value>] +DR? +DR=? Intermediate result code +DR: <text> Description +DR: <value> +DR: (list of supported <value>s) Possible response(s)

This extended-format numeric parameter controls whether or not the extended-format +DR: intermediate result code is transmitted from the TA to the TE. The +DR: <type> reported shall represent the current (negotiated or renegotiated) TA-TE data compression type. If enabled, the intermediate result code is transmitted at the point after error control negotiation (handshaking) at which the TA has determined which data compression technique will be used (if any) and the direction of operation. The +DR intermediate result code, if enabled, is issued after the Error Control Report (+ER) and before the final result code (e.g. CONNECT).
Parameter-Values

<value> 0 1 <text> NONE V42B V42B RD V42B TD Data compression is not in use V.42bis is in use in both directions V.42bis is in use in receive direction only V.42bis is in use in transmit direction only Intermediate compression mode reporting disabled, Default Intermediate compression mode reporting enabled

64

Data Compression (V24bis/MNP5)

Fax Class 2
Note! In some cases EIA and ITU use different names for one AT command. AT command names
in this document are according to ITU and the EIA equivalent names are given in Comment sections.

+FCLASS - Select Mode


Parameter command syntax Command +FCLASS=[<value>] +FCLASS? +FCLASS=? Description +FCLASS: <value> +FCLASS: (list of supported <value>s) Possible response(s)

The Service Class may be set by the TE from the choices available (see Parameter-Values section, below), using the .AT+FCLASS=<value>. command. The read command (AT+FCLASS?) is used to read the current setting. The Service Classes available from a facsimile TA are tested by the .AT+FCLASS=?. command. The information text response is a list of values, separated by commas.
Parameter-Values

< value> 0 2

indicates a data modem (e.g. Recommendation V.25ter) indicates a Service Class 2 facsimile TA (e.g. ITU-T T.32).

Fax Class 2

65

+FBO - Phase C Bit Order Parameter


Parameter command syntax Command Possible response(s)

+FBO=<value> +FBO? +FBO=?


Description

<value> (list of supported <value>s)

This command controls the mapping between PSTN facsimile data and TE-TA. There are two choices:
Direct: the first bit transferred of each byte on the TE-TA link is the first bit transferred on the PSTN data carrier. Reserved: the last bit transferred of each byte on the TE-TA link is the first bit transferred on the PSTN data carrier.

There are two data types to control:


Phase C data: T.4 [24] encoded data, transferred during execution of +FDT or +FDR commands. Phase E/D data: T.4 [24] Phase B and Phase D control message, reported to the TE in +FHT: and +FHR: reports, enabled by the +FBUG parameter.

Parameter-Values

<value> 0 1 2 3
Comments

selects direct bit error for both Phase C data and for Phase B/D data. Default selects reserved bit order for Phase C data and selects direct bit order Phase B/D data. selects direct bit order for Phase C data and selects direct bit order Phase B/D data. selects reserved bit order for Phase C data and for Phase B/D data.

The equivalent AT command according to EIA = AT+FBOR.

66

Fax Class 2

+FCQ - Copy Quality Checking


Parameter command syntax Command +FCQ=<value> +FCQ? +FCQ=? Description <value> (list of supported <value>s) Possible response(s)

This command controls Copy Quality Checking. The TA shall generate a page transfer report, indicated with the +FPS: <ppr>, <lc>, <blc>, <cblc> response and posted in the +FPS parameter. The +FCQ parameter setting also conditions to the generation of bad line <blc> and consecutive bad line count <cblc> sub-parameters.
Parameter-Values

<value>: 0 1 2

No Copy Quality Checking. The TA will generate Copy Quality OK (MCF) response to complete pages, and set +FPS =1, Mandatory The TA can check 1-D Phase C data. The TE must check copy quality for 2-D Phase C data, Optional, not implemented. The TA can check 1-D and 2-D Phase C data, Optional, not implemented.

+FCC - TA Capability Parameter


Parameter command syntax Command +FCC=<VR>,<BR>, <WD>,<LN>,<DF>,<EC>, <BF>,<ST> +FCC? +FCC=? Description <VR>,<BR>,<WD>,<LN>,<DF>,<EC>,<BF>,<ST> (0,1),(0,3),(0,4),(0,2), 0, 0, 0,(0,7) Possible response(s)

This command allows the TA to sense and constrain the capabilities of the facsimile TA, from the choice defined in ITU-T T.30 Table 2. Modification to +FCC are copied into +FIS.

Fax Class 2

67

Parameter-Values

<VR>: 0 1 < BR>: 2 3 4 5 <WD>: 0 1 2 3 4 <LN>: 0 1 2 <DF>: 0 1 2 3 <EC>: 0 1 2 <BF>: 0 1

Vertical Resolution Normal, 98 dpi Fine, 196 dpi Bit Rate 7200 bit/s 9600 bit/s 12000 bit/s, Not supported 14400 bit/s, Not supported Page width 1728 pixels in 215 mm 2048 pixels in 255 mm, Optional 2432 pixels in 303 mm, Optional 1216 pixels in 151 mm, Optional 864 pixels in 107 mm, Optional Page Length A4, 297 mm B4, 364, Optional unlimited length, Optional Data Compression Format 1-D modified Huffman 2-D modified Read, Optional 2-D uncompressed mode, Optional 2-D modified Read, Optional Error Correction Disable ECM enable ECM, 64 bytes/frame, Optional, Not supported enable ECM, 256 bytes/frame, Optional, Not supported Binary File Transfer disable ECM enable ECM, 64 bytes/frame, Optional, Not supported

68

Fax Class 2

<ST>: 0 1 2 3 4 5 6 7
Comments

Scan Time/Line VR = normal VR = fine 0 ms 0 ms 5 ms 5 ms 10 ms 10 ms 10 ms 10 ms 20 ms 20 ms 20 ms 20 ms 40 ms 40 ms 40 ms 40 ms

The equivalent AT command according to EIA = AT+FCC

+FCS - Current Session Parameter


Parameter command syntax Command +FCS? +FCS=? Possible response(s) +FCS: <VR>,< BR>,<WD>,<LN>,<DF>,<EC>,<BF>,<ST> List of <VR>s,< BR>s, <WD>s, <LN>s, <DF>s, <EC>s, <BF>s, <ST>s

Description

Read command reads the current values. Test command shows if a parameter is implemented.
Parameter-Values

See previous chapter (AT+FCC).

Fax Class 2

69

+FDR - Fax Data Receive Command


Action command syntax Command +FDR Description Possible response(s) See Description

The command initiates transition to Phase C data reception. This can occur after answering, after dialing, after a document received or after a page is received. The TA shall report the negotiated T.32 [26] parameters, with the remote ID and NSS frame information if available. When TA is ready to commence data transfer, it will issue a CONNECT response code, optionally preceded by the block mode count. If the TA cannot resume data transfer, because there is no more data, it shall respond OK. When the TE is ready to accept data, it shall issue a <DC2> character (018) to the TA. If the TE issue an <XOFF> character to the TA for flow control. the TA when its buffers are empty, by sending a <DLE><DC2>(<016><018> character pair. In block mode, this must be delayed until after the block transfer is complete. When the TA delivers that last byte of page or partial page, the TA shall report the Page Transfer Status via the +FPS:<ppr> response. After Page Transfer Status Report, the TA shall report the post page message from the remote facsimile station via the +FET:<ppm> response. The TA shall hold the post page response message to the remote facsimile station (MCF), etc, represented in the +FPS parameter until the next +FDR command. The TE may modify the +FPS parameter before issuing the +FDR command, which release that message. The TE must issue a +FDR command to release Post Page Messages. The +FDR Command may be issued in Phase B after an answer command, or in Phase B after previous document. The TA responses shall be as follows: Stream mode:
+FCFR [FNSS:<NS FIF data] [FTSI:<remoteID>] CONNECT when CFR sent AAAA if new NSS received AAAA if new TSI received AAAA

[+FCS:<negotiated sub-parameters>] if new DCS AAAA

70

Fax Class 2

+FDT - Fax Data Transmission Command


Action command syntax Command AT+FDT=[<DF>,<VR>,<wd>,<LN>] AT+FDT=? +FDT: (List of supported <DF>s, <VR>s, <wd>s, <LN>s) Possible response(s)

Description

The FDT command prefixes Phase C data transmission. When the TA is ready to accept Phase C data transmission, it will issue the negotiation response and the CONNECT result code to the TA. In Phase B, the +FDT command releases the TA to proceed with negotiation and release the DCS message to remote station. In Phase C, +FDT command resumes transmission after the end of prior transmit data stream Block.
Parameter-Values

<DF>: 0 1 2 3 <VR>: 0 1 <WD>: 0 1 2 3 4 <LN>: 0 1 2

Data Compression Format 1-D modified Huffman 2-D modified Read, Optional 2-D uncompressed mode, Optional 2-D modified Read, Optional Vertical Resolution Normal, 98 dpi Fine, 196 dpi Page width 1728 pixels in 215 mm 2048 pixels in 255 mm, Optional 2432 pixels in 303 mm, Optional 1216 pixels in 151 mm, Optional 864 pixels in 107 mm, Optional Page Length A4, 297 mm B4, 364, Optional unlimited length, Optional

Fax Class 2

71

+FEA - Phase C received EOL alignment


Parameter command syntax Command +FEA=<value> +FEA=? Description +FEA: (List of supported <value>s) Possible response(s)

This parameter enables optional octet-alignment of EOL markers in received T.4 data streams. It does not apply to T.6 data, or to any other form of data (e.g. T.434 BFT).
Parameter-Values

<value> 0 1

Determines that T.4 EOL patterns are bit aligned (as received). Determines that the last received bits of T.4 EOL patterns are octet aligned by the TA, with necessary zero fill bits inserted. There are two 2- octet patterns: +FBO= binary EOL pattern 0 or 2 0000xxxx 10000000 1 or 3 xxxx0000 00000001 xxxx represent previous data bits, zero bits, or other leading data.

As per 4.2.2/T.4, the tag bit for two dimensional coding, which indicates the coding used for the following line, shall be included in that line in the octet following the previous EOL.

+FET - Page Punctuation


Parameter command syntax Command +FET=<ppm>[,<px>,<bc>,<fc>] +FET? +FET=? Description Current <values> <range of values> Possible response(s)

This command is used to punctuate page and document transmission, after one or more +FDT commands. This command generates T.30 Post Page Messages, by the <ppm> code. The +FET=<ppm> command indicates that the current page or partial page is complete; no more data will be appended to it. The value indicates if any additional page are to be sent and, if so, whether there is a change in any of the document parameters. The TE can command the

72

Fax Class 2

TA to generate PRI-Q message with +FDT=<ppm>, command using ppm codes 4-6 (see section Parameter-Values). This command must be sent within the timeout specified by the +FPHCTO after sending Phase C data, else the TA must end the page and document transmission. If the Phase C data timeout is reached, the TA shall send an EOP post message and terminate the session.
Parameter-Values

<ppm>: 0 1 2 3 4 5 6 7 8-15 <pc>: <bc>: <fc>:

another page next, same document another document next. no more page or documents another partial page next, another page, procedure interrupt, another document, procedure interrupt, all done, procedure interrupt, continue to correct, End-of-Retransmission (8) + Post page Message, Parameter Page Count defined in A.4.3.1/T.30[24], Parameter Block Count defined in A.4.3.1/T.30[24], Parameter Frame Count defined in A.4.3.1/T.30[24],

+FIE - Procedure interrupt enable


Parameter command syntax Command +FIE=<value> +FIE? +FIE=? Description Current <value> <range of values> Possible response(s)

Recommendation T.30 provides for either station to initiate Procedure Interrupts. The other station may choose to accept or ignore these requests. A service Class 2 facsimile TA may negotiate or ignore Procedure Interrupts, conditioned by this parameter.
Parameter-Values

< value> 0

Procedure Interrupt Requests from the remote station are ignored, and not reported to the TE. For the +FET: response (T.30 phase A responses), PRI-Q reports will be replaced by non-PRI equivalents.

Fax Class 2

73

Procedure Interrupt Requests from the remote station are accepted, , negotiated and reported using the +FVO response ( T.30 phase B negotiation responses).

Comments

For transmission (+FDT), Procedure Interrupt Requests from the remote station are not reported directly; only the +FVO response is reported. For reception (+FDR), Procedure Interrupt Requests from the remote station are reported in the +FET: response. The value stored in the +FPS parameter will be adjusted to values 4 or 5. If the TE issues a subsequent +FDR command with the +FPS value intact, the TA will complete the negotiation and issue a +FVO response.

+FIP - Initialise Fax Parameters


Parameter command syntax Command +FIP =<value> +FIP? +FIP =? Description Current <value> <range of values> Possible response(s)

The +FIP command causes the TA to initialize all Service Class 2 Facsimile Parameters to the manufacturer determined default settings. This command does not change the setting of +FCLASS. This command has the same effect as if the TE had issued individual parameter setting commands. This command may be issued during a session. The TA shall use the new settings at the next time they are sampled; for example, a new +FIS setting would be used the next time the TA enters Phase B.
Parameter-Values

See +FCLASS - Select Mode, page 65.


Comments

Manufacturers may also provide a selection of default profiles, chosen by the optional <value>. For other <value>s, the manufacturer determines the profile settings.

74

Fax Class 2

+FIS - Current Session Negotiation Parameter


Parameter command syntax Command +FIS=<VR>,< BR>,<WD>, <LN>,<DF>,<EC>,<BF>,<ST> +FIS? +FIS=? +FIS: <VR>,<BR>,<WD>,<LN>,<DF>,<EC>, <BF>,<ST> List of <VR>s, <BR>s, <WD>s, <LN>s, <DF>s, <EC>s, <BF>s, <ST>s Possible response(s)

Description

The AT+FIS parameter allows the TE to sends and constrain the capabilities used for the current session. The TA uses +FIS to generate DIS or DTC message directly, and uses +FIS and received DIS message to generate DCS messages. The TA shall initialize the +FIS parameter from the +FCC parameter on initialization, when +FCC is written, and at the end of session.
Parameter-Values

See +FCC - TA Capability Parameter, page 67.


Comments

The equivalent AT command according to EIA is +FDIS

+FIT - Inactivity timeout


Parameter command syntax Command +FIT=<time>,<action> +FIT? +FIT=? Description Current <time>, <action> <range of time>, <action> Possible response(s)

A service Class 2 facsimile TA shall provide an inactivity timer that allows the TA to break away from an unsuccessful connection attempt at any stage of a facsimile transfer. The inactivity timer only works while the TA is off-hook.

Fax Class 2

75

Parameter-Values

<time>

<action>

indicates the inactivity timeout in seconds. The required timeout is 1 to 255 seconds. The value of 0 indicates that timeout is disabled. Any values greater than 255 are optional values for the TA manufacturer. Default value = 0 The <action> parameter has two meanings. The inactivity timer starts when the TA has taken some action that requires TE response. If the TE does respond, the TA shall reset the inactivity timer. Tables 25 and 26 define these sets of events. Default value = 0

Comments

For inactivity timer start and stop events see T.32 [26] Table 25.

+FKS - Session Termination


Action command syntax Command +FKS Description Possible response(s)

The +TF command causes the TA to terminate the session in orderly manner. In particular, it will send a DCN message at the next opportunity and hang up. At the end of termination process, the TA shall report the +FHNG response with result code. This operation can be invoked by using the ASCII <CAN> (cancel) character during Phase C data reception. The TA should wait until the current page completes, except in reception of unlimited length, in that case, the TA may halt reception and terminate at any time. On receipt of <CAN > character, in block or stream mode, the TA shall terminate reporting of received data by sending trailing <DLE><ETX> characters to the TE and the TE shall execute an implied +FKS command, conducting an orderly disconnection. If the <CAN> character is followed by any other characters before the TA returns an OK response. The TA may abort the session and hang up.
Parameter-Values Comments

The equivalent AT command according to EIA is +FK.

76

Fax Class 2

+FLI - Local ID String


Parameter command syntax Command +FLI=<local id string> + FLI? + FLI=? Possible response(s)

<local id string> (20((32,43,48-57) 1 (20)(32-127)<CRLF> 2

Description

The TA shall send the corresponding ID frame if either +FLI or +FPI is not a null string. +FLI is used for CSI or TSI; +FPI is used for CIG. Table 3/T.30 [25] includes digits 0-9, + and space. The TA shall transmit ID string characters to the remote station in reversed time order from the order in the command line. For example, if the command line: ATFLI=1 234 567 8901<CR> is issued, the TA would send a CSI or TSI frame with FIF (hexadecimal) consisting of: <20><20><20><20><20><31><30><39><38><20><37><36><35><20><34> <33><32><20><31><2B> The +FLI=? or +FPI=? test commands reports the range of character values supported. For example, if the TA supports use of Table 3/T.30 only, the response to a +FLI=? command is (20,2B,30-39) (hexadecimal values); if the TA supports printable T.50, the response is: (20-7E). If less than 20 characters are specified in a non-null string, the TA shall append space characters (2/0). If the specified string is more than 20 characters in length, an ERROR result code is generated.
Parameter-Values

<local id string>: Valid values are 20 character ASCII string, default value manufacture.s option. Mandatory values are 20 character numeric string, table 3/T.30 [24].
Comments

The equivalent AT command according to EIA is +FLID 1 If the TAE supports Table 3/T.30 only 2 If the TAE supports printable ASCII only

Fax Class 2

77

+FPI - Local Polling ID String


Parameter command syntax Command +FPI=<local id string> +FPI? +FPI=? +FPI:< local polling ID string > +FPI:(20((32,43,48-57) 3 Possible response(s)

(20)(32-127)<CRLF> 4
Description

See +FLI - Local ID String, page 77.


Parameter-Values

See +FLI - Local ID String, page 77.

+FLP - Indicated Document to Poll


Parameter command syntax Command Possible response(s)

+FLP=<value> +FLP? +FLP=?


Description

<value> <range of values>

This command is used to indicate document to poll.


Parameter-Values

<value> 0 1

indicates that the TE has a document to poll. Default value indicates that the TE has a document ready for polling. The TA reports this to the remote station in DIS frame. The TA shall reset this parameter to 0 after a polled document is sent.

Comments

The equivalent AT command according to EIA is +FLPL

78

Fax Class 2

+FNR - Negotiation reporting


Parameter command syntax Command +FNR=<rpr>,<tpr>,<idr>,<nsr> +FNR? +FNR=? Description <value> List of supported <value>s Possible response(s)

+FNR is a compound parameter, used to control the reporting of messages generated during T.30 Phase B negotiations.
Parameter-Values

There are four switches, for four types of reports. These switches are described in T.32 [26] Table 22:

Fax Class 2

79

TABLE 22T.32 FNR switch sub-parameters Switch setting rpr=0 rpr=1 tpr=0 tpr=1 idr=0 idr=1 nsr=0 nsr=1 8.4.2.4 8.4.2.3 8.4.2.1 Message Description reference 8.4.2.1 Receiver parameters are not reported +FIS: and +FTC: reports are suppressed. Receiver parameters are reported +FIS: and +FTC: reports are generated. Transmitter parameters are not reported +FCS: reports are suppressed (+FCS parameter is still loaded). Transmitter parameters are reported +FCS: reports are generated ID strings are not reported. +FTI:, +FCI: and +FPI: reports are suppressed ID strings are reported. +FTI:, +FCI: and +FPI: reports are generated Non-standard frames are not reported. +FNF:, +FNS: and +FNC: reports are suppressed. Non-standard frames are reported. +FNF:, +FNS: and +FNC: reports are generated

Note! 1 If tpr=0, the negotiated image data format will not be reported.
Without that report, the TE must send image data that is mandated by Recommendation T.30 (normal resolution, A4 length, 1728 width, 1-D coding) or it must enable the corresponding format conversion (+FFC). Otherwise, the data format negotiated and the data format sent might not match, causing the facsimile session to fail. 2 The use of additional sub-parameters for +FNR, in order to control reporting of future optional T.30 negotiation reports, is for future study.

+FPP - Packet protocol control


Parameter command syntax Command +FPP=<value> +FPP? +FPP=? Description <value> List of supported <value>s Possible response(s)

This command enable/disables the TA-to-TE Packet Protocol. This command takes effect after the +FPP command is executed, before the final result code is issued by the TA. If this command is embedded in a command line containing multiple commands, it applies to information text and result codes of subsequent commands.

80

Fax Class 2

Parameter-Values

<value> 0 1

Disables the TA-to-TE Packet Protocol. Enables the TA-to-TE Packet Protocol (clause 9). All multi-character messages from the TA are sent to the TE using a simple Packet Protocol data link, to assure reliable delivery of data.

+FPS - Page Transfer Status


Parameter command syntax Command +FPS=[<ppr>] +FPS? +FPS=? Description +FPS: <ppr>s +FPS: (list of supported <ppr>s) Possible response(s)

The +FPS parameter contains a value representing the post page response, including copy quality and related end of-page status. These values correspond to post page response message defined in T.30 [25]. The receiving TA sets this parameter after it receives a page of Phase C data. The transmitting TA sets this parameter with the status reported by the receiving station. The TA may inspect or modify this parameter with the status reported by the receiving station.
Parameter-Values

<ppr> 1 2 3
Comments

Page good, Valid value for +FPS, Default value Page bad, retrain requested, Valid value for +FPS Page good, retrain requested, Valid value for +FPS

The equivalent AT command according to EIA = +FPTS

Fax Class 2

81

+FSP - Request to Poll


Parameter command syntax Command +FSP=<value> +FSP? +FSP=? Description <value> List of supported <value>s Possible response(s)

This command is used to Request for polling.


Parameter-Values

<value> 0 1

Indicates that the TE does not want to poll. Default Indicates that the TE can receive a polled document. The TA shall reset this parameter to 0 after a polled document is received, Mandatory

Comments

The equivalent AT command according to EIA = +FSPL

+FIS:
See +FIS:, page 82.

+FTC: Report DTC frame information


Syntax Response +FTC: <VR>,<BR>,<WD>,<LN>,<DF>,<EC>,<BF>,<ST> Description

+FTC: report remote facsimile station capabilities and intentions


Parameter-Values

See +FCC - TA Capability Parameter, page 67

82

Fax Class 2

+FHR: - Report received HDLC frames


Syntax Response +FHR: <received HDLC frame octets> Description

This reports the HDLC data that was received by the TA.
Parameter-Values

The frame octets will be represented in hex notation and separated by spaces. The TA shall delete HDLC Flags and FCS octets. Frame octets are reported in the order sent or received. An example received DIS string report is shown: +FHR: FF 13 80 00 4E 78 FE AD<CR><LF>

+FHS - Call termination status


Parameter command syntax Response +FHS? Description <value>

This read only parameter indicates the cause of a hang-up. +FHS is set by the TA at the conclusion of a fax session. The TA shall reset this parameter to 0 at the beginning of Phase A.
Parameter-Values

<value> 0 1 2 3 4 5

Another page next, same document. Another document next. No more pages or documents. Another page next, same document, procedure interrupt requested. Another document next, procedure interrupt requested. No more pages or documents, procedure interrupt requested.

Fax Class 2

83

+FCI: - Called station id (CSI)


Syntax Response +FCI: <CSI ID string> Description

These responses report the received Called station ID string. The TA shall report the characters in the ID string in reversed time order from the order received from the remote station.
Parameter-Values

<CSI ID string> Called Station ID

+FCS: - Report DCS frame information


See +FCS - Current Session Parameter, page 69.

+FTI: - Remote station id (TSI)


Syntax Response FTI: <TSI ID string> Description

These responses report the received remote station ID string. The TA shall report the characters in the ID string in reversed time order from the order received from the remote station
Parameter-Values

<TSI ID string> Transmit Station ID

84

Fax Class 2

+FPI: - Report Remote id, CIG


Syntax Response FPI: < CIG ID string> Description

These responses report the received CIG ID string. The TA shall report the characters in the ID string in reversed time order from the order received from the remote station.
Parameter-Values

<CIG ID string> Polling Station ID

+FPS: - Page status report


See +FPS: - Page status report, page 85.

+FPO: - Remote polling indication


Parameter command syntax Response +FPO Description

+FPO indicates that the remote station has a document to poll and invites the TE to poll it. The +FPO response is delivered between the +FIS:<string>, and the OK final result code, if enabled. The TE may respond to a +FPO message with either a +FDR command, to poll the remote station, or a +FDT command, if it does not wish to poll.

Fax Class 2

85

+FNC: - Report non-standard command frame +FNF: - Non standard facilities report +FNS: - Non standard setup report
Syntax Response +FNC: <NSC FIF string> +FNF: <NSF FIF string> +FNS: <NSC FIF string> Description

These responses report any received Non-Standard negotiation frames, one response per frame. Originate (ATD), Answer (ATA), Data transmission (+FDT) or Data reception (+FDR) command execution may generate these responses if the corresponding frames are received. The NSF Facsimile Information Field (FIF) frame octets (beginning with the country code, but not including the FCS) are presented in hex notation, and separated by spaces. HDLC flags, and zero bits inserted for transparency are removed. Frame octets are reported in the order received. For each frame octet the LSB is the first bit sent or received. For example, the two octet bit string 0001101101000101 would be reported D8 A2. The facsimile TA reports the frame; it need not act on it. Specification of any other Non Standard behaviour is beyond the scope of this Recommendation.
Parameter-Values

<NSF FIF string> Non-Standard Facilities; <NSS FIF string> Non-Standard Setup; <NSC FIF string> Non-Standard Commands.

+FET
See +FET - Page Punctuation, page 72.

86

Fax Class 2

+FCO: - indicates connection with a fax terminal


Syntax Response +FCO Description

The +FCO response indicates connection with a Group 3 facsimile station. The TA shall deliver this message to the TE upon detection of HDLC flags in the first received frame, in execution of Originate commands (ATD) or Answer commands (ATA) only.

+FDM:
Parameter command syntax Response +FDM Description

+FDM response indicates that the TA has identified that the calling device is a data modem. The TA shall issue this response immediately upon recognition of a data modem. For example, the TA might detect a V.32 AA pattern, or V.22 bis S1 signal, or V.25 1300 Hz calling tone. The +FDM response shall precede any data modem information text or result codes (e.g. CONNECT). The TE should respond to a +FDM message by preparing itself to handle a data call. The +FDM response is enabled by TE command to set the FAA parameter to 1 (+FAA). The TE should not set +FAA_1 unless it is able to handle this result. FDM response indicates that the TA has identified that the calling device is a data modem. The TA shall issue this response immediately upon recognition of a data modem. For example, the TA might detect a V.32 AA pattern, or V.22 bis S1 signal, or V.25 1300 Hz calling tone. The FDM response shall precede any data modem information text or result codes (e.g. CONNECT). The TE should respond to a FDM message by preparing itself to handle a data call. The FDM response is enabled by TE command to set the FAA parameter to 1 (+FAA). The TE should not set FAA_1 unless it is able to handle this result.

Fax Class 2

87

+FHT: - Report transmit HDLC frames


Syntax Response FHT:<transmitted HDLC frame octets> Description

Report transmit HDLC frames


Parameter-Values

See chapter +FHR section Parameter-Values.

88

Fax Class 2

GSM 07.10 Multiplexor Protocol


+CMUX - Multiplexing Mode
Parameter command syntax Command +CMUX=<transparency>[,<subset> [,<port_speed>[,<N1>[,<T1>[,<N2> [,<T2>[,<T3>[,<k>]]]]]]]] +CMUX? +CMUX: <mode>, [<subset>], <port_speed>, <N1>, <T1>, <N2>, <T2>, <T3>, [<k>] +CMUX: (list of supported <mode>s), (list of supported <subset>s), (list of supported <port_speed>s), (list of supported <N1>s), (list of supported <T1>s), (list of supported <N2>s), (list of supported <T2>s), (list of supported <T3>s), (list of supported <k>s) Possible response(s) +CME ERROR: <err>

+CMUX=?

Description

This command is used to enable/disable the GSM 07.10 [19] multiplexing protocol control channel. The AT command sets parameters for the Control Channel. If the parameters are left out, the default value is used. Read command returns the current mode and the settings. Test command returns the supported modes and parameters.
Parameter-Values

<transparency> 0 1 <subset> 0 <port_speed> 5 <N1> 1...128

with the following values: means No transparency means HDLC Transparency Not supported with the following values: means that only UIH frames used. with the following values: means 115200bits/s with the following values: means maximum frame size. Not supported.

GSM 07.10 Multiplexor Protocol

89

31 <T1> 1...255 10 <N2> 1...100 3 <T2> 2...255 30 <T3> 1...255 10 <K> 1...7 <err>
Comments

maximum frame size. Default with the following values: means Acknowledgement timer (tens of milliseconds) Not supported. means 100ms default timer. with the following values: means maximum number of re-transmission Not supported. means default number of re-transmission with the following values: means Control Channel response timer (tens of milliseconds) Not supported. means 300ms default timer. with the following values: means wake up response timer (seconds) Not supported. means 10s default timer with the following values: means Window size Not supported. Refer to subclause 25.1

The +CMUX command allows multiple virtual channels to be setup over one physical channel. The current requirements call for support of 3 virtual channels. One dedicated to command/status, one dedicated to data calls and the other is a spare channel. Per the 07.10 specification DLC0 is reserved as the control channel for the 07.10 protocol. An additional virtual channel for message tracing should be added and the following conventions for numbering the virtual channels should be established:
DLC1 - Dedicated command/status channel DLC2 - Dedicated data channel DLC3 - Message Log channel DLC4 - Spare

90

GSM 07.10 Multiplexor Protocol

GSM TE-TA Interface


+CSCS - Select TE Character Set
Parameter command syntax Command +CSCS=[<chset>] +CSCS? +CSCS=? Description +CSCS: <chset> +CSCS: (list of supported <chset>s) Possible response(s)

Set command is used to inform the TA which character set is used by the TE. TA is then able to convert character strings correctly between TE and ME character sets. When TA-TE interface is set to 8 bit operation and the current alphabet of the TE is 7 bit, the highest bit must be set to 0. Read command is used to show the current setting. Test command is used to show the list of the supported character sets.
Parameter-Values

<chset> GSM IRA 8859-n


Comments

GSM 7-bit alphabet International Reference Alphabet. Default. ISO 8859 Latin n (1-6) character set.

Characterset conversions for SMS text mode can be found in GSM 07.05 [17] Annex A.

GSM TE-TA Interface

91

GSM Call Control


+CRC - Cellular Result Code
Parameter command syntax Command +CRC=[<mode>] +CRC? +CRC=? Unsolicited result code +CRING: <type> RING Description +CRC:<mode> Supported <mode>s Possible response(s)

Set command is used to control whether or not the extended format of incoming call indication is used. When enabled, an incoming call is indicated to the TE with unsolicited result code +CRING instead of the normal RING. Read command is used to show the current setting. Test command is used to show the list of the supported modes.
Parameter-Values

<mode> 0 Disable extended format 1 Enable extended format <type>: ASYNC asynchronous transparent REL ASYNC asynchronous non-transparent FAX facsimile (TS 62) GPRS <PDP_type>, <PDP_addr> GPRS network request for PDP context activation. <PDP_type> both parameters are defined in <PDP_addr> the Define PDP Context (+CGDCONT) command.

92

GSM Call Control

+CR - Service Reporting control


Parameter command syntax Command +CR=[<mode>] +CR? +CR=? Intermediate Result Codes +CR: <serv> Description +CR: <mode> +CR: (list of supported <mode>s) Possible response(s)

Set command controls whether or not intermediate result code +CR is returned from the TA to the TE. If enabled, the intermediate result code is transmitted at the point during connect negotiation at which the TA has determined which speed and quality of service will be used, before any error control or data compression reports are transmitted, and before the intermediate result code CONNECT is transmitted. Test command returns values supported by the TA as a compound value.
Comments

This command replaces V.25ter [28] command Modulation Reporting Control +MR, which is not appropriate for use in the GSM network. Possible error control (other than radio link protocol) and data compression reporting can be enabled with V.25ter [28] commands Error Control Reporting +ER and Data Compression Reporting +DR.
Parameter-Values

<mode>: 0 1 <serv> ASYNC REL ASYNC GPRS XXX

disables reporting. Default. enables reporting

asynchronous transparent asynchronous non-transparent GPRS (XXX is a text string, the variable contents of which are specified in 07.60)

GSM Call Control

93

GSM Data/Fax
+CBST - Select bearer service type
Parameter command syntax Command +CBST=[<speed>[,<name>[,<ce>]]] +CBST? +CBST=? +CBST: <<speed>[,<name>[,<ce> +CBST: (list of supported <speed>s), (list of supported <name>s), (list of supported <ce>s) Possible response(s)

Description

Set command selects the bearer service <name> with data rate <speed>, and the connection element <ce> to be used when data calls are originated (refer GSM 02.02 [1]). Values may also be used during mobile terminated data call setup. Test command returns values supported by the TA as compound values.
Parameter-Values

Note! Not all combinations of these sub-parameters are supported by GSM


(refer GSM 02.02 [1]).

<speed>: 7 12 14 15 16 71 75 79 80 81 <name>: 0 <ce>: 0

9600 bps (V.32) Default. 9600 bps (V.34) 14400 bps (V.34) 19200 bps (V.34) 28800 bps (V.34) 9600 bps (V.110 or X.31 flag stuffing) 14400 bps (V.110 or X.31 flag stuffing) 19200 bps (V.110 or X.31 flag stuffing) 28800 bps (V.110 or X.31 flag stuffing) 38400 bps (V.110 or X.31 flag stuffing) data circuit asynchronous (UDI or 3.1 kHz modem) transparent. Default.

94

GSM Data/Fax

non-transparent

+CRLP - Radio link protocol


Parameter command syntax Command +CRLP=[<iws>[,<mws>[,<T1>[,<N2 >[,<ver>[,<T4>]]]]]] +CRLP? +CRLP: <iws>,<mws>,<T1>,<N2>[,<ver1>[,<T4>]] [<CR><LF> +CRLP: <iws>,<mws>,<T1>,<N2>[,<ver2>[,<T4>]] [...]] +CRLP: (list of supported <iws>s), (list of supported <mws>s), (list of supported <T1>s),(list of supported <N2>s)[,<ver1> [,(list of supported <T4>s)]] [<CR><LF> +CRLP: (list of supported <iws>s), (list of supported <mws>s), (list of supported <T1>s),(list of supported <N2>s) [,<ver1>[,(list of supported <T4>s)]] [...]] Possible response(s)

+CRLP=?

Description

Radio link protocol (RLP) parameters used when non-transparent data calls are originated may be altered with set command. Available command sub-parameters depend on the RLP versions implemented by the device (e.g. <ver> may not be available if device supports only versions 0 and 1). Note! If radio link protocol (RLP) is not used, but some other error correcting protocol (for
transparent data calls), V.25ter [28] Error Control Selection test command +ES=? may be used to indicate the presence of the protocol.

Read command returns current settings for each supported RLP version <verx>. Only RLP parameters applicable to the corresponding <verx> are returned. Test command returns values supported by the TA as a compound value. If ME/TA supports several RLP versions <verx>, the RLP parameter value ranges for each <verx> are returned in a separate line.
Parameter-Values

<ver>, <verx>: RLP version number in integer format; when version indication is not present it shall equal 0

GSM Data/Fax

95

Note! Versions 0 and 1 share the same parameter set. Read and test commands shall return only
one line for this set (where <verx> is not present).

<iws>, <mws>, <T1>, <N2>, <T4>: IWF to MS window size, MS to IWF window size, acknowledgement timer T1, retransmission attempts N2, resequencing period T4 in integer format (default values and ranges depend on RLP version; refer GSM 04.22 [8]): T1 and T4 are in units of 10 ms.

96

GSM Data/Fax

GSM Network Reporting


+CNUM - Subscriber
Action command syntax Command +CNUM Possible response(s) +CME ERROR: <err> +CNUM: [<alpha1>],<number1>,<type1> [<CR><LF> +CNUM: [<alpha2>],<number2>,<type2>] [...]

+CNUM=? Description

Action command returns the MSISDNs related to the subscriber (this information can be stored in the SIM). If subscriber has different MSISDN for different services, each MSISDN is returned in a separate line. Test command Is a command that shows if the command is supported.
Parameter-Values

<alphax>:

<numberx>: <typex>: <err>

optional alphanumeric string associated with <numberx>; used character set should be the one selected with command Select TE Character Set +CSCS. string type phone number of format specified by <typex>. type of address octet in integer format (refer GSM 04.08 [13] subclause 10.5.4.7). Error Messages, page 189

GSM Network Reporting

97

*EBSE - Band Selection


Parameter command syntax Command *EBSE=[<band>] *EBSE? *EBSE =? Description *EBSE: <band> *EBSE: (list of supported <bands>s) Possible response(s) +CME ERROR: <err>

This command is used to select the band of operation. AT*EBSE? is the read command that returns the current band and AT*EBSE=? Returns the supported bands. <err>
Parameter-Values

Error Messages, page 189

<band> 0 1 2 3 4

GSM 900 DCS 1800 Dual Band PCS 1900 Auto

98

GSM Network Reporting

+CREG - Network Registration


Parameter command syntax Command AT+CREG=[<n>] AT+CREG? AT+CREG=? Unsolicited Result Code +CREG: <stat> +CREG: <n>,<stat>[,<lac>,<ci>] +CREG: (list of supported <n>s) Possible response(s) +CME ERROR: <err>

Description

This command controls the presentation of an unsolicited result code +CREG when there is a change in the ME network registration status. AT+CREG? Is the read command that returns the status of the result code presentation and shows whether the network has currently indicated the registration of the ME. Test command shows if the command is supported.
Parameter-Values

<n>: 0 1 2 <stat> 0 1 2 3 4 5 <lac> <ci>

disable network registration unsolicited result code enable network registration unsolicited result code +CREG: <stat> enable network registration and location information unsolicited result not registered, ME is not currently searching a new operator to register to registered, home network not registered, but ME is currently searching a new operator to register to registration denied unknown registered, roaming string type, two byte location area code in hexadecimal format string type, two byte cell id in hexadecimal format

99

General

<err>

Error Messages, page 189

+COPS - Operator Selection


Parameter command syntax Command +COPS=[<mode>[,<format>[,<oper >]]] +COPS? +COPS=? +COPS: <mode>[,<format>,<oper>] +COPS: [list of supported (<stat>, long alphanumeric <oper>, short alphanumeric <oper>, numeric <oper>)s] Possible response(s) +CME ERROR: <err>

Description

Set command forces an attempt to select and register the GSM network operator. <mode> is used to select whether the selection is done automatically by the ME or is forced by this command to operator <oper> (it shall be given in format <format>). If the selected operator is not available, no other operator shall be selected (except <mode>=4). The selected operator name format shall apply to further read commands also. <mode>=2 forces an attempt to deregister from the network. The selected mode affects to all further network registration (e.g. after <mode>=2, ME shall be unregistered until <mode>=0 or 1 is selected). This command should be abortable when registration/deregistration attempt is made. Read command returns the current mode and the currently selected operator. If no operator is selected, <format> and <oper> are omitted. Test command returns a list of quadruplets, each representing an operator present in the network. Quadruplet consists of an integer indicating the availability of the operator <stat>, long and short alphanumeric format of the name of the operator, and numeric format representation of the operator. Any of the formats may be unavailable and should then be an empty field. The list of operators shall be in order: home network, networks referenced in SIM, and other networks.
Parameter-Values

<mode> 0 1 2 3

(default) automatic (<oper> field is ignored) manual (<oper> field shall be present) deregister from network set only <format> (for read command +COPS?), do not attempt registration/deregistration (<oper> field is ignored); this value is not applicable in read command response

100

GSM Network Reporting

4 <format> 0 1 2 <oper>:

manual/automatic (<oper> field shall be present); if manual selection fails, automatic mode (<mode>=0) is entered (Default) long format alphanumeric <oper> short format alphanumeric <oper> numeric <oper> string type; <format> indicates if the format is alphanumeric or numeric; long alphanumeric format can be upto 16 characters long and short format up to 8 characters (refer GSM MoU SE.13 [22]); numeric format is the GSM Location Area Identification number (refer GSM 04.08 [13] subclause 10.5.1.3) which consists of a three BCD digit country code coded as in ITU-T E.212 Annex A [23], plus a three BCD digit network code, which is administration specific; returned <oper> shall not be in BCD format, but in IRA characters converted from BCD; hence the number has structure: (country code digit 3)(country code digit 2)(country code digit 1)(network code digit 2)(network code digit 1) unknown available current forbidden Error Messages, page 189

<stat> 0 1 2 3 <err>

GSM Network Reporting

101

+CLIP - Calling Line Identification


Parameter command syntax Command Possible response(s)

+CLIP=[<n>] +CLIP? +CLIP=?


Unsolicited Result Code

+CLIP: <<n>, <m> +CLIP: (list of supported <n>s)

+CLIP: <number>,<type>[,<subadr>,<satype> [,<alpha>][<CLIvalidity]]] Description

This command refers to the GSM supplementary service CLIP (Calling Line Identification Presentation) that enables a called subscriber to get the calling line identity (CLI) of the calling party when receiving a mobile terminated call. Set command (AT+CLIP = <n>) enables or disables the presentation of the CLI at the TE. It has no effect on the execution of the supplementary service CLIP in the network. When the presentation of the CLI at the TE is enabled (and calling subscriber allows), +CLIP unsolicited result code response is returned after every RING (or +CRING; see +CRC Cellular Result Code, page 92) result code sent from TA to TE. Read command gives the status of <n>, and also triggers an interrogation of the provision status of the CLIP service according GSM 02.81 [5] (given in <m>). Test command returns values supported by the TA as a compound value.
Parameter-Values

<n>: 0 1 <m>: 0 1 2 <number>:

parameter sets/shows the result code presentation status in TA Disable. Default Enable parameter shows the subscriber CLIP service status in the network CLIP not provisioned CLIP provisioned unknown (e.g. no network, etc.) string type phone number of format specified by <type>

102

GSM Network Reporting

<type>: <subaddr>: <satype>: <alpha>:

type of address octet in integer format (refer GSM 04.08 [13] subclause 10.5.4.7) string type subaddress of format specified by <satype> type of subaddress octet in integer format (refer GSM 04.08 [13] subclause 10.5.4.8) optional string type alphanumeric representation of <number> corresponding to the entry found in phone book; used character set should be the one selected with command Select TE Character Set +CSCS

<CLI validity> 0 CLI valid 1 CLI withheld by the originator. 2 CLI is not available due to interworking problems or limitations of originating network. When CLI is not available (<CLI validity>=2), <number> shall be an empty string () and <type> value will not be significant. Nevertheless, TA may return the recommended value 128 for <type> (TON/NPI unknown in accordance with GSM 04.08 [13] subclause 10.5.4.7). When CLI has been withheld by the originator, (<CLI validity>=1) and the CLIP is provisioned with the override category option (refer GSM 02.81 [5] and GSM 03.81 [12]), <number> and <type> is provided. Otherwise, TA shall return the same setting for <number> and <type> as if the CLI was not available.

+CLIR - Calling Line Identification


Parameter command syntax Command +CLIR=[<n>] +CLIR? +CLIR=? Description +CLIR: <n>,<m> +CLIR: (list of supported <n>s) Possible response(s)

This command refers to CLIR-service according to GSM 02.81 [5] that allows a calling subscriber to enable or disable the presentation of the CLI to the called party when originating a call. Set command overrides the CLIR subscription (default is restricted or allowed) when temporary mode is provisioned as a default adjustment for all following outgoing calls. This adjustment can be revoked by using the opposite command. If this command is used by a subscriber without provision of CLIR in permanent mode the network will act according GSM 02.81 [5].

GSM Network Reporting

103

Read command gives the default adjustment for all outgoing calls (given in <n>), and also triggers an interrogation of the provision status of the CLIR service (given in <m>). Test command returns values supported by the TA as a compound value. Note! On a per call base CLIR functionality is explained in subclause ITU-TV.25ter [28] dial command.
Parameter-Values

<n>: 0 1 2 <m>: 0 1 2 3 4

parameter sets the adjustment for outgoing calls: presentation indicator is used according to the subscription of the CLIR service. Default. CLIR invocation CLIR suppression parameter shows the subscriber CLIR service status in the network CLIR not provisioned CLIR provisioned in permanent mode unknown (e.g. no network, etc.) CLIR temporary mode presentation restricted CLIR temporary mode presentation allowed

+COLP - Connected Line Identification


Parameter command syntax Command +COLP=[<n>] +COLP? +COLP=? Intermediate Result Code +COLP: <number>,<type>[,<subaddr>,<satype> [,<alpha>]] Description +COLP: <n>,<m> +COLP: (list of supported <n>s) Possible response(s)

This command refers to the GSM supplementary service COLP (Connected Line Identification Presentation) that enables a calling subscriber to get the connected line identity (COL) of the called party after setting up a mobile originated call. The command enables or

104

GSM Network Reporting

disables the presentation of the COL at the TE. It has no effect on the execution of the supplementary service COLR in the network. When enabled (and called subscriber allows), +COLP intermediate result code is returned from TA to TE before any +CR or V.25ter [28] responses. Read command gives the status of <n>, and also triggers an interrogation of the provision status of the COLP service according GSM 02.81 [5] (given in <m>). Test command returns values supported by the TA as a compound value.
Parameter-Values

<n>: 0 1 <m>: 0 1 2 <number>: <type>: <subaddr>: <satype>: <alpha>:

parameter sets/shows the result code presentation status in TA disable. Default. enable parameter shows the subscriber COLP service status in the network COLP not provisioned COLP provisioned unknown (e.g. no network, etc.) refer 13.5 +CLIP refer 13.5 +CLIP refer 13.5 +CLIP refer 13.5 +CLIP refer 13.5 +CLIP

+CCFC - Call Forwarding Number and Conditions


Action command syntax Command +CCFC=<reason>,<mode> [,<number>[,<type>[,<class>]]] Possible response(s) +CME ERROR: <err> when <mode>=2 and command successful: +CCFC: <status>,<class1>[,<number>,<type> <satype>]][<CR><LF> +CCFC: <status>,<class2>[,<number>,<type>] [...]] +CCFC: (list of supported <reason>s)

+CCFC=? Description

This command allows control of the call forwarding supplementary service according to GSM 02.82 [6]. Registration, erasure, activation, deactivation, and status query are

GSM Network Reporting

105

supported. When querying the status of a network service (<mode>=2) the response line for .not active. case (<status>=0) should be returned only if service is not active for any <class>. Test command returns reason values supported by the TA as a compound value.
Parameter-Values

<reason> 0 1 2 3 4 5 <mode> 0 1 2 3 4 <number>:

unconditional mobile busy no reply not reachable all call forwarding (refer GSM 02.30 [3]) all conditional call forwarding (refer GSM 02.30 [3])

disable enable query status registration erasure string type phone number of forwarding address in format specified by <type> type of address octet in integer format (refer GSM 04.08 [13] subclause 10.5.4.7); default 145 when dialling string includes international access code character +, otherwise 129 is a sum of integers each representing a class of information (default 7): voice (telephony) data (refers to all bearer services; with <mode>=2 this may refer only to some bearer service if TA does not support values 16, 32, 64 and 128) fax (facsimile services) short message service data circuit sync data circuit async dedicated packet access dedicated PAD access

<type>:

<classx>: 1 2 4 8 16 32 64 128

106

GSM Network Reporting

<status> 0 1 <err> <time>: 1...30

not active active Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189. when no reply is enabled or queried, this gives the time in seconds to wait before call is forwarded, default value = 20.

+CSSN - Supplementary service notifications


Parameter command syntax Command +CSSN=[<n>[,<m>]] +CSSN? AT+CLCK=? +CSSN: <n>,<m> +CSSN: (list of supported <n>s), (list of supported <m>s) Possible response(s) +CME ERROR: <err>

Unsolicited Result codes +CSSI: <code1> [,<index>] +CSSU: <code2> [,<index> [,<number>, <type> [,<subaddr>, <satype>]]] Description

This command refers to supplementary service related network initiated notifications. The set command enables/disables the presentation of notification result codes from TA to TE. When <n>=1 and a supplementary service notification is received after a mobile originated call setup, intermediate result code +CSSI is sent to TE before any other MO call setup result codes presented in this spec or in V.25ter [28]. When several different <code1>s are received from the network, each of them shall have its own +CSSI result code. When <m>=1 and a supplementary service notification is received during a mobile terminated call setup or during a call, or when a forward check supplementary service notification is received, unsolicited result code +CSSU is sent to TE. In case of MT call setup, result code is sent after every +CLIP result code (refer 13.5 command +CLIP Calling line identification presentation) and when several different <code2>s are received from the network, each of them shall have its own +CSSU result code. Test command returns values supported by the TA as a compound value.

GSM Network Reporting

107

Parameter-Values

<n> 0 1 <m> 0 1 <code1> 0 1 2 3 4 5 6 7 8 <index>: <code2> 0 1 2 3 4 5 6 7 8

sets/shows the +CSSI result code presentation status in the TA disable. Default enable sets/shows the +CSSU result code presentation status in the TA disable. Default enable (it is manufacturer specific, which of these codes are supported): unconditional call forwarding is active some of the conditional call forwardings are active call has been forwarded call is waiting this is a CUG call (also <index> present). Not supported. outgoing calls are barred incoming calls are barred CLIR suppression rejected call has been deflected. Not supported. refer Closed user group +CCUG. Not supported. (it is manufacturer specific, which of these codes are supported): this is a forwarded call (MT call setup) this is a CUG call (also <index> present) (MT call setup). Not supported. call has been put on hold (during a voice call). Not supported. call has been retrieved (during a voice call). Not supported. multiparty call entered (during a voice call). Not supported. call on hold has been released (this is not a SS notification) (during a voice call). Not supported. forward check SS message received (can be received whenever) call is being connected (alerting) with the remote party in alertingstate in explicit call transfer operation (during a voice call). Not supported. call has been connected with the other remote party in explicit call transfer operation (also number and subaddress parameters may be present) (during a voice call or MT call setup). Not supported. this is a deflected call (MT call setup). Not supported.

108

GSM Network Reporting

<number>: <type>: <subaddr>: <satype>: <err>

string type phone number of format specified by <type> type of address octet in integer format (refer GSM 04.08 [13] subclause 10.5.4.7) string type subaddress of format specified by <satype>. Not supported. type of subaddress octet in integer format (refer GSM 04.08 [13] subclause 10.5.4.8). Not supported. Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

GSM Network Reporting

109

GSM Facility Lock


+CLCK - Facility lock
Parameter command syntax Command +CLCK=<fac>,<mode>[,<passwd> [,<class>]] Possible response(s) +CME ERROR: <err> when <mode>=2 and command successful: +CLCK: <status>[,<class1>[<CR><LF> +CLCK: <status>,<class2> [...]] +CLCK: (list of supported <fac>s)

+CLCK=? Description

Execute command is used to lock, unlock or interrogate a ME or a network facility <fac>. Password is normally needed to do such actions. This command should be abortable when network facilities are set or interrogated. Call barring facilities are based on GSM supplementary services (refer GSM 02.88 [7]). The interaction of these with other commands based on other GSM supplementary services is described in the GSM standard. Test command returns facility values supported by the TA as a compound value.
Parameter-Values

<fac> PS SC AO OI AI IR OX NT NM

values reserved by this ETS: PH-SIM (lock PHone to SIM card) (ME asks password when other than current SIM card inserted) SIM (lock SIM card) (SIM asks password in ME power-up and when this lock command issued) BAOC (Barr All Outgoing Calls) (refer GSM 02.88 [7] clause 1) BOIC (Barr Outgoing International Calls) (refer GSM 02.88 [7] clause 1) BAIC (Barr All Incoming Calls) (refer GSM 02.88 [7] clause 2) BIC-Roam (Barr Incoming Calls when Roaming outside the home country) (refer GSM 02.88 [7] clause 2) BOIC-exHC (Barr Outgoing International Calls except to Home Country) (refer GSM 02.88 [7] clause 1) barr incoming calls from numbers Not stored to TA memory barr incoming calls from numbers Not stored to ME memory

110

GSM Facility Lock

NS NA AB AG AC FD <mode>: 0 1 2 10 <status>: 0 1 <passwd>: <classx> 2 4 <err>

barr incoming calls from numbers Not stored to SIM memory barr incoming calls from numbers Not stored in Any memory All Barring services (refer GSM 02.30 [3]) All outGoing barring services (refer GSM 02.30 [3]) All inComing barring services (refer GSM 02.30 [3]) (applicable only for <mode>=0) SIM fixed dialling memory feature (if PIN2 authentication has not been done during the current session, PIN2 is required as <passwd>) unlock lock query status full lock (only valid for fac = .PS., after power on always ask for password not active active string type; shall be the same as password specified for the facility from the ME user interface or with command Change Password +CPWD is a sum of integers each representing a class of information (default 6): data fax Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

+CPWD - Change password


Action command syntax Command +CPWD=<fac>,<oldpwd>,<newpwd > +CPWD=? +CPWD: list of supported (<fac>, <pwdlength>)s Possible response(s) +CME ERROR: <err>

Description

Action command sets a new password for the facility lock function defined by command Facility Lock +CLCK.

GSM Facility Lock

111

Test command returns a list of pairs which present the available facilities and the maximum length of their password.
Parameter-Values

PH-SIM (lock PHone to SIM card) (ME asks password when other than current SIM card inserted) P2 SIM PIN2 SC SIM (lock SIM card) (SIM asks password in ME power-up and when this lock command issued) AO BAOC (Barr All Outgoing Calls) (refer GSM 02.88 [7] clause 1) OI BOIC (Barr Outgoing International Calls) (refer GSM 02.88 [7] clause 1) AI BAIC (Barr All Incoming Calls) (refer GSM 02.88 [7] clause 2) IR BIC-Roam (Barr Incoming Calls when Roaming outside the home country) (refer GSM 02.88 [7] clause 2) OX BOIC-exHC (Barr Outgoing International Calls except to Home Country) (refer GSM 02.88 [7] clause 1) NT barr incoming calls from numbers Not stored to TA memory NM barr incoming calls from numbers Not stored to ME memory NS barr incoming calls from numbers Not stored to SIM memory NA barr incoming calls from numbers Not stored in Any memory AB All Barring services (refer GSM 02.30 [3]) AG All outGoing barring services (refer GSM 02.30 [3]) AC All inComing barring services (refer GSM 02.30 [3]) (applicable only for <mode>=0) FD SIM fixed dialling memory feature (if PIN2 authentication has not been done during the current session, PIN2 is required as <passwd>) <oldpwd>: string type; <oldpwd> shall be the same as password specified for the facility from the ME user interface or with command Change Password +CPWD <newpwd> is the new password; maximum length of password can be determined with <pwdlength> <pwdlength>: integer type maximum length of the password for the facility <err> Error Messages, page 189

<fac>: PS

112

GSM Facility Lock

GSM Mobile Equipment Control and Status


+CPIN - Enter PIN
Parameter command syntax Command +CPIN=<pin>[,<newpin>] +CPIN? +CPIN=? Description +CPIN: <code> Possible response(s) +CME ERROR: <err>

The Set command sends to the ME a password which is necessary before it can be operated (SIM PIN, SIM PUK, PH-SIM PIN, etc.). If the PIN is to be entered twice, the TA shall automatically repeat the PIN. If no PIN request is pending, no action is taken towards ME and an error message, +CME ERROR, is returned to TE. If the PIN required is SIM PUK or SIM PUK2, the second pin is required. This second pin, <newpin>, is used to replace the old pin in the SIM. Read command returns an alphanumeric string indicating whether some password is required or not.
Parameter-Values

<pin>:

string type values (the range of the SIM PIN and the PH-SIM PIN is 4-8 bits). <newpin>: same as <pin> <code> values reserved by this ETS: READY ME is not pending for any password SIM PIN ME is waiting SIM PIN to be given SIM PUK ME is waiting SIM PUK to be given PH-SIM PIN ME is waiting phone-to-SIM card password to be given PH-FSIM PIN: ME is waiting phone-to-very first SIM card password to be given PH-FSIM PUK: ME is waiting phone-to-very first SIM card unblocking password to be given SIM PIN2 ME is waiting SIM PIN2 to be given (this <code> is recommended to be returned only when the last executed command resulted in PIN2 authentication failure (i.e. +CME ERROR: 17); if PIN2 is not entered right after the failure, it is recommended that ME does not block its operation)

GSM Mobile Equipment Control and Status

113

ME is waiting SIM PUK2 to be given (this <code> is recommended to be returned only when the last executed command resulted in PUK2 authentication failure (i.e. +CME ERROR: 18); if PUK2 and new PIN2 are not entered right after the failure, it is recommended that ME does not block its operation) PH-NET PIN ME is waiting network personalisation password to be given PH-NET PUK: ME is waiting network personalisation unblocking password to be given PH-NETSUB PIN: ME is waiting network subset personalisation password to be given PH-NETSUB PUK: ME is waiting network subset personalisation unblocking password to be given PH-SP PIN ME is waiting service provider personalisation password to be given PH-SP PUK ME is waiting service provider personalisation unblocking password to be given PH-CORP PIN: ME is waiting corporate personalisation password to be given PH-CORP PUK: ME is waiting corporate personalisation unblocking password to be given <err> Refer to subclause 25.1

SIM PUK2

+CGSN - Request product serial number identification


Action command syntax Command +CGSN +CGSN=? Description Possible response(s) +CME ERROR: <err> <sn>

Execution command causes the TA to return one or more lines of information text <sn>, which is intended to permit the user of the TA to identify the individual ME to which it is connected to.
Parameter-Values

<sn>:

the total number of characters, including line terminators, in the information text shall not exceed 2048 characters. Text shall not contain the sequence 0<CR> or OK<CR>

114

GSM Mobile Equipment Control and Status

<err>

Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

+CSQ - Signal quality


Action command syntax Command +CSQ +CSQ=? Possible response(s) +CME ERROR: <err> +CSQ: <rssi>, <ber> +CSQ: (list of supported <rssi>s), (list of supported <ber>s)

Description

Execution command returns received signal strength indication <rssi> and channel bit error rate <ber> from the ME. Test command returns values supported by the TA as compound values.
Parameter-Values

<rssi>: 0 1 2...30 31 99 <ber> 0...7 99 <err>

-113 dBm or less -111 dBm -109... -53 dBm -51 dBm or greater not known or not detectable (in percent): as RXQUAL values in the table in GSM 05.08 [16] subclause 8.2.4 not known or not detectable Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

GSM Mobile Equipment Control and Status

115

GSM Mobile Equipment Error


+CEER - GSM Extended Error Reporting
Parameter command syntax Command +CEER +CEER=? Description Possible response(s) +CEER: <report>

Execution command causes the TA to return one or more lines of information text <report>, determined by the ME manufacturer, which should offer the user of the TA an extended report of the reason of the failure in the last unsuccessful call setup (originating or answering) or in-call modification, or the reason for last call release. Typically, the text will consist of a single line containing the failure information given by GSM network in textual format. Test command shows if the command is supported.
Parameter-Values

<report>:

one or more lines of information text (characters). See the Description section.

Comments

The total number of characters including line terminators, in the information text (in <report>), shall not exceed 2041 characters. Text shall not contain the sequence 0<CR> or OK<CR>.

116

GSM Mobile Equipment Error

+CMEE - Report Mobile Equipment Error


Parameter command syntax Command +CMEE=[<n>] +CMEE? +CMEE=? Unsolicited Result Code +CME ERROR: <err> Description +CMEE: <n> +CMEE: (list of supported <n>s) Possible response(s)

Set command disables or enables the use of result code +CME ERROR as an indication of an error relating to the functionality of the ME. When enabled, ME related errors cause +CME ERROR final result code instead of the regular ERROR final result code. ERROR is returned normally when error is related to syntax, invalid parameters, or TA functionality. Test command returns values supported by the TA as a compound value.
Parameter-Values

<n> 0 1 2 <err>

disable +CME ERROR result code and use ERROR instead. Default. enable +CME ERROR result code, use numeric <err> values enable +CME ERROR result code, use verbose <err> values Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189

GSM Mobile Equipment Error

117

SMS General Commands


Parameter Definitions

The following parameters are used in chapters SMS Text mode through to18.1 which describe all SMS commands. The formats of integer and string types referenced here are defined in chapter 2 and V.25ter [28]. The default values are for command parameters, not for result code parameters.
Message Storage Parameters

<index> <mem1>

BM ME MT SM TA SR <mem2>

<mem3>

<stat>

0 1 2 3 4 <total1>

integer type; value in the range of location numbers supported by the associated memory string type; memory from which messages are read and deleted (commands List Messages +CMGL, Read Message +CMGR and Delete Message +CMGD); defined values (others are manufacturer specific): broadcast message storage ME message storage any of the storages associated with ME SIM message storage TA message storage status report storage string type; memory to which writing and sending operations are made (commands Send Message from Storage +CMSS and Write Message to Memory +CMGW) ); refer <mem1> for defined values string type; memory to which received SMs are preferred to be stored (unless forwarded directly to TE; refer 17.8 command +CNMI - New Message Indications); refer <mem1> for defined values; received CBMs are always stored in BM (or some manufacturer specific storage) unless directly forwarded to TE; received status reports are always stored in SR (or some manufacturer specific storage) unless directly forwarded to TE integer type in PDU mode (default 0), or string type in text mode (default REC UNREAD); indicates the status of message in memory; defined values: REC UNREAD received unread message (i.e. new message) REC READ received read message STO UNSENT stored unsent message (only applicable to SMks) STO SENT stored sent message (only applicable to SMs) ALL all messages (only applicable to +CMGL command) integer type; total number of message locations in <mem1>

118

SMS General Commands

<total2> <total3> <used1> <used2> <used3>

integer type; total number of message locations in <mem2> integer type; total number of message locations in <mem3> integer type; number of messages currently in <mem1> integer type; number of messages currently in <mem2> integer type; number of messages currently in <mem3>

Message Data Parameters

<ackpdu>

<alpha>

<cdata>

<ct> <da>

<data> -

GSM 03.40 [9] RP-User-Data element of RP-ACK PDU; format is same as for <pdu> in case of SMS, but without GSM 04.11 [14] SC address field and parameter shall be bounded by double quote characters like a normal string type parameter string type alphanumeric representation of <da> or <oa> corresponding to the entry found in MT phone book; implementation of this feature is manufacturer specific; used character set should be the one selected with command Select TE Character Set +CSCS (see definition of this command in chapter AT+CSCS Select TE Character Set) GSM 03.40 [9] TP-Command-Data in text mode responses; ME/TA converts each 8-bit octet into two IRA character long hexadecimal number (e.g. octet with integer value 42 is presented to TE as two characters 2A (IRA 50 and 65) GSM 03.40 [9] TP-Command-Type in integer format (default 0) GSM 03.40 [9] TP-Destination-Address-Value field in string format; BCD numbers (or GSM default alphabet characters) are converted to characters of the currently selected TE character set (refer 10.1 and command +CSCS in GSM 07.07 [18]); type of address given by <toda> In the case of SMS: GSM 03.40 [9] TP-User-Data in text mode responses; format: if <dcs> indicates that GSM 03.38 [8] default alphabet is used and <fo> indicates that GSM 03.40 [9] TP-User-Data-Header-Indication is not set: if TE character set other than HEX (refer 10.1 and command +CSCS - Select TE Character Set - in GSM 07.07 [18]): ME/TA converts GSM alphabet into current TE character set according to rules of Annex A if TE character set is HEX: ME/TA converts each 7-bit character of GSM alphabet into two IRA character long hexadecimal number (e.g. character (GSM 23) is presented as 17 (IRA 49 and 55)) if <dcs> indicates that 8-bit or UCS2 data coding scheme is used, or <fo> indicates that GSM 03.40 [9] TP-User-Data-Header-Indication is set: ME/TA converts each 8-bit octet into two IRA character long hexadecimal number (e.g. octet with integer value 42 is presented to TE as two characters 2A (IRA 50 and 65)

In the case of CBS: GSM 03.41 [10] CBM Content of Message in text mode

SMS General Commands

119

<dcs>

<dt>

<fo>

<length>

<mid> <mn> <mr> <oa>

<page> <pages> <pdu>

responses; format: if <dcs> indicates that GSM 03.38 [8] default alphabet is used: if TE character set other than HEX (refer 10.1 and command +CSCS in GSM 07.07 [18]): ME/TA converts GSM alphabet into current TE character set according to rules of Annex A if TE character set is HEX: ME/TA converts each 7-bit character of GSM alphabet into two IRA character long hexadecimal number if <dcs> indicates that 8-bit or UCS2 data coding scheme is used: ME/ TA converts each 8-bit octet into two IRA character long hexadecimal number depending on the command or result code: GSM 03.38 [8] SMS Data Coding Scheme (default 0), or Cell Broadcast Data Coding Scheme in integer format GSM 03.40 [9] TP-Discharge-Time in time-string format: yy/MM/dd,hh:mm:sszz, where characters indicate year (two last digits), month, day, hour, minutes, seconds and time zone. E.g. 6th of May 1994, 22:10:00 GMT+2 hours equals to 94/05/06,22:10:00+08 depending on the command or result code: first octet of GSM 03.40 [9] SMS-DELIVER, SMS-SUBMIT (default 17), SMS-STATUSREPORT, or SMS-COMMAND (default 2) in integer format integer type value indicating in the text mode (+CMGF=1) the length of the message body <data> > (or <cdata>) in characters; or in PDU mode (+CMGF=0), the length of the actual TP data unit in octets (i.e. the RP layer SMSC address octets are not counted in the length) GSM 03.41 [10] CBM Message Identifier in integer format GSM 03.40 [9] TP-Message-Number in integer format GSM 03.40 [9] TP-Message-Reference in integer format GSM 03.40 [9] TP-Originating-Address-Value field in string format; BCD numbers (or GSM default alphabet characters) are converted to characters of the currently selected TE character set (refer 10.1 and command +CSCS in GSM 07.07 [18]); type of address given by <tooa> GSM 03.41 [10] CBM Page Parameter bits 4-7 in integer format GSM 03.41 [10] CBM Page Parameter bits 0-3 in integer format In the case of SMS: GSM 04.11 [14] SC address followed by GSM 03.40 [9] TPDU in hexadecimal format: ME/TA converts each octet of TP data unit into two IRA character long hexadecimal number (e.g. octet with integer value 42 is presented toTE as two characters 2A (IRA 50 and 65))

In the case of CBS: GSM 03.41 [10] TPDU in hexadecimal format <pid> GSM 03.40 [9] TP-Protocol-Identifier in integer format (default 0)

120

SMS General Commands

<ra>

<sca>

<scts> <sn> <st> <toda>

<tooa> <tora> <tosca> <vp>

<vp>

GSM 03.40 [9] TP-Recipient-Address-Value field in string format; BCD numbers (or GSM default alphabet characters) are converted to characters of the currently selected TE character set (refer 10.1 and command +CSCS in GSM 07.07 [18]); type of address given by <tora> GSM 04.11 [14] RP SC address Address-Value field in string format; BCD numbers (or GSM default alphabet characters) are converted to characters of the currently selected TE character set (refer 10.1 and command +CSCS in GSM 07.07 [18]); type of address given by <tosca> GSM 03.40 [9] TP-Service-Centre-Time-Stamp in time-string format (refer <dt>) GSM 03.41 [10] CBM Serial Number in integer format GSM 03.40 [9] TP-Status in integer format GSM 04.11 [14] TP-Destination-Address Type-of-Address octet in integer format (when first character of <da> is + (IRA 43) default is 145, otherwise default is 129) GSM 04.11 [14] TP-Originating-Address Type-of-Address octet in integer format (default refer <toda>) GSM 04.11 [14] TP-Recipient-Address Type-of-Address octet in integer format (default refer <toda>) GSM 04.11 [14] RP SC address Type-of-Address octet in integer format (default refer <toda>) depending on SMS-SUBMIT <fo> setting: GSM 03.40 [9] TPValidity-Period either in integer format (default 167) or in time-string format (refer <dt>) depending on SMS-SUBMIT <fo> setting: GSM 03.40 [9] TPValidity-Period either in integer format (default 167), in time-string format (refer <dt>), or if $(EVPF)$ is supported, in enhanced format (hexadecimal coded string with double quotes)

SMS General Commands

121

+CSMS - Select Message Service


Parameter command syntax Command +CSMS=<service> +CSMS? +CSMS=? Description Possible response(s) +CMS ERROR: <err> +CSMS: <mt>, <mo>, <bm> +CSMS: <service>, <mt>, <mo>, <bm> +CSMS: (list of supported <service>s)

Set command selects messaging service <service>. It returns the types of messages supported by the ME: <mt> for mobile terminated messages, <mo> for mobile originated messages and <bm> for broadcast type messages. If chosen service is not supported by the ME, final result code +CMS ERROR shall be returned.
Parameter-Values

<service> 0

<mt> 1 <mo> 1 <bm> 1 <err>

GSM 03.40 and 03.41 (the syntax of SMS AT commands is compatible with GSM 07.05 Phase 2 version 4.7.0; Phase 2+ features which do not require new command syntax may be supported (e.g. correct routing of messages with new Phase 2+ data coding schemes). Default. GSM 03.40 and 03.41 (the syntax of SMS AT commands is compatible with GSM 07.05 Phase 2+ version; the requirement of <service> setting 1 is mentioned under corresponding command descriptions) Mobile terminated message Mobile terminated message supported Mobile originated message mobile terminated message supported same as <mt> Mobile terminated message supported Error Messages, page 189

122

SMS General Commands

+CPMS - Preferred Message Storage


Parameter command syntax Command +CPMS=<mem1> [,<mem2>[,<mem3>]] Possible response(s) +CMS ERROR: <err> +CPMS: <used1>,<total1>,<used2>,<total2>, <used3>,<total3> +CPMS: <mem1>,<used1>,<total1>,<mem2>, <used2>,<total2>,<mem3>,<used3>,<total3> +CPMS: (list of supported <mem1>s),(list of supported <mem2>s),(list of supported <mem3>s)

+CPMS? +CPMS=?

Description

Set command selects memory storages <mem1>, <mem2> and <mem3> to be used for reading, writing, etc. If chosen storage is not appropriate for the ME, final result code +CMS ERROR shall be returned. Test command returns lists of memory storages supported by the TA.
Parameter-Values

<mem1>

ME SM <mem2>

<mem3>

<MT> <used1> <used2> <used3> <total1> <total1> <total1> <err>

String type, memory from which message are read and deleted (commands List Messages +CMGL, Read Message +CMGR and Delete Message +CMGD). ME message storage SIM message storage String type, memory to which reading and sending operation are made (commands Send Messages from Storage +CMSS, and Write Message to memory +CMGM and Delete Message +CMGD). See <mem1>. String type, memory to which received SMS messages are preferred to be stored (unless forwarded directly to TE). Received CBMs are always stored in .BM. (or some manufacture specific storage) unless directly forwarded to the TE. Any of the storage associated with ME. String type, Total number of messages currently in <mem1>. string type, Total number of messages currently in <mem2>. string type, Total number of messages currently in <mem3>. total number of message locations in <mem1>. total number of message locations in <mem2>. total number of message locations in <mem3>. Refer to +CMS ERROR . Message Failure Result Code, page 191

SMS General Commands

123

+CMGF - Message Format


Parameter command syntax Command +CMGF=[<mode>] +CMGF? +CMGF=? Description +CMGF: <mode> +CMGF: (list of supported <mode>s) Possible response(s)

Set command tells the TA, which input and output format of messages to use. <mode> indicates the format of messages used with send, list, read and write commands and unsolicited result codes resulting from received messages. Mode can be either PDU mode (entire TP data units used) or text mode (headers and body of the messages given as separate parameters). Test command returns supported modes as a compound value.
Parameter-Values

<mode>: 0 1

PDU mode. Default. Text mode

+CSCA - Service Center Address


Parameter command syntax Command +CSCA=<sca>[,<tosca>] +CSCA? +CSCA=? Description +CSCA: <sca>, <tosca> Possible response(s)

Set command updates the SMSC address, through which mobile originated SMS.s are transmitted. In text mode, setting is used by send (+CMGS) and write (+CMGW) commands. In PDU mode, setting is used by the same commands, but only when the length of the SMSC address coded into <pdu> parameter equals zero.

124

SMS General Commands

Parameter-Values

<sca>

<tosca> 129 145 161 128-255


Comments

String type, GSM 04.11 [14] RP SC address Address-Value field in string format; BCD numbers (or GSM default alphabet characters) are converted to characters of the currently selected TE character set. Integer type, GSM 04.11 [14] RP SC address Type-Of-Address octet in integer format. ISDN/telephony numbering plan, national/international unknown, Default if no .+. in <sca>. ISDN/telephony numbering plan, international number, Default if + in <sca>. ISDN/telephony numbering plan, notional number Other values refer GSM 04.08 [13] section 10.5.4.7.

Note! A + in front of the <sca> has precedence over the <tosca> parameter, so that a number
starting with + will always be treated as an international number.

+CSCB Select Cell Broadcast Message Types


Parameter command syntax Command +CSCB=[<mode>[,<mids>[,<dcss>]]] +CSCB? +CSCB=? Description +CSCB: <mode>, <mids>, <dcss> +CSCB: (list of supported <mode>s) Possible response(s)

Set command selects which types of CBMs are to be received by the ME. Test command returns supported modes as a compound value.
Parameter-Values

<mode> 0 1 <mids>

<dcss>

message types specified in <mids> and <dcss> are accepted message types specified in <mids> and <dcss> are not accepted string type; all different possible combinations of CBM message identifiers (refer <mid>) (default is empty string); e.g. 0,1,5,320478,922 string type; all different possible combinations of CBM data coding schemes (refer <dcs>) (default is empty string); e.g. 0-3,5

SMS General Commands

125

+CNMI - New Message Indications to TE


Parameter command syntax Command +CNMI=[<mode>[,<mt> [,<bm>[,<ds>[,<bfr>]]]]] +CNMI? +CNMI=? +CNMI: <mode>, <mt>, <bm>, <ds>, <bfr> +CNMI: (list of supported <mode>s),(list of supported <mt>s),(list of supported <bm>s),(list of supported <ds>s),(list of supported <bfr>s) Possible response(s) +CMS ERROR: <err>

Description

Set command selects the procedure for how receiving of new messages from the network is indicated to the TE when TE is active, e.g. DTR signal is ON. If TE is inactive (e.g. DTR signal is OFF), message receiving should be done as specified in GSM 03.38 [8]. If the command fails and error is related to the ME or network, return final result code CMS ERROR: <err>.
Parameter-Values

<mode> 0

(refer figure 1;) Buffer unsolicited result codes in the TA. If TA result code buffer is full, indications can be buffered in some other place or the oldest indications may be discarded and replaced with the new received indications. Buffer unsolicited result codes in the TA when TA-TE link is reserved (e.g. in on-line data mode) and flush them to the TE after reservation. Otherwise forward them directly to the TE. Default.

Note! It is possible that ME/TA result code buffer is in volatile memory. In this case messages may
get lost if the power of ME/TA is switched off before codes are sent to TE. Thus, it is not recommended to use direct message routing (<mt>=2 or 3, <bm>=2 or 3, or <ds>=1) with <mode> value 0 or 2.

<mt>

(the rules for storing received SMs depend on its data coding scheme (refer GSM 03.38 [8]), preferred memory storage (+CPMS) setting and this value; refer table 1)

Note! If AT command interface is acting as the only display device, the ME must support storing
of class 0 messages and messages in the message waiting indication group (discard message); refer table 2):

126

SMS General Commands

0 1 2

No SMS-DELIVER indications are routed to the TE. Default. If SMS-DELIVER is stored into ME/TA, indication of the memory location is routed to the TE using unsolicited result code: +CMTI SMS-DELIVERs (except class 2 messages and messages in the message waiting indication group (store message)) are routed directly to the TE using unsolicited result code: +CMT Class 2 messages and messages in the message waiting indication group (store message) result in indication as defined in <mt>=1. Class 3 SMS-DELIVERs are routed directly to TE using unsolicited result codes defined in <mt>=2. Messages of other data coding schemes result in indication as defined in <mt>=1.

SMS General Commands

127

Table 1: <mt> parameter Receiving procedure for different message data coding schemes (refer GSM 03.38 [8]) no class: as in GSM 03.38, but use <mem3> as preferred memory class 0: as in GSM 03.38, but use <mem3> as preferred memory if message is tried to be stored class 1: as in GSM 03.38, but use <mem3> as preferred memory class 2: as in GSM 03.38 class 3: as in GSM 03.38, but use <mem3> as preferred memory message waiting indication group (discard message): as in GSM 03.38, but use <mem3> as preferred memory if message is tried to be stored message waiting indication group (store message): as in GSM 03.38, but use <mem3> as preferred memory

<mt> 0

1 2

as <mt>=0 but send indication if message stored successfully


no class: route message to TEclass 0: as in GSM 03.38, but also route message to TE and do not try to store it in memory class 1: route message to TE class 2: as <mt>=1 class 3: route message to TE message waiting indication group (discard message): as in GSM 03.38, but also route message to TE and do not try to store it in memory message waiting indication group (store message): as <mt>=1 3 class 3: route message to TE class 3: route message to TE others: as <mt>=1

Table 2: SMS-DELIVER result code and acknowledgement summary class 0 or no class or message waiting class 1 indication group (discard) +CMTI +CMT & +CNMA3) +CMTI [+CMTI1)] class 2 or message waiting indication group (store) +CMTI

<mt>

class 3

1 2 3
1

+CMTI +CMT & +CNMA3 ) +CMT & +CNMA3)

+CMT [& +CNMA2)] +CMTI [+CMTI1)] +CMTI

) result code is sent when ME does not have other display device than AT interface 2) acknowledgement command must be sent when +CSMS <service> value equals 1 and ME does not have other display device than AT interface 3) acknowledgement command must be sent when +CSMS <service> value equals 1

128

SMS General Commands

<bm>

0 1 2

(the rules for storing received CBMs depend on its data coding scheme (refer GSM 03.38 [8]), the setting of Select CBM Types (+CSCB) and this value; refer table 3): No CBM indications are routed to the TE. If CBM is stored into ME/TA, indication of the memory location is routed to the TE using unsolicited result code: +CBMI New CBMs are routed directly to the TE using unsolicited result code: +CBM If ME supports data coding groups which define special routing also for messages other than class 3 (e.g. SIM specific messages), ME may choose not to route messages of such data coding schemes into TE (indication of a stored CBM may be given as defined in <bm>=1). Class 3 CBMs are routed directly to TE using unsolicited result codes defined in <bm>=2. If CBM storage is supported, messages of other classes result in indication as defined in <bm>=1.

Table 3: <bm> parameter Receiving procedure for different message data coding schemes (refer GSM 03.38 [8]) all schemes: as in GSM 03.38; if CBM storage is supported, store message to

<bm> 0 1 2

BM (or some manufacturer or data coding scheme specific memory)


all schemes: as <bm>=0 but send indication if message stored successfully all schemes: route message to TE unless ME has detected a special routing to somewhere else (e.g. to SIM; an indication may be sent if message stored successfully) Class 3: route message to TE others: as <bm>=1 (if CBM memory storage is supported)

<ds>: 0 1 2

No SMS-STATUS-REPORTs are routed to the TE. SMS-STATUS-REPORTs are routed to the TE using unsolicited result code: +CDS If SMS-STATUS-REPORT is stored into ME/TA, indication of the memory location is routed to the TE using unsolicited result code: +CDSI

SMS General Commands

129

Table 4: SMS-STATUS-REPORT result code and acknowledgement summary <ds> 1 2 1) result codes and commands +CDS & +CNMA1) +CDSI acknowledgement command must be sent when +CSMS <service> value equals 1

<bfr>: 0

1 <mem> SM ME <index> <err>


Comments

TA buffer of unsolicited result codes defined within this command is flushed to the TE when <mode> 1...3 is entered (OK response shall be given before flushing the codes). TA buffer of unsolicited result codes defined within this command is cleared when <mode> 1...3 is entered. SIM GC75

Refer to +CMS ERROR . Message Failure Result Code, page 191

<mode> has other values according to GSM 07.05 [17] (unsolicited result code are not buffered here!).

+CMGD - Delete Message


Action command syntax Command +CMGD=<index>[,<delflag>] +CMGD=? +CMGD: (list of supported <index>s) [,(list of supported <delflag>s)] Possible response(s) +CMS ERROR: <err>

Description

Execution command deletes message from preferred message storage <mem1> location <index>. If <delflag> is present and not set to 0 then the ME shall ignore <index> and follow the rules for <delflag> shown below. If deleting fails, final result code +CMS ERROR is returned.

130

SMS General Commands

Parameter-Values

<index> <delflag> 0 (or omitted) 1

Integer type, Value in the range of location numbers supported by the associated memory. an integer indicating multiple message deletion request as follows: Delete the message specified in <index> Delete all read messages from preferred message storage, leaving unread messages and stored mobile originated messages (whether sent or not) untouched Delete all read messages from preferred message storage and sent mobile originated messages, leaving unread messages and unsent mobile originated messages untouched Delete all read messages from preferred message storage, sent and unsent mobile originated messages leaving unread messages untouched. Delete all messages from preferred message storage including unread messages.

SMS General Commands

131

SMS Text mode


Any command syntax presented in this chapter is only valid when text mode format is selected (+CGMF=1).

+CSMP - Set Text Mode Parameters


Parameter command syntax (if SMS TEXT mode, +CMGF=1) Command +CSMP=[<fo>[,<vp>[,<pid>[,<dcs>]]]] +CSMP? +CSMP=? Description +CSMP: <fo>, <vp>, <pid>, <dcs> Possible response(s)

Set command is used to select values for additional parameters needed when SM is sent to the network or placed in a storage when text format message mode is selected. It is possible to set the validity period starting from when the SM is received by the SMSC (<vp> is in range 0... 255) or define the absolute time of the validity period termination (<vp> is a string). The format of <vp> is given by <fo>. If TA supports the enhanced validity period format ($(EVPF)$, see GSM 03.40 [9]), it shall be given as a hexadecimal coded string (refer e.g. <pdu>) with double quotes.
Parameter-Values

See previous section <err> Refer to +CMS ERROR . Message Failure Result Code, page 191

Note! When storing a SMS-DELIVER from the TE to the preferred memory storage in text mode
(refer 18.9 command +CMGW, Write Message to Memory), <vp> field can be used for <scts>.

132

SMS Text mode

+CSDH - Show Text Mode Parameters


Parameter command syntax (if SMS TEXT mode, +CMGF=1) Command +CSDH=[<show>] +CSDH? +CSDH=? Description +CSDH: <show> +CSDH: (list of supported <show>s) Possible response(s)

Set command controls whether detailed header information is shown in text mode result codes. Test command returns supported values as a compound value.
Parameter-Values

<show> 0 1 <err>

no header information shown header information shown Refer to +CMS ERROR . Message Failure Result Code, page 191

+CNMI - New Message Indications to TE


Unsolicited Result Code (if SMS TEXT mode, +CMGF=1) +CMTI: <mem>, <index> +CMT: <oa>, [<alpha>], <scts>[, <tooa>, <fo>, <pid>, <dcs>, <sca>, <tosca>, <length>]<CR><LF> <data> +CBMI: <mem>, <index> +CBM: <sn>, <mid>, <dcs>, <page>, <pages><CR><LF><data> +CDSI: <mem>, <index> +CDS: <fo>, <mr>, [<ra>], [<tora>], <scts>, <dt>, <st> Parameters in italics, refer to +CSDH - Show Text Mode Parameters, page 133.

SMS Text mode

133

+CMGL - List Messages


Action command syntax (if SMS TEXT mode, +CMGF=1) Command +CMGL[=<stat>] Possible response(s) +CMS ERROR: <err> SMS-SUBMITs and/or SMS-DELIVERs +CMGL: <index>, <stat>, <oa/da>, [<alpha>], [<scts>]

[,<tooa/toda>, <length>]<CR><LF><data>[<CR><LF>
+CMGL: <index>, <stat>, <da/oa>, [<alpha>], [<scts>] [,<tooa/toda>, <length>]<CR><LF> <data>[...]] SMS-STATUS-REPORTs: +CMGL: <index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>[<C R><LF> +CMGL: <index>, <stat>, <fo>, <mr>, [<ra>], [<tora>], <scts>, <dt>, <st>[...]] SMS-COMMANDs: +CMGL: <index>, <stat>, <fo>, <ct>[<CR><LF> +CMGL: <index>, <stat>, <fo>, <ct>[...]] CBM storage: +CMGL: <index>, <stat>, <sn>, <mid>, <page>, <pages><CR><LF>

<data>[<CR><LF>
+CMGL: <index>, <stat>, <sn>, <mid>, <page>, <pages><CR><LF> <data>[...]] +CMGL=? Description +CMGL: (list of supported <stat>s)

Execution command returns messages with status value <stat> from message storage <mem1> to the TE. About text mode parameters in italics, see +CSDH - Show Text Mode Parameters, page 133. If status of the message is 'received unread', status in the storage changes to 'received read'. If listing fails, final result code +CMS ERROR is returned.
Parameter-Values

<err>
Comments

Refer to +CMS ERROR . Message Failure Result Code, page 191

Note! If the selected <mem1> can contain different types of SMs (e.g. SMS-DELIVERs, SMSSUBMITs, SMS-STATUS-REPORTs and SMS-COMMANDs), the response may be a mix of the responses of different SM types. TE application can recognize the response format by examining the third response parameter.

134

SMS Text mode

Test command shall give a list of all status values supported by the TA.

+CMGR - Read Message


Action Command Syntax (if SMS TEXT mode, +CMGF=1) Command Possible response(s) +CMS ERROR: <err> +CMGR=<index> SMS-DELIVER: +CMGR: <stat>, <oa>, [<alpha>], <scts>[, <tooa>, <fo>, <pid>, <dcs>, <sca>, <tosca>, <length>]<CR><LF><data> SMS-SUBMIT: +CMGR: <stat>,<da>,[<alpha>][,<toda>,<fo>,<pid>,<dcs>,[<vp>],<sca> ,<tosca>,<length>]<CR><LF><data> SMS-STATUS-REPORT: +CMGR: <stat>, <fo>, <mr>, [<ra>], [<tora>], <scts>, <dt>, <st> SMS-COMMAND: +CMGR: <stat>,<fo>,<ct>[,<pid>,[<mn>],[<da>],[<toda>],<length><CR> <LF><cdata>] CBM storage: +CMGR: <stat>, <sn>, <mid>, <dcs>, <page>, <pages><CR><LF> <data> +CMGR=? Description

Execution command returns message with location value <index> from message storage <mem1> to the TE. About text mode parameters in italics, refer command Show Text Mode Parameters +CSDH. If status of the message is received unread, status in the storage changes to received read. If reading fails, final result code +CMS ERROR: <err> is returned. See chapter Message Service Failure Result Code for <err> values.
Parameter-Values

<err>

Refer to +CMS ERROR . Message Failure Result Code, page 191

SMS Text mode

135

+CNMA - New Message Acknowledgement to ME/TA


Parameter command syntax (if SMS TEXT mode, +CMGF=1) Command +CNMA +CNMA=? Description Possible response(s) +CMS ERROR: <err>

Execution command confirms correct reception of a new message (SMS-DELIVER or SMSSTATUS-REPORT) which is routed directly to the TE, see +CNMI - New Message Indications to TE, page 133, tables 2 and 4). This acknowledgement command (causing ME to send RP-ACK to the network) shall be used when +CSMS parameter <service> equals 1. TA shall not send another +CMT or +CDS result code to TE before previous one is acknowledged. If ME does not get acknowledgement within required time (network timeout), ME should send RP-ERROR to the network. ME/TA shall automatically disable routing to TE by setting both <mt> and <ds> values of +CNMI to zero. If command is executed, but no acknowledgement is expected, or some other ME related error occurs, final result code +CMS ERROR: <err> is returned. Note! In case that a directly routed message must be buffered in ME/TA (possible when +CNMI
parameter <mode> equals 0 or 2) or AT interpreter remains too long in a state where result codes cannot be sent to TE (e.g. user is entering a message using +CMGS), acknowledgement (RP-ACK) must be sent to the network without waiting +CNMA command from TE. Later, when buffered result codes are flushed to TE, TE must send +CNMA acknowledgement for each result code. In this way, ME/TA can determine if message should be placed in non-volatile memory and routing to TE disabled (+CNMA not received). Refer to +CNMI - New Message Indications to TE, page 133 for more details how to use <mode> parameter reliably.
Parameter-Values

<err>

Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

136

SMS Text mode

+CMGS - Send Message


Action Command Syntax (if SMS TEXT mode, +CMGF=1) Command +CMGS=<da>[,<toda>]<CR> text is entered<ctrl-Z/ESC> +CMGS=? Description Possible response(s) +CMS ERROR: <err> +CMGS: <mr>

Execution command sends message from a TE to the network (SMS-SUBMIT). Message reference value <mr> is returned to the TE on successful message delivery. Values can be used to identify message upon unsolicited delivery status report result code. If sending fails in a network or an ME error, final result code +CMS ERROR is returned. This command should be abortable.
entered text (GSM 03.40 TP-Data-Unit) is sent to address <da> and all current settings (refer Set Text Mode Parameters +CSMP and Service Centre Address +CSCA) are used to construct the actual PDU in ME/TA the TA shall send a four character sequence <CR><LF><greater_than><space> (IRA 13, 10, 62, 32) after command line is terminated with <CR>; after that text can be entered from TE to ME/TA the DCD signal shall be in ON state while text is entered the echoing of entered characters back from the TA is controlled by V.25ter echo command E the entered text should be formatted as follows: if <dcs> (set with +CSMP) indicates that GSM 03.38 default alphabet is used and <fo> indicates that GSM 03.40 TP-User-Data-Header-Indication is not set: if TE character set other than HEX (refer command Select TE Character Set +CSCS in TS 07.07): ME/TA converts the entered text into GSM alphabet according to rules of Annex A; backspace can be used to delete last character and carriage returns can be used (previously mentioned four character sequence shall be sent to the TE after every carriage return entered by the user) if TE character set is HEX: the entered text should consist of two IRA character long hexadecimal numbers which ME/TA converts to 7-bit characters of GSM alphabet (e.g. 17 (IRA 49 and 55) will be converted to character (GSM 23)) if <dcs> indicates that 8-bit or UCS2 data coding scheme is used or <fo> indicates that GSM 03.40 TP-User-Data-Header-Indication is set: the entered text should consist of two IRA character long hexadecimal numbers which ME/TA converts into 8-bit octet (e.g. two characters 2A (IRA 50 and 65) will

SMS Text mode

137

be converted to an octet with integer value 42). sending can be cancelled by giving <ESC> character (IRA 27) . <ctrl-Z> (IRA 26) must be used to indicate the ending of the message body
Parameter-Values

<err>

Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

+CMSS - Send Message from Storage


Action Command Syntax (if SMS TEXT mode, +CMGF=1) Command +CMSS=<index>[,<da>[,<toda>]] +CMSS=? Description Possible response(s) +CMS ERROR: <err> +CMSS: <mr>[,<scts>]

Execution command sends message with location value <index> from preferred message storage <mem2> to the network (SMS-SUBMIT or SMS-COMMAND). If new recipient address <da> is given for SMS-SUBMIT, it shall be used instead of the one stored with the message. Reference value <mr> is returned to the TE on successful message delivery. Optionally (when +CSMS <service> value is 1 and network supports) <scts> is returned. Values can be used to identify message upon unsolicited delivery status report result code. If sending fails in a network or an ME error, final result code +CMS ERROR: <err> is returned. See chapter Message Service Failure Result Code for a list of <err> values. This command should be abortable.
Parameter-Values

<err>

Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

138

SMS Text mode

+CMGW - Write Message to Memory


Action Command Syntax (if SMS TEXT mode, +CMGF=1) Command Possible response(s) +CMS ERROR: <err> +CMGW[=<oa/da>[,<tooa/toda>[,<stat>]]]<CR> +CMGW: <index> text is entered<ctrl-Z/ESC> +CMS ERROR: <err> +CMGW=? Description

Execution command stores message (either SMS-DELIVER or SMS-SUBMIT) to memory storage <mem2>. Memory location <index> of the stored message is returned. By default message status will be set to stored unsent, but parameter <stat> allows also other status values to be given. The entering of text is done similarly as specified in command Send Message +CMGS. If writing fails, final result code +CMS ERROR: <err> is returned.
Parameter-Values

<err>
Comments

Error Messages, page 189

Note! SMS-COMMANDs and SMS-STATUS-REPORTs can not be stored in text mode.

+CMGC - Send Command


Action Command Syntax (if SMS TEXT mode, +CMGF=1) Command +CMGC=<fo>,<ct>[,<pid>[,<mn> [,<da>[,<toda>]]]]<CR> text is entered<ctrl-Z/ESC> +CMGC=? Description Possible response(s) +CMS ERROR: <err> +CMGC: <mr>[,<scts>] if sending fails: +CMS ERROR: <err>

Execution command sends a command message from a TE to the network (SMSCOMMAND). The entering of text (GSM 03.40 TP-Command-Data) is done similarly as specified in command Send Message +CMGS, but the format is fixed to be a sequence of two IRA character long hexadecimal numbers which ME/TA converts into 8-bit octets (refer +CMGS). Message reference value <mr> is returned to the TE on successful message delivery. Optionally (when +CSMS <service> value is 1 and network supports) <scts> is

SMS Text mode

139

returned. Values can be used to identify message upon unsolicited delivery status report result code. If sending fails in a network or an ME error, final result code +CMS ERROR: <err> is returned. See chapter Message Service Failure Result Code for a list of <err> values. This command should be abortable.

+CMMS - More Messages to Send


Parameter Command Syntax (if SMS TEXT mode, +CMGF=1) Command +CMMS=[<n>] +CMMS? +CMMS=? Description +CMMS: <n> +CMMS: (list of supported <n>s) Possible response(s)

Set command controls the continuity of SMS relay protocol link. When feature is enabled (and supported by network) multiple messages can be sent much faster as link is kept open. Test command returns supported values as a compound value.
Defined Values

<n> 0 1

disable keep enabled until the time between the response of the latest message send command (+CMGS, +CMSS, etc.) and the next send command exceeds 1-5 seconds (the exact value is up to ME implementation), then ME shall close the link and TA switches <n> automatically back to 0 enable (if the time between the response of the latest message send command and the next send command exceeds 1-5 seconds (the exact value is up to ME implementation), ME shall close the link but TA shall not switch automatically back to <n>=0)

140

SMS Text mode

SMS PDU mode


The PDU mode uses the same commands and responses as the Text Mode described in SMS Text mode, page 132. However, the following commands and responses have a different format. In the PDU mode, a complete SMS Message including all header information is passed as a binary string. This binary string is composed of hexadecimal IA5 characters.

+CNMI - New Message Indications to TE


Unsolicited Result Code (if PDU mode, +CGMF=0) +CMTI: <mem>, <index> +CMT: [<alpha>], <length><CR><LF> <pdu> +CBMI: <mem>, <index> +CBM: <length><CR><LF> <pdu> +CDSI: <mem>, <index> +CDS: <length><CR><LF> <pdu>

+CMGL - List Messages


Action Command Syntax (if PDU mode, +CGMF=0) Command +CMGL[=<stat>] Possible response(s) +CMS ERROR: <err> +CMGL: <index>, <stat>, [<alpha>], <length><CR><LF> <pdu>[<CR><LF> +CMGL: <index>, <stat>, [<alpha>], <length><CR><LF> <pdu>[...]] +CMGL: (list of supported <stat>s)

+CMGL=? Description

Execution command returns messages with status value <stat> from preferred message storage <mem1> to the TE. Entire data units <pdu> are returned. If status of the message is 'received unread', status in the storage changes to 'received read'. If listing fails, final result code +CMS ERROR: <err> is returned. See chapter Message Service Failure Result Code for <err> values. Test command shall give a list of all status values supported by the TA.

SMS PDU mode

141

+CMGR - Read Message


Action command syntax (if PDU mode, +CGMF=0) Command +CMGR=<index> +CMGR=? Description Possible response(s) +CMS ERROR: <err> +CMGR: <stat>, <length><CR><LF><pdu>

Execution command returns message with location value <index> from message storage <mem1> to the TE. Status of the message and entire data units <pdu> are returned If status of the message is .received unread., status in the storage changes to .received read.. If listing fails, final result code +CMS ERROR: <err> is returned.

+CMGS - Send Message


Parameter command syntax Command +CMGS=<length><CR> PDU is given<ctr-z/ESC> +CMGS=? Description Possible response(s) +CMS ERROR: <err> +CMGS: <mr>[,<ackpdu>]

Execution command sends message from a TE to the network (SMS-SUBMIT). Message reference value <mr> is returned to the TE on successful message delivery. Optionally (when +CSMS <service> value is 1 and network supports) <scts> is returned. Values can be used to identify message upon unsolicited delivery status report result code. If sending fails in a network or an ME error, final result code +CMS ERROR is returned. This command should be abortable.
<length> must indicate the number of octets coded in the TP layer data unit to be given (i.e. SMSC address octets are excluded) the TA shall send a four character sequence <CR><LF><greater_than><space> (IRA 13, 10, 62, 32) after command line is terminated with <CR>; after that PDU can be given from TE to ME/TA the DCD signal shall be in ON state while PDU is given the echoing of given characters back from the TA is controlled by V.25ter echo command E the PDU shall be hexadecimal format (similarly as specified for <pdu>) and given in one line; ME/TA converts this coding into the actual octets of PDU

142

SMS PDU mode

when the length octet of the SMSC address (given in the PDU) equals zero, the SMSC address set with command Service Centre Address +CSCA is used; in this case the SMSC Type-ofAddress octet shall not be present in the PDU, i.e. TPDU starts right after SMSC length octet sending can be cancelled by giving <ESC> character (IRA 27) <ctrl-Z> (IRA 26) must be used to indicate the ending of PDU

Parameter-Values

<mr>: <length>:

<ackpdu>

String type, GSM 03.40 [9] TP-Message-Reference in integer format. String type, Value indicating in PDU mode (+CMGF=0), the length of the actual TP data unit in octets (i.e. the RP layer SMSC address octets are not counted in the length) GSM 03.40 [9] RP-User Data element of RP-ACK PDU; format as for <pdu> in case of SMS, but without GSM 04.11 [14] SC address field and parameter shall be bounded by double quote characters like a normal string parameter.

+CMGW - Write Message to Memory


Action Command Syntax (if PDU mode, +CGMF=0) Command if PDU mode (+CMGF=0): +CMGW=<length>[,<stat>]<CR>PDU is given<ctrl-Z/ESC> +CMGW=? Description Possible response(s) +CMS ERROR: <err> +CMGW: <index>

Execution command stores a message to memory storage <mem2>. Memory location <index> of the stored message is returned. By default message status will be set to stored unsent, but parameter <stat> allows also other status values to be given. (ME/TA manufacturer may choose to use different default <stat> values for different message types.) The entering of PDU is done similarly as specified in command Send Message +CMGS. If writing fails, final result code +CMS ERROR: <err> is returned. See chapter Message Service Failure Result Code for <err> values.

SMS PDU mode

143

+CMGC - Send Command


Action Command Syntax (if PDU mode, +CGMF=0) Command +CMGC=<length><CR> PDU is given<ctrl-Z/ESC> +CMGC=? Description Possible response(s) +CMS ERROR: <err> +CMGC: <mr>[,<ackpdu>]

Execution command sends a command message from a TE to the network (SMSCOMMAND). The entering of PDU is done similarly as specified in command Send Message +CMGS. Message reference value <mr> is returned to the TE on successful message delivery. Optionally (when +CSMS <service> value is 1 and network supports) <ackpdu> is returned. Values can be used to identify message upon unsolicited delivery status report result code. If sending fails in a network or an ME error, final result code +CMS ERROR: <err> is returned. See chapter Message Service Failure Result Code for a list of <err> values. This command should be abortable.

+CNMA - New Message Acknowledgement to ME/TA


Action Command Syntax (if PDU mode, +CGMF=0) Command +CNMA[=<n>[,<length>[<CR> PDU is given<ctrl-Z/ESC>]]] +CNMA=? Description +CNMA: (list of supported <n>s) Possible response(s) +CMS ERROR: <err>

Execution command confirms reception of a new message (SMS-DELIVER or SMSSTATUS-REPORT) which is routed directly to the TE (refer command +CNMI tables 2 and 4). This acknowledgement command shall be used when +CSMS parameter <service> equals 1. In PDU mode, it is possible to send either positive (RP-ACK) or negative (RPERROR) acknowledgement to the network. Parameter <n> defines which one will be sent. Optionally (when <length> is greater than zero) an acknowledgement TPDU (SMSDELIVER-REPORT for RP-ACK or RP-ERROR) may be sent to the network. The entering of PDU is done similarly as specified in command Send Message +CMGS, except that the format of <ackpdu> is used instead of <pdu> (i.e. SMSC address field is not present). PDU shall not be bounded by double quotes. TA shall not send another +CMT or +CDS result code to TE before previous one is acknowledged.

144

SMS PDU mode

If ME does not get acknowledgement within required time (network timeout), ME should send RP-ERROR to the network. ME/TA shall automatically disable routing to TE by setting both <mt> and <ds> values of +CNMI to zero. If command is executed, but no acknowledgement is expected, or some other ME related error occurs, final result code +CMS ERROR: <err> is returned. See chapter Message Service Failure Result Code for a list of <err> values. Note! In case that a directly routed message must be buffered in ME/TA (possible when +CNMI
parameter <mode> equals 0 or 2) or AT interpreter remains too long in a state where result codes cannot be sent to TE (e.g. user is entering a message using +CMGS), acknowledgement (RP-ACK) must be sent to the network without waiting +CNMA command from TE. Later, when buffered result codes are flushed to TE, TE must send +CNMA[=0] acknowledgement for each result code. In this way, ME/TA can determine if message should be placed in non-volatile memory and routing to TE disabled (+CNMA[=0] not received). Refer command +CNMI for more details how to use <mode> parameter reliably.

Test command returns a list of supported <n> values. If the only value supported is 0, the device does not support sending of TPDU.
Defined Values

<n>: 0 1 2

command operates similarly as defined for the text mode send RP-ACK (or buffered result code received correctly) send RP-ERROR (if PDU is not given, ME/TA shall send SMSDELIVER-REPORT with GSM 03.40 TP-FCS value set to .FF. (unspecified error cause))

+CMSS - Send Message from Storage


Action Command Syntax (if PDU mode, +CGMF=0) Command +CMSS=<index>[,<da>[,<toda>]] +CMSS=? Description Possible response(s) +CMS ERROR: <err> +CMSS: <mr>[,<ackpdu>]

Execution command sends message with location value <index> from message storage <mem2> to the network (SMS-SUBMIT or SMS-COMMAND). If new recipient address <da> is given for SMS-SUBMIT, it shall be used instead of the one stored with the message. Reference value <mr> is returned to the TE on successful message delivery. Optionally

SMS PDU mode

145

(when +CSMS <service> value is 1 and network supports) <ackpdu> is returned. Values can be used to identify message upon unsolicited delivery status report result code. If sending fails in a network or an ME error, final result code +CMS ERROR: <err> is returned. See chapter Message Service Failure Result Code for a list of <err> values. This command should be abortable.

146

SMS PDU mode

GSM Phonebook
+CPBS - Select phone book memory
Parameter command syntax Command +CPBS=<storage> +CPBS? +CPBS=? Description +CPBS: <storage>[,<used>,<total>] +CPBS: (list of supported <storage>s) Possible response(s) +CME ERROR: <err>

Set command selects phone book memory storage <storage>, which is used by other phone book commands. If setting fails in an ME error, +CME ERROR, is returned. Read command returns currently selected memory, and number of used locations and total number of locations in the memory. Test command returns supported storages as compound value.
Parameter-Values

<storage> FD ME SM EN <err>

SIM fixdialling-phone book ME phone book SIM phone book SIM (or ME) emergency number Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

GSM Phonebook

147

+CPOL Preferred operator list


Parameter command syntax Command +CPOL=[<index>][,<format> [,<oper>]] +CPOL? +CPOL=? +CPOL:<index1>,<format>,<oper1>[<CR><LF> +CPOL: <index2>,<format>,<oper2> [...]] +CPOL: (list of supported <index>s), (list of supported <format>s) Possible response(s) +CME ERROR: <err>

Description

This command is used to edit the SIM preferred list of networks. Execute command writes an entry in the SIM list of preferred operators (EF-PLMNsel). If <index> is given but <oper> is left out, entry is deleted. If <oper> is given but <index> is left out, <oper> is put in the next free location. If only <format> is given, the format of the <oper> in the read command is changed. Note! ME may also update this list automatically when new networks are selected. Read command returns all used entries from the SIM list of preferred operators. Test command returns the whole index range supported by the SIM.
Parameter-Values

<indexn>: <format>: 0 1 2 <opern>: <err>

integer type; the order number of operator in the SIM preferred operator list long format alphanumeric <oper> short format alphanumeric <oper> numeric <oper>. Default. string type; <format> indicates if the format is alphanumeric or numeric (see +COPS) Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

148

GSM Phonebook

+CIMI - Request IMSI


Parameter command syntax Command +CIMI +CIMI=? Description Possible response(s) +CME ERROR: <err> <IMSI>

Execution command causes the TA to return <IMSI>, which is intended to permit the TE to identify the individual SIM which is attached to ME.
Parameter-Values

<IMSI>: <err>

International Mobile Subscriber Identity (string without double quotes) Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

+CPBR - Read phone book entries


Action command syntax Command +CPBR=<index1>[,<index2>] Possible response(s) +CME ERROR: <err> +CPBR: <index1>,<number>,<type>,<text>[[...] <CR><LF> +CPBR: <index2>,<number>,<type>,<text>]] +CPBR: (list of supported <index>s), [<nlength>], [<tlength>]

+CPBR=?

Description

Execution command returns phonebook entries in location number range <index1>... <index2> from the current phonebook memory storage selected with +CPBS. If <index2> is left out, only location <index1> is returned. Entry fields returned are location number <indexn>, phone number stored there <number> (of format <type>) and text <text> associated with the number. If all queried locations are empty (but available), no information text lines may be returned. If listing fails in an ME error, +CME ERROR is returned. Test command returns location range supported by the current storage as a compound value and the maximum lengths of <number>.

GSM Phonebook

149

Parameter-Values

<indexn> <number>: <type>: 129 145 161 128-255 <text>: <nlength>: <tlength>: <err>

integer type, values in the range of location numbers of phonebook memory string type, phone number of format <type> type of address octet in integer format (refer GSM 04.08 [13] subclause 10.5.4.7) ISDN /telephony numbering plan, international unknown ISDN /telephony numbering plan, international number ISDN/telephony numbering plan, national number Other values refer GSM 04.08 [13] section 10.5.4.7 string type, field of maximum length <tlength>; character set as specified by command Select TE Character Set +CSCS integer type, value indicating the maximum length of field <number> integer type, value indicating the maximum length of field <text> Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

+CPBF - Find phonebook entries


Action command syntax Command +CPBF=<findtext> Possible response(s) +CME ERROR: <err> [+CPBF: <index1>,<number>,<type>,<text>[[...] <CR><LF> +CBPF: <index2>,<number>,<type>,<text>]] +CPBF: [<nlength>], [<tlength>]

+CPBF=? Description

Execution command returns phonebook entries (from the current phonebook memory storage selected with +CPBS) which alphanumeric field start with string <findtext>. Entry fields returned are location number <indexn>, phone number stored there <number> (of format <type>) and text <text> associated with the number. If listing fails in an ME error, +CME ERROR: <err> is returned. Test command returns the maximum lengths of <number> and <text> fields. In case of SIM storage, the lengths may not be available. If ME is not currently reachable, +CME ERROR: <err> is returned.
Parameter-Values

<index1>

150

GSM Phonebook

<index2>: <number>: <type>: <findtext>, <text>: <nlength>: <tlength>: <err>

integer type values in the range of location numbers of phonebook memory string type phone number of format <type> type of address octet in integer format (refer GSM 04.08 [13] subclause 10.5.4.7) string type field of maximum length <tlength>; character set as specified by command Select TE Character Set +CSCS integer type value indicating the maximum length of field <number> integer type value indicating the maximum length of field <text> Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

+CPBW - Write phonebook entry


Parameter command syntax Command +CPBW=[<index>][,<number> [,<type>[,<text>]]] +CPBW=? +CPBW: (list of supported <index>s), [<nlength>], (list of supported <type>s), [<tlength>] Possible response(s) +CME ERROR: <err>

Description

Execution command writes phonebook entry in location number <index> in the current phonebook memory storage selected with +CPBS. Entry fields written are phone number <number> (in the format <type>) and text <text> associated with the number. If those fields are omitted, phonebook entry is deleted. If <index> is left out, but <number> is given, entry is written to the first free location in the phonebook (the implementation of this feature is manufacturer specific). If writing fails in an ME error, +CME ERROR, is returned. Test command returns location range supported by the current storage as a compound value, the maximum length of <number> field, supported number formats of the storage, and the maximum length of <text> field. In case of SIM storage, the lengths may not be available. If ME is not currently reachable, +CME ERROR is returned. If storage does not offer format information, the format list should be empty parenthesis
Parameter-Values

<index>: <number>:

integer type, values in the range of location numbers of phonebook memory string type, phone number of format <type>

GSM Phonebook

151

<type>:

129 145 161 128-255 <text>: <nlength>: <number> <tlength>: <err>

type of address octet in integer format (refer GSM 04.08 [13] subclause 10.5.4.7) ; default 145 when dialling string includes international access code character +, otherwise 129 ISDN /telephony numbering plan, international unknown, Default if no .+. in sca. ISDN /telephony numbering plan, international number, Default if .+. in sca. ISDN/telephony numbering plan, national number Other values refer GSM 04.08 [13] section 10.5.4.7 string type, field of maximum length <tlength>; character set as specified by command Select TE Character Set +CSCS integer type, value indicating the maximum length of field integer type, value indicating the maximum length of field <text> Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

+CRSM - Restricted SIM access


Action command syntax Command +CRSM=<cmd>[,<fileid> [,<P1>,<P2>,<P3>[,<data>]]] +CRSM=? Description Possible response(s) +CME ERROR: <err> +CRSM: <sw1>,<sw2>[,<response>]

By using this command instead of Generic SIM Access +CSIM TE application has easier but more limited access to the SIM database. Set command transmits to the ME the SIM <command> and its required parameters. ME handles internally all SIM-ME interface locking and file selection routines. As response to the command, ME sends the actual SIM information parameters and response data. ME error result code +CME ERROR may be returned when the command cannot be passed to the SIM, but failure in the execution of the command in the SIM is reported in <sw1> and <sw2> parameters. Coordination of command requests to SIM and the ones issued by GSM application inside the ME is implementation dependent. However the TE should be aware of the precedence of the GSM application commands to the TE commands.

152

GSM Phonebook

Parameter-Values

<command> 176 178 192 214 220 242

(command passed on by the ME to the SIM; refer GSM 11.11 [21]): READ BINARY READ RECORD GET RESPONSE UPDATE BINARY UPDATE RECORD STATUS

Note! The ME internally executes all commands necessary for selecting the desired file, before
performing the actual command.

<fileid>:

integer type; this is the identifier of a elementary datafile on SIM. Mandatory for every command except STATUS

Note! The range of valid file identifiers depends on the actual SIM and is defined in GSM 11.11
[21]. Optional files may not be present at all.

<P1>, <P2>, <P3>: integer type; parameters passed on by the ME to the SIM. These parameters are mandatory for every command, except GET RESPONSE and STATUS. The values are described in GSM 11.11 [21]. <data>: information which shall be written to the SIM (hexadecimal character format; refer 10.1 +CSCS) <sw1>, <sw2>: integer type; information from the SIM about the execution of the actual command. These parameters are delivered to the TE in both cases, on successful or failed execution of the command <response>: response of a successful completion of the command previously issued (hexadecimal character format; refer 10.1 +CSCS). STATUS and GET RESPONSE return data, which gives information about the current elementary datafield. This information includes the type of file and its size (refer GSM 11.11 [21]). After READ BINARY or READ RECORD command the requested data will be returned. <response> is not returned after a successful UPDATE BINARY or UPDATE RECORD command <err> Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

GSM Phonebook

153

Phone Control
+COPN - Read operator names
Action command syntax Command +COPN +COPN=? Description Possible response(s) +CME ERROR: <err> +COPN: <numeric1>,<alpha1>[<CR><LF> +COPN: <numeric2>,<alpha2> [...]]

Execute command returns the list of operator names from the ME. Each operator code <numericn> that has an alphanumeric equivalent <alphan> in the ME memory shall be returned.
Parameter-Values

<numericn>: <alphan>: <err>

string type; operator in numeric format (see +COPS) string type; operator in long alphanumeric format (see +COPS) Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

+CMEC - Mobile Equipment control mode


Parameter command syntax Command +CMEC=[<keyp>[,<disp>[,<ind>]]] +CMEC? +CMEC=? +CMEC: <keyp>, <disp>, <ind> +CMEC: (list of supported <keyp>s), (list of supported <disp>s), (list of supported <ind>s) Possible response(s) +CME ERROR: <err>

Description

Set command selects the equipment, which operates ME keypad, writes to ME display and sets ME indicators. If operation mode is not allowed by the ME, +CME ERROR is returned.

154

General

Test command returns the modes supported by the TA as compound values.


Parameter-Values

<keyp>: <disp>: <ind>: 0 <err>

no values allowed. no values allowed. only ME can set the status of its indicators (command +CIND can only be used to read the indicators) Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

+CMER - Mobile Equipment Event Reporting


Parameter command syntax Command +CMER=[<mode>[,<keyp>[ ,<disp>[,<ind>[,<bfr>]]]]] +CMER? +CMER=? +CMER: <mode>, <keyp>, <disp>, <ind>, <bfr> +CMER: (list of supported <mode>s), (list of supported <keyp>s), (list of supported <disp>s), (list of supported <ind>s), (list of supported <bfr>s) Possible response(s) +CME ERROR: <err>

Unsolicited Result Code Command Possible response(s) + CIEV : <event>, <value> Description

Set command enables or disables sending of unsolicited result codes from TA to TE in the case of key pressings, display changes, and indicator state changes. <mode> controls the processing of unsolicited result codes specified within this command. <bfr> controls the effect on buffered codes when <mode> 1, 2 or 3 is entered. If setting is not supported by the ME, +CME ERROR: <err> is returned. Test command returns the modes supported by the TA as compound values. The +CIEV result code is used to indicate SMS memory status.
Parameter-Values

<mode>:

Phone Control

155

forward unsolicited result codes directly to the TE; TA-TE link specific inband technique used to embed result codes and data when TA is in on-line data mode No keypad event reporting. Default.

<keyp> 0 <disp> 0 <ind> 1

No display event reporting. Default.

indicator event reporting using result code +CIEV: <ind>, <value>. <ind> indicates the indicator order number and <value> is the new value of indicator. TA buffer of unsolicited result codes defined within this command is cleared when <mode> 1...3 is entered TA buffer of unsolicited result codes defined within this command is flushed to the TE when <mode> 1...3 is entered (OK response shall be given before flushing the codes) integer type value, which shall be in range of corresponding <descr> (see GSM 07.07 [18] 8.9 signal quality (0-5), smsfull (0-1)) SMS-memory full. is the new value of indicator. memory locations are available a short message memory storage in the MT has become full Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

<bfr> 0 1

<event> 9 <value> 0 1 <err>

156

Phone Control

+CMAR - Master Reset


Action command syntax Command +CMAR=<phone lock code> AT+CMAR=? Description Possible response(s) +CME ERROR: <err>

This command requests the ME to reset user data. The user data in the phone will be reset to default values. If setting fails, a ME error, +CME ERROR is returned. If the ME is locked and this command is used, then the ME will be unlocked after the master reset. Test command returns OK.
Parameter-Values

<phone lock code>: string type; Security code (Phone Lock code) must be verified before performing the master reset. <err> Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

Phone Control

157

HSCSD
+CHSD - HSCSD device parameters
Action command syntax Command +CHSD +CHSD=? Description Possible response(s) +CME ERROR: <err> +CHSD: <mclass>, <maxRx>, <maxTx>, <sum>, <codings>

Execution command returns information about HSCSD features (refer GSM 02.34 [4]) supported by the ME/TA.
Parameter-Values

<mclass>: <maxRx>: <maxTx>: <sum>:

<codings>

4 8 <err>

integer type; multislot class integer type; maximum number of receive timeslots that ME can use integer type; maximum number of transmit timeslots that ME can use integer type; total number of receive and transmit timeslots that ME can use at the same time (per TDMA frame). The following applies in a HSCSD call: 1 d (receive slots) + (transmit slots) d <sum> is a sum of integers each representing a supported channel coding (e.g. value 12 indicates that 9.6k and 14.4k channel codings are supported): 9.6k full rate data traffic channel 14.4k full rate data traffic channel Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

158

HSCSD

+CHST - HSCSD transparent call configuration


Parameter command syntax Command +CHST=[<wRx>[,<codings>]] +CHST? +CHST=? Description +CHST: <wRx>, <codings> Possible response(s)

Set command controls parameters for transparent HSCSD calls. Changing them during a call does not affect the current call.
Parameter-Values

<wRx>:

<codings>:

integer type; wanted amount of receive timeslots. Default value 0 indicates that TA shall calculate a proper value from currently selected fixed network user rate (<speed> sub-parameter from +CBST command) and <codings> a sum of integers each representing a channel coding that is accepted for transparent HSCSD calls. Default value 0 indicates that all supported codings are accepted (refer to +CHSD - HSCSD device parameters, page 158 for other values)

+CHSN - HSCSD non-transparent call configuration


Parameter command syntax Command +CHSN=[<wAiur>[,<wRx>[, <topRx>[,<codings>]]]] +CHSN? +CHSN=? Description +CHSN: <wAiur>, <wRx>, <topRx>, <codings> Possible response(s)

Set command controls parameters for non-transparent HSCSD calls. Changing <topRx> or <codings> value during a call does not affect the current call. Changing of <wAiur> or <wRx> affects the current call only if <topRx> was non-zero when call was established.
Parameter-Values

<wAiur>:

integer type; wanted air interface user rate. Default value 0 indicates that TA shall calculate a proper value from currently selected fixed

HSCSD

159

1 2 3 4 5 6 7 <wRx>:

<topRx>:

<codings>:

network user rate (<speed> sub-parameter from +CBST command), <codings>, and <wRx> (or <maxRx> from +CHSD command if <wRx>=0). Other values: 9600 bps 14400 bps 19200 bps 28800 bps 38400 bps 43200 bps 57600 bps integer type; wanted amount of receive timeslots. Default value 0 indicates that TA shall calculate a proper value from currently selected <wAiur> and <codings> integer type; top value for <wRx> that user is going to request during the next established non-transparent HSCSD call. Default value 0 indicates that user is not going to change <wAiur>/<wRx> during the next call a sum of integers each representing a channel coding that is accepted for non-transparent HSCSD calls. Default value 0 indicates that all supported codings are accepted (refer to +CHSD - HSCSD device parameters, page 158 for other values)

+CHSC HSCSD current call parameters


Action command syntax Command +CHSC +CHSC=? Description Possible response(s) +CHSC: <rx>, <tx>, <aiur>, <coding>

Execution command returns information about current HSCSD call. If no HSCSD call is active, all parameters returned shall equal zero (it is manufacturer specific whether non-zero information is returned in case of an active normal single-slot data call).
Parameter-Values

<rx>: <tx>: <aiur>:

integer type; number of receive timeslots currently in use integer type; number of transmit timeslots currently in use integer type; current air interface user rate (in case of transparent service this equals fixed network user rate) (refer to +CHSN -

160

HSCSD

<coding>:

HSCSD non-transparent call configuration, page 159 for possible values) current channel coding (refer to +CHSD - HSCSD device parameters, page 158 for possible values)

+CHSR - HSCSD parameters report


Parameter command syntax Command +CHSR=[<mode>] +CHSR? +CHSR=? Description +CHSR: <mode> +CHSR: (list of supported <mode>s) Possible response(s)

Enabled command returns intermediate result code +CHSR: <type> from the TA to the TE when an HSCSD call is being set up. The result code represents the current (negotiated or renegotiated) HSCSD parameters. If enabled, the intermediate result code is transmitted at the point of the call setup negotiation where the TA has determined what type of an HSCSD connection will be used. Result code transmission is done after possible service (+CR), error control (+ER), and/or compression (+DR) reporting but before possible TE-TA rate (+ILRR) reporting and before the intermediate result code CONNECT is transmitted. The format of the intermediate result code is: +CHSR: <rx>, <tx>, <aiur>, <coding> For the value definitions, refer 22.3 +CHSN and 22.4 +CHSC commands. For instance, for a non-transparent HSCSD call, result code +CHSR: 2,2,4,8 means that the call has two timeslots in both up- and downlink, the air interface user rate is 28800 bps, and the used channel coding TCH/F14.4.
Parameter-Values

<mode>: 0 1

disables reporting enables reporting

HSCSD

161

GPRS
+CGDCONT - Define PDP Context
Parameter command syntax Command +CGDCONT=[<cid>[ ,<PDP_type>[,<APN >[,<PDP_addr>[,<d_ comp>[,<h_comp>[, <pd1>[,.[,pdN]]]]]]]]] +CGDCONT? +CGDCONT: <cid>,<PDP_type>,<APN>,<PDP_addr>,<data_comp>,<he ad_comp> [,<pd1>[,.[,pdN]]][<CR><LF> +CGDCONT: <cid>, <PDP_type>,<APN>,<PDP_addr>, <data_comp>,<head_comp> [,<pd1>[,.[,pdN]]] [...]] +CGDCONT: (range of supported <cid>s), <PDP_type>,,,(list of supported <d_comp>s),(list of supported <h_comp>s) [,(list of supported <pd1>s)[,.[,(list of supported <pdN>s)]]] [<CR><LF> +CGDCONT: (range of supported <cid>s), <PDP_type>,,, (list of supported <d_comp>s),(list of supported <h_comp>s) [,(list of supported <pd1>s)[,.[,(list of supported <pdN>s)]]] [...]] Possible response(s)

+CGDCONT=?

Description

The set command specifies PDP context parameter values for a PDP context identified by the (local) context identification parameter, <cid>. The number of PDP contexts that may be in a defined state at the same time is given by the range returned by the test command. A special form of the set command, +CGDCONT= <cid> causes the values for context number <cid> to become undefined. The read command returns the current settings for each defined context. The test command returns values supported as a compound value. If the GC75 supports several PDP types, <PDP_type>, the parameter value ranges for each <PDP_type> are returned on a separate line.
Parameter-Values

<cid>:

(PDP Context Identifier) a numeric parameter which specifies a particular PDP context definition. The parameter is local to the TEGC75 interface and is used in other PDP context-related commands. The range of permitted values (minimum value = 1) is returned by the test form of the command.

162

GPRS

<PDP_type>: <APN>:

<PDP_address>:

<d_comp>: 0 1 <h_comp>: 0 1

(PDP type) a string parameter which specifies the type of packet data protocol IP Internet Protocol (IETF STD 5) (Access Point Name) a string parameter which is a logical name that is used to select the GGSN or the external packet data network. If the value is null or omitted, then the subscription value will be requested. a string parameter that identifies the MT in the address space applicable to the PDP. If the value is null or omitted, then a value may be provided by the TE during the PDP start-up procedure or, failing that, a dynamic address will be requested. The read form of the command will continue to return the null string even if an address has been allocated during the PDP start-up procedure. The allocated address may be read using the +CGPADDR command. a numeric parameter that controls PDP data compression off (default if value is omitted) on a numeric parameter that controls PDP header compression off (default if value is omitted) on

Note! At present only one data compression algorithm (V42bis) is provided in SNDCP. If and
when other algorithms become available, a command will be provided to select one or more of these.

<pd1>, . <pdN>:

zero to N string parameters whose meanings are specific to the <PDP_type>. At present none is defined.

GPRS

163

+CGQREQ - Quality of Service Profile (Requested)


Parameter command syntax Command +CGQREQ=[<cid> [,<precedence > [,<delay>[,<reliability.> [,<peak>[,<mean>]]]]]] +CGQREQ? +CGQREQ: <cid>, <precedence >, <delay>, <reliability>, <peak>, <mean>[<CR><LF> +CGQREQ: <cid>, <precedence >, <delay>, <reliability.>, <peak>, <mean> [.]] +CGQREQ: <PDP_type>, (list of supported <precedence>s), (list of supported <delay>s), (list of supported <reliability>s) , (list of supported <peak>s), (list of supported <mean>s) [<CR><LF> +CGQREQ: <PDP_type>, (list of supported <precedence>s), (list of supported <delay>s), (list of supported <reliability>s) , (list of supported <peak>s), (list of supported <mean>s) [.]] Possible response(s)

+CGQREQ=?

Description

This command allows the TE to specify a Quality of Service Profile that is used when the MT sends an Activate PDP Context Request message to the network. The set command specifies a profile for the context identified by the (local) context identification parameter, <cid>. Since this is the same parameter that is used in the +CGDCONT command, the +CGQREQ command is effectively an extension to the +CGDCONT command. The QoS profile consists of a number of parameters, each of which may be set to a separate value. A special form of the set command, +CGQREQ=<cid> causes the requested profile for context number <cid> to become undefined. The read command returns the current settings for each defined context. The test command returns values supported as a compound value. If the MT supports several PDP types, the parameter value ranges for each PDP type are returned on a separate line.
Parameter-Values

<cid>:

a numeric parameter which specifies a particular PDP context definition (see +CGDCONT command). The following parameters are defined in GSM 03.60 [11] -

164

General

<precedence>: a numeric parameter which specifies the precedence class <delay>: a numeric parameter which specifies the delay class <reliability>: a numeric parameter which specifies the reliability class <peak>: a numeric parameter which specifies the peak throughput class <mean>: a numeric parameter which specifies the mean throughput class If a value is omitted for a particular class then the value is considered to be unspecified.

+CGQMIN - Quality of Service Profile (Minimum acceptable)


Parameter command syntax Command +CGQMIN=[<cid> [,<precedence> [,<delay> [,<reliability> [,<peak> [,<mean>]]]]]] +CGQMIN? +CGQMIN: <cid>, <precedence >, <delay>, <reliability>, <peak>, <mean>[<CR><LF> +CGQMIN: <cid>, <precedence >, <delay>, <reliability.>, <peak>, <mean> [.]] +CGQMIN: <PDP_type>, (list of supported <precedence>s), (list of supported <delay>s), (list of supported <reliability>s) , (list of supported <peak>s), (list of supported <mean>s)[<CR><LF> +CGQMIN: <PDP_type>, (list of supported <precedence>s), (list of supported <delay>s), (list of supported <reliability>s) , (list of supported <peak>s), (list of supported <mean>s) [.]] Possible response(s)

+CGQMIN=?

Description

This command allows the TE to specify a minimum acceptable profile which is checked by the MT against the negotiated profile returned in the Activate PDP Context Accept message. The set command specifies a profile for the context identified by the (local) context identification parameter, <cid>. Since this is the same parameter that is used in the +CGDCONT command, the +CGQMIN command is effectively an extension to the +CGDCONT command. The QoS profile consists of a number of parameters, each of which may be set to a separate value. A special form of the set command, +CGQMIN= <cid> causes the minimum acceptable profile for context number <cid> to become undefined. In this case no check is made against the negotiated profile.

GPRS

165

The read command returns the current settings for each defined context. The test command returns values supported as a compound value. If the MT supports several PDP types, the parameter value ranges for each PDP type are returned on a separate line.
Parameter-Values

See Parameter-Values section in previous chapter.

+CGATT - GPRS attach or detach


Parameter command syntax Command +CGATT= <state> +CGATT? +CGATT=? Description +CGATT: <state> +CGATT: (list of supported <state>s) Possible response(s)

The execution command is used to attach the MT to, or detach the MT from, the GPRS service. After the command has completed, the MT remains in V.250 command state. If the MT is already in the requested state, the command is ignored and the OK response is returned. If the requested state cannot be achieved, an ERROR or +CME ERROR response is returned Any active PDP contexts will be automatically deactivated when the attachment state changes to detached. The read command returns the current GPRS service state. The test command is used for requesting information on the supported GPRS service states. Note! This command has the characteristics of both the V.250 action and parameter commands.
Hence it has the read form in addition to the execution/set and test forms.
Parameter-Values

<state>: 0 1

indicates the state of GPRS attachment detached attached

166

GPRS

+CGACT - PDP context activate or deactivate


Action/Parameter command syntax Command +CGACT=<state>,[<cid>[,<cid>[,.]]] +CGACT? +CGACT=? Description +CGACT: <cid>, <state>[<CR><LF> +CGACT: <cid>, <state> [...]] +CGACT: (list of supported <state>s) Possible response(s)

The execution command is used to activate or deactivate the specified PDP context (s). After the command has completed, the MT remains in V.250 command state. If any PDP context is already in the requested state, the state for that context remains unchanged. If the requested state for any specified context cannot be achieved, an ERROR or +CME ERROR response is returned. If the MT is not GPRS attached when the activation form of the command is executed, the MT first performs a GPRS attach and them attempts to activate the specified contexts. If the attach fails then the MT responds with ERROR or, if extended error responses are enabled, with the appropriate failure-to-attach error message. If no <cid>s are specified the activation form of the command activates all defined contexts. The read command returns the current activation states for all the defined PDP contexts. The test command is used for requesting information on the supported PDP context activation states. Note! This command has the characteristics of both the V.250 action and parameter commands.
Hence it has the read form in addition to the execution/set and test forms.
Parameter-Values

<state> 0 1 <cid>

indicates the state of PDP context activation deactivated activated a numeric parameter which specifies a particular PDP context definition (see AT +CGDCONT command).

GPRS

167

+CGDATA - Enter data state


Action command syntax Command +CGDATA=[<L2P>,[<cid>[,<cid> [,.]]]] +CGDATA=? Description Possible response(s) CONNECT +CGDATA: (list of supported <L2P>s)

The execution command causes the MT to perform whatever actions are necessary to establish communication between the TE and the network using one or more GPRS PDP types. This may include performing a GPRS attach and one or more PDP context activations. If the <L2P> parameter value is unacceptable to the MT, the MT shall return an ERROR or +CME ERROR response. Otherwise, the MT issues the intermediate result code CONNECT and enters V.250 online data state. Commands following +CGDATA command in the AT command line shall not be processed by the MT. The detailed behaviour after the online data state has been entered is dependent on the PDP type. It is described briefly in more detail in GSM 09.61 [20] and the specifications for the relevant PDPs. GPRS attachment and PDP context activation procedures may take place prior to or during the PDP start-up if they have not already been performed using the AT+CGATT and AT +CGACT commands. If context activation takes place during the PDP start-up, one or more <cid>s may be specified in order to provide the information needed for the context activation request(s). During each PDP start-up procedure the MT may have access to some or all of the following information:
The MT may have a prior knowledge, for example, it may implement only one PDP type. The command may have provided an <L2P> parameter value. The TE may provide a PDP type and/or PDP address to the MT during in the PDP start-up procedure.

If any of this information is in conflict, the command will fail. Any PDP type and/or PDP address present in the above information shall be compared with the PDP type and/or PDP address in any context definitions specified in the command in the order in which their <cid>s appear. For a context definition to match:
The PDP type must match exactly. The PDP addresses are considered to match if they are identical or if either or both addresses are unspecified. For example, a PPP NCP request specifying PDP type = IP and no PDP address would cause the MT to search through the specified context definitions for one with PDP type = IP and any PDP address.

168

GPRS

The context shall be activated using the matched value for PDP type and a static PDP address if available, together with the other information found in the PDP context definition. If a static PDP address is not available then a dynamic address is requested.

If no <cid> is given or if there is no matching context definition, the MT shall attempt to activate the context with whatever information is available to the MT. The other context parameters shall be set to their default values. If the activation is successful, data transfer may proceed. After data transfer is complete, and the layer 2 protocol termination procedure has completed successfully, the V.250 command state is re-entered and the MT returns the final result code OK. In the event of an erroneous termination or a failure to start up, the V.250 command state is re-entered and the MT returns the final result code NO CARRIER or, if enabled, +CME ERROR. Attach, activate and other errors may be reported. The test command is used for requesting information on the supported layer 2 protocols. This command may be used in both normal and modem compatibility modes.
Parameter-Values

<L2P> PPP <cid>

a string parameter that indicates the layer 2 protocol to be used between the TE and MT Point-to-point protocol for a PDP such as IP a numeric parameter which specifies a particular PDP context definition (see +CGDCONT - Define PDP Context, page 162).

+CGPADDR - Show PDP address


Action command syntax Command Possible response(s)

+CGPADDR=[<cid> [,<cid> +CGPADDR: <cid>,<PDP_addr>[<CR><LF> [,.]]] +CGPADDR: <cid>,<PDP_addr> [...]] +CGPADDR=? Description +CGPADDR: (list of defined <cid>s)

The execution command returns a list of PDP addresses for the specified context identifiers. The test command returns a list of defined <cid>s.

GPRS

169

Parameter-Values

<cid>:

<PDP_address>:

a numeric parameter which specifies a particular PDP context definition (see AT+CGDCONT command). If no <cid> is specified, the addresses for all defined contexts are returned. a string that identifies the MT in the address space applicable to the PDP. The address may be static or dynamic. For a static address, it will be the one set by the AT+CGDCONT command when the context was defined. For a dynamic address it will be the one assigned during the last PDP context activation that used the context definition referred to by <cid>. <PDP_address> is omitted if none is available.

+CGEREP - GPRS event reporting


Parameter command syntax Command +CGEREP=[<mode>[,< bfr>]] +CGEREP? +CGEREP=? +CGEREP: <mode>, <bfr> +CGEREP: (list of supported <mode>s), (list of supported <bfr>s) Possible response(s)

Unsolicited Result Codes

+CGEV: <text>
Description

Set command enables or disables sending of unsolicited result codes, +CGEV: <text> from MT to TE in the case of certain events occurring in the GPRS MT or the network. <mode> controls the processing of unsolicited result codes specified within this command. <bfr> controls the effect on buffered codes when <mode> 1 or 2 is entered. If a setting is not supported by the MT, ERROR or +CME ERROR: is returned. Read command returns the current mode and buffer settings Test command returns the modes and buffer settings supported by the MT as compound values.
Parameter-Values

<mode>: 2

buffer unsolicited result codes in the MT when MT-TE link is reserved (e.g. in on-line data mode) and flush them to the TE when

170

GPRS

MT-TE link becomes available; otherwise forward them directly to the TE. <bfr>: 1 MT buffer of unsolicited result codes defined within this command is flushed to the TE when <mode> 1 or 2 is entered (OK response shall be given before flushing the codes)

<text>
REJECT <PDP_type>, <PDP_addr> NW REACT <PDP_type>, <PDP_addr>, [<cid>]. The network has requested a context reactivation. The <cid> that was used to reactivate the context is provided if known to the MT. NW DEACT <PDP_type>, <PDP_addr>, [<cid>] The network has forced a context deactivation. The <cid> that was used to activate the context is provided if known to the MT. ME DEACT <PDP_type>, <PDP_addr>, [<cid>] The mobile equipment has forced a context deactivation. The <cid> that was used to activate the context is provided if known to the MT. NW DETACH The network has forced a GPRS detach. This implies that all active contexts have been deactivated. These are not reported separately. ME DETACH The mobile equipment has forced a GPRS detach. This implies that all active contexts have been deactivated. These are not reported separately. NW CLASS <class> The network has forced a change of MS class. The highest available class is reported (see +CGCLASS). ME CLASS <class> The mobile equipment has forced a change of MS class. The highest available class is reported (see +CGCLASS).

GPRS

171

+CGREG - GPRS network registration status


Parameter command syntax Command +CGREG=[<n>] +CGREG? +CGREG=? Unsolicited Result Code +CGREG: <stat>[,<lac>,<ci>] Description +CGREG: <n>, <stat>[,<lac>, <ci>] +CGREG: (list of supported <n>s) Possible response(s) +CME ERROR: <err>

The set command controls the presentation of an unsolicited result code +CGREG and there is a change in the MTs GPRS network registration status, or there is a change of the network cell. Note! If the GPRS MT also supports circuit mode services, the +CREG command and +CREG
result code apply to the registration status and location information for those services.

The read command returns the status of result code presentation and an integer <stat> which shows whether the network has currently indicated the registration of the MT. Location information elements <lac> and <ci> are returned only when <n>=2 and MT is registered in the network. Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189 for possible <err> values.
Parameter-Values

<n> 0 1 <stat> 2 <stat> 0 1 2

disable network registration unsolicited result code. Default. enable network registration unsolicited result code +CGREG: enable network registration and location information unsolicited result code +CGREG: <stat>[,<lac>,<ci>] not registered, ME is not currently searching a new operator to register to registered, home network not registered, but ME is currently searching a new operator to register to

172

GPRS

3 4 5 <lac> <ci> <err>

registration denied unknown registered, roaming string type; two byte location area code in hexadecimal format (e.g. 00C3 equals 195 in decimal) string type; two byte cell ID in hexadecimal format Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

+CGSMS - Select service for MO SMS messages


Parameter command syntax Command +CGSMS=[<service>] +CGSMS? +CGSMS=? Description +CGSMS: <service> +CGSMS: (list of currently available <service>s) Possible response(s)

The set command is used to specify the service or service preference that the MT will use to send MO SMS messages. The read command returns the currently selected service or service preference. The test command is used for requesting information on the currently available services and service preferences.
Parameter-Values

<service> 0 1 2 3

a numeric parameter which indicates the service or service preference to be used GPRS circuit switched GPRS preferred (use circuit switched if GPRS not available). circuit switched preferred (use GPRS if circuit switched not available). Default.

GPRS

173

SATK 2.0
Display Text (Module -> PDA)
Upon receiving this command, PDA will display the text to the user. After the text has been displayed, a response will be returned back to GSM/GPRS module.
Command *MTDISP:<priority>,<clear><CR><LF><data> <priority> <clear> <data> Response 0 = normal priority 1 = high priority 0 = clear message after a delay (60s) 1 = wait for user to clear message Text of message to be displayed. 160 characters or 140 bytes

AT*MTRES = 0,<result>,[<result2>] <result>


Possible results are as follows. Please see TERMINAL RESPONSE (PDA->Module), page 181 for more details. 0 = command performed successfully 10 = Proactive SIM session terminated successfully 11 = backward move in proactive SIM session requested 20 = ME currently unable to process command (<result2> required)

<result2>

1 = screen busy

GET INKEY (Module -> PDA)


PDA will display the text message provided in *MTKEY. The single character or digit shall be returned to GSM/GPRS module.
Command

*MTKEY: <input>,<alphabet>,<resp> <CR><LF><data>


<input> <alphabet> <resp> <data> 0 = 0-9,*,#,+ only 1 = alphabet set 0 = SMS default alphabet

1 = UCS2 alphabete
0 = <input> and <alpha> enabled 1 = <input> and <alpha> disabled, yes/no expected. Text to be displayed.

174

SATK 2.0

Response

The response to GET INKEY is TERMINAL RESPONSE as follows: AT*MTRES=1,<result>,,<text>] <result>


Possible results are as follows. 0 = command performed successfully 10 = Proactive SIM session terminated successfully 11 = backward move in proactive SIM session requested 12 = no response from user

<text>

0-9,*,# or + single digit


A single character from GSM 3.38 SMS default alphabet, unpacked "YES" "NO"

GET INPUT (Module -> PDA)


PDA will display this request for input from the SIM Toolkit application. Data entered by the user shall be returned to GSM/GPRS module.
Command

*MTGIN: <input>,<alphabet>,<echo>,<minl>,<maxl> <CR><LF><data>


<input> <alphabet>

0 = 0-9,*,#,+ only
1 = alphabet set 0 = SMS default alphabet 1 = UCS2 alphabete

<echo> <minl> <maxl> <data>


Response

0 = echo user input on display 1 = hide user input 0 = no minimum length 1-255 = minimum length 255 = no maximum length 0-254 = maximum length Text to be displayed

The response to GET INPUT is TERMINAL RESPONSE as follows:

SATK 2.0

175

AT*MTRES=2,<result>,,<text> <result>
Possible results are as follows. Please see TERMINAL RESPONSE (PDA->Module), page 181 for more details. 0 = command performed successfully 10 = Proactive SIM session terminated successfully 11 = backward move in proactive SIM session requested 12 = no response from user

<text>

0-9,*,# or + single digit GSM 3.38 SMS default alphabet, unpacked.

MENU SELECTION (Module <- PDA)


User has selected a menu item set up by the SET UP MENU proactive command from the SIM.
Command

AT*MTMENU=<item> <Item> 1-255 = menu item selected (corresponds with item in SET UP MENU)

Response

N/A

PLAY TONE (Module -> PDA)


GSM/GPRS module supports GSM 2.40 and handle those tones as follows:

Command
*MTTONE: [<alphaid>],<tone>, [<unit>,<duration>]
<alphaid> <tone> Text to display during tone 8 = Ringing tone 10 = General beep 11 = positive acknowledgement

<unit>

<interval>

12 = negative acknowledgement 0 = Minutes 1 = Seconds 2 = Tenths of seconds 1-255 of units

176

SATK 2.0

Response

The response to PLAY TONE is TERMINAL RESPONSE as follows: AT*MTRES=3,<result> <result>


Possible results are as follows. Please see TERMINAL RESPONSE (PDA->Module), page 181 for more details. 0 = command performed successfully 10 = Proactive SIM session terminated successfully 11 = backward move in proactive SIM session requested

30 = Command beyond MEs capabilities

REFRESH (Module -> PDA)


The only option of REFRESH command PDA is interested in is SIM Reset. After receive REFRESH command, PDA can notify user about the SIM reset. It can then reset GSM/ GPRS module if necessary.
Command

*MTRSH
Response

AT*MTRES=10, 0

SELECT ITEM (Module -> PDA)


PDA will display a list of items and return the selected item to GSM/GPRS module.
Command

*MTITEM: [<title>],<id1>,<text>[<CR><LF><id2>,<text><CR><LF>.<idn><textn>] <title> <id> <text>


Response

text describing menu 1-255 Identifier of menu item text of menu item

The response to SELECT ITEM is TERMINAL RESPONSE as follows.

SATK 2.0

177

AT*MTRES=4,<result>,,,<id> <result>
Possible results are as follows. Please see TERMINAL RESPONSE (PDA->Module), page 181 for more details. 0 = command performed successfully 10 = Proactive SIM session terminated successfully 11 = backward move in proactive SIM session requested

<id>

12 = No response from user 1-255 Identifier of menu item

SEND SHORT MESSAGE (Module -> PDA)


GSM/GPRS will be responsible for sending the SIM Toolkit application SMS message. The result of sending the message shall be reported to PDA, which will display an information box indicating that an SMS message was sent. However, this will be received "after the fact". If <alphaid> is not sent with the AT command, then PDA will inform the user that an SMS had been sent with a generic display message. If the Alpha id is valid then it will be displayed. If the SEND SHORT MESSAGE command from the SIM contains an empty/ NULL Alpha Identifier, then this AT command shall not be sent to PDA.
Command

*MTSMS: [<alphaid>],<result> <alphaid> <result> Text message to be displayed for SMS message 0 = message succeeded 1 = message failed

Response

AT*MTRES=11, 0

SEND SS (Module -> PDA)


The PDA need to parse the SSstring and initiate the SS procedures. When the alpha id is sent by the SIM toolkit application, it will be displayed while PDA is processing the Supplementary Service procedure. If the alpha id indicates that it is empty, then no indication is given to the user that a supplementary service procedure is being processed. If no alpha id is provided, then the normal procedures for processing a supplementary service procedure shall be followed. The SS procedure will not be included in the Last Number Dialed list.

178

SATK 2.0

Command

*MTSS: [<alphaid>],<SSstring> <alphaid> Text message to be displayed while processing Supplementary Service string. "NULL" indicates an empty <alphaid> a supplementary service control procedure

<SSstring>
Response

The response to SEND SS is TERMINAL RESPONSE as follows: AT*MTRES=5,0

SEND USSD (Module -> PDA) (Class 3 Feature)


The PDA will support parsing the USSDstring and initiating the USSD procedures. When the alpha id is sent by the SIM toolkit application, it will be displayed while PDA is processing the initial USSD procedure. If the alpha id indicates that it is empty, then no indication is given to the user that a USSD procedure is being processed. If no alpha id is provided, then the normal procedures for processing a USSD procedure shall be followed. The USSD procedure will not be included in the Last Number Dialed list.
Command

*MTUSSD: [<alphaid>],<USSDstring> <alphaid> <USSDstring>


Response

Text message to be displayed while processing USSD string. "NULL" indicates an empty <alphaid> The USSD string to be sent to the network

The response to SEND USSD is TERMINAL RESPONSE as follows: AT*MTRES=6,0

SET UP CALL (Module -> PDA)


PDA will handle the initiation of new calls by the SIM Toolkit.

SATK 2.0

179

Command

*MTCALL: <mode>,[<alphaid>],<dest>,[<unit>,<interval>] <mode> 0 = set up call, but only if not currently busy on another call 1 = set up call, but only if not currently busy on another call, with redial 2 = set up call, putting all other calls (if any) on hold 3 = set up call, putting all other calls (if any) on hold, with redial 4 = set up call, disconnecting all other calls (if any) 5 = set up call, disconnecting all other calls (if any), with redial Text message to be displayed while setting up the call Destination address (called party number) time unit for redial duration 0 = minutes 1 = seconds <interval> 2 = tenths of seconds 1-255 of <unit>

<alphaid> <dest> <unit>

Response

The response to SET UP CALL is TERMINAL RESPONSE as follows: AT*MTRES=7,<result>,<result2> <result> Possible results are as follows. Please see 1.13 for more. 0 = command performed successfully 10 = Proactive SIM session terminated successfully 11 = backward move in proactive SIM session requested 12 = No response from user 20 = ME currently unable to process command (require <result2>) 21 = Network currently unable to process command 22 = User did not accept call set-up request 23 = User cleared down call before connection or network release 30 = Command beyond MEs capabilities 34 = SS Return Error (GSM module must provide the error cause) 2 = ME currently busy on call 3 = ME currently busy on SS transaction

<result2>

180

SATK 2.0

SET UP MENU (Module -> PDA)


The SET UP MENU command is used to add SIM applications for selection to the PDA application menu system. The SET UP MENU command is also used to remove SIM applications from the menu system.
Command

*MTSMENU: <alphaid>,<id1>,<text1>[,<CR><LF><id2>,<text2><CR><LF>,<idn>,<textn> <alphaid> <id> <text>


Response

Text description of menu. "NULL" if <alphaid> is not available 1-255 Item number of menu item Text for menu item

The response to SET UP MENU is TERMINAL RESPONSE as follows: AT*MTRES=8,<result> <result> 0 = command performed successfully 30 = Command beyond ME's capabilities

TERMINAL RESPONSE (PDA->Module)


This AT command provides the method for responding to the SIM Toolkit command. PDA will provide as much information that is known. But in some instances, GSM/GPRS will have more detailed information and is expected to provide it in the final TERMINAL RESPONSE sent to the SIM.

SATK 2.0

181

Command

AT*MTRES=<command>,<result>,[<result2>],[<text>],[<id>] <command> 0 = DISPLAY TEXT 1 = GET INKEY 2 = GET INPUT 3 = PLAY TONE 4 = SELECT ITEM 5 = SEND SS 6 = SEND USSD 7 = SET UP CALL 8 = SET UP MENU 0 = command performed successfully 10 = Proactive SIM session terminated successfully 11 = backward move in proactive SIM session requested 12 = no response from user 14 = USSD transaction terminated by the user 20 = ME currently unable to process command 21 = Network currently unable to process command 22 = User did not accept call set-up request 23 = User cleared down call before connection or network release 30 = Command beyond MEs capabilities 31 = Command type not understood by ME 32 = Command data not understood by ME 33 = Command number not known by ME 34 = SS Return Error (GSM module must provide the error cause) 36 = Error, required values are missing 37 = USSD Return Error (GSM module must provide the error cause) 0 = No specific cause can be given 1 = screen is busy 2 = ME currently busy on call 3 = ME currently busy on SS transaction 7 = not in speech call 8 = ME currently busy on USSD transaction 0-9,*,#,+ GSM 3.38 SMS default alphabet (unpacked) Yes/No 1-255 Identifier of menu item

<result>

<result2>

<text>

<id>
Response

OK

182

SATK 2.0

CME ERROR

Polling Off
N/A

Provide Local Information


N/A

SATK 2.0

183

Sony Ericsson Specific Commands


*ECAM - Sony Ericsson Call Monitoring
Parameter command syntax Command *ECAM =<onoff> *ECAM? *ECAM =? Unsolicited result code Command Possible response(s) *ECAV: <ccid>, <<ccstatus>, <calltype>, [<processid>], [<exutcause>], [<number>, <type>] Description *ECAM: <onoff> *ECAM: (list of supported <onoff>s) Possible response(s) +CME ERROR: <err>

This command activates or deactivates the call monitoring function in the ME. When this log function is activated in the ME, the ME informs about call events, such as incoming call, connected, hang up, etc. Current status shall always be sent with result code *ECAV when activating the log function. The purpose of this is following:
To gather relevant information for the call log in a TE. To make it possible for the TE to display call state information for an ongoing call.

This is an unsolicited result code which reports changes in Call State for a certain call indicated by <ccid> when the unsolicited event has been enabled with the *ECAM command and any state change occur.
Parameter-Values

<onoff>: 0 1 <ccid>:

The call log function is disabled (off) The call log function is enabled (on) Integer (1-7), A number which uniquely defines a call in the phone (= number of call control process). There can not be two call id.s with the same number simultaneously. The maximum number of call control process is 7, 5 multiparty members, one call on hold and one waiting call.

184

Sony Ericsson Specific Commands

<ccstatus>: 0 1 2
5

Idle5 Calling (MO) Connected (MO)

Idle state means that the MS is registered to the network, but there is no call/session is established from/to the MS. In this state, the MS informs the network about its new location when it moves from one Location/Routing area to another one. 3 4 5 6 7 <calltype>: 2 4 <porcessid>: 8 68 69 122 <exitcause>: <number>: <type>: Active (connection between A and B) Hold Waiting (MT) Alerting (MT) Busy Data Fax Reported when returning to the Idle state (<ccstatus> = 0) H08 = CC (Call Control) H44 = MM (Mobile Management) H45 = MS (Mobile Station) H7A = RR (Radio Resources) Exit cause according to GSM 04.08 [13]. Reported when returning to Idle state (<ccstatus> = 0). String type phone number of format specified by <type>. Only valid for <ccstatus> = 1 (CALLING) Integer. Type of address octet in integer format (refer to GSM 04.08 [13]). Default 145 when dialing string includes international access code character +, otherwise 129. Only valid for <ccstatus> =1 (CALLINT). Refer to +CME ERROR: <err> - Mobile Equipment error result code, page 189.

<err>

Sony Ericsson Specific Commands

185

*ESIMC - SIM Insert/Removal indication


Parameter command syntax Command *ESIMC=[<mode>] *ESIMC? *ESIMC=? Unsolicited Result Code *ESIMM: <status> Description *ESIMC: <mode> *ESIMC: (list of currently available <mode>s) Possible response(s)

Disables sending of unsolicited result codes (see comments) from TA to TE in the case of the insertion or removal of the SIM. Read command returns the current mode. Test command returns the modes supported by the TA as a compound value.
Parameter-Values

<mode> 0 1 <status> 0 1

This turns on the notification. This turns off the notification Removed Inserted

*EPRO . Sony Ericsson get provider name


Action command syntax Command *EPRO *EPRO=? Description Possible response(s) *EPRO: <name>

This command is used to get the name of the service provider stored in the SIM card. Test command is used to determine if the command is supported.

186

Sony Ericsson Specific Commands

Parameter-Values

<name> String value (Service provider name)

*ECIPC - Enable/Disable Ciphering Command


Parameter command syntax Command *ECIPC=[<OnOff>] *ECIPC? *ECIPC=? Unsolicited result code *ECIPM: <mode> Description *ECIPC: <OnOff> *ECIPC: (0,1) Possible response(s)

This command is used to indicate to the user that ciphering is turned on or turned off.
Parameter-Values

<onOff> 0 1 <mode> 0 1

This turns off the notification. Default. This turns on the notification Ciphering Disabled Ciphering Enabled

*EPNR - Sony Ericsson Read SIM Preferred Network


Parameter command syntax Command *EPNR=<format>[,<index1>[,<index2]] *EPNR =? Description Possible response(s) *EPNR: <index1>,<oper1>[...] *EPNR: (1-2),2

Used to read the SIM preferred list of network (EFPLMNsel). It returns entries in location range <index1> - <index2>. If <index2> is omitted only location <index1> is returned. If both <index1> and <index2> is omitted, i.e. only <format> is stated, the whole list is presented.

Sony Ericsson Specific Commands

187

Parameter-Values

<format> 0 1 Numeric <index1> <index2> <oper>

Long format alphanumeric <oper>. Not supported Short format alphanumeric <oper>. Not supported <oper>.Default=2 Integer Start index (>0) Integer Stop index (>0) String indicates the code for the operator. E.g. GSM/DCS: 24008 Sweden - Europolitan (3 + 2). PCS: 3 digits for Country and 3 digits for Network.

*EPNW - Sony Ericsson Write SIM Preferred Network


Parameter command syntax Command *EPNW=[<index>][,<format>,<oper>] *EPNW =? Description Possible response(s) *EPNW: [<index>] [,<format>, <oper>] *EPNW: (1-2),2

Used to edit the SIM preferred list of networks (EF-PLMNsel).


Parameter-Values

<index> <format> 0 1 <oper>

Integer Index to entry in SIM preferred list. The SIM preferred list contains at least 8 positions according to GSM 11.11 [21]. Long format alphanumeric <oper>. Not supported Short format alphanumeric <oper>. Not supported String indicates the code for the operator. E.g. GSM .Sweden Europolitan:24008 (3 + 2). PCS: 3 digits for Country and 3 digits for Network.

188

Sony Ericsson Specific Commands

Error Messages
+CME ERROR: <err> - Mobile Equipment error result code
Unsolicited Result Code

+CME ERROR: <err>


Description

The operation of +CME ERROR result code is similar to the regular ERROR result code: if +CME ERROR is the result code for any of the commands in a command line, none of the following commands in the same command line is executed (neither ERROR nor OK result code shall be returned as a result of a completed command line execution). The format of <err> can be either numeric or verbose. This is set with command +CMEE. Note! ITU-T V.25ter [28] command V does not affect the format of this result code.
Parameter-Values

<err> 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 18 20

<text> phone failure no connection to phone phone-adaptor 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

189

General

21 22 23 24 25 26 27 30 31 32 40 41 42 43 44 45 46 47 100 103 106 107 111 112 113 132 133 134 148 149 150 256

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 personalisation PIN required network personalisation PUK required network subset personalisation PIN required network subset personalisation PUK required service provider personalisation PIN required service provider personalisation PUK required corporate personalisation PIN required corporate personalisation PUK required unknown Illegal MS (GPRS #3) Illegal ME (GPRS #6) GPRS services not allowed (GPRS #7) PLMN not allowed (GPRS #11) Location area not allowed (GPRS #12) Roaming not allowed in this location area (GPRS #13) service option not supported (GPRS #32) requested service option not subscribed (GPRS #33) service option temporarily out of order (GPRS #34) unspecified GPRS error PDP authentication failure (GPRS) (#Values in parentheses are GSM 04.08 [13] cause codes.) invalid mobile class busy, is in search of current operator

190

Error Messages

+CMS ERROR . Message Failure Result Code


Message Failure Result Code Syntax +CMS ERROR: <err> Description

Final result code +CMS ERROR: <err> indicates an error related to mobile equipment or network. The operation is similar to ERROR result code. None of the following commands in the same command line is executed. Neither ERROR nor OK result code shall be returned. ERROR is returned normally when error is related to syntax or invalid parameters.
Parameter-Values

<err> 0...127 128...255 300 301 302 303 304 305 310 311 312 313 314 315 316 317 318 320 321 322 330 331 332 340 500

values used by common messaging commands: GSM 04.11 [14] Annex E-2 values GSM 03.40 [9] subclause 9.2.3.22 values 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 acknowledgement expected unknown error

Error Messages

191

References
[1] GSM 02.02: Digital Cellular telecommunications system (Phase 2+); Bearer Services (BS) supported by a GSM Public Land Mobile Network (PLMN) version 7.0.2 Release 1998 GSM 02.24: Digital cellular telecommunication system (Phase 2+); Description of Charge Advice Information (CAI). GSM 02.30: Digital cellular telecommunication system (Phase 2+); Man Machine Interface (MMI) of the Mobile Station (MS). GSM 02.34:Digital cellular telecommunication system (Phase 2+); High Speed Circuit Switched Data (HSCSD) - Stage 1. GSM 02.81: Digital cellular telecommunication system (Phase 2+); Line identification supplementary services - Stage 1. GSM 02.82: Digital cellular telecommunication system (Phase 2+); Call Forwarding (CF) supplementary services - Stage 1. GSM 02.88: Digital cellular telecommunication system (Phase 2+); Call Barring (CB) supplementary services - Stage 1. GSM 03.38: Digital cellular telecommunication system (Phase 2+); Alphabet and language specific information. GSM 03.40: Digital cellular telecommunication system (Phase 2+); Technical Realisation of the Short Message Service (SMS), version 7.4.0 Release 1998. GSM 03.41: Digital Cellular telecommunications system (Phase 2+); Technical realisation of Cell Broadcast Service (CBS). version 7.3.0 Release 1998 GSM 03.60: Digital Cellular telecommunications system (Phase 2+); General Packet Radio Service (GPRS); Service description; Stage 2 version 7.4.0 Release 1998 GSM 03.81: Digital Cellular telecommunications system (Phase 2+); Line identification supplementary services; Stage 2, version 7.0.1 Release 1998). GSM 04.08: Digital cellular telecommunication system (Phase 2+); Mobile radio interface layer 3 specification. GSM 04.11: Digital cellular telecommunication system (Phase 2+); Point-to-Point (PP) Short Message Service (SMS) support on mobile radio interface version 7.0.0 Release 1998 GSM 04.22: Digital cellular telecommunication system (Phase 2+); Radio Link Protocol (RLP) for data and telematic services on the Mobile Station - Base Station System (MS BSS) interface and the Base Station System - Mobile-services Switching Centre (BSS MSC) interface. GSM 05.08: Digital cellular telecommunication system (Phase 2+); Radio subsystem link control. GSM 07.05: Digital cellular telecommunication system (Phase 2+); Use of Data Terminal Equipment - Data Circuit terminating Equipment (DTE - DCE) interface for Short Message Service (SMS) and Cell Broadcast Service (CBS).

[2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]

[15]

[16] [17]

192

References

[18] [19] [20] [21] [22] [23] [24] [25] [26] [27]

GSM 07.07: Digital Cellular telecommunications system (Phase 2+); AT command set for GSM Mobile Equipment (ME) . GSM 07.10: Digital Cellular telecommunications system (Phase 2+); Terminal Equipment to Mobile Station (TE-MS) Multiplexer Protocol, version 7.1.0 Release 1998 GSM 09.61: Digital cellular telecommunication system (Phase 2+); GPRS GSM 11.11: Digital cellular telecommunication system (Phase 2+); Specification of the Subscriber Identity Module - Mobile Equipment (SIM-ME) interface. GSM MoU SE.13, GSM MoU Permanent Reference Document SE.13: GSM Mobile Network Codes and Names. ITU-T Recommendation E.212: Identification plan for land mobile stations. ITU-T Recommendation T.4: Standardization of Group 3 Facsimile terminals for Document Transmission. ITU-T Recommendation T.30: Procedures for document facsimile transmission in the general switched telephone network ITU-T Recommendation T.32: Asynchronous facsimile DCE control, service class 2. ITU-T Recommendation T.50: International Reference Alphabet (IRA) (Formerly International Alphabet No. 5 or IA5) - Information technology - 7-bit coded character set for information exchange. ITU-T Draft new Recommendation V.25ter: Data communication over the telephone network; Serial asynchronous automatic dialing and control. ITU-T Recommendation V.250: Data communication over the telephone network; Control Procedures; Serial asynchronous automatic dialing and control, version 05/99

[28] [29]

References

193

Index
Symbols
&C 52 &D 53 &F 23 * 27 + 42, 85 +++AT 48 +CACM 41 +CAMM 42 +CAOC 40 +CCWE 44 +CFUN 37 +CLAC 26 +CPAS 46 +CPUC 43 +CPWC 45 +CSTA 46 +DR 64 +DS 63 +ER 62 +ES 60 +ETBM 61 +FBO 66 +FCC 67 +FCI 84 +FCLASS 65 +FCO 87 +FCQ 67 +FCS 69, 84 +FDM 87 +FDR 70 +FDT 71 +FEA 72 +FET 72 +FHR 83 +FHS 83 +FHT 88 +FIE 73 +FIP 74 +FIS 75, 82 +FIT 75 +FKS 76

+FLI 77 +FLP 78 +FNC 86 +FNF 86 +FNR 79 +FNS 86 +FPI 78, 85 +FPO 85 +FPP 80 +FPS 81, 85 +FSP 82 +FTC 82 +FTI 84 +GCAP 27 +GMI 24 +GMM 25 +GMR 26 +IFC 54 +ILRR 59 +WS46 28

A
A 29

D
D 30 D - Dial (non GPRS calls) 30

E
E 50

H
H 30

I
I 23

L
L 36

M
M 57

194

Index

O
O 38

S6 56 S7 56

P
P 39

T
T 39

Q
Q 51

V
V 51

S
S0 55 S10 57 S3 48 S4 49 S5 50

X
X 58

Z
Z 22

Index

195

You might also like