Home
H21 AT Command User Guide
Contents
1. 43 2 1 4 4 Write phonebook entry CPBW 44 2 1 4 5 Report Mobile Equipment error CMEE 45 2 1 5 Commands from TIA S 101 46 2 1 5 1 Select mode FCLASS 46 2 2 Commands related to short message Service 48 2 2 1 General Configuration Commands 51 2 2 1 1 Select Message Service CSMS 51 2 2 1 2 Preferred Message Storage OCPMS 52 2 2 1 3 Message Format CMGF 53 2 2 2 Message Configuration CommandS 54 2 2 2 1 Service Centre Address CSCA 54 2 2 2 2 Set Text Mode Parameters CSMP 55 2 2 2 3
2. 111 2 4 5 PDP context activate or deactivate CGACT 113 2 4 6 Show PDP address CGPADDR 115 2 4 7 RS network registration status CGREG 116 2 4 8 Select service for MO SMS messages CGSMS 118 2 4 9 Request GPRS service D 119 2 5 H21 specific AT Commands 20 202 02 sen nen neneenen sens 122 2 5 1 Reset SQCPWRDN 122 2 5 2 List phonebook BQVCARDL VCARD version only 122 2 5 3 Read phonebook to VCARD format BQVCARDR VCARD version only 123 2008 Qisda Corporation Confidential Property AT Command User Manual iii Version 1 0 14 2008 12 24 Qisda 2 5 4 Delete phonebook record BQVCARDD VCARD version only 125 2 5 5 Write phonebook record by vcard format BQVCARDW VCARD version only 126 2 5 6 Get PIN1 PIN2 PUK1 PUK2 remaining number BQPVRF 127 2 5 7 Get current network status BBQNETMODE
3. 71 2 2 5 PDU Mode 72 2 2 5 1 List Message CMGL 72 2 2 5 2 Read Message CMGR 74 2 2 5 3 Send Message CMGS 75 2 2 5 4 Send Message from Storage CMSS 76 2 2 5 5 Write Message to Memory CMGW 77 2 2 5 6 Send Command CMGC 78 2 3 Commands specified by ITU T Rec V25ter as by GSM Rec 07 07 79 2 3 1 Generic TA control commands 79 2008 Qisda Corporation Confidential Property AT Command User Manual ii Version 1 0 14 2008 12 24 Qisda 2 3 1 1 Repeating a command line A 79 2 3 1 2 Reset to default configuration Z 79 2 3 1
4. 128 2 5 8 Set Query the counter of unread SMS status BQMGC 129 2 5 9 Total flow of data that transmitted and received in device QTTR 130 2 5 10 List Messages QMGL 132 2 5 11 Chang GRPS Anite GCF NV item 947 QGPRSANI 134 2 6 Error Message 2 2 2 2a nnn senna nen nn nn nen enna nen en nn nenennee 135 2 6 1 Mobile Equipment error result code CME ERROR lt unsolicited gt lt p gt 135 2 6 2 Message Service Failure Result Code CMS ERROR lt unsolicited gt lt p gt 137 2 6 3 Extended Error result code EXT ERROR lt unsolicited gt lt p gt 139 2 6 4 UMTS specific cause values for call control CEER lt unsolicited gt lt p gt 140 2008 Qisda Corporation Confidential Property AT Command User Manual Iv Version 1 0 14 2008 12 24 Qisda H21 AT Command User Manual Revision History Version Content Author Date 1 0 0 1 0 1 Official Release Add AT QHK command for HotKey feature Cariel Huang Cariel Huang 2008 04 18 2008 05 14 1 0 2 1 0 3 Modify AT command AT CMGC description Add AT QTTR command for network connection info
5. 12 2 1 1 4 Request product serial number identification CGSN 12 2 1 1 5 Select TE character set CSCS 13 2 1 1 6 Request international mobile subscriber identity CIMI 15 2 1 1 7 PCCA STD 101 17 select wireless network WS46 15 2 1 2 Network service related commandS 16 2 1 2 1 Subscriber number CNUM 16 2 1 2 2 Network registration CREG 18 2 1 2 3 Operator selection COPS 19 2 1 2 4 Facility Lock AT CLCK 23 2 1 2 5 Change password CPWD 26 2 1 2 6 Call forwarding service OCCFC 26 2 1 2 7 Preferred PLMN list CPOL 29 2 1 2 8 Read o
6. 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 0 REC UNREAD received unread message i e new message REC READ received read message STO UNSENT stored unsent message only applicable to SMS STO SENT stored sent message only applicable toSMS ALL all messages only applicable to CMGL command AO N gt Informative examples Initial the HyperTerminal Initial the MS AT Command Text mode AT CMGF 1 OK AT QMGL ALL QMGL 0 REC READ 886910103076 08 11 05 09 16 05 32 20081105 test 5 QMGL 1 REC READ 886910103076 08 11 05 14 50 17 32 20081105 Test 8 OK PDU mode AT CMGF 0 OK AT QMGL 4 QMGL 0 1 33 Qisda Corporation Qisda 0791889623048015040C918896010103670000801 15090615023 1032180C 178BC16A2C10BD3CA7836A QMGL 1 1 33 0791889623048015040C918896010103670000801 15041057123 1032180C 178BC16A2C10B53CA78370 OK 2 5 11 Chang GRPS Anite GCF NV item 947 Q GPRSANI Table QGPRSANI parameter command syntax Command Possible Response s QGPRSANI lt act gt OK QGPRSANI QGPRSANI lt act gt QGPRSANI QGPRSANI list supported lt act gt s Description This command is used to change GRPS Anite GCF NV 947 item Defined values lt act gt 0 Disable 1 Enable Informative examples Initial the HyperTerminal Initial the
7. if TE character set other than HEX refer CSCS 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 M GSM 23 is presented as 17 IRA 49 and 55 if lt dcs gt indicates that 8 bit or UCS2 data coding scheme is used or lt fo gt indicates that GSM 03 40 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 depending on the command or result code 3GPP TS 23 038 SMS Data Coding Scheme default 0 GSM 03 40 TP Discharge Time in time string format yy MM dd hh mm ss zz where characters indicate year two last digits month day hour minutes seconds and time zone 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 3GPP 23 040 SMS DELIVER SMS SUBMIT default 17 SMS STATUS REPORT or SMS COMMAND default 2 in integer format Integer type value indicating in the text mode CMGF 1 the length of the message body lt data gt 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 Qisda Corporation
8. 1 1234 OK 2 Disable PIN AT CLCK SC 0 1234 OK 3 Query the PIN lock status AT CLCK SC 2 CLCK 0 OK 4 Activate all outgoing calls barring AT CLCK AO 1 1234 OK 5 Disable all outgoing calls barring AT CLCK AO 0 1234 OK Qisda Corporation Qisda 2 1 2 5 Change password CPWD Table CPWD action command syntax Command Possible response s CPWD lt fac gt lt oldpwd gt lt newpwd gt CME ERROR lt err gt CPWD 1 CPWD list of supported lt fac gt lt pwdlength gt s 2 CME ERROR lt err gt Description Action command sets a new password Defined values lt fac gt AB All Barring services SC PIN enabled lt mode gt 1 disabled lt mode gt 0 P2 SIM PIN2 lt oldpwd gt lt newpwd gt string type lt oldpwd gt shall be the same as password specified for the facility from the ME user interface or with command Change Password CPWD and lt newpwd gt is the new password maximum length of password can be determined with lt pwdlength gt lt pwdlength gt integer type maximum length of the password for the facility Informative examples Initial the HyperTerminal Initial the MS AT Command AT4 CPWD CPWD AB 4 SC 8 P2 8 OK 2 1 2 6 Call forwarding service CCFC Table CCFC parameter command syntax Command Possible response s Qisda Corporation Qisda CCFC
9. H21 AT Command User Guide Version 1 0 14 Date 2008 12 24 Author Cariel Huang 2008 Qisda Inc All rights reserved No part of this publication may be reproduced transmitted transcribed stored in a retrieval system or translated into any language or computer language in any form or by any means electronic mechanical magnetic optical chemical manual or otherwise without the prior written permission of Qisda Inc Qisda Contents 1 INTRODUCTION 2 0 2n2 cec2nencncnnennenennnennnnnnnnnenennnnenencennnnns 1 1 1 Introduction to Interface between TE and MS 1 1 2 Initial the Test Environment 2 0 22 02200 2022002 4 1 3 How to Handle SMS messages 2 0n nnennnnnnenennenenn 4 2 IMPLEMENTED AT COMMANDS FOR MS 11 2 1 Commands specified by GSM REC 27 07 11 2 1 1 General ComMmmandS 11 2 1 1 1 Request manufacturer identification CGMI 11 2 1 1 2 Request model identification CGMM 11 2 1 1 3 Request revision identification CGMR
10. Start HyperTerminal Name a new connection Select the connection port Initial the connection port with 115200 bps and none flow control Initial the MS Put the SIM card into ME and power on the ME Start all of AT Commands with AT CFUN 1 Camp on the cell with AT COPS 0 1 3 How to Handle SMS messages This section gives examples of the AT commands for sending and receiving SMS Short Messages Service messages Whatever the destination of the SMS message the message is always sent via a Service Center SC One of the SC s jobs among others is to forward SMS messages to the destination or save the SMS until the receiving MS becomes available in the GSM network The message can be stored at the SC up to a maximum time period decided by the sender Also the message is time stamped at the SC and its contents are interpreted according to choices made by the sender The conclusion of this is that an SMS message along with other information decided upon by the sender always contains 2 addresses First the Service Center Address SCA and then the destination address Also other useful information is added at the SC Qisda Corporation Qisda Setting Service Center Address SCA The service center address is usually stored on the SIM card but it can be set manually by using the AT command AT CSCA Note that the SCA must be given in the international phone number format Format of an SMS messag
11. lt err gt Description Set command forces an attempt to select and register the GSM UMTS network operator lt mode gt is used to select whether the selection is done automatically by the MT or is forced by this command to operator lt oper gt it shall be given in format lt format gt to a certain access technology indicated in lt AcT gt If the selected operator is not available no other operator shall be selected except lt mode gt 4 If the selected access technology is not available then the same operator shall be selected in other access technology The selected operator name format shall apply to further read commands COPS also lt mode gt 2 forces an attempt to deregister from the network The selected mode affects to all further network registration e g after lt mode gt 2 MT shall be unregistered until lt mode gt 0 or 1 is selected Refer subclause 9 2 for possible lt err gt values This command should be abortable when registration deregistration attempt is made Read command returns the current mode the currently selected operator and the current Access Technology If no operator is selected lt format gt lt oper gt and lt AcT gt are omitted Test command returns a set of five parameters each representing an operator present in the network A set consists of an integer indicating the availability of the operator lt stat gt long and short alphanumeric format of the name of the operator numeric
12. lt pas gt 2 CME ERROR lt err gt CPAS 1 CPAS list of supported lt pas gt s 2 CME ERROR lt err gt Qisda Corporation Qisda Description Execution command returns the activity status lt pas gt of the ME It can be used to interrogate the ME before requesting action from the phone Defined values lt pas gt 0 Ready 3 Ringing 4 Call in progress Informative example Initial the HyperTerminal Initial the MS AT Command AT CPAS CPAS 0 3 4 OK AT CPAS CPAS 0 OK AT CPAS RING CLIP 0934398899 128 0 CPAS 3 OK 2 1 3 2 Set phone functionality CFUN Table CFUN parameter command syntax Command Possible response s CFUN lt fun gt lt rst gt CME ERROR lt err gt CFUN 1 CFUN lt fun gt 2 CME ERROR lt err gt CFUN 1 CFUN list of supported lt fun gt s list of supported lt rst gt s Qisda Corporation Qisda 2 CME ERROR lt err gt Description Set command selects the level of functionality lt fun gt in the ME Level full functionality is where the highest level of power is drawn Minimum functionality is where minimum power is drawn Level of functionality between these may also be specified by manufacturers When supported by manufactured ME resetting with lt rst gt parameter may be utilized Defined values lt fun gt 0 Minimum functionality 1 Full functionality 4 Disable p
13. lt reason gt lt mode gt lt number gt lt type gt lt class gt lt subadd r gt lt satype gt lt time gt CME ERROR lt err gt When lt mode gt 2 and command successful CCFC lt status gt lt class1 gt lt number gt lt type gt lt subaddr gt lt satype gt lt time gt lt CR gt lt LF gt CCFC lt status gt lt class2 gt lt number gt lt type gt lt subaddr gt lt satype gt lt time gt CCFC CCFC list of supported lt reason gt s Description This command allows control of the call forwarding supplementary service Registration erasure activation deactivation and status query are supported Defined values lt Reason gt 0 Unconditional 1 Mobil busy 2 No Reply 3 Not reachable 4 All call forwarding 5 All conditional call forwarding lt Mode gt 0 Disable 1 Enable 2 Query Status 3 Registration 4 Erasure lt Class x gt integer type sum of bearer service code 1 Voice telephony 2 Data refers to all bearer services with lt mode gt 2 this may refer only to some bearer service if TA does not support values 16 32 64 and 128 4 Fax facsimile services 8 Short message service 16 Data circuit sync 32 Data circuit async Qisda Corporation Qisda 64 Dedicated packet access 128 Dedicated PAD access 255 All type lt number gt string type forwarding phone number lt type gt type of add
14. 220 UPDATE RECORD 242 STATUS all other values are reserved NOTE 1 The ME internally executes all commands necessary for selecting the desired file before performing the actual command lt fileid gt integer type this is the identifier of a elementary data file on SIM Mandatory for every command except STATUS NOTE 2 The range of valid file identifiers depends on the actual SIM and is defined in GSM 51 011 28 Optional files may not be present at all lt P1 gt lt P2 gt lt P3 gt 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 51 011 28 lt data gt information which shall be written to the SIM hexadecimal character format refer CSCS Qisda Corporation Qisda lt sw1 gt lt sw2 gt 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 lt response gt response of a successful completion of the command previously issued hexadecimal character format refer 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 51 011 28 After READ BINARY or READ RECORD command the requested data will be returned lt response gt is not returned after
15. CMGS lt da gt lt toda gt lt CR gt successful text is entered lt ctrl Z ESC gt CMGS lt mr gt lt scts gt 2 if sending fails CMS ERROR lt err gt Description Execution command sends message from a TE to the network SMS SUBMIT Message reference value lt mr gt is returned to the TE on successful message delivery Optionally when CSMS lt service gt value is 1 and network supports lt scts gt 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 lt err gt is returned This command should be abortable Qisda Corporation Qisda Description Execution command sends message from a TE to the network SMS SUBMIT Message reference value lt mr gt is returned to the TE on successful message delivery Value can be used to identify message upon unsolicited delivery status report result code entered text 3GPP TS 23 040 TP Data Unit is sent to address lt da gt 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 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 lt dcs gt set with CSMP indicates that 3GPP TS 23 038
16. Informative examples Initial the HyperTerminal Initial the MS AT Command AT BQVCARDW SM 0 00540069006E0061 0920933828 BQVCARDW 5 OK AT BQVCARDR SM 2 BQVCARDR 2 113 BEGIN VCARD N U8 QP TEL V H 0939234324 END VCARD OK 2 5 6 Get PIN1 PIN2 PUK1 PUK2 remaining number BQPVRF Table BQPVRF parameter command syntax Command Possible Response s BQPVRF 1 BQPVRF lt remaining number gt 2 ERROR Description This command will return the remaining number of PIN1 PIN2 PUK1 and PUK2 Defined values None Qisda Corporation Qisda Informative examples Initial the HyperTerminal Initial the MS AT Command AT BQPVRF BQPVRF 3 3 10 10 OK 2 5 7 Get current network status BQNETMODE Table BQNETMODE parameter command syntax Command Possible Response s BQNETMODE BQNETMODE lt mode BQNETMODE BQNETMODE lt mode Description This command is used to query current network mode Defined values lt mode gt 0 no service 1 GSM 2 GPRS 3 EDGE 4 WCDMA 5 HSDPA 6 HSUPA 7 HSDPA and HSUPA Informative examples Initial the HyperTerminal Initial the MS AT Command AT BQNETMODE BQNETMODE GSM OK AT BQNETMODE Qisda Corporation Qisda BQNETMODE 5 HSDPA 3 5G OK 2 5 8 Set Query the counter of unread SMS status BQMGC Table BQMGC parameter command syntax Command Possible
17. SMS DELIVER aon VERs are routed directly to the TE CMT N ME TA TE Message receiving procedures 2 2 3 2 List Messages CMGL Table CMGL Action Command Syntax text Command Possible response s CMGLI lt stat gt 1 if text mode CMGF 1 command successful and SMS SUBMITs and or SMS DELIVERs CMGL lt index gt lt stat gt lt oa da gt lt alpha gt lt scts gt lt tooa toda gt lt length gt lt CR gt lt LF gt lt dat a gt lt CR gt lt LF gt CMGL lt index gt lt stat gt lt da oa gt lt alpha gt lt scts gt lt tooa toda gt lt length gt lt CR gt lt LF gt lt dat Qisda Corporation Qisda a gt 2 otherwise CMS ERROR lt err gt Description Execution command returns messages with status value lt stat gt from message storage lt mem1 gt 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 listing fails final result code CMS ERROR lt err gt is returned NOTE If the selected lt mem1 gt can contain different types of SMs e g SMS DELIVERs SMS SUBMITs 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 Defined values lt stat gt integer type in PDU mode default 0 or string type in text
18. context identifiers The test command returns a list of defined lt cid gt s Defined values lt cid gt a numeric parameter which specifies a particular PDP context definition see the CGDCONT and CGDSCONT commands If no lt cid gt is specified the addresses for all defined contexts are returned lt PDP_address gt 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 CGDCONT and CGDSCONT commands 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 lt cid gt lt PDP_address gt is omitted if none is available Informative examples Initial the HyperTerminal Initial the MS AT Command 1 Query CGPADDR Support AT CGPADDR CGPADDR 1 OK 2 Set CGPADDR AT CGPADDR 0 Qisda Corporation Qisda CGPADDR 1 OK AT CGPADDR 2 CGPADDR 2 OK AT CGPADDR 1 CGPADDR 1 OK 2 4 7 RS network registration status CGREG Table CGREG parameter command syntax Possible response s CGREG lt n gt 1 OK 2 ERROR CGREG 1 CGREG lt n gt lt stat gt lt lac gt lt ci gt 2 CME ERROR lt err gt CGREG CGREG list of supported lt n gt s Description The set command controls the presentation of an unsolicited result code CGREG lt stat gt when lt n
19. lt cid gt causes the requested profile for context number lt cid gt 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 Defined values lt cid gt a numeric parameter which specifies a particular PDP context definition see the CGDCONT and CGDSCONT commands The following parameters are defined in GSM 03 60 lt precedence gt a numeric parameter which specifies the precedence class lt delay gt a numeric parameter which specifies the delay class Qisda Corporation Qisda lt reliability gt a numeric parameter which specifies the reliability class lt peak gt a numeric parameter which specifies the peak throughput class lt mean gt 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 Informative examples Initial the HyperTerminal Initial the MS AT Command 1 Query CGQREQ Support AT CGQREQ CGQREQ IP 1 3 1 4 1 5 1 9 1 18 31 OK 2 Set CGQREQ AT CGQREQ 1 1 1 1 1 1 OK AT CGQREQ CGQREQ 1 1 1 1 1 1 OK 2 4 3 Quality of Service Profile Minimum acceptable CGQMIN Table CGQMIN parameter command syntax Possible Response s CGQMIN lt cid gt 1 OK lt precede
20. 103 do not pass DC1 DC3 C ee DC1 DC3 on circuit 103 with DC1 DC3 characters being 410127 passed through to the remote DCE in addition to being acted upon for local flow control 4 to 127 Reserved for future standardization Reserved for manufacturer specific use e ores on creak ioe a NOTE DC1 is IA5 1 1 DC3 is IAS 1 3 1 1 Recommended default setting For DCE_by_DTE 2 For DTE_by_DCE 2 Information examples Initial the HyperTerminal Initial the MS AT Command AT IFC IFC 0 3 0 2 OK Qisda Corporation Qisda AT IFC IFC 2 2 OK AT IFC 0 0 OK AT IFC IFC 0 0 OK 2 3 2 Data Compression commands 2 3 2 1 Data compression DS Table Syntax DS Command Possible response s DS lt direction gt lt compre 1 OK ssion_negotiation gt lt max_ 2 ERROR dict gt lt max_string gt DS DS lt direction gt lt compression_negotiation gt lt max_dict gt lt max_string gt DS DS list of supported direction values list of supported compression_negotiation values list of supported max_dict values list of supported max_string values Description This extended format compound parameter controls the V 42 bis data compression function if provided in the DCE It accepts four numeric subparameters direction which specifies the desired direction s of operation of the data compression function from the DTE point of view compressio
21. 3 Set to factory defined configuration amp F 80 2 3 1 4 Request identification information 81 2 3 1 5 Request manufacturer identification GMI 83 2 3 1 6 Request model identification GMM 84 2 3 1 7 Request revision identification GMR 84 2 3 1 8 Request product serial number identification GSN 85 2 3 1 9 Request complete capabilities list GCAP 86 2 3 1 10 Command line termination character S3 88 2 3 1 11 Response formatting character 84 89 2 3 1 12 Command line editing character S5 90 2 3 1 13 Command echo E 90 2 3 1 14 Result code suppression Q 91 2 3 1 15 DCE
22. CMEE list of supported lt n gt s Description Set command disables or enables the use of result code CME ERROR lt err gt as an indication of an error relating to the functionality of the ME When enable ME related errors cause CME ERROR lt err gt final result code instead of the regular ERROR final result code ERROR is returned normally when error is Qisda Corporation Qisda related to syntax invalid parameters or TA functionality See Section O for more information Defined values lt n gt O Disable CME ERROR lt err gt result code and use ERROR instead 1 Enable CME ERROR lt err gt result code and use numeric lt err gt values 2 Enable CME ERROR lt err gt result code and use verbose lt err gt values Informative examples Initial the HyperTerminal Initial the MS AT Command AT CMEE CMEE 0 1 2 OK AT CMEE CMEE 0 OK AT CMEE 1 OK AT CMEE CMEE 1 OK 2 1 5 Commands from TIA IS 101 2 1 5 1 Select mode FCLASS Table FCLASS parameter command syntax Command Return FCLASS lt n gt OK FCLASS lt n gt FCLASS list of supported lt n gt s Qisda Corporation Qisda Description This command puts the TA into a particular mode of operation data fax voice etc This causes the TA to process information in a manner suitable for that type of information rather than for other types of information Defined values The valu
23. Fixed DTE rate IPR Table Syntax IPR Command Possible response s IPR IPR lt values gt OK PR IPR list of supported autodetectable rate values list of fixed only rate values OK Description This numeric extended format parameter specifies the data rate at which the DCE will accept commands in addition to 1200 bit s or 9600 bit s as required Qisda Corporation Qisda in 4 3 It may be used to select operation at rates at which the DCE is not capable of automatically detecting the data rate being used by the DTE Specifying a value of 0 disables the function and allows operation only at rates automatically detectable by the DCE The specified rate takes effect following the issuance of any result code s associated with the current command line The rate specified does not apply in OnLine Data State if Direct mode of operation is selected Defined values The rate value specified shall be the rate in bits per second at which the DTE DCE interface should operate e g 19 200 or 115 200 The rates supported by a particular DCE are manufacturer specific however the IPR parameter should permit the setting of any rate supported by the DCE during online operation Rates which include a non integral number of bits per second should be truncated to the next lower integer e g 134 5 bit s should be specified as 134 45 45 bit s should be specified as 45 If unspecified or set to 0 automatic d
24. MS AT Command AT QGPRSANI 0 lt CR gt OK AT QGPRSANI lt CR gt QGPRSANI 0 OK Qisda Corporation Qisda 2 6 Error Message 2 6 1 Mobile Equipment error result code CME ERROR lt unsolicited gt lt p gt Table CME ERROR parameter Syntax Command Possible response s Wrong CME ERROR lt err gt Description The operation of CME ERROR lt err gt result code is similar to the regular ERROR result code if CME ERROR lt err gt 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 lt err gt can be either numeric or verbose This is set with command CMEE Defined value Code of lt err gt Meaning 0 Phone failure 1 No connection to phone 2 phone adaptor link reserved 3 Operation not allowed 4 Operation not supported 5 PH SIM PIN required 6 PH FSIM PIN required 7 PH FSIM PUK required 10 SIM not inserted 11 SIM PIN required 12 SIM PUK required 13 SIM failure 14 SIM busy 15 SIM wrong 16 Incorrect password 17 SIM PIN2 required 18 SIM PUK2 required 20 Memory full Qisda Corporation Qisda 21 Invalid index 22 Not found 23
25. TA Defined values lt stat gt 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 0 AO N gt REC UNREAD received unread message i e new message REC READ received read message STO UNSENT stored unsent message only applicable to SMS STO SENT stored sent message only applicable toSMS ALL all messages only applicable to CMGL command Informative Examples Initial the HyperTerminal Initial the MS AT Command 1 AT CMGL CMGL 0 1 2 3 4 OK Qisda Corporation Qisda 2 AT CMGF 0 AT CMGL 2 CMGL 1 2 8 07918896834348221 10000800004A800 CMGL 2 2 36 07918896834348225 1B702812200008F1E040D021800A0E974B8EEFSB ADFEF2E71D91D778DDF6D903A4C0601 CMGL 3 2 8 07918896834348221 10000800004A800 CMGL 4 2 35 07918896834348225 1B A028 12500008F 1 D0A0A030606010A030C040208 93D567BA421D26ABE98A7B5B 1D06 CMGL 5 2 9 07918896834348221 10000800004A801E1 CMGL 6 2 9 07918896834348221 10000800004A801E4 OK 2 2 5 2 Read Message CMGR Table CMGR Action Command Syntax PDU CMGR lt index gt 1 if PDU mode CMGF 0 and command successful CMGR lt stat gt lt alpha gt lt length gt lt CR gt lt LF gt lt pdu gt 2 otherwise CMS ERROR lt err gt Description Execution command returns message with location value lt index gt from preferred message
26. a successful UPDATE BINARY or UPDATE RECORD command Informative example Initial the HyperTerminal Initial the MS AT Command AT CRSM 192 12258 0 0 255 CRSM 103 15 OK Get SIM Card Identification number ICCID AT4 CRSM 176 12258 0 0 10 CRSM 144 0 98889612040053576639 OK And then the ICCID is 89886921400035756693 2 1 4 Commands related with phonebook service 2 1 4 1 Select phonebook memory storage CPBS Table CPBS parameter command syntax Command Possible response s CPBS lt storage gt CME ERROR lt err gt CPBS 1 CPBS lt storage gt lt used gt lt total gt 2 CME ERROR lt err gt Qisda Corporation Qisda CPBS CPBS list of supported lt storage gt s Description 1 Set command selects phonebook memory storage lt storage gt which is used by other phonebook commands If settings fails in an MS error CME ERROR lt err gt is returned 2 Read command returns currently selected memory this used entry numbers and the entire entry numbers in the selected storage 3 Test command returns supported storages as compound value Defined values lt storage gt string type SM Abbreviated dialing numbers DC MtTdialled calls list CPBW may not be applicable for this storage FD SIM fix dialing phonebook MC Last missed number ME ME number RC Last received umbers EN SIM USIM or ME emerge
27. element non existent or not implemented 111 Protocol error unspecified 127 Interworking unspecified 128 255 TP Failure Cause TP FCS values according to GSM 03 40 128 Telematic interworking not supported 129 Short message Type 0 not supported 130 Cannot replace short message 143 Unspecified TP PID error 144 Data coding scheme not supported 145 Message class not supported 159 Unspecified TP DCS error 160 Command cannot be actioned 161 Command unsupported 175 Unspecified TP command error either the message type identifier is other than SMS command or the service center address is corrupt 176 TPDU not supported 192 SC busy 193 No SC subscription 194 SC system failure 195 Invalid SME address 196 Destination SME barred 208 SIM SMS storage full 209 No SMS storage capability exceeded 210 Error in MS 211 Memory capacity exceeded 255 Unspecified error cause 300 ME failure Qisda Corporation Qisda 301 SMS service of ME reserved the phone is busy sending a message 302 Operation not allowed 303 Operation not supported 304 Invalid PDU mode parameter 305 Invalid text mode parameter 310 SIM not inserted 311 SIM PIN necessary 312 SIM PIN necessary for PH SM 313 SIM failure 314 SIM busy 315 SIM wrong 316 SIM PUK required 317 SIM PIN2 required 318 SIM PUK2 required 320 Memory failure write of SMS to specified
28. field TP MR and is basically a message reference number which can be chosen by the user Here we set the message reference number to zero OOHEX 0B916407861582F5_ This is the destination address TP DA The format of the address field is given in detail in 3GPP 23 040 It is similar to the format of the SCA but now it refers to the Qisda Corporation Qisda phone number of the receiving MS The first octet OB is a phone number length indicator In this case the phone number of the destination MS consists of 11 digits The second octet 91 is the numbering plan and type of number of the coming address The address is in international phone number format Then follows the mobile number with every pair of digits in reverse order and because we have an odd number of digits a half octet of fill bits are required hence the FSHEX 00 This is the protocol ID TP PID which refers to a possible higher level protocol being used or indicates inter working with certain types of telematic devices This can usually be left set to zero 00 This is the data coding scheme field TP DCS that is described in detail in 3GPP 23 038 Basically this octet tells us what kind of user data is being sent For instance if we are using a 7 bit or 8 bit alphabet or we are sending 8 bit data It also informs the receiving MS about the class of the SMS message which tells it how to handle and store the incoming SMS message A7 This is the validity period
29. format representation of the operator and access technology Any of the formats may be unavailable and should then be an empty field The Qisda Corporation Qisda list of operators shall be in order home network networks referenced in SIM or active application in the UICC GSM or USIM in the following order HPLMN selector User controlled PLMN selector Operator controlled PLMN selector and PLMN selector in the SIM or GSM application and other networks It is recommended although optional that after the operator list TA returns lists of supported lt mode gt s and lt format gt s These lists shall be delimited from the operator list by two commas NOTE The access technology selected parameters lt AcT gt should only be used in terminals capable to register to more than one access technology Selection of lt AcT gt does not limit the capability to cell reselections even though access technology is selected the phone may still re select a cell in other access technology Defined values lt mode gt integer value 0 automatic lt oper gt field is ignored 1 manual lt oper gt field shall be present and lt AcT gt optionally 2 deregister from network 3 set only lt format gt for read command COPS do not attempt registration deregistration lt oper gt and lt AcT gt fields are ignored this value is not applicable in read command response 4 manual automatic lt oper gt field shall be present if
30. gt string type operator in numeric format see COPS lt alphan gt string type operator in long alphanumeric format see COPS Informative example Initial the HyperTerminal Initial the MS AT Command AT COPN COPN 00131 Test Network COPN 546559 Test Net 222 Qisda Corporation Qisda COPN 56231 A1 COPN 56263 A max 2 1 2 9 Time Zone Reporting CTZR Table CTZR parameter command syntax Command Possible response s CTZR lt onoff gt CME ERROR lt err gt CTZR 1 CTZR lt onoff gt 2 CME ERROR lt err gt CTZR 1 CTZR list of supported lt onoff gt s 2 CME ERROR lt err gt Description This set command enables and disables the time zone change event reporting If the reporting is enabled the MT returns the unsolicited result code CTZV lt tz gt whenever the time zone is changed If setting fails in an MT error CME ERROR lt err gt is returned Refer subclause 9 2 for lt err gt values Read command returns the current reporting settings in the MT Test command returns supported lt onoff gt values Defined values lt onoff gt integer type value indicating 0 disable time zone change event reporting default 1 Enable time zone change event reporting 2 1 3 Mobile control and status commands 2 1 3 1 Phone activity status CPAS Table CPAS parameter command syntax Command Possible response s CPAS 1 CPAS
31. gt 1 and there is a change in the MT s GPRS network registration status or code CGREG lt stat gt lt lac gt lt ci gt when lt n gt 2 and 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 lt stat gt which shows whether the network has currently indicated the registration of the MT Location information elements lt lac gt and lt ci gt are returned only when lt n gt 2 and MT is registered in the network Defined values Qisda Corporation Qisda lt n gt 0 disable network registration unsolicited result code 1 enable network registration unsolicited result code CGREG lt stat gt 2 enable network registration and location information unsolicited result code CGREG lt stat gt lt lac gt lt ci gt lt stat gt 0 not registered ME is not currently searching an operator to register to The MS is in GMM state GMM NULL or GMM DEREGISTERED INITIATED The GPRS service is disabled the MS is allowed to attach for GPRS if requested by the user 1 registered home network The MS is in GMM state GMM REGISTERED or GMM ROUTING AREA UPDATING INITIATED INITIATED on the home PLMN 2 not registered but ME is currently trying to attach or searching an operator to register to Th
32. is the service center time stamp Every pair of digits are reversed This time stamp reads in octets from left to right the date 990107 year month day the time 123240 hours minutes seconds Finally the last octet is a reference for the difference in time between local time and GMT 04 TP UDL D4E2940A TP UD Sending SMS messages The AT command to use is AT CMGS Notice that this is the length of the TPDU and not the PDU so it does not include the SCA The length of the message is 4 octets and the message reads TEST Example1 A user would like to send a GSM 7 bit alphabet text TEST to number 0910123456 he may use AT CMGS 17 lt CR gt gt 0011000A8190012143650000A704D4E2940A lt CTRL Z gt CMGS 122 depends on the MS OK Reading SMS message from storage To read SMS messages from storage the AT commands AT CMGL and AT CMGR should be used Qisda Corporation Qisda Example1 AT CMGR 1 CMGR 1 23 07916407058099F9040B9 16407950303F 10000892 1222140140004D4E2940A OK Example2 AT CMGL 4 The 4 here means all messages CMGL 1 1 23 07916407058099F9040B9 16407950303F 10000892 1222140140004D4E2940A CMGL 2 1 26 079 16407058099F9040B9 16407950303F 100008921222 1600000084 1E1905834 11E91 CMGL 3 1 27 07916407058099F9040B9 16407950303F 10000892 1222 1706400094 1E1905834 1E9149 OK Deleting SMS messages To delete an SMS message from the selected lt mem1 gt use the AT CMGD command Ex
33. numeric name in the module AT COPN shows the list The numeric information is the MCC and MNC of the PLMN When using long short format to add a preferred PLMN that does not exist in the internal list the module will reject the command because the module is fail to get the MCC and MNC of the PLMN Test command returns the whole index range supported by the SIM Defined values lt indexn gt integer type the order number of operator in the SIM USIM preferred operator list lt format gt 0 Long format alphanumeric lt oper gt 1 Short format alphanumeric lt oper gt 2 Numeric lt oper gt lt opern gt string type lt format gt indicates if the format is alphanumeric or numeric Informative examples Initial the HyperTerminal Initial the MS AT Command AT CPOL CPOL 1 16 0 2 OK Qisda Corporation Qisda AT CPOL CPOL 1 2 46601 CPOL 2 2 46688 OK AT CPOL 2 OK AT CPOL CPOL 1 2 46601 OK 2 1 2 8 Read operator names COPN Table COPN parameter command syntax Command Possible response s COPN 1 Description COPN lt numeric1 gt lt alpha1 gt lt CR gt lt LF gt COPN lt numeric2 gt lt alpha2 gt 2 CME ERROR lt err gt Execute command returns the list of operator names from the ME Each operator code lt numericn gt that has an alphanumeric equivalent lt alphan gt in the ME memory shall be returned Defined values lt numericn
34. storage lt mem1 gt to the TE Status of the message and entire message data unit lt pdu gt is returned If status of the message is received unread status in the storage changes to received read If reading fails final result code CMS ERROR lt err gt is returned Qisda Corporation Qisda Informative Examples Initial the HyperTerminal Initial the MS AT Command 1 AT CMGR OK AT CMGR OK 2 AT CMGF 0 OK AT CMGR 2 CMGR 2 36 07918896834348225 1B702812200008F1E040D021800A0E974B8EEFSB ADFEF2E71D91D778DDF6D90 3A4C0601 OK AT CMGR 4 CMGR 2 35 07918896834348225 1B A028 12500008F 1 D0A0A030606010A030C040208 93D567BA421D26ABE98A7B 5B1D06 OK AT CMGR 3 CMGR 2 8 0791889683434822110000800004A800 OK 2 2 5 3 Send Message CMGS Table CMGS Action Command Syntax PDU if PDU mode CMGF 0 1 if PDU mode CMGF 0 and sending CMGS lt length gt lt CR gt successful PDU is given lt ctrl Z ESC gt CMGS lt mr gt lt ackpdu gt 2 if sending fails CMS ERROR lt err gt Qisda Corporation Qisda Description Execution command sends message from a TE to the network SMS SUBMIT Message reference value lt mr gt is returned to the TE on successful message delivery Optionally when CSMS lt service gt value is 1 and network supports lt ackpdu gt is returned Values can be used to identify message upon unsolicited delivery status report result code If sending f
35. to delete phonebook records Defined values lt storage gt SM Abbreviated dialing numbers lt act gt 0 record in specific index 1 All records lt index gt Integer type value in the range of location numbers of phonebook memory lt err gt 0 Success 1 Out of memory 2 Invalid index 3 Invalid Storage 4 Invalid parameter 5 Unknown error 32768 Timeout Informative examples Qisda Corporation Qisda Initial the HyperTerminal Initial the MS AT Command AT BQVCARDD SM 0 1 Delete index 1 record in SIM OK AT BQVCARDD SM 1 Delete all records in SIM OK AT BQVCARDD BQVCARDD SM 1 100 2 5 5 Write phonebook record by vcard format BQVCARDW VCARD version only Table BQVCARDW parameter command syntax Command Possible Response s BQVCARDW lt storage gt BQVCARDW lt index gt lt index gt lt Name gt lt Num gt OK Description This command is used to write phonebook record to SIM Defined values lt storage gt SM Abbreviated dialing numbers lt index gt 0 find proper empty column to write Else integer type value in the range of location numbers of phonebook memory lt Name gt Phone book data the input format is UCS2 data lt Phone gt Phone number with ASCII code lt err gt Qisda Corporation Qisda Success Out of memory Invalid index Invalid Storage Invalid parameter Unknown error 32768 Timeout ar wn Oo
36. to the TE Default 2 CBM is routed directly to the TE by using the unsolicited result code Qisda Corporation Qisda CBM lt length gt lt CR gt lt LF gt lt pdu gt PDU mode enabled or CBM lt sn gt lt mid gt lt dcs gt lt page gt lt pages gt lt CR gt lt LF gt lt data gt text mode enabled refer to 03 41 Content of message is limited to 82 bytes and total pages are no more than 15 lt ds gt 0 No SMS STATUS REPORTs are routed to the TE 1 SMS STATUS REPORTs are routed to the TE using unsolicited result code CDS lt length gt lt CR gt lt LF gt lt pdu gt PDU mode enabled or CDS lt fo gt lt mr gt lt ra gt lt tora gt lt scts gt lt dt gt lt st gt text mode enabled lt bfr gt 0 TA buffer of unsolicited result codes defined within this command is flushed to the TE when lt mode gt 1 3 is entered OK response shall be given before flushing the codes 1 TA buffer of unsolicited result codes defined within this command is cleared when lt mode gt 1 3 is entered Informative examples Initial the HyperTerminal Initial the MS AT Command AT CNMI CNMI 0 2 0 3 0 2 0 1 0 1 OK AT CNMI CNMI 0 0 0 0 0 OK Qisda Corporation Qisda AT CNMI 0 0 0 0 0 OK AT CNMI CNMI 0 0 0 0 0 OK AT CNMI 1 3 2 1 1 OK AT CNMI CNMI 1 3 2 1 1 OK SM STORAGES SMS DELIVER is stored into ME CMTI x PC
37. 043004B OK 3 Read the phonebook of item index AT CPBR 5 CPBR 5 27998800 129 Davis OK Qisda Corporation Qisda 2 1 4 3 Find phonebook entries CPBF Table CPBF parameter command syntax Command Possible response s CPBF lt findtext gt 1 CPBF lt index1 gt lt number gt lt type gt lt text gt 2 CME ERROR lt err gt CPBF 1 CPBF lt nlength gt lt tlength gt 2 CME ERROR lt err gt Description 1 Execution command returns the phonebook entries from the current phonebook memory storage selected with CPBS which alphanumeric fields starting with the giving string lt findtext gt Entry fields returned are location number lt indexn gt phone number stored there lt number gt of format lt type gt and text lt text gt associated with the number If listing fails in an ME error CME ERROR lt err gt is returned 2 Test command returns the maximum lengths of lt number gt and lt text gt fields In case of SIM storage the lengths may not be available 3 The AT CPBF command can be used to display all phonebook entries sorted in alphabetical order 1 This command is only available for the SM and ME phonebook 2 It is possible to use this command with UCS2 strings If a wrong UCS2 format is entered the string is considered as an ASCII string Defined values lt index1 gt integer type value in the range of location numbers of ph
38. 1 1 If text mode CMGF 1 and sending CMSS lt index gt lt da gt lt successful toda gt CMSS lt mr gt 2 if sending fails CMS ERROR lt err gt Description Execution command sends message with location value lt index gt from preferred message storage lt mem2 gt to the network SMS SUBMIT If new recipient address lt da gt is given for SMS SUBMIT it shall be used instead of the one stored with the message Reference value lt mr gt is returned to the TE on successful message delivery If sending fails in a network or an ME error final result code CMS ERROR lt err gt is returned This command should be abortable Defined values lt index gt integer type lt da gt string type lt toda gt integer type Informative examples Initial the HyperTerminal Initial the MS AT Command AT CMGF 1 OK Qisda Corporation Qisda AT CMGW 0921214863 gt TEST1 CMGW 11 OK AT CMSS 11 CMSS 234 OK 2 2 4 3 Write Message to Memory CMGW Table CMGW Action Command Syntax text Command Possible response s if text mode CMGF 1 1 If saving successful CMGW lt da gt lt toda gt CMGW lt index gt lt stat gt lt CR gt text is 2 If saving fails entered lt ctrl Z ESC gt CMS ERROR lt err gt Description Execution command stores message SMS SUBMIT to memory storage lt mem2 gt Memory location lt index gt of the stored me
39. 1 OK lt precedence gt lt delay gt 2 ERROR lt reliability gt lt peak gt lt mean gt CGQREQ CGQREQ lt cid gt lt precedence gt lt delay gt lt reliability gt lt peak gt lt mean gt lt CR gt lt LF gt CGQREQ lt cid gt lt precedence gt lt delay gt lt reliability gt lt peak gt lt mean gt eel Qisda Corporation Qisda CGQREQ CGQREQ lt PDP_type gt list of supported lt precedence gt s list of supported lt delay gt s list of supported lt reliability gt s list of supported lt peak gt s list of supported lt mean gt s lt CR gt lt LF gt CGQREQ lt PDP_type gt list of supported lt precedence gt s list of supported lt delay gt s list of supported lt reliability gt s list of supported lt peak gt s list of supported lt mean gt s 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 lt cid gt Since this is the same parameter that is used in the CGDCONT and CGDSCONT commands the CGQREQ command is effectively an extension to these commands 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
40. 3GPP specification 23 038 Qisda Corporation Qisda 2 Implemented AT commands for MS 2 1 Commands specified by GSM REC 27 07 2 1 1 General Commands 2 1 1 1 Request manufacturer identification CGMI Table CGMI parameter command syntax Command Possible response s CGMI 1 lt manufacturer gt 2 CME ERROR lt err gt Description Read handset or model s manufacturer s ID Defined values lt manufacturer gt total number of characters shall not exceed 2048 Informative examples Initial the HyperTerminal Initial the MS AT Command AT CGMI lt CR gt lt manufacturer gt 2 1 1 2 Request model identification CGMM Table CGMM parameter command syntax Command Possible response s CGMM 1 lt model gt 2 CME ERROR lt err gt Description Read model information which determined by ME manufacturer Defined values lt model id gt string type Qisda Corporation Qisda Informative examples Initial the HyperTerminal Initial the MS without SIM card AT Command AT CGMM lt CR gt lt model gt 2 1 1 3 Request revision identification CGMR Table CGMR parameter command syntax Command Possible response s CGMR 1 lt revision gt 2 CME ERROR lt err gt Description Read revision of ME It may include software and hardware revision Defined values lt revision gt information text Informative examples Initial the HyperTermina
41. 8S and MV18R ES E commands Error Control ES EB ER EFCS ETBM DS D commands Data Compression DS and DR For example a data modem that supported all capabilities described in this Recommendation may report GCAP MS ES DS MV18S If that example DCE implemented other commands they shall also be included If that DCE implemented stubs e g FCLASS 0 only it may report FCLASS as part of its GCAP response The response is not specifically limited as to number of lines of text Note that the information text shall not contain the sequence 0 lt CR gt 3 0 0 13 or OK lt CR gt 4 15 4 11 0 13 so that DTE can avoid false detection of the end of the this information text It is not necessary for a DTE to inquire of the GCAP where the application is specific to a technology such as facsimile where the FCLASS command would be sufficient to determine capabilities Informative Examples Initial the HyperTerminal Initial the MS AT Command Qisda Corporation Qisda AT GCAP GCAP FCLASS OK 2 3 1 10 Command line termination character S3 Table Syntax S3 Command Possible response s S3 lt values gt 1 OK 2 ERROR S3 lt values gt Description This S parameter represents the decimal IA5 value of the character recognized by the DCE from the DTE to terminate an incoming command line It is also generated by the DCE as part of the header t
42. CARD format BQVCARDR VCARD version only Table BQVCARDR parameter command syntax Command Possible Response s BQVCARDR lt storage gt lt in 1 BQVCARDR lt index gt lt len gt lt VCARD dex gt content gt OK 2 BQVCARDERR lt err gt BQVCARDR BQVCARDR lt storage gt list of supported Qisda Corporation Qisda lt index gt s Description This command is used to read phonebook records to vcard format vcard 2 0 standard format Defined values lt storage gt SM Abbreviated dialing numbers lt index gt Integer type value in the range of location numbers of phonebook memory lt err gt 0 Success 1 Out of memory 2 Invalid index 3 Invalid Storage 4 Invalid parameter 5 Unknown error 32768 Timeout Informative examples Initial the HyperTerminal Initial the MS AT Command AT BQVCARDR SM 1 CME ERROR not found AT BQVCARDR SM 2 BQVCARDR 2 113 BEGIN VCARD N U8 QP TEL V H 0939234324 END VCARD OK Qisda Corporation Qisda AT BQVCARDR BQVCARDR SM 1 100 OK 2 5 4 Delete phonebook record BQVCARDD VCARD version only Table BQVCARDD parameter command syntax Command Possible Response s BQVCARDD lt storage gt 1 OK lt act gt lt index gt 2 BQVCARDERR lt err gt BQVCARDD BQVCARDD lt storage gt list of supported lt index gt s Description This command is used
43. Cariel Huang Cariel Huang 2008 06 03 2008 07 01 1 0 4 Remove non support AT commands Cariel Huang 2008 08 05 1 0 5 Update AT commands ATS3 ATS4 ATS5 ATQ Cariel Huang 2008 08 19 1 0 6 Modify all AT commands for detailed descriptions Cariel Huang 2008 08 20 1 0 7 Modify all AT commands for detailed descriptions Cariel Huang 2008 08 26 1 0 8 Update AT command description COPS CFUN BQLED Cariel Huang 2008 10 16 1 0 9 Update AT command description COPS WS46 Cariel Huang 2008 10 30 1 0 10 1 Add AT QMGL command for list Messages 2 Remove AT BQLED commands LED will controlled by target 3 Remove AT QHK commands Does not support this feature Cariel Huang 2008 11 05 1 0 11 Update AT command description QMGL Cariel Huang 2008 11 12 1 0 12 Update AT command description QTTR Cariel Huang 2008 11 21 Qisda Corporation Qisda service 1 0 13 1 Remove AT QSWUSB commands Cariel Huang 2008 11 28 2 Add AT QGPRSANI command for changing GRPS Anite GCF NV item 947 1 0 14 Add AT CCFC command for call forwarding Cariel Huang 2008 12 24 Qisda Corporation Qisda 1 Introduction 1 1 Introduction to Interface between TE and MS In order to communicate each other between TE and MS we must use AT com
44. DR 1 OK AT DR DR 1 OK 2 4 GPRS related commands 2 4 1 Define PDP Context CGDCONT Table CGDCONT parameter command syntax Possible response s Qisda Corporation Qisda CGDCONT lt cid gt lt PDP_type gt 1 OK lt APN gt lt PDP_addr gt lt d_comp gt lt h_comp gt lt pd1 gt LEPANI Description CGDCONT lt cid gt lt PDP_type gt lt APN gt lt PDP_addr gt lt data_comp gt lt head_comp gt lt pd1 gt pdN lt CR gt lt LF gt CGDCONT lt cid gt lt PDP_type gt lt APN gt lt PDP_addr gt lt data_comp gt lt head_comp gt lt pd1 gt dN CGDCONT range of supported lt cid gt s lt PDP_type gt list of supported lt d_comp gt s list of supported lt h_comp gt s list of supported lt pd1 gt s list of supported lt pdN gt s lt CR gt lt LF gt CGDCONT range of supported lt cid gt s lt PDP_type gt list of supported lt d_comp gt s list of supported lt h_comp gt s list of supported lt pd1 gt s list of supported lt pdN gt s eel The set command specifies PDP context parameter values for a PDP context identified by the local context identification parameter lt cid gt 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 lt cid gt causes the values for conte
45. GQMIN lt cid gt causes the minimum acceptable profile for context number lt cid gt to become undefined In this case no check is made against the negotiated profile 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 Defined values lt cid gt a numeric parameter which specifies a particular PDP context definition see the CGDCONT and CGDSCONT commands The following parameters are defined in GSM 03 60 Qisda Corporation Qisda lt precedence gt a numeric parameter which specifies the precedence class lt delay gt a numeric parameter which specifies the delay class lt reliability gt a numeric parameter which specifies the reliability class lt peak gt a numeric parameter which specifies the peak throughput class lt mean gt a numeric parameter which specifies the mean throughput class If a value is omitted for a particular class then this class is not checked Informative examples Initial the HyperTerminal Initial the MS AT Command 1 Query CGQMIN Support AT CGQMIN CGQMIN IP 1 3 1 4 1 5 1 9 1 18 31 OK 2 Set CGQMIN AT CGQMIN 1 1 1 1 1 1 OK AT CGQMIN CGQMIN 1 1 1 1 1 1 OK AT CGQMIN 1 0 1 1 1 1 OK AT CGQMIN CGQMIN 1 0 1 1 1 1 OK 2 4 4 GPRS attach or detach CGATT Ta
46. I lt mode gt lt mt gt lt 1 OK bm gt lt ds gt lt bfr gt 2 CMS ERROR lt err gt CNMI CNMI lt mode gt lt mt gt lt bm gt lt ds gt lt bfr gt CNMI CNMI list of supported lt mode gt s list of supported lt mt gt s list of supported lt bm gt s list of supported lt ds gt s list of supported lt bfr gt s Description Set command selects the procedure how receiving of new messages from the network is indicated to the TE when TE is active e g DTR signal is ON lt mode gt controls the processing of unsolicited result codes specified within this command lt mt gt sets the result code indication routing for SMS DELIVERs lt bm gt for CBMs and lt ds gt for SMS STATUS REPORTs lt bfr gt defines the handling method for buffered result codes when lt mode gt 1 2 or 3 is enabled If ME does not support requested item although TA does final result code CMS ERROR lt err gt is returned Test command gives the settings supported by the TA as compound values NOTE Command Select Message Service CSMS should be used to detect ME support of mobile terminated SMs and CBMs and to define whether a message routed directly to TE should be acknowledged or not Defined values lt mode gt 0 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 th
47. IN2 authentication Qisda Corporation Qisda failure i e CME ERROR 17 if PIN2 is not entered right after the failure it is recommended that ME does not block it operation SIM PUK ME is waiting SIM PUK to be given SIM PUK2 ME is waiting SIM PUK2 to be given this lt code gt 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 PIN2are not entered right after the failure it is recommended that ME does not block it operation Informative examples Initial the HyperTerminal Initial the MS AT Command 1 Power on 1 CHV 1 is disabled SIM is ready AT CPIN CPIN READY 2 Power on 1 SIM not inserted AT CMEE 2 OK AT CPIN CME ERROR SIM not inserted 2 1 3 4 Signal quality CSQ Table CSQ parameter command syntax Command Possible response s CSQ 1 CSQ lt rssi gt lt ber gt 2 CME ERROR lt err gt CSQ CSQ list of supported lt rssi gt s list of supported lt ber gt s Description 1 Execution command returns received signal strength indication lt rssi gt and channel bit error rate lt ber gt from the MS 2 Test command returns values supported by the MS as compound values Only support continuous unsolicited response Qisda Corporation Qisda Defined values lt rssi gt 0 113dBm or less 1 111dBm 2 30 109dBm 53dBm 31 51dBm or greater 99 Not known
48. MS 1 CPMS lt used1 gt lt total1 gt lt used2 gt lt total2 gt lt used3 gt lt total3 gt 2 CMS ERROR lt err gt CPMS CPMS list of supported lt mem1 gt s list of supported lt mem2 gt s list of supported lt mem3 gt s Qisda Corporation Qisda Description Set command selects memory storages lt mem1 gt lt mem2 gt and lt mem3 gt to be used for reading writing etc If chosen storage is not appropriate for the ME but is supported by the TA final result code CMS ERROR lt err gt shall be returned See chapter Message Service Failure Result Code for a list of possible lt err gt values Test command returns lists of memory storages supported by the TA lt mem1 gt Memory used to list read and delete messages It can be SM SMS message storage in SIM default lt mem2 gt Memory used to write and send messages SM SMS message storage in SIM default Informative examples Initial the HyperTerminal Initial the MS AT Command AT CPMS SM SM SM CPMS 3 15 3 15 3 15 OK AT CPMS CPMS SM 3 15 SM 3 15 SM 3 15 OK 2 2 1 3 Message Format CMGF Table CMGF parameter command syntax text amp PDU Command Possible response s CMGF lt mode gt CMS ERROR lt err gt CMGF CMGF lt mode gt CMGF CMGF list of supported lt mode gt s Description Set command tells the TA which input and output for
49. MS SUBMITs in text mode for SMS COMMANDs in CMGR result code do not show lt pid gt lt mn gt lt da gt lt toda gt lt length gt or lt cdata gt 1 show the values in result codes Informative examples Initial the HyperTerminal Initial the MS AT Command 1 Set command AT CSDH 1 OK 2 Read command AT CSDH CSDH 1 Qisda Corporation Qisda OK 3 Test command AT CSDH CSDH 0 1 OK 2 2 2 4 Select Cell Broadcast Message Types CSCB Table CSCB parameter command syntax text amp PDU Command Possible response s CSCB lt mode gt 1 OK lt mids gt lt dcss gt 2 ERROR CSCB CSCB lt mode gt lt mids gt lt dcss gt CSCB CSCB list of supported lt mode gt s Description Set command selects which types of CBMs are to be received by the ME Test command returns supported modes as a compound value If lt mids gt or lt dcss gt set empty string there is no action on lt mids gt or lt dcss gt Defined values lt mode gt 0 message types specified in lt mids gt and lt dcss gt are accepted 1 message types specified in lt mids gt and lt dcss gt are not accepted lt mids gt string type all different possible combinations of CBM message identifiers refer lt mid gt default is empty string e g 0 1 5 320 478 922 lt dcss gt string type all different possible combination of CBM data coding schemes refer lt dcs gt defau
50. Memory failure 24 Text string too long 25 Invalid characters in text string 26 Dial string too long 27 Invalid characters in dial string 30 No network service 31 Network timeout 32 Network not allowed emergency calls only 33 Network busy 34 Network operation failed 35 Network incorrect password 36 PLMN no service 37 Hardware failure 38 ACM Max exceeded 39 FDN not matched 40 Network personalization PIN required 41 Network personalization PUK required 42 Network subset personalization PIN required 43 Network subset personalization PUK required 44 Service provider personalization PIN required 45 Service provider personalization PUK required 46 Corporate personalization PIN required 47 Corporate personalization PUK required 51 Voice memo memory problem 52 Voice dial training fail 53 Voice dial need more sample 54 Voice dial similar sample exist 55 Voice dial recognize fail 56 Voice erase not finished 57 Voice erase finished 58 Voice erase restart 100 Unknown 103 illegal MS 106 illegal ME 107 GPRS service not allowed Qisda Corporation Qisda 111 PLMN not allowed 112 Location not allowed 113 Roaming not allowed in Location Area 132 GPRS service option not supported 133 requested service option not subscribed 134 service option temporarily out of order 148 unspecified GPRS error 150 invalid module class 512 fail to abort 513 ACM reset needed 2 6 2 Messa
51. P RD Reserved Bit 1 Bit O TP MTI 0 1 SMS SUBMIT in the direction MS to SC lt vp gt integer type 0 to 143 vp 1 5 minutes 144 to 167 12 hours vp 143 30 minutes 168 to 196 vp 166 1 day 197 to 255 vp 192 1 week lt pid gt integer type Please see 03 40 TP Protocol Identifier TP PID description Default 0 lt dcs gt integer type 0x00 Default alphabet default 0x04 8 bit data 0x08 UCS2 16bit Informative examples Initial the HyperTerminal Initial the MS AT Command 1 Set parameter for saving sending short message lt vp gt field is relative format lt vp gt 2 days lt pid gt 0 lt dcs gt 0 AT CSMP 17 168 0 0 OK Qisda Corporation Qisda 2 Set parameter for 8bit message and keeps other parameter unchanged AT CSMPz 4 OK 2 2 2 3 Show Text Mode Parameters CSDH Table CSDH parameter command syntax text Command Possible response s CSDH lt show gt 1 OK 2 ERROR CSDH CSDH lt show gt CSDH CSDH list of supported lt show gt s Description Set command controls whether detailed header information is shown in text mode result codes Defined values lt show gt 0 do not show header values defined in commands CSCA and CSMP lt sca gt lt tosca gt lt fo gt lt vp gt lt pid gt and lt dcs gt nor lt length gt lt toda gt or lt tooa gt in CMT CMGL CMGR result codes for SMS DELIVERsS and S
52. Qisda lt mr gt lt oa gt lt pdu gt lt pid gt lt ra gt lt sca gt lt scts gt lt sn gt lt st gt lt toda gt length 3GPP TS 23 040 TP Message Reference in integer format 3GPP TS 23 040 TP Originating 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 CSCS type of address given by lt tooa gt In the case of SMS 3GPP TS24 011 SC address followed by 3GPP TS 23 040 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 to TE as two characters 2A IRA 50 and 65 3GPP TS 23 040 TP Protocol Identifier in integer format default 0 0x00 plain text 0x21 telex 0x22 group 3 telefax 0x23 group 4 telefax 0x24 voice telephone 0x25 ERMES 0x26 National paging system 0x32 Internet Electronic Mail 3GPP TS 23 040 TP Recipient 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 CSCS type of address given by lt tora gt 3GPP TS 24 011 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 CSCS type of address given by lt tosca
53. Response s BQMGC lt act gt lt value gt OK BQMGC BQMGC lt value gt BQMGC BQMGC list supported lt act gt s list supported lt value gt s Description This command is used to set or query message counter in SIM Defined values lt act gt 0 reset the counter of unread SMS 1 increase the counter of unread SMS 2 decrease the counter of unread SMS Informative examples Initial the HyperTerminal Initial the MS AT Command AT BQMGC lt CR gt BQMGC 1 OK AT BQMGC 1 1 lt CR gt OK AT BQMGC lt CR gt BQMGC 2 OK AT BQMGC 0 lt CR gt OK Qisda Corporation Qisda AT BQMGC lt CR gt BQMGC 0 OK 2 5 9 Total flow of data that transmitted and received in device QTTR Table QTTR parameter command syntax Command Possible Response s QTTR lt act gt 1 OK 2 SQTTR list of lt Tx Rx info gt lt status gt OK 3 ERROR QTTR SQTTR list of support lt act gt Description This command is used to query reset and store the total flow and current flow of data that transmitted and received in device Please reset counter AT QTTR 1 if it is full status 1 Defined values lt act gt 1 reset the counter that use to save total data flow 2 current data flow 3 total data flow lt status gt 0 the counter use to save total data flow is not full 1 the counter use to save total data flow is full lt Tx Rx info gt Tx_Sp
54. Show Text Mode Parameters CSDH 57 2 2 2 4 Select Cell Broadcast Message Types CSCB 58 2 2 3 Message Receiving and Reading Commands 60 2 2 3 1 New Message Indications to TE CNMI 60 2 2 3 2 List Messages CMGL 63 2 2 3 3 Read Message CMGR 65 2 2 3 4 NEW Message Acknowledgement to ME TA CNMA 66 2 2 4 Message Sending and Writing Commands 67 2 2 4 1 Send Message CMGS 67 2 2 4 2 Send Message from Storage CMSS 69 2 2 4 3 Write Message to Memory CMGW 70 2 2 4 4 Delete Message CMGD 71 2 2 4 5 Send Command CMGC
55. TP VP The validity period is how long the SC will store the SMS waiting for the receiving MS to come in contact with the GSM network If the SMS is not received by the destination MS within this time then the message will be discarded 3GPP 23 040 describes this field in detail 04 TP UDL This is the length of the user data It is given in septets if TP DCS describes the message as using the default 7 bit GSM alphabet or octets otherwise D4E2940A Finally we come to the user data TP UD This is 4 septets long defined above in TP DCS and TP UDL The message reads TEST Note the one character is not represented by one octet but by a septet 7 bits and therefore it can be quite complicated to decipher a GSM text SMS by looking at the PDU 3GPP specification 23 038 describes in detail how the 7 bit GSM alphabet works and how to convert from the hexadecimal to the characters You may know that one Qisda Corporation Qisda can send 160 characters in an SMS message This is only possible in 140 bytes using a 7 bit alphabet Before we finish we should also take a look at the TPDU of SMS DELIVER type This is the PDU one would see when reading an SMS that has been sent to the module 07916407058099F9040B 9 1640786 1582F5000099 10702123040004D4E2940A The TPDU breaks down as follows 04 TP MTI TP MMS TP_SRI TP UDHI TP RP 0B916407861582f5 This is the originating address TP OA 00 TP PID 00 TP DCS 99107021230400 This
56. ails in a network or an ME error final result code CMS ERROR lt err gt is returned This command should be abortable lt length gt must indicate the number of octets coded in the TP layer data unit to be given i e SMSC address octets are excluded the PDU shall be hexadecimal format similarly as specified for lt pdu gt and given in one line ME TA converts this coding into the actual octets of PDU 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 of Address octet shall not be present in the PDU i e TPDU starts right after SMSC length octet sending can be cancelled by giving lt ESC gt character IRA 27 lt ctrl Z gt IRA 26 must be used to indicate the ending of PDU Informative Examples Initial the HyperTerminal Initial the MS AT Command AT CMGS OK OK 2 2 5 4 Send Message from Storage CMSS Table CMSS Action Command Syntax PDU if text mode CMGF 0 1 If PDU mode CMGF 0 and sending CMSS lt index gt lt da gt lt toda gt successful CMSS lt mr gt 2 if sending fails CMS ERROR lt err gt Qisda Corporation Qisda Description Execution command sends message with location value lt index gt from preferred message storage lt mem2 gt to the network SMS SUBMIT If new recipient address lt da gt is given for SMS SUBMIT it shall be used i
57. ample1 AT CMGD 1 OK Memory management Once both SM are full then the module will receive no new messages and SMS messages will be buffered in the Service Center until the following happens The validity period of the message expires The validity period is set by TP VP A message is deleted by using AT CMGD An empty memory position becomes available and the module can receive a new message There are other ways to control the storage of SMS messages In the TPDU field TP DCS one can set the class of the SMS message Basically the Qisda Corporation Qisda different SMS classes are as follows Classless SMS _ TP DCS 00hex This is usually the type sent by a mobile telephone They are stored in the available memory Class 0 SMS TP DCS FOhex These are not stored anywhere but are sent directly to the telephone display Since there is no display one can forward the messages to the TE by means of the AT command setting AT CNMI 3 2 Class 1 SMS TP DCS F1hex These are directed specifically to ME if there is a memory storage available otherwise it will be stored in SM Class 2 SMS TP DCS F2hex These are directed specifically to SM Class 3 SMS TP DCS F3hex These messages shall normally be transferred to the terminal equipment or application if requested to do so This is controlled by the AT command AT CNMI For a deeper explanation and more information regarding the different SMS classed and their use see the
58. and PDP context activation procedures may take place prior to or during the PDP startup 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 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 lt called_address gt 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 lt L2P gt and lt cid gt 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 initialization AT command string to set values for PDP type APN QoS etc If lt L2P gt is not supported of is supported but omitted the MT shall use a layer 2 protocol appropriate to the PDP type If lt cid gt is not supported of is supported but omitted the MT shall attempt to activate the context using a any information provided by the TE during the PDP startup procedure e g the TE may provide a PDP type and or PDP address to the MT or b a prior knowledge e g the MT may implement only one PDP type or c 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 c
59. and syntax CPOL lt index gt CME ERROR lt err gt lt format gt lt oper gt 1 CPOL CPOL lt index1 gt lt format gt lt oper1 gt lt CR gt lt LF gt CPOL lt index2 gt lt format gt lt oper2 gt 2 CME ERROR lt err gt CPOL 1 CPOL list of supported lt index gt s list of supported lt format gt s 2 CME ERROR lt err gt Description This command is used to edit the PLMN selector with Access Technology lists in the SIM card or active application in the UICC GSM or USIM Execute command writes an entry in the SIM USIM list of preferred PLMNs Qisda Corporation Qisda previously selected by the command CPLS If no list has been previously selected the User controlled PLMN selector with Access Technology EF opiunwact s the one accessed by default If lt index gt is given but lt oper gt is left out entry is deleted If lt oper gt is given but lt index gt is left out lt oper gt is put in the next free location If only lt format gt is given the format of the lt oper gt in the read command is changed The Access Technology selection parameters Read command returns all used entries from the SIM USIM list of preferred PLMNs previously selected by the command CPLS with the Access Technologies for each PLMN in the list Note It is recommend to add a preferred PLMN with numeric format There is an internal list which store all PLMN s long name short name and
60. at 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 Informative Examples Initial the HyperTerminal Initial the MS AT Command AT amp F OK AT amp FO OK AT amp F1 ERROR AT amp F2 EXT I ERROR 2 3 1 4 Request identification information I Table Syntax 1 Command Possible response s 1 lt manufacturer1 gt OK Qisda Corporation Qisda 2 ERROR Description This command causes the DCE to transmit one or more lines of information text determined by the manufacturer followed by a final result code lt value gt may optionally be used to select from among multiple types of identifying information specified by the manufacturer NOTE The responses to this command may not be reliably used to determine the DCE manufacturer revision level feature set or other information and should not be relied upon for software operation In particular expecting a specific numeric response to an I0 command to indicate which other features and commands are implemented in a DCE dooms software to certain failure since there are widespread differences in manufacturer implementation among devices that may coincidentally respond with identical values to this command Software implementers should use commands with extreme caution since the amount of data returned by particular implementations may vary widely fr
61. ated with the number If lt index gt is left out but lt number gt is given entry is written to the first free location in the phonebook the implementation of this feature is manufacturer specific If the fields except for lt index gt are omitted phonebook storage entry will be deleted If writing fails in an ME error CME ERROR lt err gt is returned Defined values lt index gt integer type values in the range of location numbers of phonebook memory lt number gt string type phone number lt type gt type of address octet in integer format Qisda Corporation Qisda lt text gt lt findtext gt string type character set specified by command select TE character Set CSCS lt nlength gt integer value indicating the maximum length of field lt number gt lt tlength gt integer value indicating the maximum length of field lt text gt Informative examples Initial the HyperTerminal Initial the MS AT Command 1 AND given lt index gt PC will check if FDN is disabled in advance AT CSCS CSCS IRA AT CPBW 1 27998800 129 DAVID OK 2 AND but lt index gt is left out PC will check if FDN is disabled in advance AT CPB W2 27998800 129 DAVID OK 3 Deleting entry AT CPBW 1 OK 2 1 4 5 Report Mobile Equipment error CMEE Table CMEE parameter command syntax Command Possible response s CMEE lt n OK CMEE CMEE lt n gt CMEE
62. ble CGATT action command syntax CGAT T lt state gt 1 OK 2 ERROR CGATT CGATT lt state gt CGATT CGATT list of supported lt state gt s Qisda Corporation Qisda Description The execution command is used to attach the MT to or detach the MT from the Packet Domain service After the command has completed the MT remains in V 25ter 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 Extended error responses are enabled by the CMEE command Any active PDP contexts will be automatically deactivated when the attachment state changes to detached The read command returns the current Packet Domain service state The test command is used for requesting information on the supported Packet Domain service states NOTE This command has the characteristics of both the V 25ter action and parameter commands Hence it has the read form in addition to the execution set and test forms Defined Values lt state gt indicates the state of PS attachment 0 detached 1 attached Other values are reserved and will result in an ERROR response to the execution command Informative examples Initial the HyperTerminal Initial the MS AT Command 1 Query CGATT Support AT CGATT CGATT 0 1 OK 2 Set CGATT AT CGATT 1 OK Qisda Corporation Qis
63. d and checked if present Defined values See Table 5 Table 5 V 25 ter Character format values Valid numeric values 8 Data 1 Stop Recommended default setting Qisda Corporation Qisda For format 3 For parity 3 Information examples Initial the HyperTerminal Initial the MS AT Command AT ICF ICF 3 0 3 OK AT ICF ICF 3 3 OK AT ICF 1 ERROR 2 3 1 20 DTE DCE local flow control IFC Table Syntax IFC Command Possible response s IFC lt DCE_by_DTE gt lt DTE 1 OK _by_DCE gt 2 ERROR IFC IFC lt DCE_by_DTE gt lt DTE_by_ DCE gt FC IFC list of supported DCE_by_DTE values list of supported DTE_by_DCE values Description This extended format compound parameter is used to control the operation of local flow control between the DTE and DCE during the data state when V 42 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 subparameters DCE_by_DTE which specifies the method to be used by the DTE to control the flow of received data from the DCE and Qisda Corporation Qisda DTE_by_DCE which specifies the method to be used by the DCE to control the flow of transmitted data from the DTE Defined values See Table 6 Table 6 V 25ter DCE _by_DTE and DTE_by_DCE values fo NonsC S Ss SC DC1 DC3 on circuit
64. d default setting 1 DCE echoes characters during command state and online command state Information examples Initial the HyperTerminal Initial the MS AT Command ATEI OK lt Display the response on the HyperTerminal gt ATEO OK command OK 2 3 1 14 Result code suppression Q Table Syntax Q Command Possible response s Q lt value gt 1 lt value gt 0 OK 2 lt value gt 1 none 3 ERROR Description The setting of this parameter determines whether or not the DCE transmits result codes to the DTE When result codes are being suppressed no portion of any intermediate final or unsolicited result code header result text line Qisda Corporation Qisda terminator or trailer is transmitted Information text transmitted in response to commands is not affected by the setting of this parameter Defined values 0 DCE transmits result codes 1 Result codes are suppressed and not transmitted Recommended default setting 0 DCE transmits result codes Result codes OK If value is 0 none If value is 1 because result codes are suppressed ERROR For unsupported values if previous value was QO none For unsupported values if previous value was Q1 Information examples Initial the HyperTerminal Initial the MS AT Command ATQI none AT CFUN CFUN 1 none ATQO OK AT CFUN CFUN 1 OK 2 3 1 15 DCE response format V Table Syntax V Command Poss
65. d in response to that command line will use the new value of S4 Defined values 0 to 127 Set response formatting character to this value Recommended default setting 10 Line feed character LF IA5 0 10 Information examples Initial the HyperTerminal Initial the MS AT Command ATS4 010 OK ATS4 10 OK Qisda Corporation Qisda 2 3 1 12 Command line editing character S5 Table Syntax S5 Command Possible response s S5 lt values gt 1 OK 2 ERROR S5 lt values gt Description This S parameter represents the decimal IA5 value of the character recognized by the DCE as a request to delete from the command line the immediately preceding character see 5 2 2 Defined values 0 to 127 Set command line editing character to this value Recommended default setting 8 Backspace character BS IA5 0 8 Information examples Initial the HyperTerminal Initial the MS AT Command ATS5 008 OK ATS5 8 OK 2 3 1 13 Command echo E Table Syntax E Command Possible response s E lt value gt OK Description The setting of this parameter determines whether or not the DCE echoes characters received from the DTE during command state and online command Qisda Corporation Qisda state Defined values 0 DCE does not echo characters during command state and online command state 1 DCE echoes characters during command state and online command state Recommende
66. da AT CGATT CGATT 1 OK 2 4 5 PDP context activate or deactivate CGACT Table CGACT action command syntax Possible Response s CGACT lt state gt lt cid gt lt cid gt 1 OK J 2 ERROR CGACT CGACT lt cid gt lt state gt lt CR gt lt LF gt CGACT lt cid gt lt state gt CGACT CGACT list of supported lt state gt s Description The execution command is used to activate or deactivate the specified PDP context s After the command has completed the MT remains in V 25ter 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 Extended error responses are enabled by the CMEE command If the MT is not PS attached when the activation form of the command is executed the MT first performs a PS 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 lt cid gt s are specified the activation form of the command activates all defined contexts If no lt cid gt s are specified the deactivation form of the command deactivates all active contexts An active secondary context can exist if and only if the corresponding active primary context exists If the primar
67. da Corporation Qisda lt number gt string type phone number lt alpha gt string type optional alphanumeric string associated with lt number gt used character set should be the one selected with command Select TE Character Set CSCS lt type gt integer value 129 National 145 International Informative examples Initial the HyperTerminal Initial the MS AT Command 1 Power on MS but SIM is not ok AT CPIN CME ERROR 10 AT CNUM CME ERROR 10 2 Power on MS and SIM is ok AT CPIN CPIN READY OK AT CNUM CNUM ABC 0920123456 129 OK 3 Write record AT CPBS ON OK AT CPBW 1 0960530355 WMO OK AT CPBR 1 CPBR 1 0960530355 129 WMO OK AT CNUM CNUM WMO 0960530355 129 OK Qisda Corporation Qisda 2 1 2 2 Network registration CREG Table CREG parameter command syntax Command Possible response s CREG lt n gt CME ERROR lt err gt CREG 1 CREG lt n gt lt stat gt 2 CME ERROR lt err gt CREG CREG list of supported lt n gt s Description Set command controls the presentation of an unsolicited result code code CREG lt stat gt when lt n gt 1 Read command returns the status of result code presentation and an integer lt state gt which shows whether the network has currently indicated the registration of the ME Test command returns a list of supported lt n gt Defined values lt n gt integer value 0 lt defau
68. default alphabet is used and lt fo gt indicates that 3GPP TS 23 040 TP User Data Header Indication is not set if TE character set other than HEX refer command Select TE Character Set CSCS in 3GPP TS 27 007 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 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 y GSM 23 if lt dcs gt indicates that 8 bit or UCS2 data coding scheme is used or lt fo gt indicates that 3GPP TS 23 040 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 be converted to an octet with integer value 42 sending can be cancelled by giving lt ESC gt character IRA 27 lt ctrl Z gt IRA 26 must be used to indicate the ending of the message body Informative examples Initial the HyperTerminal Initial the MS AT Command AT CMGF 1 OK Qisda Corporation Qisda AT CMGS OK OK AT CMGS 0921214863 gt TEST CMGS 230 OK OK 2 2 4 2 Send Message from Storage CMSS Table CMSS Action Command Syntax text Command Possible response s if text mode CMGF
69. e It is important to realize that SMS messages could be sent in two modes text mode and PDU mode which is described in detail in the GSM specifications 3GPP 27 005 3GPP 23 040 and 3GPP 23 038 Because text mode is followed the format of input parameters it is clear to execute the commands We now focus on the introduction of PDU mode What is PDU mode First a PDU is a Service Center Address SCA followed by a Transport Protocol Data Unit TPDU There are several formats of TPDU but we now only use two forms here SMS SUBMIT TPDU Outgoing SMS messages submitted to the SM from the originating MS SMS DELIVER TPDU Incoming SMS messages delivered by the SC to final destination MS Therefore we have the following general format of an SMS message PDU SCA TPDU The TPDU format is a hexadecimal encoded binary format which means that 2 hexadecimal digits represent a byte or an octet In general there is a header part of the TPDU containing the control information and the follows user data which can be any type of information default 7 bit GSM alphabet 8 bit ISO 8859 1 alphabet or even 8 bit data Let s start with some examples of PDU SMS messages using an SMS SUBMIT type TPDU For simplicity s sake we will send a text message that reads TEST using the default GSM 7 bit alphabet Here is the message written out in full 0011000B916407861582F50000A704D4E2940A Qisda Corporation Qisda Equivalently w
70. e GSM standard Test command returns facility values supported by the TA as compound value Defined Values lt fac gt AB AC AG Al AQ IR AG ioe esti ae Sips espe BO dpp lt mode gt 0 1 2 lt status gt 0 1 All Barring services All incoming barring services All outgoing barring services BAIC Barr All Incoming Calls BAOC Barr All Outgoing Calls BIC Roam Barr Incoming Calls when Roaming outside the home country BOIC Barr Outgoing International Calls BOIC exHC Barr Outgoing International Calls except to Home Country PIN enabled lt mode gt 1 disabled lt mode gt 0 Network personalization of the ME Network subset personalization of the ME Service provider personalization of the ME Corporate personalization of the ME Personalization on first inserted SIM Unlock Lock Query status Not active Active lt password gt string type indicate PIN or network password Qisda Corporation Qisda lt class gt integer type sum of integers each representing a class default 7 1 Voice 2 Data 4 Fax 8 Short message 16 Data circuit sync 32 Data circuit async 64 Dedicated packet access 128 Dedicated PAD access Informative examples Initial the HyperTerminal Initial the MS AT Command AT CLCK CLCK AB AC AG AI AO TR OI OX SC PN PU PP PC PF OK 1 Enable PIN with 1234 AT CLCK SC
71. e MS is in GMM state GMM DEREGISTERED or GMM REGISTERED INITIATED The GPRS service is enabled but an allowable PLMN is currently not available The MS will start a GPRS attach as soon as an allowable PLMN is available 3 registration denied The MS is in GMM state GMM NULL The GPRS service is disabled the MS is not allowed to attach for GPRS if requested by the user 4 unknown registered roaming The MS is in GMM state GMM REGISTERED or GMM ROUTING AREA UPDATING INITIATED on a visited PLMN lt lac gt string type two byte location area code in hexadecimal format e g 00C3 equals 195 in decimal lt ci gt string type two byte cell ID in hexadecimal format Informative examples Initial the HyperTerminal Initial the MS Qisda Corporation Qisda AT Command 1 Query CGREG Support AT CGREG CGREG 0 1 OK 2 Set CGREG AT CGREG 1 OK AT CGREG CGREG 1 0 OK 2 4 8 Select service for MO SMS messages CGSMS Table CGSMS parameter command syntax CGSMS lt service gt 1 OK 2 ERROR CGSMS CGSMS lt service gt CGSMS CGSMS list of currently available lt service gt s Description 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 prefer
72. e could write this as 079 16407058099F9 1000B9 16407861582F50000A704D4E2940A These two have one difference and that is how we have chosen to describe the SCA In the first SMS we use 00 This is a valid SCA with a length equal to zero Therefore we are using the default SCA given by the SIM card or as given by the AT command AT CSCA 07916407058099F9_ Here is the SCA hex encoded binary The first octet 07 is a length indicator in this case there are 7 octets to follow The second octet 91 tells us about the numbering plan and type of number of the coming address In this case the 91 says that the address is in international phone number format Then follows the actual service center address 6407058099F9 Every pair of digits is swap that there is an odd number of digits in the phone number and therefore a half byte of fill digits is required at the end hence the hexadecimal FQ The exact meaning of all the octets and fields in the SCA address is described in detail in 3GPP 23 040 Let s analyze the message by breaking it down into its component parts 11 This octet contains many 1 bit and 2 bit fields that are described in detail in GSM 03 40 These include TP MTI message type indicator TP RD more messages waiting indicator TP VPF validity period format TP SRR status report request flag TP UDHI user data header indicator flag TP RP reply path setting flag 00 This octet is only associated with the 8 bit
73. e new receiver indications 1 Discard indication and reject new received message unsolicited result code when TA TE link is reserved e g Qisda Corporation Qisda in on line data mode Otherwise forward them directly to the TE 2 Buffer unsolicited result codes in the TA when TA TE link is reserved e g in on line data mode and flush them to the TE after reservation Otherwise forward them directly to the TE lt mt gt 0 No SMS DELIVER message to ME indications are routed to the TE Default 1 SMS DELIVER is stored in ME Indication of the memory location is routed to the TE by using the unsolicited result code CMTI lt mem gt lt index gt 2 class 0 class 1 and class 3 SMS DELIVERs are routed directly to the TE using unsolicited result code CMT lt alpha gt lt length gt lt CR gt lt LF gt lt pdu gt PDU mode enabled or CMT lt oa gt lt alpha gt lt scts gt lt tooa gt lt fo gt lt pid gt lt dcs gt lt sca gt lt tosca gt lt length gt lt CR gt lt LF gt lt data gt text mode enabled about parameters in italics refer command CSDH class 0 message and messages in the message waiting indication group discard message may be copied to TE In this case ME shall send the acknowledgement to the network Class2 message and messages in the message waiting indication group store message result in indication as defined in lt mt gt 1 lt bm gt 0 No CBM indications are routed
74. eed the value will be 0 if lt act 3 gt Rx_Speed the value will be 0 if lt act 3 gt Tx_Byte Tx_Kilo Qisda Corporation Qisda Tx_Mega Tx_Giga Tx_Tera Tx_Peta Tx_Exa Rx_Byte Rx_Kilo Rx_Mega Rx_Giga Rx_Tera Rx_Peta Rx_Exa Informative examples Initial the HyperTerminal Initial the MS AT Command AT QTTR QTTR 1 3 OK AT QTTR 2 QTTR 1171 63 10 731 0 0 0 0 0 3 570 0 0 0 0 0 0 OK Tx Speed 1171 Tx Speed 63 Tx Flow 10B 731K 0M OG OT OP OE Rx Flow 3B 570K 0M OG OT OP OE Full Status 0 AT QTTR 3 QTTR 0 0 31 49 2 0 0 0 0 167 311 1 0 0 0 0 0 OK Tx Speed 0 Tx Speed 0 Tx Flow 31B 49K 2M OG OT OP OE Rx Flow 167B 311K 1M 0G OT OP OE Full Status 0 Qisda Corporation Qisda AT QTTR 1 OK 2 5 10 List Messages QMGL Table QMGL Action Command Syntax Text PDU Command Possible response s QMGLI lt stat gt 1 if text mode CMGF 1 and command successful QMGL lt index gt lt stat gt lt oa da gt lt alpha gt lt scts gt lt tooa toda gt lt length gt lt CR gt lt LF gt lt d ata gt lt CR gt lt LF gt 2 if PDU mode CMGF 0 and command successful QMGL lt index gt lt stat gt lt alpha gt lt length gt lt CR gt lt LF gt lt pdu gt lt CR gt lt LF gt CMG L lt index gt lt stat gt lt alpha gt lt length gt lt CR gt lt LF gt lt pdu gt 3 otherw
75. ences Defined Values lt service gt a numeric parameter which indicates the service or service preference to be used 0 Packet Domain 1 circuit switched 2 Packet Domain preferred use circuit switched if GPRS not Qisda Corporation Qisda available 3 circuit switched preferred use Packet Domain if circuit switched not available Other values are reserved and will result in an ERROR response to the set command Informative examples Initial the HyperTerminal Initial the MS AT Command 1 Query CGSMS Support AT CGSMS CGSMS 0 3 OK 2 Set CGSMS AT CGSMS 1 OK AT CGSMS CGSMS 1 OK 2 4 9 Request GPRS service D Table D command syntax D lt GPRS_SC gt lt called_address gt 1 CONNECT I lt L2P gt lt cid gt 2 ERROR Description This command causes the MT to perform whatever actions are necessary to establish communication between the TE and 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 layer2 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 Qisda Corporation Qisda The detailed behavior 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 06 GPRS attachment
76. ers Note that the information text shall not contain the sequence 0 lt CR gt 3 0 0 13 or OK lt CR gt 4 15 4 11 0 13 so that DTE can avoid false detection of the this information text Result codes OK in all cases Informative Examples Initial the HyperTerminal Initial the MS AT Command AT GSN lt serial number gt OK 2 3 1 9 Request complete capabilities list GCAP Table Syntax GCAP Command Possible response s GCAP lt capabilities gt OK Description This extended format command causes the DCE to transmit one or more lines of information text in a specific format The content is a list additional capabilities command lt name gt s which is intended to permit the user of the DCE to identify the overall capabilities of the DCE In particular if the DCE implements a particular DCE control standard that uses Extended Syntax Commands and if that DCE control standard includes command s that indicate general capabilities the lt name gt s of the those commands shall be reported to the DCE in response to a GCAP command See table Table V 25ter Examples of required GCAP responses Qisda Corporation Qisda GCAP response DCE control standard Description FCLASS T class1 F Class1 Facsimile DCE Control Or T class2 F Class2 Facsimile DCE Control MS M commands Modulation Control MS and MR commands MV18S MV18 commands V 18 Modulation Control MV1
77. es and meanings of parameter lt n gt are specified in the following table lt n gt Mode 0 data 1 fax class 2 ITU T T 32 12 and TIA 592 Voice mode is of particular interest here and has an additional result code VCON Specifically VCON indicates that the TA is entering the voice command mode and there is a voice connection to at least one audio input or output This presupposes that some mechanism has previously initiated a connection to that audio I O Informative examples Initial the HyperTerminal Initial the MS AT Command AT FCLASS FCLASS 0 1 OK AT FCLASS 0 OK AT FCLASS 1 OK AT FCLASS 1 OK Qisda Corporation Qisda 2 2 Commands related to short message service SMS Text Mode amp PDU Mode Parameter Definitions The following parameters are used in the subsequent clauses which describe all commands Message Storage Parameters lt index gt lt mem1 gt lt mem2 gt lt mem3 gt lt stat gt integer type 1 256 value in the range of location numbers supported by the associated memory string type memory from which messages are read and deleted defined value BM broadcast message storage ME ME message storage MT any of the storages associated with ME SM U SIM message storage SR status report storage string type memory to which writing and sending operations are made refer lt mem1 gt for defined values string type memory to whic
78. escription This extended format numeric parameter controls whether or not the extended format DR intermediate result code is transmitted from the DCE to the DTE The DR type reported shall represent the current negotiated or renegotiated DCE DCE data compression type If enabled the intermediate result code is transmitted at the point after error control negotiation handshaking at which the DCE has determined which data compression technique will be used if any and the direction of operation The format of this result code is the following see Table 27 Table 27 V 25 ter Data compression reporting intermediate result codes DR NONE Data compression is not in use DR V42B Rec V 42 bis is in use in both directions DR V42B RD Rec V 42 bis is in use in receive direction only DR V42B TD Rec V 42 bis is in use in transmit direction only The DR intermediate result code if enabled is issued after the Error Control Report ER and before the final result code e g CONNECT Defined values See Table 28 Table 28 V 25 ter Data compression reporting values Qisda Corporation Qisda value Description Za Data compression reporting disabled no DR result code transmitted fe et Data compression reporting enabled DR result code transmitted Recommended default setting 0 Information examples Initial the HyperTerminal Initial the MS AT Command AT DR DR 0 1 OK AT DR DR 0 OK AT
79. etection is selected for the range determined by 4 3 and the DCE manufacturer and the character format is also forced to autodetect _ICF O see 6 2 11 Recommended default setting It is recommended that the default for this parameter be the automatic detection setting 0 which facilitates initial DTE DCE communications Information examples Initial the HyperTerminal Initial the MS AT Command AT IPR IPR 300 600 1200 2400 4800 9600 19200 38400 57600 1 15200 230400 OK AT IPR IPR 115200 OK Qisda Corporation Qisda 2 3 1 19 DTE DCE character framing ICF Table Syntax ICF Command Possible response s I CF lt format gt lt parity gt 1 OK 2 ERROR ICF ICF lt format gt lt parity gt OK ICF ICF list of supported format values list of supported parity values OK Description This extended format compound parameter is used to determine the local serial port start stop asynchronous character framing that the DCE shall use while accepting DTE commands and while transmitting information text and result code if this is not automatically determined IPR OforcesICF O see _IPR 6 2 10 Note that the definition of fixed character format for OnLine Data State is for further study format determines the number of bits in the data bits the presence of a parity bit and the number of stop bits in the start stop frame parity determines how the parity bit is generate
80. ge Service Failure Result Code CMS ERROR lt unsolicited gt lt p gt Description Table CMS ERROR parameter Syntax Command Possible response s Wrong CMS ERROR lt err gt Final result code CMS ERROR lt err gt 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 Defined Values 0 127 GSM 04 11 annex E 2 values Unassigned unallocated number Operator determined barring 10 Call barred 21 Short message transfer rejected 27 Destination out of service 28 Unidentified subscriber 29 Facility rejected 30 Unknown subscriber 38 Network out of order 41 Temporary failure Qisda Corporation Qisda 42 Congestion 47 Resources unavailable unspecified 50 Requested facility not subscribed 69 Requested facility not implemented 81 Invalid short message transfer reference value 95 Invalid message unspecified 96 Invalid mandatory information 97 Message type non existent or not implemented 98 Message not compatible with short message protocol state 99 Information
81. gt 3GPP TS 23 040 TP Service Centre Time Stamp in time string format refer lt dt gt 3GPP TS 23 041CBM Serial Number in integer format 3GPP 23 040 TP Status in integer format 3GPP 24 011 TP Destination Address Type of Address octet in integer format when first character of lt da gt is IRA 43 default is 145 otherwise default is 129 Qisda Corporation Qisda lt tooa gt 3GPP 24 011 TP Originating Address Type of Address octet in integer format default refer lt toda gt lt tosca gt 3GPP 24 011 RP SC address Type of Address octet in integer format default refer lt toda gt lt tora gt 3GPP 24 011 TP Originating Address Type of Address octet in integer format default refer lt toda gt lt vp gt depending on SMS SUBMIT lt fo gt setting 3GPP 23 040 TP Validity Period either in integer format default 167 or in time string format refer lt dt gt or if EVPF is supported in enhanced format hexadecimal coded string with double quotes text amp PDU Commands available on both text and PDU mode text Commands available on only text mode PDU Commands available on only PDU mode 2 2 1 General Configuration Commands 2 2 1 1 Select Message Service CSMS Table CSMS parameter command syntax text amp PDU Command Possible response s CSMS lt service gt 1 CSMS lt mt gt lt mo gt lt bm gt 2 CMS ERROR lt err gt CSMS CSMS lt service gt lt mt gt lt mo gt
82. h received SMs are preferred to be stored unless forwarded directly to TE refer command New Message Indications CNMI refer lt mem1 gt for defined values 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 0 REC UNREAD received unread message i e new message 1 REC READ received read message 2 STO UNSENT stored unsent message only applicable to SMS 3 STO SENT stored sent message only applicable toSMS 4 ALL all messages only applicable to CMGL command Message Data Parameters lt alpha gt string type alphanumeric representation of lt da gt or lt oa gt corresponding to the entry found in MT phonebook used character set should be the one selected with command Select TE Character Set CSCS Qisda Corporation Qisda lt da gt lt data gt lt dcs gt lt dt gt lt fo gt lt length gt 3GPP TS 23 40 TP Destination 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 command CSCS in 3GPP TS 27 07 type of address given by lt toda gt In the case of SMS 3GPP TS 23 040 TP User Data in text mode responses format if lt dcs gt indicates that 3GPP TS 23 038 default alphabet is used and lt fo gt indicates that 3GPP TS 23 040 TP User Data Header Indication is not set
83. hone both transmit and receive RF circuits 5 Factory Test Mode 6 Reset UE 7 Offline mode lt rst gt 0 do not reset the ME before setting it to lt fun gt power level 1 reset the MT before setting it to lt fun gt power level Informative examples Initial the HyperTerminal Initial the MS AT Command AT CFUN CFUN 0 1 4 7 0 1 OK AT CFUN CFUN 0 OK AT CFUN 1 OK AT CFUN 4 OK Qisda Corporation Qisda SIM not inserted AT CFUN CFUN 0 OK AT CFUN 1 ERROR AT CFUN CFUN 1 OK 2 1 3 3 Enter PIN CPIN Table CPIN parameter command syntax Command Possible response s CPIN lt pin gt lt newpin gt CME ERROR lt err gt CPIN 1 CPIN lt code gt 2 CME ERROR lt err gt Description Set command sends to the MS a password that is necessary before it can be operated only SIM PIN If no PIN request is pending no action is taken If SIM is useless or SIM is not inserted an error message CME ERROR is returned to the TE Read command returns an alphanumeric string indicating whether some password is required or not Defined values lt pin gt lt newpin gt string type values lt code gt values reserved by the present document READY ME is not pending for any password SIM PIN ME is waiting SIM PIN to be given SIM PIN2 ME is waiting SIM PIN2 to be given this lt code gt is recommended to be returned only when the last executed command resulted in P
84. ible response s V lt value gt 1 If value is 0 0 Qisda Corporation Qisda 2 If value is 1 OK 3 Unsupported values if previous value was VO 4 4 Unsupported values if previous value was V1 ERROR Description 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 If likewise mean the character with the ordinal value specified in parameter S4 See Table 3 Table 3 V 25 ter Effect of V parameter on response formats en Information lt text gt lt cr gt lt lf gt lt cr gt lt lf gt responses lt text gt lt cr gt lt lf gt Result lt numeric code gt lt cr gt lt cr gt lt lf gt codes lt verbose code gt lt cr gt lt lf gt Defined values 0 DCE transmits limited headers and trailers and numeric text 1 DCE transmits full headers and trailers and verbose response text Recommended default setting 1 DCE transmits full headers and trailers and verbose response text Qisda Corporation Q
85. isda Result codes 0 If value is 0 because numeric response text is being used OK If value is 1 4 For unsupported values if previous value was VO ERROR For unsupported values if previous value was V1 Information examples Initial the HyperTerminal Initial the MS AT Command 1 AT CFUN gt CFUN 1 0 ATV gt V 0 0 2 ATV V 1 OK AT CFUN CFUN 1 OK 2 3 1 16 Circuit 109 Received line signal detector behavior amp C Table Syntax amp C Command Possible response s amp C lt value gt OK Description This parameter determines how the state of circuit 109 relates to the detection of received line signal from the distant end Changing the parameter will take effect immediately in both the command and online command states In amp C1 mode of operation circuit 109 is not turned off until all data previously received from the remote DCE is delivered to the local DTE However such buffered data shall be discarded and circuit 109 turned off if the DTE turns off circuit 108 if amp D1 or amp D2 is set Qisda Corporation Qisda Defined values 0 The DCE always presents the ON condition on circuit 109 1 Circuit 109 changes in accordance with the underlying DCE which may include functions other than the physical layer functions e g Recommendations V 42 V 110 V 120 and V 13 Recommended default setting 1 Circuit 109 changes in accordance with the underlying DCE which ma
86. ise ERROR QMGL QMGL list supported lt stat gt s Description Text mode CMGF 1 Execution command returns messages with status value lt stat gt from message storage lt mem1 gt 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 will not change to received read Means status still in received unread Message will change from unread to read status after send AT CMGR lt index gt command If listing fails final result code CMS ERROR lt err gt is returned NOTE If the selected lt mem1 gt can contain different types of SMs e g SMS DELIVERs SMS SUBMITs 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 Qisda Corporation Qisda PDU mode CMGF 0 Execution command returns messages with status value lt stat gt from preferred message storage lt mem1 gt to the TE Entire data units lt pdu gt are returned If status of the message is received unread status in the storage will not change to received read Means status still in received unread Message will change from unread to read status after send AT CMGR lt index gt command If listing fails final result code CMS ERROR lt err gt is returned Defined values lt stat gt
87. kpdu gt ESC gt 2 if sending fails CMS ERROR lt err gt Description Execution command sends a command message from a TE to the network SMS COMMAND The entering of PDU is done similarly as specified in command Send Message CMGS Message reference value lt mr gt is returned to the TE on successful message delivery Optionally when CSMS lt service gt value is 1 and network supports lt ackpdu gt 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 lt err gt is returned See chapter Message Service Failure Result Code for a list of lt err gt values This command should be abortable Informative Examples Initial the HyperTerminal Initial the MS AT Command AT CMGF 0 OK AT CMGL 4 CMGL 1 1 24 0791889663000009040C918896063530550000702 1 102263022305F4F29C 1E03 CMGL 11 3 19 068190130000991 12A0A8190253001 1500108FO6ED72FB2DCF03 CMGL 14 3 19 068190130000993 12E0A8190823900460000FF06351B2E379301 OK Qisda Corporation Qisda AT CMGC 19 gt 068190130000993 12E0A8 190823900460000FF0635 1B2E379301 CMGC 48 OK 2 3 Commands specified by ITU T Rec V25ter as by GSM Rec 07 07 2 3 1 Generic TA control commands 2 3 1 1 Repeating a command line A Description If the prefix A or a is received IA5 4 1 2 15 or 6 1 2 15 the DCE shall immediatel
88. l Initial the MS without SIM card AT Command AT CGMR lt CR gt SW Ver 0 04 SW Type 1 HW Ver 04 HW Type 0 Build Date Jul 29 2008 Build Time 18 05 49 2 1 1 4 Request product serial number identification CGSN Table CGSN parameter command syntax Command Possible response s CGSN 1 lt IMEI gt OK 2 CME ERROR lt err gt Qisda Corporation Qisda Description Read serial number identification which determined by ME manufacturer Defined values lt sn gt total number of characters shall not exceed 2048 characters Informative examples Initial the HyperTerminal Initial the MS without SIM card AT Command AT CGSN lt CR gt 359095000360270 OK 2 1 1 5 Select TE character set CSCS Table CSCS parameter command syntax Command Possible response s CSCS lt chset gt 1 OK 2 ERROR CSCS CSCS lt chset gt CSCS CSCS list of supported lt chset gt s Description Set command informs TA of which character set lt chset gt 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 used TE alphabet is 7 bit the highest bit shall be set to zero Read command returns the current setting and test command displays conversion schemes implemented in the TA Defined values lt chset gt string type Qisda Corporation Qisda Comma
89. ll available network and manual selection of network AT COPS COPS 1 Far EasTone Tele Far EasT 46601 0 2 Far EasTone Tele Far EasT 46601 2 1 KG Telecom KGT 46688 0 3 Taiwan Cellular TWNGSM 46697 2 3 Chunghwa Telecom Chunghwa 46692 2 3 46689 2 3 Chunghwa Telecom Chunghwa 46692 0 3 Taiwan Cellular TWNGSM 46697 0 0 1 3 4 0 1 2 OK AT COPS 1 2 46692 0 OK 2 1 2 4 Facility Lock AT t CLCK Table CLCK parameter command syntax Command Possible response s CLCK lt fac gt lt mode gt lt 1 Right OK passwd gt When lt mode gt 2 and command successful 2 Right CLCK lt status gt lt class gt 3 Wrong CME ERROR lt er gt CLCK 1 CLCK list of supported lt fac gt s 2 CME ERROR lt err gt Description Execution command is used to lock unlock or interrogate a ME or a network facility lt fac gt Password is normally needed to do such actions When querying the status of a network service lt mode gt 2 the response line for not active case lt status gt 0 should be returned only if service is not active for any Qisda Corporation Qisda lt class gt This command should be abortable when network facilities are set or interrogated Call barring facilities are based on GSM supplementary services The interaction of these with other commands based on other GSM supplementary services is described in th
90. lt bm gt CSMS CSMS list of supported lt service gt s Description Set command selects messaging service lt service gt It returns the types of messages supported by the ME lt mt gt for mobile terminated messages lt mo gt for mobile originated messages and lt bm gt for broadcast type messages If chosen service is not supported by the ME but is supported by the TA final result code CMS ERROR lt err gt shall be returned See chapter Message Service Failure Result Code for a list of lt err gt values Also read command returns supported message types along the current service setting Test command returns a list of all services supported by the TA Defined values lt service gt Qisda Corporation Qisda 0 GSM 03 40 and 03 41 1 GSM 03 40 and 03 41 the requirement of lt service gt setting 1 is mentioned under corresponding command descriptions lt mt gt lt mo gt lt bm gt 0 type not supported 1 type supported Informative examples Initial the HyperTerminal Initial the MS AT Command 1 Set Message Service AT CSMS 0 CSMS 1 1 1 OK 2 Show Message Service AT CSMS CSMS 0 1 1 1 OK 2 2 1 2 Preferred Message Storage CPMS Table CPMS parameter command syntax Command Possible response s CPMS lt mem1 gt lt mem 1 2 gt lt mem3 gt CPMS lt used1 gt lt total1 gt lt used2 gt lt total2 gt lt used3 gt lt total3 gt 2 CMS ERROR lt err gt CP
91. lt gt Disable network registration unsolicited result code 1 Enable network registration unsolicited result code CREG lt stat gt lt state gt integer value 0 Not registered ME is not currently searching a new operator to register to NO SERVICE 1 Registered home network 2 Limiting Service not registered but ME is currently searching a new operator to register to 3 Limiting Service registration denied 4 Unknown 5 Registered roaming Informative examples Qisda Corporation Qisda Initial the HyperTerminal Initial the MS AT Command 1 Disable network registration unsolicited result code AT CREG 0 OK 2 Enable network registration unsolicited result code AT CREG 1 OK 3 Returns the status of current network registration AT CREG CREG 1 1 OK 4 Query all status AT4 CREG CREG 0 1 OK 2 1 2 3 Operator selection COPS Table COPS parameter command syntax Command Possible response s Qisda Corporation Qisda COPS lt mode gt lt forma CME ERROR lt err gt t gt lt oper gt lt AcT gt COPS 1 COPS lt mode gt lt format gt lt oper gt lt AcT gt 2 CME ERROR lt err gt COPS 1 COPS list of supported lt stat gt long alphanumeric lt oper gt short alphanumeric lt oper gt numeric lt oper gt lt AcT gt s list of supported lt mode gt s list of supported lt format gt s 2 CME ERROR
92. lt is empty string e g 0 3 5 Note Supported values for parameter lt mids gt and lt dcss gt maximum of 20 ranges could be declared for each parameter Informative examples Initial the HyperTerminal Initial the MS AT Command Qisda Corporation Qisda 1 read message types AT CSCB CBCB 0 1 4 10 2 3 2 set message types Note the number of lt mids gt and lt dcss gt depends on services scope of the service provider a set lt mids gt lt dcss gt in the command to be accepted And the number of lt mids gt lt dcss gt are in the supported range AT CSCB 0 1 4 5 3 4 CMS ERROR 302 OK AT CSCB CSCB 0 0 221 1 30 200 3084 22 300 4 40 223 2 20 5 3 4 OK b lt mids gt or lt dcss gt setting are out of the supported range AT CSCB 0 65536 7 8 CMS ERROR 302 AT CSCB CSCB 0 0 221 1 30 200 3084 22 300 4 40 223 2 20 5 7 8 OK Note The values are set step by step so the values behind the supported range are discarded with a CMS error c set lt mids gt or lt dcss gt in the command to be unaccepted AT CSCB 1 2 5 8 OK AT CSCB CSCB 1 0 221 1 30 200 3084 22 300 4 40 223 2 20 5 8 OK Qisda Corporation Qisda 2 2 3 Message Receiving and Reading Commands 2 2 3 1 New Message Indications to TE CNMI Table CNMI parameter command syntax text amp PDU Command Possible response s CNM
93. m a TE to the network Qisda Corporation Qisda SMS COMMAND The entering of text 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 Informative Examples Initial the HyperTerminal Initial the MS AT Command AT COPS COPS 0 2 46601 0 OK AT CSCA CSCA 0931000099 129 OK AT CSCA 093 1000099 129 OK AT CMGF 1 OK AT CMGCz 0928930064 gt abcdef CMGC 45 OK 2 2 5 PDU Mode 2 2 5 1 List Message CMGL Table CMGL Action Command Syntax PDU Qisda Corporation Qisda CMGLI lt stat gt Description 1 if PDU mode CMGF 0 and command successful CMGL lt index gt lt stat gt lt alpha gt lt length gt lt CR gt lt LF gt lt pdu gt lt CR gt lt LF gt CM GL lt index gt lt stat gt lt alpha gt lt length gt lt CR gt lt LF gt lt pdu gt 2 otherwise CMS ERROR lt err gt CMGL list of supported lt stat gt s Execution command returns messages with status value lt stat gt from preferred message storage lt mem1 gt to the TE Entire data units lt pdu gt 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 lt err gt is returned Test command shall give a list of all status values supported by the
94. mands Figure 1 1 illustrates the interface In section 2 we will divide the content into ten subsections They are about SIM list management mobility management supplementary service short message cell broadcast base band and the other service Te MS Figure 1 1 Explanation ME Mobile equipment Mobile station Basically a mobile station is mobile equipment with a SIM card Terminal Equipment that is the same as the controller in this case MS TE Getting started For testing AT commands the MS can be connected to any computer environment as long as it has a V 24 V 28 serial interface The commands can be issued with for example HyperTerminal in Microsoft Windows or other emulator programs Syntax description The section gives a brief description of the syntax used for the command set The MS may echo characters received depending on the setting of the command E As a default echo is enabled and characters are echoed at the same rate parity and format as received Qisda Corporation Qisda The character defined by parameter S5 default BS IRA 8 is interpreted as request from the TE to delete the previous character Carriage return character whose value is specified by command S3 default IRA 13 Line feed character whose value is specified by command S4 default IRA 10 The name enclosed in angle brackets is a syntactical lt gt element The brackets do not appear in the command line Strings e
95. manual selection fails automatic mode lt mode gt 0 is entered lt format gt integer value O default long format alphanumeric lt oper gt 1 short format alphanumeric lt oper gt 2 numeric lt oper gt lt oper gt string type lt format gt 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 9 numeric format is the GSM Location Area Identification number refer TS 24 008 8 subclause 10 5 1 3 which consists of a three BCD digit country code coded as in ITU T Qisda Corporation Qisda E 212 AnnexA 10 plus a two BCD digit network code which is administration specific returned lt oper gt 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 3 network code digit 2 network code digit 1 lt state gt integer value 0 unknown 1 available 2 current 3 forbidden lt AcT gt integer value 0 GSM only 2 WCDMA only Informative examples Initial the HyperTerminal Initial the MS AT Command 1 network connection GSM only AT COPS 0 0 OK AT WS46 12 OK WCDMA only AT COPS 0 2 OK AT WS46 22 OK WCDMA and GSM AT COPS 0 OK Qisda Corporation Qisda AT WS46 25 OK AT COPS COPS 0 0 Far EasTone Tele 2 OK 2 List a
96. mat of messages to use lt mode gt indicates the format of messages used with send list read and write commands and unsolicited result codes resulting from received messages Qisda Corporation Qisda Mode can be either PDU mode entire TP data units used or text mode headers and body of the messages given as separate parameters Text mode uses the value of parameter lt chset gt specified by command Select TE Character Set CSCS to inform the character set to be used in the message body in the TA TE interface Test command returns supported modes as a compound value Defined values lt mode gt 0 PDU mode default 1 text mode Informative examples Initial the HyperTerminal Initial the MS AT Command 1 Set Text Mode AT CMGF 1 OK AT CMGF CMGF 1 OK 2 Set PDU mode default AT CMGF CMGF 0 OK 2 2 2 Message Configuration Commands 2 2 2 1 Service Centre Address CSCA Table CSCA parameter command syntax text amp PDU Command Possible response s CSCA lt sca gt lt tosca gt 1 OK 2 ERROR Qisda Corporation Qisda CSCA CSCA lt sca gt lt tosca gt Description Set command updates the SMSC address through which mobile originated SMs are transmitted In text mode setting is used by send and write commands In PDU mode setting is used by the same commands but only when the length of the SMSC address coded into lt pdu gt parameter equals
97. memory failed 321 Invalid memory index 322 Memory full 330 SMSC address unknown 331 No network service 332 Network timeout 500 Unknown error O11 Other values within the range from 256 to 511 are reserved 512 Fail to abort 513 ACM reset needed 520 Invalid parameter in primitive 521 Entity is busy 523 SMS service not supported on SIM 555 Memory full and at least one SMS in SC 2 6 3 Extended Error result code EXT ERROR lt unsolicited gt lt p gt Table EXT ERROR parameter Syntax Command Possible response s Wrong EXT ERROR lt err gt Defined Values Qisda Corporation Qisda Code of lt err gt Meaning 1 Parameter not allowed 2 Data corrupted 3 Internal error 4 Call table full 5 Service table full 6 Call not found p No data call supported 8 One call on hold 9 Hold call not supported for this type 10 Number not allowed by FDN 11 Number not allowed by BDN 12 Parallel USSD not supported 13 Fax minimum speed condition 14 Conflict with command details 15 Error unknown 100 Other error 2 6 4 UMTS specific cause values for call control CEER lt unsolicited gt lt p gt See 3GPP 24 008 Annex H for more detail information Defined Values ID Meaning 1 unassigned number no route to destination channel unacceptable operator determined barring 16 normal call clearing 17 18 u
98. mode default REC UNREAD indicates the status of message in memory defined values 0 REC UNREAD received unread message i e new message 1 REC READ received read message 2 STO UNSENT stored unsent message only applicable to SMS 3 STO SENT stored sent message only applicable toSMS 4 ALL all messages only applicable to CMGL command Informative examples Initial the HyperTerminal Initial the MS AT Command AT CMGF 1 OK AT CMGL ALL CMGL 2 STO UNSENT 0921214863 129 4 TEST OK AT CMGL STO UNSENT CMGL 2 STO UNSENT 0921214863 129 4 Qisda Corporation Qisda TEST OK 2 2 3 3 Read Message CMGR Table CMGR Action Command Syntax text Command Possible response s CMGR lt index gt lt State 1 if text mode CMGF 1 command gt successful and SMS DELIVER CMGR lt stat gt lt oa gt lt alpha gt lt scts gt lt tooa gt lt fo gt lt pid gt lt dcs gt lt sca gt lt tosca gt lt length gt lt C R gt lt LF gt lt data gt 2 if text mode CMGF 1 command successful and SMS SUBMIT CMGR lt stat gt lt da gt lt alpha gt lt toda gt lt fo gt lt pid gt lt dcs gt lt vp gt lt sca gt lt tosca gt lt length gt lt CR gt lt LF gt lt data gt 3 If reading fails CMS ERROR lt err gt Description Execution command returns message with location value lt index gt from message storage lt mem1 gt to the TE Ab
99. n_negotiation which specifies whether or not the DCE should continue to operate if the desired result is not obtained max_dict which specifies the maximum number of dictionary entries which should be negotiated may be used by the DTE to limit the codeword size transmitted based on its knowledge of the nature of the data to be transmitted max_string which specifies the maximum string length to be negotiated V 42 bis P2 Qisda Corporation Qisda Defined values See Table 26 Table 26 V 25 ter Data compression control subparameters ean tn Negotiated no compression V 42 bis PO ee Both directions accept any direction V 42 bis PO compression Description _ negotiation Do not disconnect if Rec V 42 bis is not negotiated by the remote DCE as specified in direction Disconnect if Rec V 42 bis is not negotiated by the remote DCE as specified in direction Recommended default settings For direction 3 For compression_negotiation 0 For max_dict Determined by the manufacturer For max_string 6 Information examples Initial the HyperTerminal Initial the MS AT Command AT DS DS 0 0 2048 6 OK AT DS DS 0 3 0 512 2048 6 Qisda Corporation Qisda OK 2 3 2 2 Data compression reporting DR Table Syntax DR Command Possible response s DR lt value gt 1 OK 2 ERROR DR DR lt value gt DR DR list of supported values D
100. nce gt lt delay gt 2 ERROR lt reliability gt lt peak gt lt mean gt CGQMIN CGQMIN lt cid gt lt precedence gt lt delay gt lt reliability gt lt peak gt lt mean gt lt CR gt lt LF gt CGQMIN lt cid gt lt precedence gt lt delay gt lt reliability gt lt peak gt lt mean gt Qisda Corporation Qisda CGQMIN CGQMIN lt PDP_type gt list of supported lt precedence gt s list of supported lt delay gt s list of supported lt reliability gt s list of supported lt peak gt s list of supported lt mean gt s lt CR gt lt LF gt CGQMIN lt PDP_type gt list of supported lt precedence gt s list of supported lt delay gt s list of supported lt reliability gt s list of supported lt peak gt s list of supported lt mean gt s 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 lt cid gt Since this is the same parameter that is used in the CGDCONT and CGDSCONT commands the CGQMIN command is effectively an extension to these commands 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 C
101. nclosed in square brackets are optional items sub parameters The brackets do not appear in the command line lt CR gt lt LF gt Other characters including 7 parentheses etc appear in commands and response as written AT command syntax 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 MS supports a set of commands referred to as basic syntax commands and a set of extended syntax commands the latter prefixed with a plus sign Basic syntax command The format of basic syntax commands except for the command D is as follows lt name gt lt value gt Example ATV1 lt CR gt set text form result codes lt CR gt lt LF gt OK lt CR gt lt LF gt response Extended syntax command lt name gt lt value gt Example AT CMUT 0 lt CR gt the representation of signal strength lt CR gt lt LF gt OK lt CR gt lt LF gt response Test command syntax lt name gt Example AT CFUN lt CR gt show supported CFUN values Qisda Corporation Qisda lt CR gt lt LF gt CFUN 0 1 4 7 0 1 lt CR gt lt LF gt lt CR gt lt LF gt OK lt CR gt lt LF gt Read command syntax lt name gt Example AT CACM lt CR gt show current accumulated call meter value lt CR gt lt LF gt CACM 0 lt CR gt lt LF gt response lt CR gt lt LF gt OK lt CR gt lt LF gt If the indica
102. ncy number CPBW is not be applicable for this storage ON Own number lt used gt the used entry numbers within the selected storage lt total gt the all entry numbers within the selected storage Informative examples Initial the HyperTerminal Initial the MS AT Command 1 Set command AT CPBS FD XXXX XXXX gt PIN 2 OK AT CPBS CPBS FD 2 3 OK Qisda Corporation Qisda 2 Read command AT CBPS CPBS SM 17 100 OK 3 Test command AT CPBS CPBS SM DC FD MC ME RC EN ON OK 2 1 4 2 Read phonebook entries CPBR Table CPBR parameter command syntax Command Possible response s CPBR lt index1 gt lt index2 gt 1 CPBR lt index1 gt lt number gt lt type gt lt text gt lt CR gt lt LF gt CPBR lt index2 gt lt number gt lt type gt lt text gt 2 CME ERROR lt err gt CPBR 1 CPBR list of supported lt index gt s lt nlength gt lt tlength gt 2 CME ERROR lt err gt Description 1 Execution command returns phonebook entries in location number range lt index1 gt lt index2 gt from the current phonebook memory storage selected with CPBS If lt index2 gt is left out only location lt index1 gt is returned Entry fields returned are location number lt indexn gt phone number stored there lt number gt of format lt type gt and text lt text gt associated with the number If all
103. nd Possible response s IRA default International reference alphabet GSM GSM default alphabet UCS2 16 bit universal multiple octet coded character set UCS2 character strings are converted to hexadecimal numbers from 0000 to FFFF e g 004100620063 equals three 16 bit characters with decimal values 65 98 and 99 Informative examples Initial the HyperTerminal Initial the MS without SIM card AT Command 1 AT CSCS lt CR gt CSCS IRA GSM UCS2 OK 2 AT CSCS GSM CSCS GSM OK AT CSCS lt CR gt CSCS GSM OK 3 AT CSCS GSM OK AT CPBR 1 10 CPBR 1 0920933828 129 Tina CPBR 2 886227998800 145 Qisda CPBR 3 123456789 129 test CPBR 4 876425 129 qwe CPBR 5 7514876543 129 afe OK AT CSCS UCS2 OK AT CPBR 1 10 Qisda Corporation Qisda CPBR 1 0920933828 129 00540069006E0061 CPBR 2 886227998800 145 00420065006E005 1 CPBR 3 123456789 129 0074006500730074 CPBR 4 876425 129 007 100770065 CPBR 5 7514876543 129 006100660065 OK 2 1 1 6 Request international mobile subscriber identity CIMI Table CIMI parameter command syntax Command Possible response s CIMI 1 lt IMSI gt OK 2 CME ERROR lt err gt Description Execution command causes the TA to return lt IMSI gt which is intended to permit the TE to identify the individual SIM that is attached
104. no TI available 202 timer 303 expiry 203 establishment failure 210 no error 211 212 operation failed timeout 213 bearer service not compatible Qisda Corporation
105. nstead of the one stored with the message Reference value lt mr gt is returned to the TE on successful message delivery If sending fails in a network or an ME error final result code CMS ERROR lt err gt is returned This command should be aborted Informative Examples Initial the HyperTerminal Initial the MS AT Command AT CMSS 8 CMSS 3 OK 2 2 5 5 Write Message to Memory CMGW Table CMGW Action Command Syntax PDU If PDU mode CMGF 0 1 CMGW lt index gt CMGW lt length gt lt stat gt lt CR gt 2 CMS ERROR lt err gt PDU is given lt ctrl Z ESC gt Description Execution command stores a message either SMS DELIVER or SMS SUBMIT to memory storage lt mem2 gt Memory location lt index gt of the stored message is returned By default message status will be set to stored unsent but parameter lt stat gt allows also other status values to be given The entering of PDU is done similarly as specified in command Send Message CMGS If writing fails final result code CMS ERROR lt err gt is returned Note SMS COMMANDs and SMS STATUS REPORTs cannot be stored in text mode Informative Examples Qisda Corporation Qisda Reopen 2 2 5 6 Send Command CMGC Table CMGC Action Command Syntax Command Possible response s If PDU mode CMGF 0 1 If PDU mode CMGF 0 and sending CMGC lt length gt lt CR gt successful gt PDU is fiven lt ctrl z CMGC lt mr gt lt ac
106. null string even if an address has been allocated during the PDP startup procedure The allocated address may be read using the CGPADDR command lt d_comp gt a numeric parameter that controls PDP data compression 0 off default if value is omitted 1 on Other values are reserved lt h_comp gt a numeric parameter that controls PDP header compression O off default if value is omitted 1 on Other values are reserved NOTE At present only one data compression algorithm V 42bis is provided in SNDCP If and when other algorithms become available a Qisda Corporation Qisda command will be provided to select one or more of these lt pd1 gt lt pdN gt zero to N string parameters whose meanings are specific to the lt PDP_type gt For PDP type OSP IHOSS the following parameters are defined lt pd1 gt lt host gt the fully formed domain name extended hostname of the Internet host lt pd2 gt lt port gt the TCP or UDP port on the Internet host lt pd3 gt lt protocol gt the protocol to be used over IP on the Internet TCP or UDP Informative examples Initial the HyperTerminal Initial the MS AT Command 1 Set APN for TWNGSM AT CGDCONT 1 IP internet OK 2 Query CGDCONT AT CGDCONT CGDCONT 1 IP internet 0 0 2 4 2 Quality of Service Profile Request CGQREQ Table CGQREQ parameter command syntax Possible Response s CGQREQ lt cid gt
107. of the device Typically the text will consist of a single line containing the version of the product but manufacturers may choose to provide any information desired The total number of characters including line terminators in the information text returned in response to this command shall not exceed 2048 characters Note that the information text shall not contain the sequence 0 lt CR gt 3 0 0 13 or OK lt CR gt 4 15 4 11 0 13 so that DTE can avoid false detection of the this information text Result codes OK in all cases Informative Examples Initial the HyperTerminal Initial the MS AT Command AT GMR SW Ver 0 04 SW Type 1 HW Ver 04 HW Type 0 Build Date Jul 29 2008 Build Time 18 05 49 OK 2 3 1 8 Request product serial number identification GSN Table Syntax GSN Command Possible response s GSN lt serial number gt OK Description This command causes the DCE to transmit one or more lines of information text determined by the manufacturer which is intended to permit the user of the DCE to identify the individual device Typically the text will consist of a single line containing a manufacturer determined alpha numeric string but Qisda Corporation Qisda manufacturers may choose to provide any information desired The total number of characters including line terminators in the information text returned in response to this command shall not exceed 2048 charact
108. om a few bytes to several thousand bytes or more and should be prepared to encounter ERROR responses if the value is not recognized Informative Examples Initial the HyperTerminal Initial the MS AT Command 1 ATI lt manufacturer1 gt OK 2 ATIO lt manufacturerl gt OK 3 ATII lt manufacturer2 gt OK 4 ATI2 Qisda Corporation Qisda ERROR 2 3 1 5 Request manufacturer identification GMl Table Syntax GMl Command Possible response s GMI lt manufacturer gt OK Description This command causes the DCE to transmit one or more lines of information text determined by the manufacturer which is intended to permit the user of the DCE to identify the manufacturer Typically the text will consist of a single line containing the name of the manufacturer but manufacturers may choose to provide more information if desired e g address telephone number for customer service etc The total number of characters Including line terminators in the information text returned in response to this command shall not exceed 2048 characters Note that the information text shall not contain the sequence 0 lt CR gt 3 0 0 13 or OK lt CR gt 4 15 4 11 0 13 so that DTE can avoid false detection of the this information text Result codes OK In all cases Informative Examples Initial the HyperTerminal Initial the MS AT Command AT GMI OK AT GMI ERROR AT GMI lt manufac
109. ompatibility modes NOTE The dial string conforms to the syntax specified in GSM 02 30 Defined Values lt GPRS_SC gt GPRS Service Code a digit string value 99 which identifies a request to use the GPRS Qisda Corporation Qisda lt called_address gt a string that identifies thecalled party in the address space applicable to the PDP For communications software that does not support arbitrary characters in the dial string a numeric equivalent may be used Also the character comma May be used as a substitute for the character period lt host gt lt port gt lt protocol gt where lt host gt lt port gt and lt protocol gt are defined in the CGDCONT description For communications software that does not support arbitrary characters in the dial string a numeric equivalent may be used However this should be avoided if at all possible lt L2P gt 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 a numeric equivalent shall be used 0 NULL 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 lt L2P gt and lt called_address gt strings are therefore specified as containing digits 0 9
110. onebook memory lt number gt string type indicating the phone number of format lt type gt lt type gt integer value indicating type of address octet in integer format lt text gt lt findtext gt string type character set specified by command select TE character Set CSCS lt nlength gt integer value indicating the maximum length of field lt number gt lt tlength gt integer value indicating the maximum length of field lt text gt Informative examples Initial the HyperTerminal Initial the MS Qisda Corporation Qisda AT Command AT CPBS SM OK 33 List all phonebook entries start with DA AT CPBF DA CPBF 1 27998800 129 DAVID CPBF 5 123456 129 dad CPBF 8 222222 129 Davis CPBF 10 99999 129 dAllen OK 2 1 4 4 Write phonebook entry CPBW Table CPBW parameter command syntax Command Possible response s CPBW lt index gt lt numbe CME ERROR lt err gt r gt lt type gt lt text gt CPBW 1 CPBW list of supported lt index gt s lt nlength gt list of supported lt type gt s lt tlength gt 2 CME ERROR lt err gt Description Set command writes phonebook entry in location number lt index gt of phonebook memory lt storage gt excluding DC LD MC and RC Entry fields written are phone number lt number gt in the format lt type gt and text lt text gt associ
111. only lt cid gt a digit string which specifies a particular PDP context definition see CGDCONT command Qisda Corporation Qisda 2 5 H21 specific AT Commands 2 5 1 Reset QCPWRDN Table QCPWRDN parameter command syntax QCPWRDN OK Description This command is used to reset the module The module is controlled by hardware we do not support SW power off If you want to save power please turn off RF to save power AT CFUN 4 Defined values Listing the parameters and defining the values Informative examples Initial the HyperTerminal Initial the MS AT Command power off the module AT QCPWRDN OK 2 5 2 List phonebook BQVCARDL VCARD version only Table BQVCARDL parameter command syntax Command Possible Response s BQVCARDL lt storage gt 1 BQVCARDL lt storage gt list of exist lt index gt s OK 2 BQVCARDERR lt err gt BQVCARDL BQVCARDL lt storage gt Description Qisda Corporation Qisda This command is used to list indexes with records exist Defined values lt storage gt SM Abbreviated dialing numbers lt err gt 0 Success 1 Out of memory 2 Invalid index 3 Invalid Storage 4 Invalid parameter 5 Unknown error 32768 Timeout Informative examples Initial the HyperTerminal Initial the MS AT Command AT BQVCARDL SM BQVCARDL SM 1 2 3 4 5 OK AT BQVCARDL BQVCARDL SM OK 2 5 3 Read phonebook to V
112. 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 setting both lt mt gt and lt ds gt values of CNMI to zero Qisda Corporation Qisda If command is executed but no acknowledge is excepted or some other ME related error occurs final result code CMS ERROR lt err gt is returned See chapter Message Service Failure Result Code for a list of lt err gt values NOTE In case that a directly routed message must be buffered in ME TA possible when CNMI parameter lt mode gt 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 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 command CNMI for more details how to use lt mode gt parameter reliably Informative examples None Support 2 2 4 Message Sending and Writing Commands 2 2 4 1 Send Message CMGS Table CMGS Action Command Syntax text Command Possible response s if text mode CMGF 1 1 if text mode CMGF 1 and sending
113. or not detectable lt ber gt 99 Unknown or not detectable Informative examples Initial the HyperTerminal Initial the MS AT Command AT CSQ CSQ 2 31 99 99 OK AT CSQ CSQ 31 99 OK 2 1 3 5 Restricted SIM access CRSM Table CRSM action command syntax CRSM lt command gt lt fileid gt 1 CRSM lt sw1 gt lt sw2 gt lt response gt lt P 1 gt lt P2 gt lt P3 gt lt data gt 2 CME ERROR lt err gt Description 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 lt command gt and its required parameters ME Qisda Corporation Qisda 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 lt sw1 gt and lt sw2 gt parameters Coordination of command requests to SIM and the ones issued by GSM UMTS application inside the ME is implementation dependent However the TE should be aware of the precedence of the GSM UMTS application commands to the TE commands Defined values lt command gt command passed on by the ME to the SIM 176 READ BINARY 178 READ RECORD 192 GET RESPONSE 214 UPDATE BINARY
114. out 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 lt err gt is returned lt State gt If lt State gt equal to 1 MS will not change the reading state of the message If lt State gt equal to 0 MS will change the reading state of the message Informative examples Initial the HyperTerminal Initial the MS AT Command 1 read the message AT CMGR 0 CMGR 1 CMGR 2 CMGR 2 26 Qisda Corporation Qisda 07918896834348221 1B602812500008F13683A 1DAE7BBDEEF7BB4B5C 76C75DE3771B CMGR 2 26 07918896834348221 1B602812500008F13683A 1DAE7BBDEEF7BB4B5C 76C75DE3771B CMGR 2 36 07918896834348225 1B702812200008F1E040D021800A0E974B8EEFSB ADFEF2E71D91D778DDF6D90 3A4C0601 2 reading fail AT CMGR 3 ERROR 2 2 3 4 NEW Message Acknowledgement to ME TA CNMA Table CNMA Action Command Syntax Command Possible response s If text mode CMGF 1 CMS ERROR lt err gt CNMA CNMA Description Execution command confirms correct reception of a new message SMS DELIVER or SMS STATUS REPORT which is routed directly to the TE refer command CNMI tables 2 and 4 This acknowledgement command causing ME to send RP ACK to the network shall be used when CSMS parameter lt service gt equals 1 TAshall not send another CMT
115. perator names COPN 31 2 1 2 9 Time Zone Reporting CTZR 32 2 1 3 Mobile control and status commands 32 2 1 3 1 Phone activity status CPAS 32 2 1 3 2 Set phone functionality CFUN 33 2 1 3 3 Enter PIN CPIN 35 2 1 3 4 Signal quality CSQ 36 2 1 3 5 Restricted SIM access ORSM 37 2 1 4 Commands related with phonebook service 39 2008 Qisda Corporation Confidential Property AT Command User Manual i Version 1 0 14 2008 12 24 Qisda 2 1 4 1 Select phonebook memory storage CPBS 39 2 1 4 2 Read phonebook entries CPBR 41 2 1 4 3 Find phonebook entries CPBF
116. queried locations are empty but available no information text lines may be returned and CME ERROR lt err gt can be returned If list setting fails in an ME error CME ERROR lt err gt is returned 2 If it is possible to show Chinese name in phone book character set CSCS has better to set UCS2 first Qisda Corporation Qisda Defined values lt index1 gt lt index2 gt integer type value in the range of location numbers of phonebook memory lt number gt string type indicating the phone number of format lt type gt lt type gt integer value indicating type of address octet in integer format lt text gt string type character set specified by command select TE character Set CSCS lt nlength gt integer value indicating the maximum length of field lt number gt lt tlength gt integer value indicating the maximum length of field lt text gt Informative examples Initial the HyperTerminal Initial the MS AT Command 1 Read the phonebook from index to index2 and neglect the blank record AT CPBS SM OK AT CPBR 1 5 CPBR 1 27998800 129 David CPBR 3 27998800 129 JENNY CPBR 5 27998800 129 Davis OK 2 Chinese name may appear in phone book SM AT CSCS UCS2 OK AT CPBR 61 70 CPBR 61 0920960846 129 004D004 10047 CPBR 62 0928844716 129 54335FB7660E CPBR 63 0928836001 129 92809234 CPBR 70 0935657249 129 0053002D0042004C00410
117. railer 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 Defined values 0 to 127 Set command line termination character to this value Mandatory default setting 13 Carriage return character CR IA5 0 13 Information examples Initial the HyperTerminal Initial the MS AT Command ATS3 013 OK Qisda Corporation Qisda ATS3 13 OK 2 3 1 11 Response formatting character S4 Table Syntax S4 Command Possible response s S4 lt values gt 1 OK 2 ERROR S4 lt values gt Description This S parameter represents the decimal IA5 value of the character generated by the DCE 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 If the value of S4 is changed in a command line the result code issue
118. response format V 92 2 3 1 16 Circuit 109 Received line signal detector behavior amp C 94 2 3 1 17 Circuit 108 Data terminal ready behavior amp D 95 2 3 1 18 Fixed DTE rate IPR rr a cnn ence nnnnnnnnenen 96 2 3 1 19 DTE DCE character framing ICF 98 2 3 1 20 DTE DCE local flow control IFC 99 2 3 2 Data Compression commands 101 2 3 2 1 Data compression DS 101 2 3 2 2 Data compression reporting DR 103 2 4 GPRS related commands 202 2 20n sen nen nen nen ne nee nen nenes 104 2 4 1 Define PDP Context CGDCONT 104 2 4 2 Quality of Service Profile Request CGQREQ 107 2 4 3 Quality of Service Profile Minimum acceptable CGQMIN 109 2 4 4 GPRS attach or detach CGATT
119. ress octet in integer format default 145 when dialing string includes international access code character otherwise 129 lt subaddr gt string type subaddress of format specified by lt satype gt lt satype gt type of subaddress octet in integer format default 128 lt Time gt 1 30 when no reply is enabled or queried this gives the time in seconds to wait before call is forwarded default value 20 lt Status gt 0 Not active 1 Active Informative examples Initial the HyperTerminal Initial the MS AT Command 1 Query status AT CCFC 0 2 Query the status of unconditional forwarding CCFC 0 255 Interrogated result not active voice OK 2 Registration Before enable disable and erasure you should register the SS service AT CCFC 0 3 0123456789 Register unconditional forwarding to 0123456789 and activated the service OK It doesn t mean that the SS service is registered successfully You should query the status to confirm the result AT CCFC 0 2 CCFC 1 1 0123456789 129 Qisda Corporation Qisda OK 3 Deactivate AT CCFC 0 0 Disable unconditional forwarding OK 4 Activate AT CCFC 0 1 Enable unconditional forwarding 5 Erasure AT CCFC 0 4 Erase registered unconditional forwarding data Note After registering unconditional call forwarding one can t register another reason s service 2 1 2 7 Preferred PLMN list CPOL Table CPOL parameter comm
120. ser busy no user responding 19 21 user alerting no answer call rejected 22 number changed 26 non selected user clearing 2T destination out of order Qisda Corporation Qisda 28 invalid number format 29 facility rejected 30 response to status enquiry 31 normal unspecified 34 no channel available 38 network out of order 41 temporary failure 42 switching equipment congestion 43 access information discarded 44 requested channel unavailable 47 recources unavailable 49 quality of service unavailable 50 requested facility unsubscribed 55 incoming calls barred within CUG 57 bearer capability not authorized 58 bearer capability not available 63 service not available 65 bearer service not implemented 68 ACM reached ACM maximum 69 facility not implemented 70 only restricted bearer cap avail 79 service not implemented 81 invalid TI 87 no member of CUG 88 incompatible destination 91 invalid transit network selection 95 incorrect message 96 invalid mandatory information 97 message type not implemented 98 message type incompatible 99 info element not implemented 100 conditional info element error 101 message incompatible 102 recovery on time expiry 111 protocol error 127 interworking error 200 bearer service not available Qisda Corporation Qisda 201
121. ssage is returned By default message status will be set to stored unsent The entering of text is done similarly as specified in command Send Message CMGS Defined values lt stat gt 2 Stored unsent Informative examples Initial the HyperTerminal Initial the MS AT Command 1 Writing SM in GSM We try to send TEST to number 0921214863 AT CMGF 1 OK AT CSCS GSM OK AT CSMP 17 168 0 0 Qisda Corporation Qisda OK AT CMGW 0921214863 129 STO UNSENT lt CR gt gt TEST lt ctrl z gt CMGW 12 OK 2 2 4 4 Delete Message CMGD Table CMGD Action Command Syntax text amp PDU Command Possible response s CMGD lt index gt 1 OK 2 CMS ERROR lt err gt Description Execution command deletes message from preferred message storage lt mem1 gt location lt index gt Informative Examples Initial the HyperTerminal Initial the MS AT Command Delete Message number 7 AT CMGD 7 delete message OK 2 2 4 5 Send Command CMGC Table CMGC Action Command Syntax Text mode Command Possible response s If text mode CMGF 1 1 If text mode CMGF 1 and sending CMGC lt fo gt successful lt ct gt lt pid gt lt mn gt lt da gt CMGC lt mr gt lt scts gt lt toda gt lt CR gt 2 if sending fails gt Text is entered lt ctrl z CMS ERROR lt err gt ESC gt Description Execution command sends a command message fro
122. ted name is not recognized an Error code is issued AT response syntax The default response is text mode that is shown below See the command V for further details The format of a response is as follows lt CR gt lt LF gt lt response gt lt CR gt lt LF gt The lt response gt can be Basic format result code such as OK Extended syntax result code prefixed with a plus sign lt name gt lt value gt The result codes are separate by commas if it s included several values The lt value gt followed by the colon is separated by a space It is also possible that result codes have no value Unlike basic format result codes extended syntax result codes have no numeric equivalent and are always issued in alphabetic form There are two types of result code responses Final result code A final result code indicates to the TE that execution of the command is completed and another command may be issued If you typed an implemented AT command you should get the result code OK If you typed an AT command that was not implemented or which had the wrong parameter or syntax you will get the result code ERROR or else for example CME ERROR followed by an error code Qisda Corporation Qisda Unsolicited result code Unsolicited result codes such as RING indicate the occurrence of an event not directly associated with a command being issued from TE 1 2 Initial the Test Environment Initial the HyperTerminal
123. ticular the DCE may as a result of execution of this command be placed in a state in which it appears to not respond to DTE commands or respond in a completely different format than was being used prior to execution of the command Result codes OK If lt value gt is recognized ERROR If lt value gt is not recognized or supported An OK result code for this command is issued using the same rate parity and format as the DTE 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 Informative Examples Initial the HyperTerminal Initial the MS AT Command ATZ OK ATZO OK 2 3 1 3 Set to factory defined configuration amp F Table Syntax amp F Command Possible response s amp F 1 OK 2 ERROR Description Qisda Corporation Qisda This command instructs the DCE to set all parameters to default values specified by the manufacturer which may take into consideration hardware configuration switches and other manufacturer defined criteria Defined values 0 set parameters to factory defaults other Reserved for manufacturer proprietary use Result codes OK if value is valid ERROR __ if value is not recognized or not supported An OK result code for this command is issued using the same rate parity and format as the DTE command line containing the command but using the factory defined values for other parameters th
124. to ME Defined values lt IMSI gt International Mobile Subscriber Identity string without double quotes Informative examples Initial the HyperTerminal Initial the MS AT Command AT CIMI 466880100493652 OK 2 1 1 7 PCCA STD 101 17 select wireless network WS46 Table WS46 parameter command syntax Command Possible response s WS46 lt n gt OK WS46 lt n gt WS46 WS46 list of supported lt n gt s Qisda Corporation Qisda Description Read command shows current setting and test command displays side stacks implemented in the TA Defined values lt n gt 12 GSM digital cellular 22 WCDMA digital cellular 25 WCDMA GSM digital cellular Informative example Initial the HyperTerminal Initial the MS without SIM card AT Command AT WS46 WS46 12 22 25 OK AT WS46 12 OK 2 1 2 Network service related commands 2 1 2 1 Subscriber number CNUM Table CNUM parameter command syntax Command Possible response s CNUM 1 CNUM lt alpha1 gt lt number1 gt lt type1 gt lt CR gt lt LF gt CNUM alphaxX gt lt numberXx gt lt typeX gt OK 2 CME ERROR lt err gt Description Set command returns the MSISDN related to the subscriber this information can be stored in the SIM or in the ME If subscriber has different MSISDN for different services each MSISDN is returned in a separate line lt CR gt lt LF gt Defined values Qis
125. turer gt OK Qisda Corporation Qisda 2 3 1 6 Request model identification GMM Table Syntax GMM Command Possible response s GMM lt model gt OK Description This command causes the DCE to transmit one or more lines of information text determined by the manufacturer which is intended to permit the user of the DCE to identify the specific model of device Typically the text will consist of a single line containing the name of the product but manufacturers may choose to provide any information desired The total number of characters including line terminators in the information text returned in response to this command shall not exceed 2048 characters Note that the information text shall not contain the sequence 0 lt CR gt 3 0 0 13 or OK lt CR gt 4 15 4 11 0 13 so that DTE can avoid false detection of the this information text Result codes OK in all cases Informative Examples Initial the HyperTerminal Initial the MS AT Command AT GMM lt model gt OK 2 3 1 7 Request revision identification GMR Table Syntax GMR Command Possible response s GMR lt information gt OK Qisda Corporation Qisda Description This command causes the DCE to transmit one or more lines of information text determined by the manufacturer which is intended to permit the user of the DCE to identify the version revision level or date or other pertinent information
126. xt number lt cid gt 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 lt PDP_type gt the parameter value ranges for Qisda Corporation Qisda each lt PDP_type gt are returned on a separate line Defined values lt cid gt PDP Context Identifier a numeric parameter which specifies a particular PDP context definition The parameter is local to the TE MT 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 lt PDP_type gt Packet Data Protocol type a string parameter which specifies the type of packet data protocol IP Internet Protocol IETF STD 5 IPV6 Internet Protocol version 6 IETF RFC 2460 PPP Point to Point Protocol IETF STD 51 lt APN gt 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 lt PDP_address gt 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 startup procedure or failing that a dynamic address will be requested The read form of the command will continue to return the
127. y include functions other than the physical layer functions e g Recommendations V 42 V 110 V 120 and V 13 Information examples Initial the HyperTerminal Initial the MS AT Command AT amp C1 OK AT amp CO OK 2 3 1 17 Circuit 108 Data terminal ready behavior amp D Table Syntax amp D Command Possible response s amp D lt value gt 1 OK 2 ERROR Description This parameter determines how the DCE responds when circuit 108 2 is changed from the ON to the OFF condition during online data state Defined values 0 DCE ignores circuit 108 2 1 Upon an on to off transition of circuit 108 2 the DCE enters online command state and issues an OK result code the call remains connected 2 Upon an on to off transition of circuit 108 2 the DCE instructs the underlying DCE to perform an orderly cleardown of the call The Qisda Corporation Qisda disposition of any data in the DCE pending transmission to the remote DCE is controlled by the ETBM parameter see 6 5 6 if implemented otherwise this data is sent before the call is cleared unless the remote DCE clears the call first in which case pending data is discarded The DCE disconnects from the line Automatic answer is disabled while circuit 108 2 remains off Information examples Initial the HyperTerminal Initial the MS AT Command AT amp D amp D 0 OK AT amp D1 OK AT amp D amp D 1 OK AT amp D2 ERROR 2 3 1 18
128. y PDP context associated with a PDP address is deactivated all the associated secondary contexts are deactivated too and the data transfer for that PDP address is disabled Qisda Corporation Qisda 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 25ter action and parameter commands Hence it has the read form in addition to the execution set and test forms Defined Values lt state gt indicates the state of PDP context activation 0 deactivated 1 activated Other values are reserved and will result in an ERROR response to the execution command lt cid gt a numeric parameter which specifies a particular PDP context definition see the CGDCONT and CGDSCONT commands Informative examples Initial the HyperTerminal Initial the MS AT Command 1 Query CGACT Support AT CGACT CGACT 0 1 OK 2 Set CGACT AT CGACT 1 OK AT CGACT CGACT 1 1 OK Qisda Corporation Qisda 2 4 6 Show PDP address CGPADDR Table CGPADDR action command syntax Possible response s lt cid gt lt PDP_addr gt lt CR gt lt LF gt CGPADDR lt cid gt lt PDP_addr gt CGPADDR CGPADDR list of defined lt cid gt s Description The execution command returns a list of PDP addresses for the specified
129. y execute once again the body of the preceding command line No editing is possible and no termination character is necessary A command line may be repeated multiple times through this mechanism if desired Responses to the repeated command line shall be issued using the parity and format of the original command line and the rate of the A If A is received before any command line has been executed the preceding command line is assumed to have been empty that results in an OK result code Information examples 2 3 1 2 Reset to default configuration Z Table Syntax Z Command Possible response s Z 1 OK 2 ERROR Description This command instructs the DCE to set all parameters to their factory defaults as specified by the manufacturer This may include taking into consideration the settings of hardware configuration switches or non volatile parameter storage if implemented If the DCE is connected to the line it is disconnected from the line terminating any call in progress Qisda Corporation Qisda All of the functions of the command shall be completed before the DCE issues the result code The DTE should not include additional commands on the same command line after the Z command because such commands may be ignored NOTE Because this command may take into consideration the settings of switches and non volatile parameter storage it does not necessarily return the DCE to a known state In par
130. zero Informative examples Initial the HyperTerminal Initial the MS AT Command 1 Set SC address AT CSCA 4 886935874443 145 OK 2 Read SC address AT CSCA CSCA 886935874443 145 OK 2 2 2 2 Set Text Mode Parameters CSMP Table CSMP parameter command syntax text Command Possible response s CSMP lt fo gt lt vp gt lt pid OK gt lt des gt CSMP CSMP lt fo gt lt vp gt lt pid gt lt dcs gt Description 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 lt vp gt is in range 0 255 or define the absolute time of the validity period termination lt vp gt is a string The format of lt vp gt is given by lt fo gt NOTE When storing a SMS DELIVER from the TE to the preferred memory storage in text mode refer command Write Message to Memory CMGW Qisda Corporation Qisda lt vp gt field can be used for lt scts gt Defined values lt fo gt integer type Bit7 Bit6 BitS Bit4 Bit3 Bit2 Bit1 Bito Bit 4 Bit 3 TP VPF 0 0 TP VP field not present 1 0 TP VP field present relative format O 1 TP VP field present enhanced format not supported 1 1 TP VP field present absolute format Bit 2 T
Download Pdf Manuals
Related Search
Related Contents
AT&T - Avaya Support MC56F8300UM 56F8300 Peripheral User Manual Home-Split 6.0 - POSCH Leibnitz Fujitsu S1000FD PDFダウンロード MANUAL DE SERVICIO for 3.5” Serial ATA Hard Drive with One-touch Copyright © All rights reserved.
Failed to retrieve file