Quectel M35 Command Manual

M35
AT Commands Manual
GSM/GPRS Module Series
Rev. M35_AT_Commands_Manual_V1.0
Date: 2013-07-11
www.quectel.com
M35
GSM/GPRS Module
AT Commands Manual
Our aim is to provide customers with timely and comprehensive service. For any assistance, please contact our company headquarter:
Quectel Wireless Solutions Co., Ltd.
Room 501, Building 13, No.99, Tianzhou Road, Shanghai, China, 200233 Tel: +86 21 5108 6236 Mail: info@quectel.com
Or our local office, for more information, please visit:
http://www.quectel.com/support/salesupport.aspx
For technical support, to report documentation errors, please visit:
http://www.quectel.com/support/techsupport.aspx
GENERAL NOTES
QUECTEL OFFERS THIS INFORMATION AS A SERVICE TO ITS CUSTOMERS. THE INFORMATION
PROVIDED IS BASED UPON CUSTOMERS‟ REQUIREMENTS. QUECTEL MAKES EVERY EFFORT
TO ENSURE THE QUALITY OF THE INFORMATION IT MAKES AVAILABLE. QUECTEL DOES NOT MAKE ANY WARRANTY AS TO THE INFORMATION CONTAINED HEREIN, AND DOES NOT ACCEPT ANY LIABILITY FOR ANY INJURY, LOSS OR DAMAGE OF ANY KIND INCURRED BY USE OF OR RELIANCE UPON THE INFORMATION. ALL INFORMATION SUPPLIED HEREIN ARE SUBJECT TO CHANGE WITHOUT PRIOR NOTICE.
COPYRIGHT
THIS INFORMATION CONTAINED HERE IS PROPRIETARY TECHNICAL INFORMATION OF QUECTEL CO., LTD. TRANSMITTABLE, REPRODUCTION, DISSEMINATION AND EDITING OF THIS DOCUMENT AS WELL AS UTILIZATION OF THIS CONTENTS ARE FORBIDDEN WITHOUT PERMISSION. OFFENDERS WILL BE HELD LIABLE FOR PAYMENT OF DAMAGES. ALL RIGHTS ARE RESERVED IN THE EVENT OF A PATENT GRANT OR REGISTRATION OF A UTILITY MODEL OR DESIGN.
Copyright © Quectel Wireless Solutions Co., Ltd. 2013. All rights reserved.
M35_AT_Commands_Manual Confidential / Released 2 / 186
Revision
Date
Author
Description
1.0
2013-07-11
Bonnie ZHAO
Initial
Quectel
Confidential
M35 AT Commands Manual
GSM/GPRS Module
About the Document
History
M35_AT_Commands_Manual Confidential / Released 3 / 186
GSM/GPRS Module
M35 AT Commands Manual
Contents
About the document ................................................................................................................................... 3
Contents ....................................................................................................................................................... 4
Table Index ................................................................................................................................................. 10
1 Introduction ........................................................................................................................................ 11
1.1. Scope of the Document ........................................................................................................... 11
1.2. AT Command Syntax ............................................................................................................... 11
1.2.1. Combining AT Commands on the Same Command Line .............................................. 12
1.2.2. Entering Successive AT Commands on Separate Lines ............................................... 12
1.3. Supported Character Sets ....................................................................................................... 12
1.4. Flow Control ............................................................................................................................. 13
1.4.1. Software Flow Control (XON/XOFF Flow Control) ........................................................ 13
1.4.2. Hardware Flow Control (RTS/CTS Flow Control) .......................................................... 14
1.5. Unsolicited Result Code .......................................................................................................... 14
2 General Commands ........................................................................................................................... 15
2.1. ATI Display Product Identification Information ...................................................................... 15
2.2. AT+GMI Request Manufacture Identification ........................................................................ 15
2.3. AT+GMM Request TA Model Identification ........................................................................... 16
2.4. AT+GMR Request TA Revision Identification of Software Release ..................................... 16
2.5. AT+GOI Request Global Object Identification ...................................................................... 17
2.6. AT+CGMI Request Manufacturer Identification .................................................................... 17
2.7. AT+CGMM Request Model Identification ............................................................................. 18
2.8. AT+CGMR Request TA Revision Identification of Software Release ..................................... 18
2.9. AT+GSN Request International Mobile Equipment Identity (IMEI) ...................................... 19
2.10. AT+CGSN Request Product Serial Number Identification ................................................... 19
2.11. AT&F Set all Current Parameters to Manufacturer Defaults ................................................ 20
2.12. AT&V Display Current Configuration .................................................................................... 20
2.13. AT&W Store Current Parameter to User Defined Profile ...................................................... 22
2.14. ATQ Set Result Code Presentation Mode ............................................................................ 22
2.15. ATV TA Response Format .................................................................................................... 23
2.16. ATX Set CONNECT Result Code Format and Monitor Call Progress ................................. 25
2.17. ATZ Set all Current Parameters to User Defined Profile ...................................................... 25
2.18. AT+CFUN Set Phone Functionality ...................................................................................... 26
2.19. AT+QPOWD Power off ......................................................................................................... 27
2.20. AT+CMEE Report Mobile Equipment Error .......................................................................... 28
2.21. AT+CSCS Select TE Character Set ...................................................................................... 29
2.22. AT+GCAP Request Complete TA Capabilities List ............................................................... 30
3 Serial Interface Control Commands ................................................................................................ 31
3.1. AT&C Set DCD Function Mode ............................................................................................ 31
3.2. AT&D Set DTR Function Mode ............................................................................................. 31
3.3. AT+ICF Set TE-TA Control Character Framing .................................................................... 32
M35_AT_Commands_Manual Confidential / Released 4 / 186
GSM/GPRS Module
M35 AT Commands Manual
3.4. AT+IFC Set TE-TA Local Data Flow Control ......................................................................... 33
3.5. AT+ILRR Set TE-TA Local Data Rate Reporting Mode ........................................................ 34
3.6. AT+IPR Set TE-TA Fixed Local Rate .................................................................................... 35
3.6.1. Adaptive Baud ................................................................................................................ 36
3.7. AT+CMUX Multiplexer Control .............................................................................................. 37
4 Status Control Commands ............................................................................................................... 38
4.1. AT+CEER Extended Error Report ........................................................................................ 38
4.2. AT+CPAS Mobile Equipment Activity Status ......................................................................... 39
4.3. AT+QINDRI Indicate RI when Using URC ............................................................................ 40
4.4. AT+QMOSTAT Show State of Mobile Originated Call .......................................................... 41
4.5. AT+QIURC Enable or Disable Initial URC Presentation ....................................................... 41
4.6. AT+QEXTUNSOL Enable/Disable Proprietary Unsolicited Indications ................................ 42
4.7. AT+QINISTAT Query State of Initialization ........................................................................... 44
4.8. AT+QNSTATUS Query GSM Network Status ....................................................................... 44
4.9. AT+QSIMDET Switch on or off Detecting SIM Card............................................................. 45
5 SIM Related Commands .................................................................................................................... 46
5.1. AT+CIMI Request International Mobile Subscriber Identity (IMSI) ....................................... 46
5.2. AT+CLCK Facility Lock ......................................................................................................... 46
5.3. AT+CPIN Enter PIN .............................................................................................................. 48
5.4. AT+CPWD Change Password .............................................................................................. 49
5.5. AT+CRSM Restricted SIM Access ........................................................................................ 51
5.6. AT+CSIM Generic SIM Access ............................................................................................. 53
5.7. AT+QCSPWD Change PS Super Password ........................................................................ 53
5.8. AT+QCCID Show ICCID ....................................................................................................... 54
5.9. AT+QGID Get SIM Card Group Identifier ............................................................................. 54
5.10. AT+QSIMVOL Select SIM Card Operating Voltage .............................................................. 55
6 Network Service Commands ............................................................................................................ 56
6.1. AT+COPS Operator Selection .............................................................................................. 56
6.2. AT+CREG Network Registration ........................................................................................... 57
6.3. AT+CSQ Signal Quality Report ............................................................................................. 59
6.4. AT+CPOL Preferred Operator List ........................................................................................ 60
6.5. AT+COPN Read Operator Names ........................................................................................ 61
M35 _AT_Commands_Manual Confidential / Released 5 / 186
GSM/GPRS Module
M35 AT Commands Manual
6.6. AT+QBAND Get and Set Mobile Operation Band ................................................................ 61
7 Call Related Commands .................................................................................................................... 63
7.1. ATA Answer an Incoming Call ............................................................................................... 63
7.2. ATD Mobile Originated Call to Dial a Number ...................................................................... 64
7.3. ATH Disconnect Existing Connection ................................................................................... 65
7.4. +++ Switch From Data Mode to Command Mode ................................................................ 66
7.5. ATO Switch from Command Mode to Data Mode ................................................................ 67
7.6. ATP Select Pulse Dialing ...................................................................................................... 67
7.7. ATS0 Set Number of Rings before Automatically Answering Call ........................................ 68
7.8. ATS6 Set Pause before Blind Dialing ................................................................................... 68
7.9. ATS7 Set Number of Seconds to Wait for Connection Completion ........................................ 69
7.10. ATS8 Set the Number of Seconds to Wait for Comma Dial Modifier ................................... 70
7.11. ATS10 Set Disconnect Delay after Indicating the Absence of Data Carrier ......................... 70
7.12. ATT Select Tone Dialing ........................................................................................................ 71
7.13. AT+CBST Select Bearer Service Type ................................................................................. 71
7.14. AT+CSTA Select Type of Address ........................................................................................ 72
7.15. AT+CLCC List Current Calls of ME....................................................................................... 73
7.16. AT+CR Service Reporting Control ........................................................................................ 74
7.17. AT+CRC Set Cellular Result Codes for Incoming Call Indication ........................................ 75
7.18. AT+CRLP Select Radio Link Protocol Parameter ................................................................ 76
7.19. AT+CSNS Single Numbering Scheme ................................................................................. 77
7.20. AT+CMOD Configure Alternating Mode Calls....................................................................... 78
7.21. AT+QSFR Preference Speech Coding ................................................................................. 78
8 SMS Commands ................................................................................................................................. 80
8.1. AT+CSMS Select Message Service ..................................................................................... 80
8.2. AT+CMGF Select SMS Message Format ............................................................................. 81
8.3. AT+CSCA SMS Service Center Address .............................................................................. 81
8.4. AT+CPMS Preferred SMS Message Storage ....................................................................... 82
8.5. AT+CMGD Delete SMS Message ........................................................................................ ..84
8.6. AT+CMGL List SMS Messages from Preferred Store ........................................................ ..85
8.7. AT+CMGR Read SMS Message ........................................................................................ ..88
8.8. AT+CMGS Send SMS Message ......................................................................................... ..91
8.9. AT+CMGW Write SMS Message to Memory ...................................................................... ..92
8.10. AT+CMSS Send SMS Message from Storage ................................................................... ..93
8.11. AT+CMGC Send SMS Command ..........................................................................................94
8.12. AT+CNMI New SMS Message Indications ......................................................................... ..96
8.13. AT+CRES Restore SMS Settings ....................................................................................... ..98
8.14. AT+CSAS Save SMS Settings ............................................................................................ ..98
M35_AT_Commands_Manual Confidential / Released 6 / 186
GSM/GPRS Module
M35 AT Commands Manual
8.15. AT+CSCB Select Cell Broadcast SMS Messages ............................................................. ..99
8.16. AT+CSDH Show SMS Text Mode Parameters ................................................................... 100
8.17. AT+CSMP Set SMS Text Mode Parameters ...................................................................... 101
8.18. AT+QCLASS0 Store Class 0 SMS to SIM when Receiving Class 0 SMS ......................... 102
8.19. AT+QMGDA Delete all SMS ............................................................................................... 103
8.20. AT+QSMSCODE Configure SMS Code Mode ................................................................... 104
9 Phonebook Commands ................................................................................................................... 105
9.1. AT+CPBS Select Phonebook Memory Storage .................................................................. 105
9.2. AT+CPBW Write Phonebook Entry ..................................................................................... 106
9.3. AT+CPBR Read Current Phonebook Entries ..................................................................... 107
9.4. AT+CPBF Find Phonebook Entries .................................................................................... 108
9.5. AT+CNUM Subscriber Number ........................................................................................... 109
10 GPRS Commands ............................................................................................................................ 111
10.1. AT+CGATT Attach to/Detach from GPRS Service ............................................................. 111
10.2. AT+CGDCONT Define PDP Context .................................................................................. 112
10.3. AT+CGQREQ Quality of Service Profile (Requested) ........................................................ 113
10.4. AT+CGQMIN Quality of Service Profile (Minimum Acceptable) ......................................... 114
10.5. AT+CGACT PDP Context Activate or Deactivate ............................................................... 115
10.6. AT+CGDATA Enter Data State ............................................................................................ 116
10.7. AT+CGPADDR Show PDP Address ................................................................................... 116
10.8. AT+CGCLASS GPRS Mobile Station Class ....................................................................... 117
10.9. AT+CGEREP Control Unsolicited GPRS Event Reporting ................................................ 118
10.10. AT+CGREG Network Registration Status ........................................................................... 119
10.11. AT+CGSMS Select Service for MO SMS Messages .......................................................... 120
10.12. AT+QGPCLASS Change GPRS Multi-slot Class ............................................................... 121
11 TCPIP Commands ............................................................................................................................ 123
11.1. AT+QIOPEN Start up TCP or UDP Connection .................................................................. 123
11.2. AT+QISEND Send Data through TCP or UDP Connection ................................................ 124
11.3. AT+QICLOSE Close TCP or UDP Connection ................................................................... 125
11.4. AT+QIDEACT Deactivate GPRS/CSD PDP Context ......................................................... 126
11.5. AT+QILPORT Set Local Port .............................................................................................. 127
11.6. AT+QIREGAPP Start TCPIP Task and Set APN, User Name and Password .................... 128
11.7. AT+QIACT Activate GPRS/CSD Context ........................................................................... 128
11.8. AT+QILOCIP Get Local IP Address .................................................................................... 129
11.9. AT+QISTAT Query Current Connection Status ................................................................... 130
11.10. AT+QISTATE Query Connection Status of the Current Access.......................................... 131
11.11. AT+QISSTAT Query the Current Server Status .................................................................. 133
11.12. AT+QIDNSCFG Configure Domain Name Server .............................................................. 133
11.13. AT+QIDNSGIP Query the IP Address of Given Domain Name .......................................... 134
11.14. AT+QIDNSIP Connect with IP Address or Domain Name Server ...................................... 135
11.15. AT+QIHEAD Add an IP Header when Receiving Data ....................................................... 135
11.16. AT+QIAUTOS Set Auto Sending Timer .............................................................................. 136
11.17. AT+QIPROMPT Set Prompt of „>‟ when Sending Data ...................................................... 137
M35_AT_Commands_Manual Confidential / Released 7 / 186
GSM/GPRS Module
M35 AT Commands Manual
11.18. AT+QISERVER Configure as Server .................................................................................. 137
11.19. AT+QICSGP Select CSD or GPRS as the Bearer ............................................................. 139
11.20. AT+QISRVC Choose Connection ....................................................................................... 140
11.21. AT+QISHOWRA Set Whether or not to Display the Address of Sender ............................ 140
11.22. AT+QISCON Save TCPIP Application Context .................................................................. 141
11.23. AT+QIMODE Select TCPIP Transfer Mode ........................................................................ 143
11.24. AT+QITCFG Configure Transparent Transfer Mode .......................................................... 143
11.25. AT+QISHOWPT Control Whether or not to Show the Protocol Type ................................. 144
11.26. AT+QIMUX Control Whether or not to Enable Multiple TCPIP Session............................. 145
11.27. AT+QISHOWLA Control Whether or not to Display Local IP Address ............................... 146
11.28. AT+QIFGCNT Select a Context as Foreground Context.................................................... 146
11.29. AT+QISACK Query the Data Information for Sending ........................................................ 147
11.30. AT+QINDI Set the Method to Handle Received TCP/IP Data ............................................ 148
11.31. AT+QIRD Retrieve the Received TCP/IP Data ................................................................... 149
11.32. AT+QISDE Control Whether or Not to Echo the Data for QISEND .................................... 150
11.33. AT+QPING Ping a Remote Server ..................................................................................... 150
11.34. AT+QNTP Synchronize the Local Time Via NTP ................................................................ 152
12 Supplementary Service Commands .............................................................................................. 153
12.1. AT+CACM Accumulated Call Meter (ACM) Reset or Query .............................................. 153
12.2. AT+CAMM Accumulated Call Meter Maximum (ACM Max) Set or Query ......................... 154
12.3. AT+CAOC Advice of Charge .............................................................................................. 155
12.4. AT+CCFC Call Forwarding Number and Conditions Control ............................................. 156
12.5. AT+CCUG Closed User Group Control .............................................................................. 157
12.6. AT+CCWA Call Waiting Control .......................................................................................... 158
12.7. AT+CHLD Call Hold and Multiparty .................................................................................... 160
12.8. AT+CLIP Calling Line Identification Presentation ............................................................... 161
12.9. AT+CLIR Calling Line Identification Restriction .................................................................. 163
12.10. AT+COLP Connected Line Identification Presentation ....................................................... 164
12.11. AT+CPUC Price Per Unit and Currency Table .................................................................... 165
12.12. AT+CCWE Call Meter Maximum Event .............................................................................. 166
12.13. AT+CUSD Unstructured Supplementary Service Data ...................................................... 167
12.14. AT+CSSN Supplementary Services Notification ................................................................ 168
13 Audio Commands ............................................................................................................................ 169
13.1. ATL Set Monitor Speaker Loudness ................................................................................... 169
13.2. ATM Set Monitor Speaker Mode ......................................................................................... 169
13.3. AT+VTD Tone Duration ....................................................................................................... 170
13.4. AT+VTS DTMF and Tone Generation ................................................................................. 171
13.5. AT+CALM Alert Sound Mode .............................................................................................. 172
13.6. AT+CRSL Ringer Sound Level ........................................................................................... 172
13.7. AT+CLVL Loud Speaker Volume Level ............................................................................... 173
13.8. AT+CMUT Mute Control ...................................................................................................... 173
13.9. AT+QSIDET Change the Side Tone Gain Level ................................................................. 174
13.10. AT+QMIC Change the Microphone Gain Level .................................................................. 175
M35_AT_Commands_Manual Confidential / Released 8 / 186
GSM/GPRS Module
M35 AT Commands Manual
14 Hardware Related Commands ........................................................................................................ 176
14.1. AT+CCLK Clock .................................................................................................................. 176
14.2. AT+CBC Battery Charge ..................................................................................................... 177
14.3. AT+QTEMP Set Temperature Detection Mode or Query Temperature .............................. 178
14.4. AT+QSCLK Configure Slow Clock ...................................................................................... 179
15 Others Commands ........................................................................................................................... 180
15.1. A/ Re-issues the Last Command Given ............................................................................. 180
15.2. ATE Set Command Echo Mode .......................................................................................... 180
15.3. ATS3 Set Command Line Termination Character ............................................................... 181
15.4. ATS4 Set Response Formatting Character ........................................................................ 181
15.5. ATS5 Set Command Line Editing Character ...................................................................... 182
15.6. AT+DS V.42bis Data Compression Control ........................................................................ 182
15.7. AT+DR V.42bis Data Compression Reporting Control ....................................................... 183
15.8. AT+QRIMODE Set RI Time ................................................................................................ 184
16 Appendix A Reference ..................................................................................................................... 186
M35_AT_Commands_Manual Confidential / Released 9 / 186
GSM/GPRS Module
M35 AT Commands Manual
Table Index
TABLE 1: TYPES OF AT COMMANDS AND RESPONSES ............................................................................. 12
TABLE 2: AT&V DISPLAY CURRENT CONFIGURATION LIST ....................................................................... 21
TABLE 3: RELATED DOCUMENTS ................................................................................................................ 212
TABLE 4: TERMS AND ABBREVIATIONS ...................................................................................................... 212
TABLE 5: FACTORY DEFAULT SETTINGS RESTORABLE WITH AT&F ...................................................... 214
TABLE 6: AT COMMAND SETTINGS STORABLE WITH AT&W .................................................................... 216
TABLE 7: AT COMMAND SETTINGS STORABLE WITH ATZ ....................................................................... 219
TABLE 8: DIFFERENT CODING SCHEMES OF +CME ERROR : <ERR> .................................................... 221
TABLE 9: DIFFERENT CODING SCHEMES OF +CMS ERROR : <ERR> .................................................... 225
TABLE 10: LOCATION ID FOR THE EXTENDED ERROR REPORT ............................................................ 227
TABLE 11: CAUSE FOR PROTOCOL STACK (PS) LAYER ........................................................................... 227
TABLE 12: INTERNAL CAUSE FOR MM LAYER ........................................................................................... 239
TABLE 13: CAUSE FOR PPP/IP-STACK ........................................................................................................ 240
TABLE 14: SUMMARY OF URC ..................................................................................................................... 241
M35_AT_Commands_Manual Confidential / Released 10 / 186
GSM/GPRS Module
M35
AT Commands Manual
1
Introduction
1.1. Scope of the Document
This document presents the AT Commands Set for Quectel cellular engine M35.
1.2. AT Command Syntax
The “AT” or “at” prefix must be set at the beginning of each command line. To terminate a command line enter <CR>. Commands are usually followed by a response that includes
<CR><LF><response><CR><LF>”. Throughout this document, only the responses are presented, “<CR><LF>” are omitted intentionally.
The AT Commands Set implemented by M85 is a combination of GSM07.05, GSM07.07 and ITU-T recommendation V.25ter and the AT Commands developed by Quectel.
All these AT Commands can be split into three categories syntactically: “basic”, “S parameter”, and “extended”. They are listed as follows:
Basic syntax These AT Commands have the format of AT<x><n>”, or “AT&<x><n>”, where “<x>” is the command,
and “<n>” is/are the argument(s) for that command. An example of this is “ATE<n>”, which tells the DCE
whether received characters should be echoed back to the DTE according to the value of “<n>”. “<n>” is
optional and a default will be used if it is missing.
S parameter syntax
These AT Commands have the format of “ATS<n>=<m>”, where “<n>” is the index of the S register to set, and “<m>” is the value to assign to it. “<m>” is optional; if it is missing, then a default value is assigned.
Extended syntax These commands can be operated in several modes, as following table:
M35_AT_Commands_Manual Confidential / Released 11 / 186
Test Command
AT+<x>=?
This command returns the list of parameters and value ranges set by the corresponding Write Command or internal processes.
Read Command
AT+<x>?
This command returns the currently set value of the parameter or parameters.
Write Command
AT+<x>=<…>
This command sets the user-definable parameter values.
Execution
Command
AT+<x>
This command reads non-variable parameters affected by internal processes in the GSM engine
You can enter several AT Commands on the same line. In this case, you do not need to type the “AT” or
at” prefix before every command. Instead, you only need type “AT” or “at” at the beginning of the
command line. Please note that use a semicolon as command delimiter.
The command line buffer can accept a maximum of 256 characters. If the input characters exceeded the maximum then no command will be executed and TA will return “ERROR”.
When you need to enter a series of AT Commands on separate lines, please note that you need to wait the final response (for example OK, CME error, CMS error) of the last AT command you entered before you enter the next AT command.
GSM/GPRS Module
M35 AT Commands Manual
Table 1: Types of AT Commands and Responses
1.2.1. Combining AT Commands on the Same Command Line
1.2.2. Entering Successive AT Commands on Separate Lines
1.3. Supported Character Sets
The M35 AT Command interface defaults to the IRA character set. The M35 supports the following character sets:
GSM  UCS2  HEX  IRA  PCCP437  8859_1
M35_AT_Commands_Manual Confidential / Released 12 / 186
Software Flow Control should not be used for data calls where binary data will be transmitted or received (e.g. TCP/IP), because the DTE interface may interpret binary data as flow control characters.
The character set can be configured and interrogated using the “AT+CSCS” command (GSM 07.07). The
character set is defined in GSM specification 07.05. The character set affects transmission and reception of SMS and SMS Cell Broadcast Messages, the entry and display of phone book entries text field and SIM Application Toolkit alpha strings.
Flow control is very important for correct communication between the GSM engine and DTE. For example, in the case such as a data or FAX call, the sending device is transferring data faster than the receiving side is ready to accept. When the receiving buffer reaches its capacity, the receiving device should be capable to cause the sending device to pause until it catches up.
There are basically two approaches to achieve data flow control: software flow control and hardware flow
In Multiplex mode, it is recommended to use the hardware flow control.
The default f
NOTE
M35 AT Commands Manual
GSM/GPRS Module
1.4. Flow Control
control. M35 supports both two kinds of flow control.
low control approach of M35 is closed.
1.4.1. Software Flow Control (XON/XOFF Flow Control)
Software flow control sends different characters to stop (XOFF, decimal 19) and resume (XON, decimal
17) data flow. It is quite useful in some applications that only use three wires on the serial interface.
The default flow control approach of M35 is closed, to enable software flow control in the DTE interface
and within GSM engine, type the following AT command: AT+IFC=1, 1<CR>
This setting is stored volatile, for use after restart, AT+IFC=1, 1<CR> should be stored to the user profile with AT&W<CR>.
Ensure that any communication software package (e.g. ProComm Plus, Hyper Terminal or WinFax Pro) uses software flow control.
M35_AT_Commands_Manual Confidential / Released 13 / 186
GSM/GPRS Module
M35 AT Commands Manual
1.4.2. Hardware Flow Control (RTS/CTS Flow Control)
The default flow control approach of M3 is closed, to enable hardware flow control (RTS/CTS flow control) in the DTE interface and within GSM engine, type the following AT command: AT+IFC=2, 2<CR>.
This setting is stored volatile, for use after restart, AT+IFC=2, 2<CR> should be stored to the user profile with AT&W<CR>.
Hardware flow control achieves the data flow control by controlling the RTS/CTS line. When the data transfer should be suspended, the CTS line is set inactive until the transfer from the receiving buffer has completed. When the receiving buffer is ok to receive more data, CTS goes active once again.
To achieve hardware flow control, ensure that the RTS/CTS lines are present on your application platform.
1.5. Unsolicited Result Code
A URC is a report message sent from the ME to the TE. An unsolicited result code can either be delivered automatically when an event occurs, to reflect change in system state or as a result of a query the ME received before, often due to occurrences of errors in executing the queries. However, a URC is not issued as a direct response to an executed AT command. AT commands have their own implementations to validate inputs such as “OK” or “ERROR”.
Typical URCs may be information about incoming calls, received SMS, changing temperature, status of the battery etc. A summary of URCs is listed in Appendix A.
When sending a URC, the ME activates its Ring Interrupt (Logic “l”), i.e. the line goes active low for a few
milliseconds. If an event which delivers a URC coincides with the execution of an AT command, the URC will be output after command execution has completed.
M35_AT_Commands_Manual Confidential / Released 14 / 186
ATI Display Product Identification Information
Execution Command
ATI
Response TA issues product information text
Quectel_Ltd
Quectel_
Revision: M85EARxxAxxW64
OK
Reference
V.25ter
AT+GMI Request Manufacture Identification
Test Command
AT+GMI=?
Response
OK
Execution Command
AT+GMI
Response TA reports one or more lines of information text which permit the user to identify the manufacturer.
Quectel_Ltd
M35 AT Commands Manual
GSM/GPRS Module
2
General Commands
2.1. ATI Display Product Identification Information
M35
Example
ATI
Quectel_Ltd Quectel_M35
Revision: M85EAR21A01W64
OK
2.2. AT+GMI Request Manufacture Identification
M35_AT_Commands_Manual Confidential / Released 15 / 186
Revision: MTK 1132
OK
Reference
V.25ter
AT+GMM Request TA Model Identification
Test Command
AT+GMM=?
Response
OK
Execution Command
AT+GMM
Response TA returns a product model identification text.
OK
Reference
V.25ter
AT+GMR Request TA Revision Identification of Software Release
Test Command
AT+GMR=?
Response
OK
Execution Command
AT+GMR
Response TA reports one or more lines of information text which permit the user to identify the revision of software release.
Revision: <revision>
OK
Reference
V.25ter
<revision> Revision of software release
M35 AT Commands Manual
Quectel_M35
GSM/GPRS Module
2.3. AT+GMM Request TA Model Identification
Quectel_M35
2.4. AT+GMR Request TA Revision Identification of Software Release
Parameter
M35_AT_Commands_Manual Confidential / Released 16 / 186
displayed.
AT+GOI Request Global Object Identification
Test Command
AT+GOI=?
Response
OK
Execution Command
AT+GOI
Response TA reports one or more lines of information text which permit the user to identify the device, based on the ISO system for registering unique object identifiers.
<Object Id>
OK
Reference
V.25ter
<Object Id> Identifier of device type
AT+CGMI Request Manufacture Identification
Test Command
AT+CGMI=?
Response
OK
Execution Command
Response
NOTE
M35 AT Commands Manual
GSM/GPRS Module
Example
AT+GMR
Revision: M85EAR21A01W64
OK
2.5. AT+GOI Request Global Object Identification
Parameter
See X.208, 209 for the format of <Object Id>. For example, in M35 wireless module, string “M35” is
2.6. AT+CGMI Request Manufacturer Identification
M35_AT_Commands_Manual Confidential / Released 17 / 186
AT+CGMI
TA returns manufacturer identification text.
Quectel_Ltd
Revision: MTK 1132
OK
Reference
GSM 07.07
AT+CGMM Request Model Identification
Test Command
AT+CGMM=?
Response
OK
Execution Command
AT+CGMM
Response TA returns product model identification text.
<model>
OK
Reference
GSM 07.07
<model> Product model identification text
AT+CGMR Request TA Revision Identification of Software Release
Test Command
AT+CGMR=?
Response
OK
Execution Command
AT+CGMR
Response TA returns product software version identification text.
Revision: <revision>
OK
Reference
GSM 07.07
M35 AT Commands Manual
Quectel_M35
GSM/GPRS Module
2.7. AT+CGMM Request Model Identification
Parameter
2.8. AT+CGMR Request TA Revision Identification of Software Release
M35_AT_Commands_Manual Confidential / Released 18 /
186
The serial number (IMEI) is varied with the individual ME device.
<revision> Product software version identification text
AT+GSN Request International Mobile Equipment Identity (IMEI)
Test Command
AT+GSN=?
Response
OK
Execution Command
AT+GSN
Response TA reports the IMEI (International Mobile Equipment Identity) number in information text which permit the user to identify the individual ME device.
<sn>
OK
Reference
V.25ter
<sn> IMEI of the telephone
AT+CGSN Request Product Serial Number Identification (Identical with +GSN)
Test Command
AT+CGSN=?
Response
OK
Execution Command
AT+CGSN
Response
<sn>
OK
NOTE
M35 AT Commands Manual
GSM/GPRS Module
Parameter
2.9. AT+GSN Request International Mobile Equipment Identity (IMEI)
Parameter
2.10. AT+CGSN Request Product Serial Number Identification
M35
_AT_Commands_Manual Confidential / Released 19 / 186
See AT+GSN.
Reference
GSM 07.07
AT&F Set all Current Parameters to Manufacturer Defaults
Execution Command
AT&F[<value>]
Response TA sets all current parameters to the manufacturer defined profile. OK
Reference
V.25ter
<value> 0 Set all TA parameters to manufacturer defaults
AT&V Display Current Configuration
Execution Command
AT&V[<n>]
Response TA returns the current parameter setting.
ACTIVE PROFILE
<current configurations text> OK
Reference
V.25ter
<n> 0 Profile number
NOTE
M35 AT Commands Manual
GSM/GPRS Module
2.11. AT&F Set all Current Parameters to Manufacturer Defaults
Parameter
2.12. AT&V Display Current Configuration
Parameter
M35_AT_Commands_Manual Confidential / Released 20 / 186
M35 AT Commands Manual
AT&V or AT&V0
AT&V ACTIVE PROFILE E: 1 Q: 0 V: 1 X: 4 S0: 0 S2: 43 S3: 13 S4: 10 S5: 8 S6: 2 S7: 60 S8: 2 S10: 15 +CR: 0 +FCLASS: 0 +CMGF: 0 +CSDH: 0 +ILRR: 0 +CMEE: 1 +CBST: 7,0,1 +IFC: 0,0 +ICF: 3,3 +CNMI: 2,1,0,0,0 +CSCS: "GSM" +IPR: 0 &C: 1 &D: 0 +CSTA: 129 +CRLP: 61,61,128,6,0,3 +CCWE: 0 +QSIMSTAT: 0 +CMUX: -1 +CCUG: 0,0,0 +CLIP: 0 +COLP: 0 +CCWA: 0 +CAOC: 1 +CLIR: 0 +CUSD: 0
Table 2: AT&V Display Current Configuration List
M35_AT_Commands_Manual Confidential / Released 21 / 186
GSM/GPRS Module
+CREG: 0 +QSIMDET: 0,0 +QMIC: 4,9,8 +QECHO(NORMAL_AUDIO): 253,96,16388,57351,0 +QECHO(Earphone_AUDIO): 253,0,10756,57351,1 +QECHO(LoudSpk_AUDIO): 224,96,5256,57351,2 +QSIDET(NORMAL_AUDIO): 80 +QSIDET(HEADSET_AUDIO): 144 +QCLIP: 0 +QCOLP: 0 +CSNS: 0
OK
The profile defined by user is stored in non volatile memory.
AT&W Store Current Parameter to User Defined Profile
Execution Command
AT&W[<n>]
Response TA stores the current parameter setting in the user defined profile. OK
Reference
V.25ter
<n> 0 Profile number to store to
ATQ Set Result Code Presentation Mode
Execution Command
ATQ<n>
Response This parameter setting determines whether or not the TA
NOTE
M35 AT Commands Manual
GSM/GPRS Module
2.13. AT&W Store Current Parameter to User Defined Profile
Parameter
2.14. ATQ Set Result Code Presentation Mode
M35_AT_Commands_Manual Confidential / Released 22 / 186
The result codes, their numeric equivalents and brief descriptions of the use of each are listed in the following table.
transmits any result code to the TE. Information text transmitted in response is not affected by this setting. If <n>=0:
OK
If <n>=1: (none)
Reference
V.25ter
<n> 0 TA transmits result code 1 Result codes are suppressed and not transmitted
ATV TA Response Format
Execution Command
ATV<value>
Response This parameter setting determines the contents of the header and trailer transmitted with result codes and information responses. When <value>=0
0 When <value>=1 OK
Reference
V.25ter
<value> 0 Information response: <text><CR><LF>
Short result code format: <numeric code><CR>
1 Information response: <CR><LF><text><CR><LF>
Long result code format: <CR><LF><verbose code><CR><LF>
NOTE
M35 AT Commands Manual
GSM/GPRS Module
Parameter
2.15. ATV TA Response Format
Parameter
M35_AT_Commands_Manual Confidential / Released 23 / 186
ATV1
ATV0
Description
OK 0 Acknowledges execution of a command
CONNECT
1
A connection has been established; the DCE is moving from command state to online data state
RING
2
The DCE has detected an incoming call signal from network
NO CARRIER
3
The connection has been terminated or the attempt to establish a connection failed
ERROR
4
Command not recognized, command line maximum length exceeded, parameter value invalid, or other problem with processing the command line
NO DIALTONE
6
No dial tone detected
BUSY
7
Engaged (busy) signal detected
NO ANSWER
8
"@" (Wait for Quiet Answer) dial modifier was used, but remote ringing followed by five seconds of silence was not detected before expiration of the connection timer (S7)
PROCEEDING
9
An AT command is being processed
CONNECT <text>
Manufacturer-specific
Same as CONNECT, but includes manufacturer-specific text that may specify DTE speed, line speed, error control, data compression, or other status
GSM/GPRS Module
M35 AT Commands Manual
Example
ATV1 // Set <value>=1
OK
AT+CSQ
+CSQ: 30,0
OK // When <value>=1 result code is OK
ATV0 // Set <value>=0
0
AT+CSQ
+CSQ: 30,0 0 // When <value>=0 result code is 0
Table 3: ATV0&ATV1 Result Codes Numeric Equivalents and Brief Descriptions
M35_AT_Commands_Manual Confidential / Released 24 / 186
ATX Set CONNECT Result Code Format and Monitor Call Progress
Execution Command
ATX<value>
Response This parameter setting determines whether or not the TA detected the presence of dial tone and busy signal and whether or not TA transmits particular result codes. OK
Reference
V.25ter
<value> 0 CONNECT result code only returned, dial tone and
busy detection are both disabled 1 CONNECT<text> result code only returned, dial tone and
busy detection are both disabled 2 CONNECT<text> result code returned, dial tone detection is enabled, busy detection is disabled 3 CONNECT<text> result code returned, dial tone detection
is disabled, busy detection is enabled 4 CONNECT<text> result code returned, dial tone and busy detection are both enabled
ATZ Set all Current Parameters to User Defined Profile
Execution Command
ATZ[<value>]
Response TA sets all current parameters to the user defined profile. OK
Reference
V.25ter
<value> 0 Reset to profile number 0
M35 AT Commands Manual
GSM/GPRS Module
2.16. ATX Set CONNECT Result Code Format and Monitor Call Progress
Parameter
2.17. ATZ Set all Current Parameters to User Defined Profile
Parameter
M35_AT_Commands_Manual Confidential / Released 25 / 186
1. Profile defined by user is stored in non volatile memory.
2. If the user profile is invalid, it will default to the factory default profile.
3. Any additional commands on the same command line are ignored.
AT+CFUN Set Phone Functionality
Test Command
AT+CFUN=?
Response
+CFUN: (list of supported <fun>s), (list of supported <rst>s)
OK
Read Command
AT+CFUN?
Response
+CFUN: <fun>
OK
Write Command
AT+CFUN=<fun>[,<rst>]
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
<fun> 0 Minimum functionality
1 Full functionality (Default)
4 Disable phone both transmit and receive RF circuits <rst> 0 Do not reset the ME before setting it to <fun> power level
This is default when <rst> is not given
1 Reset the ME before setting it to <fun> power level
NOTES
M35 AT Commands Manual
GSM/GPRS Module
2.18. AT+CFUN Set Phone Functionality
Parameter
Example
AT+CFUN=0 // Switch phone to minimum functionality
+CPIN: NOT READY
OK
M35_AT_Commands_Manual Confidential / Released 26 /
186
AT+QPOWD Power off
Write Command
AT+QPOWD=<n>
Response When <n>=0
OK When <n>=1 NORMAL POWER DOWN
Reference
<n> 0 Urgent power off ( Do not send out URC "NORMAL POWER DOWN") 1 Normal power off (Send out URC "NORMAL POWER DOWN")
GSM/GPRS Module
M35 AT Commands Manual
AT+COPS?
+COPS: 0 // No operator is registered
OK
AT+CPIN?
+CME ERROR: 13 // SIM failure
AT+CFUN=1 // Switch phone to full functionality
OK
+CPIN: SIM PIN
AT+CPIN=1234
+CPIN: READY
OK
Call Ready
AT+CPIN?
+CPIN: READY
OK
AT+COPS?
+COPS: 0,0,"CHINA MOBILE" // Operator is registered
OK
2.19. AT+QPOWD Power off
Parameter
M35_AT_Commands_Manual Confidential / Released 27 / 186
AT+CMEE Report Mobile Equipment Error
Test Command
AT+CMEE=?
Response
+CMEE: (list of supported <n>s)
OK
Read Command
AT+CMEE?
Response
+CMEE: <n>
OK
Write Command
AT+CMEE=[<n>]
Response TA disables or enables the use of result code +CME ERROR: <err> as an indication of an error related to the functionality of the ME. OK
Reference GSM 07.07
<n> 0 Disable result code 1 Enable result code and use numeric values
2 Enable result code and use verbose values
GSM/GPRS Module
M35 AT Commands Manual
Example
AT+QPOWD=0
OK // Urgent power off, returned OK
AT+QPOWD=1
NORMAL POWER DOWN // Normal power off, send out URC”NORMAL
POWER DOWN
2.20. AT+CMEE Report Mobile Equipment Error
Parameter
Example
AT+CMEE=0 // Disable result code
OK
AT+CPIN=1234
ERROR // Only “ERROR” will be displayed
AT+CMEE=1 // Enable error result code with numeric values
OK
AT+CPIN=1234
M35_AT_Commands_Manual Confidential / Released 28 / 186
AT+CSCS Select TE Character Set
Test Command
AT+CSCS=?
Response
+CSCS: (list of supported <chset>s)
OK
Read Command
AT+CSCS?
Response
+CSCS: <chset>
OK
Write Command
AT+CSCS=<chset>
Response Set character set <chset> which is used by the TE. The TA can then convert character strings correctly between the TE and ME character sets. OK
Reference GSM 07.07
<chset> "GSM" GSM default alphabet "HEX" Character strings consist only of hexadecimal numbers from 00 to FF "IRA" International reference alphabet "PCCP437" PC character set Code "UCS2" UCS2 alphabet
"8859-1" ISO 8859 Latin 1 character set
GSM/GPRS Module
M35 AT Commands Manual
+CME ERROR: 10
AT+CMEE=2 // Enable error result code with verbose (string)
values
OK
AT+CPIN=1234
+CME ERROR: SIM not inserted
2.21. AT+CSCS Select TE Character Set
Parameter
Example
AT+CSCS? // Query the current character set
+CSCS: "GSM"
OK
M35_AT_Commands_Manual Confidential / Released 29 / 186
AT+GCAP Request Complete TA Capabilities List
Test Command
AT+GCAP=?
Response
OK
Execution Command
AT+GCAP
Response TA reports a list of additional capabilities.
+GCAP: <name>s
OK
Reference V.25ter
<name> +CGSM GSM function is supported +FCLASS FAX function is supported
GSM/GPRS Module
M35 AT Commands Manual
AT+CSCS="UCS2" // Set the character set to “UCS2”
OK
AT+CSCS?
+CSCS: "UCS2"
OK
2.22. AT+GCAP Request Complete TA Capabilities List
Parameter
M35_AT_Commands_Manual Confidential / Released 30 / 186
Loading...
+ 156 hidden pages