Huawei EM700 User Manual

Product name Confidentiality level
HUAWEI UMTS M2M Module Confidential
Product version
V100R001
Total 95 pages
HUAWEI UMTS M2M Module AT
Command Interface Specification
Prepared by
Reviewed by Date
Approved by Date
Authorized by Date
Xu qifeng、Pei na、Ma zhaoyang
Huawei Technologies Co., Ltd.
All rights reserved
(REP01T01 V2.31/ IPD-CMM V2.0 / for internal use only)
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
Revision Record
Revisio
Date
2008-10-22 0.10
2009-02-03 0.20
n
version
CR ID /
defect ID
Section
numbe
Change description Author
r
AT command interface draft completed initially
Modify according to EM700 specification
Yuan kangqiang
Xu qifeng、Pei na
zhaoyang
Ma
All rights reserved Page 2, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
Table of Contents
HUAWEI UMTS M2M Module AT Command Interface Specification........................................... 1
Table of Contents............................................................................................................................. 3
Table List......................................................................................................................................... 10
Figure List....................................................................................................................................... 11
HUAWEI UMTS M2M Module AT Command Interface Specification...................................... 12
1 Scope............................................................................................................................................ 14
1.1 Interface Overview.............................................................................................................. 14
1.2 Interface Design Principles .................................................................................................14
1.3 Interface Change Principles................................................................................................ 15
2 Interface Introduction ................................................................................................................. 15
3 Query of Basic Information and Description of Set Interface................................................. 16
3.1 Terminal error report command +CMEE ............................................................................ 16
3.1.1 Command Syntax..................................................................................................... 16
3.1.2 Description ...............................................................................................................16
3.1.3 Defined Values......................................................................................................... 16
3.2 Echo command E................................................................................................................ 16
3.2.1 Command Syntax..................................................................................................... 16
3.2.2 Description ...............................................................................................................17
3.2.3 Defined Values......................................................................................................... 17
3.3 Command line carriage return character S3....................................................................... 17
3.3.1 Command Syntax..................................................................................................... 17
3.3.2 Description ...............................................................................................................17
3.3.3 Defined Values......................................................................................................... 17
3.4 Response format character S4 ........................................................................................... 17
3.4.1 Command Syntax..................................................................................................... 17
3.4.2 Description ...............................................................................................................18
3.4.3 Defined Values......................................................................................................... 18
3.5 ME response format command V ....................................................................................... 18
3.5.1 Command Syntax..................................................................................................... 18
3.5.2 Description ...............................................................................................................18
3.5.3 Defined Values......................................................................................................... 18
3.6 Backspace character S5..................................................................................................... 19
3.6.1 Command Syntax..................................................................................................... 19
3.6.2 Description ...............................................................................................................19
3.6.3 Defined Values......................................................................................................... 19
3.7 RSSI query function command +CSQ ................................................................................ 19
3.7.1 Command Syntax..................................................................................................... 19
3.7.2 Description ...............................................................................................................19
3.7.3 Defined Values......................................................................................................... 19
3.8 RSSI level query function command + CSQLVL ................................................................ 19
3.8.1 Command Syntax..................................................................................................... 20
3.8.2 Interface Description ................................................................................................ 20
3.8.3 Defined Values......................................................................................................... 20
3.9 Operation mode setting command +CFUN ........................................................................ 20
3.9.1 Command Syntax..................................................................................................... 20
3.9.2 Description ...............................................................................................................20
3.9.3 Defined Values......................................................................................................... 21
3.10 Manufacturer information query command +CGMI .......................................................... 21
All rights reserved Page 3, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
3.10.1 Command Syntax................................................................................................... 21
3.10.2 Description ............................................................................................................. 21
3.10.3 Defined Value......................................................................................................... 21
3.10.4 Informative Examples............................................................................................. 21
3.11 Software version number query command +CGMR......................................................... 21
3.11.1 Command Syntax................................................................................................... 21
3.11.2 Description ............................................................................................................. 21
3.11.3 Defined Value......................................................................................................... 22
3.12 IMSI query command +CIMI............................................................................................. 22
3.12.1 Command Syntax................................................................................................... 22
3.12.2 Interface Description .............................................................................................. 22
3.12.3 Defined Value......................................................................................................... 22
3.12.4 Informative Examples............................................................................................. 22
3.13 IMEI query command +CGSN .......................................................................................... 22
3.13.1 Command Syntax................................................................................................... 22
3.13.2 Interface Description .............................................................................................. 22
3.13.3 Defined Value......................................................................................................... 23
3.13.4 Informative Examples............................................................................................. 23
3.14 SPN read function command %SPN ................................................................................ 23
3.14.1 Command Syntax................................................................................................... 23
3.14.2 Description ............................................................................................................. 23
3.14.3 Defined Values....................................................................................................... 23
3.14.4 Informative Examples............................................................................................. 24
3.15 Hardware version number query function %HWVER....................................................... 24
3.15.1 Command Syntax................................................................................................... 24
3.15.2 Description ............................................................................................................. 24
3.15.3 Defined Value......................................................................................................... 24
3.16 Unsolicited report control command %CURC .................................................................. 24
3.16.1 Command Syntax................................................................................................... 24
3.16.2 Interface Description .............................................................................................. 25
3.16.3 Defined Values....................................................................................................... 25
3.17 Product model ID command +CGMM/+GMM................................................................... 25
3.17.1 Command Syntax................................................................................................... 25
3.17.2 Interface Description .............................................................................................. 25
3.17.3 Defined Value......................................................................................................... 25
3.18 Network information query %NWINFO............................................................................. 26
3.18.1 Command Syntax................................................................................................... 26
3.18.2 Interface Description .............................................................................................. 26
3.18.3 Defined Values....................................................................................................... 26
3.19 Temperature of PA and source voltage query %CONINFO............................................. 27
3.19.1 Command Syntax................................................................................................... 27
3.19.2 Interface Description .............................................................................................. 27
3.19.3 Defined Values....................................................................................................... 27
3.20 Voltage warning %WARNVOLT ....................................................................................... 27
3.20.1 Command Syntax................................................................................................... 27
3.20.2 Interface Description .............................................................................................. 27
3.20.3 Defined Values....................................................................................................... 27
3.21 Module delay resetting %RESET ..................................................................................... 28
3.21.1 Command Syntax................................................................................................... 28
3.21.2 Interface Description .............................................................................................. 28
3.21.3 Defined Values....................................................................................................... 28
3.22 Clock +CCLK .................................................................................................................... 28
3.22.1 Command Syntax................................................................................................... 28
3.22.2 Interface Description .............................................................................................. 28
3.22.3 Defined Values....................................................................................................... 28
All rights reserved Page 4, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
4 SMS Interface Description.......................................................................................................... 29
4.1 Select the SMS type +CSMS.............................................................................................. 29
4.1.1 Command Syntax..................................................................................................... 29
4.1.2 Description ...............................................................................................................29
4.1.3 Defined Values......................................................................................................... 29
4.2 Set message format +CMGF.............................................................................................. 29
4.2.1 Command Syntax..................................................................................................... 29
4.2.2 Description ...............................................................................................................30
4.2.3 Defined Values......................................................................................................... 30
4.3 Message arrival indication +CMTI ...................................................................................... 30
4.3.1 Command Syntax..................................................................................................... 30
4.3.2 Description ...............................................................................................................30
4.3.3 Defined Values......................................................................................................... 30
4.4 Indication of new message reported directly +CMT ........................................................... 31
4.4.1 Command Syntax..................................................................................................... 31
4.4.2 Description ...............................................................................................................31
4.4.3 Defined Values......................................................................................................... 31
4.5 Newly received message state report +CDSI..................................................................... 31
4.5.1 Command Syntax..................................................................................................... 31
4.5.2 Description ...............................................................................................................31
4.5.3 Defined Values......................................................................................................... 31
4.6 Indication of new message state report reported directly +CDS ........................................ 31
4.6.1 Command Syntax..................................................................................................... 31
4.6.2 Description ...............................................................................................................32
4.6.3 Defined Values......................................................................................................... 32
4.7 New message notification setting +CNMI........................................................................... 32
4.7.1 Command Syntax..................................................................................................... 32
4.7.2 Description ...............................................................................................................33
4.7.3 Defined Values......................................................................................................... 33
4.7.4 Informative Examples............................................................................................... 35
4.8 Delete Message +CMGD.................................................................................................... 35
4.8.1 Command Syntax..................................................................................................... 35
4.8.2 Description ...............................................................................................................35
4.8.3 Defined Values......................................................................................................... 36
4.9 New Message Acknowledgement to +CNMA..................................................................... 36
4.9.1 Command Syntax..................................................................................................... 36
4.9.2 Description ...............................................................................................................36
4.9.3 Defined Values......................................................................................................... 37
4.10 Message storage selection +CPMS ................................................................................. 40
4.10.1 Command Syntax................................................................................................... 40
4.10.2 Description ............................................................................................................. 41
4.10.3 Defined Values....................................................................................................... 41
4.11 Reporting message storage media being full %SMMEMFULL ........................................ 42
4.11.1 Command Syntax................................................................................................... 42
4.11.2 Description ............................................................................................................. 42
4.11.3 Defined Values....................................................................................................... 42
4.12 SMSC number command +CSCA .................................................................................... 42
4.12.1 Command Syntax................................................................................................... 42
4.12.2 Description ............................................................................................................. 42
4.12.3 Defined Values....................................................................................................... 43
4.13 Message sending +CMGS................................................................................................ 43
4.13.1 Command Syntax................................................................................................... 43
4.13.2 Interface Description .............................................................................................. 43
4.13.3 Defined Values....................................................................................................... 43
4.13.4 Examples................................................................................................................ 48
4.14 Message storage command +CMGW .............................................................................. 49
All rights reserved Page 5, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
4.14.1 Command Syntax................................................................................................... 49
4.14.2 Interface Description .............................................................................................. 49
4.14.3 Defined Values....................................................................................................... 49
4.15 Message list command +CMGL ....................................................................................... 50
4.15.1 Command Syntax................................................................................................... 50
4.15.2 Description ............................................................................................................. 50
4.15.3 Defined Values....................................................................................................... 50
4.16 Read a message +CMGR................................................................................................. 52
4.16.1 Command Syntax................................................................................................... 52
4.16.2 Description ............................................................................................................. 52
4.16.3 Defined Values....................................................................................................... 52
4.17 Message bearer domain command +CGSMS.................................................................. 52
4.17.1 Command Syntax................................................................................................... 52
4.17.2 Description ............................................................................................................. 53
4.17.3 Defined Values....................................................................................................... 53
4.18 More Messages to Send +CMMS..................................................................................... 53
4.18.1 Command Syntax................................................................................................... 53
4.18.2 Description ............................................................................................................. 53
4.18.3 Defined Values....................................................................................................... 53
5 Description of Security Setting Interface.................................................................................. 54
5.1 PIN password modifying +CPWD....................................................................................... 54
5.1.1 Command Syntax..................................................................................................... 54
5.1.2 Description ...............................................................................................................54
5.1.3 Defined Values......................................................................................................... 54
5.2 PIN enabling and query function +CLCK............................................................................ 54
5.2.1 Command Syntax..................................................................................................... 55
5.2.2 Description ...............................................................................................................55
5.2.3 Defined Values......................................................................................................... 55
5.3 PIN management command +CPIN ................................................................................... 55
5.3.1 Command Syntax..................................................................................................... 55
5.3.2 Description ...............................................................................................................56
5.3.3 Defined Values......................................................................................................... 56
5.4 SIMLOCK unlocking and query command %SIMLOCK .................................................. 56
5.4.1 Command Syntax..................................................................................................... 56
5.4.2 Interface Description ................................................................................................ 57
5.4.3 Defined Values......................................................................................................... 57
6 System Setting Interface Description........................................................................................ 57
6.1 System information query %SYSINFO............................................................................... 57
6.1.1 Command Syntax..................................................................................................... 57
6.1.2 Interface Description ................................................................................................ 57
6.1.3 Defined Values......................................................................................................... 57
6.2 Service state change indication %SRVST.......................................................................... 58
6.2.1 Command Syntax..................................................................................................... 58
6.2.2 Description ...............................................................................................................59
6.2.3 Defined Values......................................................................................................... 59
6.3 SIM state change indication %SIMST ................................................................................ 59
6.3.1 Command Syntax..................................................................................................... 59
6.3.2 Interface Description ................................................................................................ 59
6.3.3 Defined Values......................................................................................................... 59
6.4 System mode change event indication %MODE................................................................ 59
6.4.1 Command Syntax..................................................................................................... 59
6.4.2 Interface Description ................................................................................................ 60
6.4.3 Defined Values......................................................................................................... 60
6.5 RSSI change indication %RSSI.......................................................................................... 60
6.5.1 Command Syntax..................................................................................................... 60
All rights reserved Page 6, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
6.5.2 Description ...............................................................................................................60
6.5.3 Defined Values......................................................................................................... 60
6.6 System configuration reference setting %SYSCFG ........................................................... 61
6.6.1 Command Syntax..................................................................................................... 61
6.6.2 Description ...............................................................................................................61
6.6.3 Defined Values......................................................................................................... 61
7 Phonebook Service Interface Description................................................................................ 62
7.1 Phonebook memory selection +CPBS ............................................................................... 62
7.1.1 Command Syntax..................................................................................................... 62
7.1.2 Description ...............................................................................................................62
7.1.3 Defined Values......................................................................................................... 63
7.2 8.13 Find phonebook entries +CPBF......................................................................... 63
7.2.1 command syntax ...................................................................................................... 63
7.2.2 Description ...............................................................................................................63
7.2.3 Defined values.......................................................................................................... 64
7.3 Read phonebook entries +CPBR ....................................................................................... 64
7.3.1 Command syntax ..................................................................................................... 64
7.3.2 Description ...............................................................................................................64
7.3.3 Defined values.......................................................................................................... 65
7.4 Write phonebook entry +CPBW.......................................................................................... 65
7.4.1 command syntax ...................................................................................................... 65
7.4.2 Description ...............................................................................................................65
7.4.3 Defined values.......................................................................................................... 65
7.5 Phonebook reading %CPBR .............................................................................................. 66
7.5.1 Command Syntax..................................................................................................... 66
7.5.2 Description ...............................................................................................................66
7.5.3 Defined Values......................................................................................................... 66
7.6 Phonebook writing %CPBW ............................................................................................... 67
7.6.1 Command Syntax..................................................................................................... 67
7.6.2 Description ...............................................................................................................67
7.6.3 Defined Values......................................................................................................... 68
7.6.4 Informative Examples............................................................................................... 68
8 Network Service Interface Description ..................................................................................... 68
8.1 Operator selection +COPS ................................................................................................. 68
8.1.1 Command Syntax..................................................................................................... 68
8.1.2 Interface Description ................................................................................................ 69
8.1.3 Defined Values......................................................................................................... 69
8.1.4 Examples of searching network ............................................................................... 70
8.2 Network registration +CREG .............................................................................................. 70
8.2.1 Command Syntax..................................................................................................... 70
8.2.2 Interface Description ................................................................................................ 71
8.2.3 Defined Values......................................................................................................... 71
8.3 Network registration +CGREG ........................................................................................... 71
8.3.1 Command Syntax..................................................................................................... 71
8.3.2 Interface Description ................................................................................................ 72
8.3.3 Defined Values......................................................................................................... 72
9 Data Service Interface Description............................................................................................72
9.1 3G Quality of Service Profile (Negotiated) +CGEQNEG.................................................... 72
9.1.1 Command Syntax..................................................................................................... 72
9.1.2 Description ...............................................................................................................73
9.1.3 Defined values.......................................................................................................... 73
9.2 Enter data state +CGDATA ................................................................................................ 74
9.2.1 Command Syntax..................................................................................................... 74
9.2.2 Description ...............................................................................................................74
9.2.3 Defined Values......................................................................................................... 75
All rights reserved Page 7, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
9.3 Show PDP address +CGPADDR ....................................................................................... 76
9.3.1 Command Syntax..................................................................................................... 76
9.3.2 Description ...............................................................................................................76
9.3.3 Defined values.......................................................................................................... 76
9.4 PDP environment setting command +CGDCONT.............................................................. 76
9.4.1 Command Syntax..................................................................................................... 76
9.4.2 Description ...............................................................................................................77
9.4.3 Defined Values......................................................................................................... 77
9.4.4 Informative Examples............................................................................................... 78
9.5 DS traffic reset %DSFLOWCLR ......................................................................................... 79
9.5.1 Command Syntax..................................................................................................... 79
9.5.2 Description ...............................................................................................................79
9.6 DS traffic query %DSFLOWQRY........................................................................................ 79
9.6.1 Command Syntax..................................................................................................... 79
9.6.2 Description ...............................................................................................................79
9.6.3 Defined Values......................................................................................................... 79
9.7 DS traffic reporting %DSFLOWRPT................................................................................... 80
9.7.1 Command Syntax..................................................................................................... 80
9.7.2 Description ...............................................................................................................80
9.7.3 Defined Values......................................................................................................... 80
10 TCP/UDP Service Interface Description.................................................................................. 81
10.1 Initialize IP service %IPINIT..............................................................................................81
10.1.1 Command Syntax................................................................................................... 81
10.1.2 Description ............................................................................................................. 81
10.1.3 Defined Values....................................................................................................... 81
10.2 Open TCP/UDP link %IPOPEN ........................................................................................ 82
10.2.1 Command Syntax................................................................................................... 82
10.2.2 Description ............................................................................................................. 82
10.2.3 Defined Values....................................................................................................... 82
10.3 Configure TCP/UDP as a server %IPLISTEN .................................................................. 82
10.3.1 Command Syntax................................................................................................... 82
10.3.2 Description ............................................................................................................. 83
10.3.3 Defined Values....................................................................................................... 83
10.4 Send TCP/UDP data %IPSEND....................................................................................... 83
10.4.1 Command Syntax................................................................................................... 83
10.4.2 Description ............................................................................................................. 83
10.4.3 Defined Values....................................................................................................... 83
10.5 Data buffer query command %IPGETDATA .................................................................... 83
10.5.1 Command Syntax................................................................................................... 84
10.5.2 Description ............................................................................................................. 84
10.5.3 Defined Values....................................................................................................... 84
10.6 Arrival data notification %IPDATA .................................................................................... 84
10.6.1 Command Syntax................................................................................................... 84
10.6.2 Description ............................................................................................................. 84
10.6.3 Defined Values....................................................................................................... 84
10.7 Close TCP/UDP link %IPCLOSE...................................................................................... 85
10.7.1 Command Syntax................................................................................................... 85
10.7.2 Description ............................................................................................................. 85
10.7.3 Defined Values....................................................................................................... 85
10.8 Transparent mode %IPENTRANS................................................................................. 85
10.8.1 Command Syntax................................................................................................... 85
10.8.2 Description ............................................................................................................. 85
11 Overall Design Constraints...................................................................................................... 86
11.1 Standards Compliance ..................................................................................................... 86
11.2 Hardware Limitations ........................................................................................................ 86
All rights reserved Page 8, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
11.3 Technology Limitations .....................................................................................................86
12 Software Quality Attributes...................................................................................................... 86
13 Dependencies............................................................................................................................86
14 Feasibility Analysis...................................................................................................................86
15 Issues To Be Determined ......................................................................................................... 86
16 Appendixes................................................................................................................................ 87
16.1 Appendix 1 AT Command Description ............................................................................. 87
16.1.1 Basic Commands ................................................................................................... 87
16.1.2 S Register Command............................................................................................. 87
16.1.3 Extended Commands and Manufacturer Defined Commands .............................. 87
16.1.4 Abort Attribute: ....................................................................................................... 88
16.2 Appendix 2 CME Error List ............................................................................................... 89
16.3 Appendix 3 CMS Error List ............................................................................................... 92
16.4 Appendix 4 Summary of Final Result Codes.................................................................... 93
16.5 Appendix 6 List of Initial Values of Command Parameter After MS Restart .................... 94
16.6 Appendix 7 Examples of Show Mode............................................................................... 95
All rights reserved Page 9, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
Table List
Table 1 Influence of V parameter on the response format ...................................................... 18
Table 2 Bit number .................................................................................................................. 37
All rights reserved Page 10, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
Figure List
Figure 1 Block diagram of interaction between TE and MS.................................................... 14
Figure 2 Half byte coding with a total of 5 digits ..................................................................... 45
All rights reserved Page 11, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
HUAWEI UMTS M2M Module AT Command
Interface Specification
Keywords: UMTS, Module, WCDMA, GPRS, GSM Abstract: This Document describes the AT command-based communication interface between TE
and MS of Huawei UMTS Module. The interface can implement the functions such as
voice call, SMS, telephone service, supplementary service, TCP, UDP and network setting.
List of abbreviations:
Abbreviations Full spelling
TE Terminal Equipment
MS Mobile Station
SM Short message
RSSI Receive signal strength indicator
BER Bit error rate
PLMN Public land mobile network
RPLMN Registered PLMN
URC Unsolicited result code
DCS Data coding scheme
DCE Data Circuit Equipment
DTE Data Terminal Equipment
CLIP Call Line Identifier presentation
PDP Packet Data Protocol
SCA Service Center Address
This device complies with Part 15 of the FCC Rules [and with RSS-210 of Industry Canada]. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. Changes or modifications made to this equipment not expressly approved by HUAWEI TECHNOLOGIES CO., LTD. may void the FCC authorization to operate this equipment. Notes: The max antenna gain is 2.15dBi. The antenna(s) used for this transmitter must be installed to provide a separation distance of at least 20cm from all persons.
All rights reserved Page 12, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
All rights reserved Page 13, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
1 Scope
This document describes the AT interface of Huawei UMTS Module. The description on the AT interface is only limited to the interface packet itself, the usage and use procedure of TE and MS, and does not cover the contents which are not directly related to the interface.
Note: Reinforced insulation or double insulation must be provided to isolate DC source from AC mains supply.
HUAWEI UMTS Module is a wireless terminal of UART or USB interface. It is used to provide data service, voice and SMS functions.
This document describes the AT interface. Therewith no description or definition explain for the document interface, and no temporary support to all kinds of parameter values, so no suggestion of usage.
In the subsequent AT command parameters, two formats are involved: <>, and [], as described below:
<...> Parameters enclosed in angle brackets must be completed. Brackets
[...] Optional subparameter of a command is enclosed in square brackets.
<CR> Carriage return character, which value is specified with command S3. <LF> Linefeed character, which value is specified with command S4.
1.1 Interface Overview
themselves do not appear in the command line.
Brackets themselves do not appear in the command line or response.
Result codes
TE
USER & APPLICATIONS NETWORK
Figure 1 Block diagram of interaction between TE and MS
Information text
MS
AT CMDs
Network messages
1.2 Interface Design Principles
1) Each interface should be functionally convergent.
2) Since the AT command is a packet transmitted via communication port, the packet size is limited. For the transmission of AT command, in addition to the two characters “AT”, a maximum of 1600 characters can be received (including the
empty characters
All rights reserved Page 14, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
at the end). For the “response” message or URC reported by the board, the maximum length is limited to 1600 characters.
3) Each command line can include only one AT command. For the URC instruction or response reported from MS to TE, only one AT command is allowed in a command line.
4) In order to make the commands and response formats more readable and standard, except the original interfaces of Qualcomm, in all newly added interfaces, e.g. no space can be contained in the commands such as AT%XXX: <arg0>, <arg1>, or behind %, colon or comma. No redundant space is allowed at the head or end.
5) After delivering each AT command, the TE cannot deliver the second AT command until the MS has made response to this AT command. Otherwise, the second AT command will not be executed.
6) For the AT command to which the response is given only after a long time, in order to prevent interference on other events, it is recommended to report the final execution result asynchronously. If the MS responds to the TE only after a long time of waiting, e.g. the “AT+CCFC=?” command receives a response only after a long time after the command is delivered, the MS may have received the reported instruction of RING on this occasion. Namely, the reporting of RING may interrupt other responses, and other URCs will not interrupt the response of command, and the interrupted part of the response will continue being reported.
7) Unless otherwise specified, all default codes between TE and MS take on this format: GSM 7 bit Default Alphabet. See also Section 6 in protocol 23.038. The character @ is transmitted on the interface still according to 0x00 of 7bit coding. The board software and API should be able to process this character. The board uploads the carriage return character (<CR>) and linefeed character (<LF>) in the string in the form of space.
8) a sort of compounding between quotation and comma can not exist in the string in this current version. For the data format of UCS2 code, the code value should be reported in the string format (if the code value is 0x553a, 553a should be reported).
9) The “Possible response” sent from MS to TE is composed of “Information text” and “Result code”, where “Information text” is optional, and “Result code” is mandatory. The format of “Possible response” is controlled by the ATV command, as detailed in the ATV command description. All “Possible responses” listed in the tables in this documents are in the ATV1 format.
1.3 Interface Change Principles
For the extended interface, parameters can be added behind the AT command. If the interface fails to meet the new requirements as detected in the later stage of product development, new parameters can be added on the basis of the original interface. In addition, for all the currently available interfaces, if the command received by MS is not identifiable, the “result code” of COMMAND NOT SUPPORT will be reported; if there is one surplus command parameter, the MS will report the “result code” of the corresponding TOO MANY PARAMETERS. No equal mark itself is deemed a surplus command parameter.
All newly added AT command interfaces of the E630 project team begin with “%”. This project team specifies that: In the AT command name such as “AT%XXX”, the number of X cannot be more than 9 currently.
2 Interface Introduction
All rights reserved Page 15, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
All interfaces herein refer to the interfaces between TE and MS, and are used for guiding the implementation of the function requirements. The interface covers voice call, short message receiving and sending, data traffic flow, phone book statistics, supplementary service, and MS network system information setting.
For the commands sent from TE to MS, see also the detailed description in Appendix
16.1. Note that in the returned results of the TEST command, “,” and “-” are different. For example, the returned result of “+CMGD=?” is: +CMGD: (1,5),(0-4), which means that the first parameter value may be 1 or 5, and the second parameter value may range from 0 to 4.
3 Query of Basic Information and Description of Set Interface
3.1 Terminal error report command +CMEE
3.1.1 Command Syntax
Command Possible response(s)
+CMEE=<n> <CR><LF>OK<CR><LF>
+CMEE? <CR><LF>+CMEE: <n><CR><LF><CR><LF>OK<CR><LF>
+CMEE=?
<CR><LF>+CMEE: (list of supported <n>s) <CR><LF><CR><LF>OK<CR><LF>
3.1.2 Description
This command is used to set whether to use result code: +CME ERROR:<err> indicates the error related to MS. When you set to use result code, the MS-related error will generate a result code: +CME ERROR: <err>, which will replace the ordinary ERROR result code. If the error reasons are not related to MS, the ordinary ERROR will still be returned.
3.1.3 Defined Values
<n>: 0 Do not use +CME ERROR :<err>result code, only ERROR is returned in case of
error occurrence. 1 Use +CME ERROR :<err>result code, <err> adopts the error code value. 2 Use +CME ERROR :<err>result code, <err> adopts the detailed string value of
the error. <err>: The value is given in the CME ERROR list in the Appendix.
3.2 Echo command E
3.2.1 Command Syntax
All rights reserved Page 16, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
Command Possible response(s)
E[<value>] <CR><LF>OK<CR><LF>
3.2.2 Description
This command is used to set whether MS will echo the characters received from TE.
3.2.3 Defined Values
<value>: 0 MS does not echo the characters received from TE. 1 MS echoes the characters received from TE. If no <value> is included, it is equivalent to the effect that the <value> is 0. Note: Software may set ATE0 automatically.
3.3 Command line carriage return character S3
3.3.1 Command Syntax
Command Possible response(s)
S3=<value> <CR><LF>OK<CR><LF>
S3? <CR><LF><value><CR><LF><CR><LF>OK<CR><LF>
3.3.2 Description
This command is used to set the command line carriage return character S3. S3 saves the command line carriage return character in the form of ASCII code value. This character is sent by TE. It means the end of a command line, and is identified by the MS. This character is also sent by MS, and serves as a part of the header, tail and end mark of the “result code” and “information response”.
When using the “S3=<value>” command to set S3, the current S3 character can serve as carriage return character of this command line, and the “result code” of this command line will use the newly set S3 character immediately, rather than waiting until the next command line.
3.3.3 Defined Values
<value>: 0-127 The S3 character is set in the form of ASCII code value.
3.4 Response format character S4
3.4.1 Command Syntax
Command Possible response(s)
S4=<value> <CR><LF>OK<CR><LF>
All rights reserved Page 17, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
S4? <CR><LF><value><CR><LF><CR><LF>OK<CR><LF>
3.4.2 Description
This command is used to set the response format character S4. S4 saves the response format character in the form of ASCII code value. This character is sent by MS, and serves as a part of the header, tail and end mark of the “result code” and “information response”.
If the S4 character is changed in a command line, the “result code” of this command line will use the new S4 character immediately, rather than waiting until the next command line.
3.4.3 Defined Values
<value>: 0-127 The S4 character is set in the form of ASCII code value.
3.5 ME response format command V
3.5.1 Command Syntax
Command Possible response(s)
V[<value>] <CR><LF>OK<CR><LF>
3.5.2 Description
This command is used to set the format of “result code” and “information response” of the AT command, including the composition of the header and tail, and the form of the result code contents. The result code contents may be in the form of numerals or detailed strings. The following table describes the influence of format setting on the format of “result code” and “information response”. <cr> means S3 character, and <lf> means S4 character.
Table 1 Influence of V parameter on the response format
V0 V1
Information responses
Result codes
<text><cr><lf>
<numeric code><cr>
<cr><lf> <text><cr><lf>
<cr><lf> <verbose code><cr><lf>
3.5.3 Defined Values
<value>: 0 MS sends the abbreviated header and tail, and uses the result code in the
numeral form. 1 MS sends the complete header and tail, and uses the result code in the form of
detailed strings. If no <value> is included, it is equivalent to the effect that the <value> is 0.
All rights reserved Page 18, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
3.6 Backspace character S5
3.6.1 Command Syntax
Command Possible response(s)
S5=<value> <CR><LF>OK<CR><LF>
S5? <CR><LF><value><CR><LF><CR><LF>OK<CR><LF>
3.6.2 Description
This command is used to set the backspace character S5. S5 saves the backspace character in the form of ASCII code value. This character is sent by TE, and means to delete the previous character. It is identified by MS.
3.6.3 Defined Values
<value>: 0-127 The S5 character is set in the form of ASCII code value.
3.7 RSSI query function command +CSQ
3.7.1 Command Syntax
Command Possible response(s)
+CSQ
+CSQ=?
3.7.2 Description
The EXECUTION command returns the RSSI and BER of ME. The TEST command returns the supported RSSI and BER values.
3.7.3 Defined Values
<rssi>: Indication of the receiving signal strength 0 Equal to or less than -113 dBm 1 -111 dBm
2...30 -109... -53 dBm 31 Equal to or higher than -51 dBm 99 Unknown or unmeasurable. <ber>(bit error rate): Currently, the BER query is not supported, and 99 will be
returned after issuing the EXECUTION or TEST command.
<CR><LF>+CSQ: <rssi>,<ber><CR><LF><CR><LF>OK<CR><LF>
<CR><LF>+CSQ: (list of supported <rssi>s),(list of supported <ber>s) <CR><LF><CR><LF>OK<CR><LF>
3.8 RSSI level query function command + CSQLVL
All rights reserved Page 19, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
3.8.1 Command Syntax
Command Possible response(s)
+CSQLVL <CR><LF><uiPercent>,<rssi><CR><LF>
<CR><LF> +CSQLVL:
+CSQLVL=?
<uiPercent>,<rssi><CR><LF><CR><LF>OK<CR><L F>
3.8.2 Interface Description
This command is used to periodically reset the module automatically.
3.8.3 Defined Values
< uiPercent >: The grid of the signal. 0~5: Indicate the signal intensity. <rssi>: Indication of the receiving signal strength 0 Equal to or less than -113 dBm 1 -111 dBm
2...30 -109... -53 dBm 31 Equal to or higher than -51 dBm 99 Unknown or unmeasurable.
3.9 Operation mode setting command +CFUN
3.9.1 Command Syntax
Command Possible response(s)
<CR><LF>OK<CR><LF>
+CFUN=[<fun>[,<rst>]]
+CFUN?
+CFUN=?
3.9.2 Description
The “EXECUTION” command is used to set the MS mode or restart the MS. The READ command is used to return the current mode. The TEST command is used to return the supported parameter values.
In case of MS-related error: <CR><LF>+CME ERROR: <err><CR><LF>
<CR><LF>+CFUN: <fun><CR><LF><CR><LF>OK<CR><LF>
In case of MS-related error: <CR><LF>+CME ERROR: <err><CR><LF>
<CR><LF>+CFUN: (list of supported <fun>s), (list of supported <rst>s)<CR><LF><CR><LF>OK<CR><LF>
All rights reserved Page 20, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
3.9.3 Defined Values
<fun>: 0 Set as LPM (low power consumption) mode (previous mode must not be offline) 1 Set as online mode (default value) (previous mode must not be offline) 4 Set as offline mode (previous mode must not be FTM) 5 Set as offline FTM (previous mode must be online) 6 Reset MS (previous mode must be offline) 7 Set as RFoff mode (about radio frequency) <rst>: Whether to restart MS before setting (currently not supported)
3.10 Manufacturer information query command +CGMI
3.10.1 Command Syntax
Command Possible response(s)
+CGMI
+CGMI=? <CR><LF>OK<CR><LF>
<CR><LF><manufacturer><CR><LF><CR><LF>OK<CR ><LF>
3.10.2 Description
This command is used to query the manufacturer information.
3.10.3 Defined Value
<manufacturer>: Manufacturer information. Its value is a string.
3.10.4 Informative Examples
AT+C GMI huawei
3.11 Software version number query command +CGMR
3.11.1 Command Syntax
Command Possible response(s)
+CGMR
+CGMR=? <CR><LF>OK<CR><LF>
<CR><LF><softversion><CR><LF><CR><LF>OK<CR>< LF>
3.11.2 Description
All rights reserved Page 21, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
The EXECUTION command returns the software version number of ME.
3.11.3 Defined Value
<softversion>: Software version number. It is a string composed of 31 characters at most.
3.12 IMSI query command +CIMI
3.12.1 Command Syntax
Command Possible response(s)
+CIMI <CR><LF><IMSI><CR><LF><CR><LF>OK<CR><LF>
+CIMI=? <CR><LF>OK<CR><LF>
3.12.2 Interface Description
This command queries the IMSI value of the USIM card or SIM card.
3.12.3 Defined Value
<IMSI>: The IMSI value stored in the card is returned directly. The returned value is a string composed of decimal digits that range from 0 to 9. Its composition is as follows:
A total of 15 characters or less
3 char 2 or 3 char
MCC MNC MSIN
MCC Country code MNC Network code, GSM application MSIN Identifies the identity of the mobile subscriber
3.12.4 Informative Examples
If MCC is “123”, MNC is “45”, and MSIN is “12345678”, then
AT+CIMI 1234512345678
3.13 IMEI query command +CGSN
3.13.1 Command Syntax
Command Possible response(s)
+CGSN <CR><LF><IMEI><CR><LF><CR><LF>OK<CR><LF>
+CGSN =? <CR><LF>OK<CR><LF>
3.13.2 Interface Description
All rights reserved Page 22, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
This command is used to query the IMEI of board.
3.13.3 Defined Value
<IMEI>: The IMEI value of the board is returned directly. The returned value is a string composed of:
8 char 6 char 1 char
TAC SNR Spare
TAC Type code allocated for device SNR Sequence number of the device Spare For standby purpose
3.13.4 Informative Examples
If TAC is “35154800”, SNR is “022544”, and Spare is “4”, then
AT+CGSN 351548000225444
3.14 SPN read function command %SPN
3.14.1 Command Syntax
Command Possible response(s)
<CR><LF>%SPN:<disp_rplmn>,<coding>,<spn_name><
%SPN=<spn_type>
%SPN=?
CR><LF><CR><LF>OK<CR><LF> In case of MS-related error: <CR><LF>+CME ERROR: <err><CR><LF>
<CR><LF>%SPN: (list of supported < spn_type >)<CR><LF><CR><LF>OK<CR><LF>
3.14.2 Description
This command is used for TE to query the SPN file of 2G/3G currently stored on the SIM/USIM card through the ME.
3.14.3 Defined Values
<spn_type>: 0 GSM_SPN 1 USIM_SPN <disp_rplmn>: 0 Do not display RPLMN 1 Display RPLMN 99 This field is invalid, and it is not necessary to read the spn_name field any
longer.
All rights reserved Page 23, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
<coding>: Coding scheme. It means the character code of the spn_name field, and specifies the language.
0 GSM 7 bit Default Alphabet 1 RAW mode (namely, upload the spn_name in the format of original data). <spn_name>: A string. In case of GSM7bit code, the string is composed of 16
characters at most. When the coding scheme is 1, and the contents of the string are data described by “hexadecimal text value”, the string will not be greater than 32. When the coding mode reported on the board is “RAW mode”, this parameter should be completed as a hexadecimal numeral with 0x removed.
3.14.4 Informative Examples
For example: When the 7bit coding format of SPN is read as “Vodafone”, the following will be fed back after the read result is reported: %SPN:1,0,”vodafone”; if it is “China Mobile” in the USC2 coding format, the following will be fed back: %SPN:1,1,”804E2D56FD79FB52A8”.
3.15 Hardware version number query function %HWVER
3.15.1 Command Syntax
Command Possible response(s)
%HWVER
<CR><LF>%HWVER:<hardversion><CR><LF><CR><L F>OK<CR><LF>
3.15.2 Description
The EXECUTION command returns the hardware version number of ME.
3.15.3 Defined Value
<hardversion>: Hardware version number. It is a string composed of 31 characters
at most.
3.16 Unsolicited report control command %CURC
3.16.1 Command Syntax
Command Possible response(s)
%CURC=<mode> <CR><LF>OK<CR><LF>
%CURC?
%CURC=?
All rights reserved Page 24, Total 96
<CR><LF>%CURC:<mode><CR><LF><CR><LF>OK<CR ><LF>
<CR><LF>%CURC: (list of supported <mode>s)<CR><LF>
<CR><LF>OK<CR><LF>
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
3.16.2 Interface Description
The SET command is used to set mode value to open or close unsolicited reports. The unsolicited reports it can control are listed below: %DSFLOWRPT, %RSSI, %MODE, %SIMST, %SRVST, %MODE, %EARST, %SMMEMFULL. The unsolicited reports are closed if the mode value is set to 0 and the unsolicited reports are open if the mode value is set to 1. The default value of mode is set to 0. So, “%CURC=1” should be executed if all the unsolicited reports need to be open.
The READ command returns the current mode value. The TEST command returns the value range it supports. Unsolicited report is disabled after reset.
3.16.3 Defined Values
<mode>: 0 the unsolicited reports closed (default value) 1 the unsolicited reports open
3.17 Product model ID command +CGMM/+GMM
3.17.1 Command Syntax
Command
+CGMM <model> +GMM <model>
3.17.2 Interface Description
This command is used to get product model ID, the function of +CGMM and +GMM are identical. But the command +CGMM can be used when module have not SIM/USIM card . Product mode ID is composed of character string, the max length can not beyond 2048 byte , including the end character ‘\0’ .
3.17.3 Defined Value
At present , the value of model id including : EM700, EM770W. EM700 HUAWEI 3G M2M MODULE-WCDMA/EDGE/GPRS/GSM EM770W HUAWEI 3G M2M MODULE-HSPA/WCDMA/EDGE/GPRS/GSM
Possible
response(s)
All rights reserved Page 25, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
3.18 Network information query %NWINFO
3.18.1 Command Syntax
Command Possible response(s)
<CR><LF>%NWINFO: <srv_band>,< srv_nodeB_PLMN >, < srv_nodeB_BS
%NWINFO
3.18.2 Interface Description
This command is used to query the registered network information of the wireless module in the normal state, includes serving cell information, neighbour cells information of the active set, base station ID, frequency and so on.
3.18.3 Defined Values
< srv_band >: Information of frequency the wireless module registered.
43SYS_BAND_GSM_850) GSM 850
44SYS_BAND_GSM_EGSM_900 Extended GSM 900
45SYS_BAND_GSM_PGSM_900 Primary GSM 900
47 SYS_BAND_GSM_DCS_1800 GSM DCS systems
48SYS_BAND_GSM_PCS_1900 GSM PCS
80SYS_BAND_WCDMA_I_IMT_2000 WCDMA IMT 2000
87 (SYS_BAND_WCDMA_VIII_900) WCDMA PCS 900 < srv_nodeB_PLMN > and < srv_nodeB_BS >: Information of base station the
wireless module maintained. 0255: Base station ID.
Note: It only supports to query base station information at GSM mode now, and returns 0,0 at WCDMA mode.
<srv_cell_stat >: Serving cell state. 0: Indicates not register on serving cell currently. 1: Indicates register on serving cell currently. <srv_psc>: Serving cell primary scrambling code. 065535: Serving cell primary scrambling code.
Note: It returns primary scrambling code at WCDMA mode but cell id at GSM mode. <neighbor_cell_num>: Number of neighbour cells. 06: It supports to maintain six neighbour cells at most.
<neig_psc1>...<neig_psc6>: Primary scrambling code of neighbour cells. 065535: Primary scrambling code of neighbour cells.
Note: It returns primary scrambling code at WCDMA mode but cell id at GSM mode.
>,<srv_cell_stat >,<srv_psc>,<neighbor_cell_num>,<neig_psc1>,<ne ig_psc2>,<neig_psc3>,<neig_psc4>,<neig_psc5>,<n eig_psc6> <CR><LF><CR><LF>OK<CR><LF>
All rights reserved Page 26, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
3.19 Temperature of PA and source voltage query %CONINFO
3.19.1 Command Syntax
Command Possible response(s)
%CONINFO
3.19.2 Interface Description
This command is used to query PA temperature of the module high frequency and external source voltage. To acquire module state by user for convenience, and help to consider if it has to be protected for safety.
3.19.3 Defined Values
<PA_temp>: PA temperature of high frequency.
-3075: Range of PA temperature.
<source_voltage>: Source voltage. 32004300: Range of effective source voltage supported by module, indicates in mV.
<CR><LF>%CONINFO:<PA_temp>,<source_voltag e><CR><LF><CR><LF>OK<CR><LF>
3.20 Voltage warning %WARNVOLT
3.20.1 Command Syntax
Command Possible response(s)
3.20.2 Interface Description
This command is used to report current source voltage value to user automatically when external source input is out of range 3.6V to 4.2V. To acquire module state by user for convenience, and help to consider if it has to be protected for safety. If the voltage is lower than 3.3V or higher than 4.5V, module will be shut down.
3.20.3 Defined Values
<source_voltage>: Source voltage.
32004300: Voltage warning value, indicates in mV.
Note: The %CURC command has no bearing upon automatic report of the voltage warning.
<CR><LF>%WARNVOLT:<source_voltage> <CR><LF>
All rights reserved Page 27, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
3.21 Module delay resetting %RESET
3.21.1 Command Syntax
Command Possible response(s)
%RESET=<delay_time> <CR><LF>OK<CR><LF>
%RESET?
%RESET=?
3.21.2 Interface Description
This command is used to delay to reset module by user.
3.21.3 Defined Values
<delay_time>: Delay time. 0: Disable the function of this command. 165535: Delay time, indicates in second.
Note: We can’t use this command to reset module at FTM mode, it’s need to switch module to ONLINE mode to use the command again.
<CR><LF>%RESET:<delay_time><CR><LF><CR> <LF>OK<CR><LF> <CR><LF>%RESET:(range of supported <delay_time>)<CR><LF><CR><LF>OK<CR><LF>
3.22 Clock +CCLK
3.22.1 Command Syntax
Command Possible response(s)
+CCLK=<time> <CR><LF>OK<CR><LF>
In case of MS-related error:
<CR><LF>+CME ERROR: <err><CR><LF> +CCLK? +CCLK: <time> +CCLK=? <CR><LF>OK<CR><LF>
3.22.2 Interface Description
Set command sets the real-time clock of the MT. If setting fails in an MT error, +CME ERROR: <err> is returned.
Read command returns the current setting of the clock.
3.22.3 Defined Values
<time>: string type value; format is "yy/MM/dd,hh:mm:ss±zz", where characters indicate year (two last digits), month, day, hour, minutes, seconds and time zone (indicates the difference, expressed in quarters of an hour, between the local time and GMT; range -47...+48). E.g. 6th of May 1994, 22:10:00 GMT+2 hours equals to "94/05/06,22:10:00+08"
All rights reserved Page 28, Total 96
HUAWEI UMTS M2M Module AT Command Interface Specification Confidential
NOTE: If MT does not support time zone information then the three last characters of <time> are not returned by +CCLK?.
4 SMS Interface Description
4.1 Select the SMS type +CSMS
4.1.1 Command Syntax
Command Possible response(s)
<CR><LF>+CSMS:
+CSMS=<service>
+CSMS?
+CSMS=?
<mt>,<mo>,<bm><CR><LF><CR><LF>OK<CR><LF > <CR><LF>+CSMS: <service>,<mt>,<mo>,<bm><CR><LF><CR><LF>O K<CR><LF> <CR><LF>+CSMS: (list of supported <service>s)<CR><LF><CR><LF>OK<CR><LF>
4.1.2 Description
The SET command is used to set the message service type. The returned <mt>, <mo> and <bm> mean whether this service type is supported for the messages received by the terminal, messages sent by the terminal, and the broadcast messages.
4.1.3 Defined Values
<service>: Message service type. 0 3G TS 23.040, 3G TS 23.041 (the syntax of SMS AT commands is compatible with GSM 07.05 Phase 2 version 4.7.0) 1 3G TS 23.040, 3G TS 23.041 (the syntax of SMS AT commands is compatible with GSM 07.05 Phase 2+ version; note: command AT+CNMA requires <service> setting 1.) <mt>, <mo>, <bm>: 0 Not supported. 1 Supported.
4.2 Set message format +CMGF
4.2.1 Command Syntax
Command Possible response(s)
All rights reserved Page 29, Total 96
Loading...
+ 67 hidden pages