Documente Academic
Documente Profesional
Documente Cultură
V100R002
Application Guide
Issue
02
Date
2014-12-08
Notice
Some features of the product and its accessories described herein rely on the software installed, capacities
and settings of local network, and therefore may not be activated or may be limited by local network
operators or network service providers.
Thus, the descriptions herein may not exactly match the product or its accessories which you purchase.
Huawei reserves the right to change or modify any information or specifications contained in this manual
without prior notice and without any liability.
DISCLAIMER
ALL CONTENTS OF THIS MANUAL ARE PROVIDED AS IS. EXCEPT AS REQUIRED BY APPLICABLE
LAWS, NO WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE, ARE MADE IN RELATION TO THE ACCURACY, RELIABILITY OR CONTENTS OF THIS
MANUAL.
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL HUAWEI BE
LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES, OR LOSS OF
PROFITS, BUSINESS, REVENUE, DATA, GOODWILL SAVINGS OR ANTICIPATED SAVINGS
REGARDLESS OF WHETHER SUCH LOSSES ARE FORSEEABLE OR NOT.
THE MAXIMUM LIABILITY (THIS LIMITATION SHALL NOT APPLY TO LIABILITY FOR PERSONAL
INJURY TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH A LIMITATION) OF HUAWEI ARISING
FROM THE USE OF THE PRODUCT DESCRIBED IN THIS MANUAL SHALL BE LIMITED TO THE
AMOUNT PAID BY CUSTOMERS FOR THE PURCHASE OF THIS PRODUCT.
Privacy Policy
To better understand how we protect your personal information, please see the privacy policy at
http://consumer.huawei.com/privacy-policy.
Date
01
2014-10-15
02
2014-12-08
Issue 02 (2014-12-08)
Chapter
Description
Creation
6.2
9.3.2
12.2
Contents
Contents
1 Overview......................................................................................................................................... 8
1.1 Conventions and Definitions ............................................................................................................ 8
1.1.1 Conventions ............................................................................................................................. 8
1.1.2 Definitions ................................................................................................................................ 8
1.2 Basic AT Command Processing Principles ...................................................................................... 9
1.2.1 Ports ........................................................................................................................................ 9
1.2.2 AT Command Processing Mechanism..................................................................................... 9
1.2.3 Recommended Timeout Mechanism for AT Commands Processed by a Host..................... 12
Issue 02 (2014-12-08)
Contents
Issue 02 (2014-12-08)
Contents
Issue 02 (2014-12-08)
Contents
14 Appendix .................................................................................................................................... 86
14.1 Relative Documents ..................................................................................................................... 86
14.2 Acronyms and Abbreviations ........................................................................................................ 86
Issue 02 (2014-12-08)
Overview
Overview
Description
<>
XXXX
1.1.2 Definitions
Term
Definition
Connected
Registered
Module
Issue 02 (2014-12-08)
Application
Overview
Mobile equipment
network
NMEA port: simulated using USB, sending unsolicited indications for NMEA
positioning data and sending GPS AT command.
Port name: HUAWEI Mobile Connect-GPS Interface.
NOTE
Issue 02 (2014-12-08)
Overview
This rule also applies to COM ports converted from USB ports.
The processing of an AT command starts when the AT command is entered from the
TE, and ends when the UE (the module) returns all the results in response the
command.
Figure 1-1 AT command processing sequence diagram
TE
UE
AT command 1
Process AT
command 1
AT command 2
Ignore AT
command 2
Return results of AT command 1
AT command 3
Process AT
command 3
Return results of AT command 3
Issue 02 (2014-12-08)
10
Overview
Example:
AT +CPIN ?
+CPIN : READY
OK
AT +CMGL =4
+CMGL : 0,3,,19
07813108608805
+CMGL : 1,2,,18
07813108608805
+CMGL : 2,2,,18
07813108608805
+CMGL : 3,2,,28
07813108608805
D36CBC 168
+CMGL : 4,2,,24
07813108608805
1A
+CMGL : 5,2,,22
07813108608805
+CMGL : 6,2,,22
07813108608805
be ignored.
F931FF0B813109730155 F30000 A70BB 05C2D5DB 7C1D4ECB 4
OK
AT+CLCK
Example:
AT+COPS=1,2,23415
OK
Some commands can be executed when SIM card is inserted. It would return to SIM
failure if SIM card is not inserted. For more information, see Property Description of
related AT in HUAWEI ME909u-521 LTE LGA Module AT Command Interface Specification.
Example:
AT+CREG?
+CME ERROR: SIM failure
Issue 02 (2014-12-08)
11
Overview
NOTE
Timeout Duration
General AT commands
30s
60s
120s
After an AT command times out, it is recommended that the host check whether the
module is functioning normally. The following procedure is provided for your
reference:
1.
2.
3.
4.
If the host times out (the host waits for a response for over 30 seconds) three
times when waiting for the response from the module, go to step 5. Otherwise go
to step 1.
5.
The host deems that the current module does not exist or is unavailable. Close
the port, stop sending all AT commands, exit the procedure to determine
whether the module is normal, and re-search for modules.
Issue 02 (2014-12-08)
12
Description
A module, without solicitation, presents ^SYSSTART to
its host to indicate that the module is starting.
^SYSSTART
NOTE
^SYSSTART is presented only when a module is starting and will not be presented after a
module has started.
^SYSSTART is presented only after the radio frequency (RF) initialization completes and
will not be presented in offline mode.
2.1.2 Troubleshooting
Scenario
Possible Error
Information
Solution
If ^SYSSTART is presented
repeatedly, send the module
to the specified repair center.
Issue 02 (2014-12-08)
13
Description
AT+GMR/CGMR
Software version
OK
AT+GMI/CGMI
Manufacturer
Identification
OK
AT+GMM/CGMM
Model identification
OK
AT+GSN/CGSN
IMEI
OK
NOTE
The previously listed commands are query commands and cannot be used to configure
settings.
2.2.2 Troubleshooting
Scenario
AT+GSN/CGSN
Issue 02 (2014-12-08)
Possible Error
Information
Solution
14
Description
AT+CFUN?
+CFUN: 1
OK
Query whether a module's SIM card is password
protected. READY indicates that the SIM card is
ready.
AT+CPIN?
+CPIN: READY
OK
AT^HCSQ?
^HCSQ: "WCDMA",30,30,58
OK
AT+COPS?
OK
AT+COPS=0
OK
AT+CREG?
+CREG: 0,1
OK
AT+CREG=1
OK
Issue 02 (2014-12-08)
15
2.3.2 Troubleshooting
Scenario
Solution
AT+COPS?
AT+CREG?
Issue 02 (2014-12-08)
16
Description
AT+COPS=0
OK
AT+COPS=1,2,"46000"
OK
Search for all networks, and return the
networks.
AT+COPS=?
OK
AT+CREG=2
OK
AT^SYSCFGEX="00",3FFFFFFF
,1,2,7FFFFFFFFFFFFFFF,,
OK
AT^SYSINFOEX
^SYSINFOEX: 2,3,0,1,,1,"GSM",3,"EDGE"
OK
AT^HCSQ?
Issue 02 (2014-12-08)
17
Command
Description
^HCSQ:"GSM",73
OK
Issue 02 (2014-12-08)
18
3.1.2 Troubleshooting
Scenario
Possible Error
Information
Solution
AT+COPS?
AT+CREG?
Issue 02 (2014-12-08)
19
Description
AT^NDISDUP=?
^NDISDUP: (1-16),(0-1)
OK
AT^NDISDUP=1,1,"1234"
OK
^NDISSTAT: 1,,,"IPV4"
AT^NDISDUP=1,1,"4321","huawei",
"huawei",1
OK
^NDISSTAT: 1,,,"IPV4"
2.
The host application can get the connection state from ^NDISSTAT report. If the
connection state is updated, the host application should launch the dhcp client to
update the ECM IP address or disable the ECM.
Issue 02 (2014-12-08)
20
3.
4.1.2 Troubleshooting
Scenario
Possible Error
Information
Solution
AT^NDISDUP=1,1,"1234"
No SIM card is
detected. Insert a SIM
card.
OK
AT^NDISDUP=1,1,"4321",
"huaei","huawei",1
^NDISSTAT:
0,33,,"IPV4"
^NDISEND:1,29
AT^NDISDUP=1,1,"abcd"
OK
^NDISSTAT:
0,33,,"IPV4"
^NDISEND:1,33
Description
AT^NDISSTATQRY?
^NDISSTATQRY: 0,0,,"IPV4"
OK
AT^NDISSTATQRY?
OK
Issue 02 (2014-12-08)
21
4.2.2 Troubleshooting
None
Description
AT^NDISDUP=1,0
OK
^NDISSTAT:0,,,"IPV4"
4.3.2 Troubleshooting
None
Issue 02 (2014-12-08)
22
5.1 Overview
Short Message Service (SMS) is a text messaging service using a service center (SC)
to transfer short text messages between GSM MEs and Short Message Entities
(SMEs). ME909u-521 only supports protocol data unit (PDU) mode message.
A message must contain the following information before it is sent:
For a PDU mode message:
Service Center Address (SCA): composed of the address length, SCA type
and SCA reverse byte.
First octet: contains the message type indicator, TP-RP, TP-UDHI, TP-SRR,
TP-VPF, TP-RD, and TP-MTI.
Protocol identifier.
Validity duration.
Data length.
User data: consisting of the user data header and the data encoded in PDU
format.
Figure 5-1 shows an example of data encoded in PDU format of submitted type.
Issue 02 (2014-12-08)
23
Start
SMS initialization
Write short
messages
Delete short
messages
Read short
messages
Receive
short messages
Send short
messages
Status report
End
Issue 02 (2014-12-08)
24
Description
AT+CSCA?
+CSCA: "13800688509",129
OK
AT+CSCA="+861380075550
0"
OK
AT+CSMS?
+CSMS: 0,1,1,1
OK
Query the configuration of the new message
indications to TE.
AT+CNMI?
+CNMI: 0,0,0,0,0
OK
AT+CNMI=2,1,2,2,0
OK
AT+CPMS?
+CPMS: "SM",12,20,"SM",12,20,"SM",12,20
OK
AT+CPMS="SM"
OK
AT+CGSMS?
+CGSMS: 1
OK
AT+CMGF?
+CMGF: 0
OK
Issue 02 (2014-12-08)
25
Command
Description
AT+CMGF=0
OK
Use the AT+CMGF command to set short message format: AT+CMGF=0 sets the
short message format to PDU.
The SMSC address provided by the service provider must be specified. In PDU mode,
the SMSC address is contained in the PDU packets. Therefore, in PDU mode, the
AT+CSCA command is optional.
To use the SMS features specified in the GSM 07.05 Phase 2+, the AT+CSMS
command must be used to enable the features.
Use the AT+CNMI command to set the unsolicited indications.
Use the AT+CPMS command to select the preferred short message storage (SIM or
ME). The ME909u-521 supports only the SM (SIM card) storage.
Use the AT+CGSMS command to select the MO SMS bearer domain (PS or CS
domain). For ME909u-521, the CS domain is the preferred MO bearer domain.
Figure 5-3 SMS initialization process part 1
SMS initialization
Start
AT+CSCA="+8613800755500"
Example: SMSC
address is not specified.
+CSCA: "",129
OK
OK
Require the message
service type.
AT+CSMS?
+CSMS: 0,1,1,1
+CSMS: 1,1,1
OK
OK
Issue 02 (2014-12-08)
26
AT+CNMI=2,1,2,2,0
AT+CNMI?
Default values
+CNMI: 0,0,0,0,0
OK
OK
Query the preferred storage
for the current message.
AT+CPMS?
+CPMS: "SM",13,20,"SM",13,20,"SM",13,20
OK
AT+CGSMS?
+CGSMS: 1
OK
AT+CMGF=0
Issue 02 (2014-12-08)
27
+CMGF:0
OK
AT+CMGF=0
OK
End
5.2.2 Troubleshooting
Scenario
Error information is
returned in response to
one of the previous
commands.
Possible Error
Information
Solution
Description
AT+CMGF=0
OK
AT+CSCA?
+CSCA: "13800688509",129
OK
Issue 02 (2014-12-08)
28
Command
Description
AT+CMGS=18
>0031000B813109731147F4
0000FF04F4F29C0E\x0A
+CMGS: 168
OK
AT+CMGS=18
>0891683108608805F93100
0B813109731147F40000FF0
4F4F29C0E\x1A
+CMGS: 169
OK
AT+CMGS=18
>0891683108608805F03100
0B813109731147F40011FF0
4F4F29C0E\x1A
+CMS ERROR: Network out
of order
Messages in PDU format must be converted using external tools or users' software.
Tools for encoding and parsing messages in PDU format are available on the Internet.
Issue 02 (2014-12-08)
29
Start
Send a short message
(given that the PDU length is 18)
SMS initialization
AT+CMGS=18
PDU message
without SCA
0031000B813109731147F4
0000FF04F4F29C0E
<ESC>
0891683108608805F931000B
813109731147F40000FF04F4
F29C0E<ctrl-Z>
Message sent
successfully
Example: Message
not sent
OK
Message sent
unsuccessfully
+CMGS:1
OK
+CMS ERROR:
Network out of
order
End
5.3.2 Troubleshooting
Scenario
Possible Error
Information
Solution
Error information is
returned in response
to one of the previous
commands.
+CMS ERROR:
Network out of order
Issue 02 (2014-12-08)
30
Description
AT+CMGL=0
+CMGL: 2,0,,48
0891683108608805F9040D916831
09732097F2000001432619001001
F506215744FD3D1A0E930C8429
6D9EC370BFDE86C2F23228FFA
EFF00
+CMGL: 4,0,,64
0891683108608805F9040D916831
09732097F2000001403261310500
32506215744FD3D1A0E930C8429
6D9EC370BFDBE83C2B0380F6A
97416FF7B80C6AVFE5E510
OK
Read the message stored in the message
storage location 4.
AT+CMGR=4
+CMGR: 1,,64
0891683108608805F9040D916831
09732097F2000001403261310500
32506215744FD3D1A0E930C8429
6D9EC370BFDBE83C2B0380F6A
97416FF7B80C6AVFE5E510
OK
Method 1: Use the AT+CMGL command to list the messages that are in
specified state and stored in the preferred message storage. The following table
describes the message states. If the message sate is received unread
messages, the REC UNREAD state will be changed to REC READ after the
AT+CMGL command is executed.
Message State
PDU Mode
Issue 02 (2014-12-08)
31
Message State
PDU Mode
All messages
You can use the AT+CMGL command to list all short messages so that you can view
the messages' storage locations.
Figure 5-7 Reading short messages
Reading short messages
Start
List received unread
messages in PDU format
AT+CMGL=0
+CMGL:<index1>,0,,<length>
<pdu> (messages in PDU format)
......
+CMGL:<indexn>,0,,<length>
<pdu> (messages in PDU format)
OK
AT+CMGR=n
PDU format
+CMGR:n,,<length>
<pdu> (messages in PDU format)
OK
End
Issue 02 (2014-12-08)
32
5.4.2 Troubleshooting
Scenario
Possible Error
Information
Solution
Error information is
returned in response
to one of the previous
commands.
Description
AT+CMGF=0
OK
AT+CMGL=4
+CMGL: 6,2,,30
0011000A9171798762130000A713C8329BFD6681D0EF3B282C2F83F2EFFA0F
+CMGL: 11,1,,36
0791947106004013240C9194715982699000003080413115748013C8329BFD66
81D0EF3B282C2F83F2EFFA0F
OK
AT+CMGD=1
OK
All read or unread messages that have been received can be deleted.
Issue 02 (2014-12-08)
1: Delete all read messages in the preferred message storage, and keep the
unread, sent and unsent messages.
2: Delete all read and sent messages in the preferred message storage, and
keep the unread and unsent messages.
33
3: Delete all read, sent, and unsent messages in the preferred message
storage, and keep the unread messages.
Start
Prerequisite:
SMS has been initialized.
Example: Lists all short
messages in PDU format.
AT+CMGL=4
+CMGL: 1,<parameters>
07919471060040
+CMGL: 2,<parameters>
07919471060040
......
Equivalent to
AT+CMGD=n
AT+CMGD=n
X:(0-999)
AT+CMGD=n,0
AT+CMGD=x,DelFlag
+CMSERROR:
invalid memory
index
OK
End
5.5.2 Troubleshooting
Scenario
Possible Error
Information
Solution
Error information is
returned in response
to one of the previous
commands.
Issue 02 (2014-12-08)
34
Description
AT^CPCM=0,0,0,0,0
OK
AT^ECHO=0
AT^ECHO=1
Handset mode
AT^ECHO=2
Headset mode
AT^ECHO=3
Carkit mode
AT^ECHO=4
Speakerphone mode
AT^ECHO=5
OK
AT^SMUT=0
OK
AT^SMUT=1
Mute on.
OK
Issue 02 (2014-12-08)
35
Description
AT+CMUT=0
OK
6.2.2 Troubleshooting
Scenario
Possible Error
Information
Solution
AT+CMUT=<value>
ERROR
Description
ATD13912345678;
OK
User 1 presents the ^ORIG indication.
^ORIG: 1,0
^CONF: 1
RING
ATA
OK
User 2 presents the ^CONN indication.
^CONN: 1,0
^CONN: 1,0
AT+CHUP
User 1 hangs up
^CEND: 1,6,29,16
Issue 02 (2014-12-08)
36
call.
OK
(User 2)
^CEND: 1,6,104,16
6.3.2 Troubleshooting
Possible Error
Information
Scenario
Make a voice call
when no network is
found.
^ORIG: 1,0
Presents ^CEND.
Solution
ATD13912345678;
ERROR
^ORIG: 2,0
^CEND: 2,0,100
ATD13912345678;
Issue 02 (2014-12-08)
37
Command
Description
AT+CLIP=1
OK
AT+CLIP?
+CLIP: 1,1
OK
ATD13903710616;
OK
User 2 presents the ^ORIG indication.
User 2 presents the ^CONF indication.
^ORIG: 1,0
User 1 presents the +CLIP indication.
User 1 presents the +CLIP indication every 5
seconds. User 2's number is 13903702766.
^CONF: 1
(User 1)
RING
+CLIP:
"+8613903702766",145,,,,0
NOTE
All the previous actions can be performed only when user 1 has subscribed to CLIP.
6.4.2 Troubleshooting
Scenario
Query the CLIP
indication.
AT+CLIP?
The PIN is not
authenticated.
Issue 02 (2014-12-08)
Possible Error
Information
Solution
38
7.1 Overview
As a product embedded into a host, the phonebook scenarios include that read, write,
query and delete the phonebook entries in the SIM card.
Read Phonebook: use the AT+CPBR command to read phonebook entries.
Write phonebook: use the AT+CPBW command to save the phonebook entries into
the SIM card.
Delete phonebook: use AT+CPBW command to delete the phonebook entries in the
SIM card.
Description
AT+CPBS=?
+CPBS: ("SM","EN","ON")
OK
AT+CPBS="SM"
OK
241 indicates that 241 entries have been
stored in the storage. 250 indicates that the
maximum storage capacity of the current
storage ("SM") is 250 entries.
AT+CPBS?
+CPBS: "SM",241,250
OK
Issue 02 (2014-12-08)
39
Note that the AT commands for reading and writing phonebook entries can be used
only after the phonebook storage is selected. To select a phonebook storage, use the
AT+CPBS command.
Figure 7-1 Initializing the phonebook
Initializing the phonebook
Start
Query the available
storage types for the phonebook.
AT+CPBS=?
+CPBS:(SM, EN,ON)
OK
Query the current phonebook storage.
AT+CPBS?
+CPBS:ON,0,0
OK
Select SM as the storage type
AT+CPBS=SM
OK
End
7.2.2 Troubleshooting
Scenario
Error information is
returned in response to
one of the previous
commands.
Issue 02 (2014-12-08)
Possible Error
Information
Solution
40
Scenario
Possible Error
Information
Solution
Description
AT+CPBS?
+CPBS: "SM",9,20
OK
AT+CPBR=1,20
Issue 02 (2014-12-08)
41
7.3.2 Troubleshooting
Scenario
Error information is
returned in response
to one of the previous
commands.
AT+CPBR=<index1>
Issue 02 (2014-12-08)
Possible Error
Information
Solution
42
Scenario
AT+CPBR=<index1>
,<index2>
AT+CPBR=<index1>
AT+CPBR=<index1>
,<index2>
Possible Error
Information
Solution
Description
AT+CPBR=?
+CPBR: (1-250),24,14
OK
AT+CPBW="5","13903702
805",,"test"
OK
AT+CPBW=1
OK
There are two methods to edit phonebook entries using the AT+CPBW command:
Write an entry to a specified location. This method edits the location where a
phonebook entry exists or writes a new entry to a vacant location.
Write a new phonebook entry to the next location of a location that already has a
phonebook entry. This method does not require a specified storage location. The
Issue 02 (2014-12-08)
43
AT+CPBW command can be used to edit phonebook entries of the "SM" or "ON"
type.
Figure 7-3 Writing phonebook entries
Writing phonebook entries
Start
AT+CPBR=?
Parameter ranges
+CPBR: (1-250),20,16
OK
Write a phonebook
entry to a vacant location.
AT+CPBW=,"+44546465
4568",145,"Paul Williams"
+CEM ERROR:
memory full
AT+CPBW=1,"+44546465
4568",145,"Paul Williams"
OK
+CEM ERROR:
invalid index
End
7.4.2 Troubleshooting
Scenario
Error information is
returned in response to
one of the previous
commands.
Issue 02 (2014-12-08)
Possible Error
Information
Solution
44
Possible Error
Information
Solution
Error information is
returned when writing an
entry into the
phonebook.
Error information is
returned in response to
one of the previous
commands.
+CME ERROR:
invalid index
Error information is
returned when writing an
entry into the
phonebook.
+CME ERROR:
invalid characters in
dial string
AT+CPBW=,"12345678
901234567890123",128,
"80534E4E3A"
+CME ERROR:
memory full
Scenario
Description
AT+CPBF=<findtext>
+CBPF: <index1>,<number>,<type>,<text>
+CBPF: <index2>,<number>,<type>,<text>
...
OK
Return the maximum phone
number length and maximum
name length supported by the
current phonebook storage.
AT+CPBF=?
+CPBF: <nlength>,<tlength>
OK
Issue 02 (2014-12-08)
45
7.5.2 Troubleshooting
Scenario
AT+CPBF=<findtext>
Possible Error
Information
Solution
Description
AT+CNUM
+CNUM: [<alpha1>],<number1>,<type1>
+CNUM: [<alpha2>],<number2>,<type2>
...
OK
7.6.2 Troubleshooting
Scenario
Error information is
returned in response to
one of the previous
commands.
Issue 02 (2014-12-08)
Possible Error
Information
Solution
46
Scenario
Possible Error
Information
Solution
Description
AT+CSCS=?
+CSCS: ("IRA","GSM","UCS2")
OK
AT+CSCS?
+CSCS: "IRA"
OK
Read the first phonebook entry. The TE
character set is the International
Reference Alphabet (IRA). The content of
the first entry's name field is "HUAWEI".
AT+CPBR=1
+CPBR: 1,"0123456789",129,"HUAWEI"
OK
AT+CSCS="UCS2"
OK
AT+CPBW=1,"0123456789",129,"00
4800550041005700450049"
OK
Issue 02 (2014-12-08)
47
Command
Description
AT+CPBR=1
+CPBR: 1,"0123456789",129,"004800550041005700450049"
OK
7.7.2 Troubleshooting
None
Issue 02 (2014-12-08)
48
Description
AT+CLCK="SC",1,"<pwd>"
OK
AT+CLCK="SC",2
+CLCK: 1
OK
AT+CLCK="SC",0,"<pwd>"
OK
AT+CLCK="SC",2
+CLCK: 0
OK
AT+CLCK="SC",1,"<pwd>"
OK
AT+CPIN="<pwd>"
OK
AT+CPIN?
Issue 02 (2014-12-08)
49
Command
Description
+CPIN: READY
OK
AT+CLCK="SC",2
+CLCK: 1
OK
AT+CPWD="SC","<oldpwd>","1234"
OK
AT+CPWD="SC","1113","1233"
AT+CPIN?
+CPIN: SIM PUK
OK
AT+CPIN="12345678","0000"
OK
NOTE
Issue 02 (2014-12-08)
After PIN authentication is enabled using AT+CLCK, the module must be restarted for the
change to take effect.
50
8.1.2 Troubleshooting
Scenario
Possible Error
Information
Solution
+CME ERROR:
operation not
allowed
+CME ERROR:
incorrect
password
+CME ERROR:
SIM PUK required
+CME ERROR:
incorrect
password
Description
AT+CRSM=176,12258,0,0,10
+CRSM: 144,0,"<record>"
OK
Issue 02 (2014-12-08)
51
Command
Description
AT+CRSM=178,28476,1,4,176,,"7F10"
+CRSM: 144,0,"<record>"
OK
AT+CRSM=192,12258
+CRSM: 144,0,"<response>"
OK
AT+CRSM=214,28421,0,0,2,"0012"
+CRSM: 144,0,""
Update succeeded.
OK
AT+CRSM=220,28476,1,4,176,"1111",
"7F10"
+CRSM: 144,0,""
Update succeeded.
OK
AT+CRSM=242
+CRSM: 108,"<length>","<status>"
OK
Issue 02 (2014-12-08)
52
NOTE
To read or update a file, appropriate commands must be used according to the file's
structure type (for details, refer to the description of file properties in the 3GPP TS 31.102
protocol). For transparent structure files, use 176 (Read Binary) and 214 (Update Binary).
For linear fixed structure files, use 178 (Read Record) and 220 (Update Record).
If <pathid> is not contained in the command, the module will prefer to access the files with
the same FID in the current directory.
Files can be accessed only when the access criteria are met. Otherwise the SIM card will
return PSWs indicating that the access authentication failed. If an EF file's read privilege is
PIN protected and the module does not have the PIN authenticated, PSWs indicating that
the access authentication failed will be returned after the AT+CRSM command is used to
read the EF file.
To use the AT+CRSM command to access the file content on the SIM card, the parameters
contained in the command must strictly meet the requirements in the ETSI TS 102.221 and
3GPP TS 31.102. For detailed requirements, refer to the ETSI TS 102.221 and 3GPP TS
31.102
8.2.2 Troubleshooting
Scenario
Possible Error
Information
+CRSM: 105,129,""
AT+CRSM=178,12258,0,0,
10
OK
+CRSM: 105,130,""
AT+CRSM=220,28476,1,4,
176,"1111","7F10"
OK
Issue 02 (2014-12-08)
Solution
The status word (SW)
indicates a Read command
error occurred. Files with a
transparent structure should be
read using 176 (READ
BINARY).
The PSW indicates that the
security conditions were not
met. To update the EFsms
file, the correct PIN is
required.
53
As an embedded component in the host, the module also consumes power, which
increases the power consumption of the integrated product. Therefore, the most
important task of power management is to reduce the power consumption of the
integrated product by enabling the module's sleep mode when necessary.
The host and the module need to wake each other up from sleep if communication is
required. Therefore, another task of power management is to provide a wake-up
control mechanism for the host and module.
Power management involves three parts: the host system software (including the
USB driver/UART driver/GPIO driver/sleep mechanism functions), connection
hardware between the host and module, and the module's software wake-up
mechanism.
This chapter is mainly concerned with the module's software wakeup mechanism,
including the wake-up principle, how USB related events impact on the waking up of
the module and remotely waking up the module, and how the module remotely wakes
up the host.
This chapter briefly describes the power management related connection hardware
between the host and module.
This chapter does not describe the host system software. For example, if the host
runs on a Windows or Mac system, Huawei will provide a USB driver program
corresponding to the module. If the host runs on an Android system, Huawei will
provide Guide to Kernel Driver Integration in Linux for Huawei Modules for users to
configure the USB-based wakeup function of the module. If the host runs on a Linux
system, power management is supported only when the Linux Kernel version is
2.6.35 or later.
This document describes typical module application scenarios. A host can be
designed based on the actual system features and the application scenarios of the
module to reduce power consumption of both the module and integrated product.
After the host is designed as recommended by this document, the module's power
consumption and the whole unit's power consumption can meet the performance
requirements. For details, see related description in the product manual.
Issue 02 (2014-12-08)
54
NOTE
To set the host to be in the standby state, check the modules GPS service state first. If the
GPS service is enabled, the host should send AT^WPEND to disable the GPS service.
Otherwise, the module cannot enter sleep mode.
PCIE
LGA
Pin name
WAKE#
WAKEUP_OUT
Direction
Functional Description
Diagram
Output
Figure 9-1
Output
Figure 9-2
WAKEUP_IN
Input
Figure 9-3
SLEEP_STATUS
Issue 02 (2014-12-08)
Output
Figure 9-4
55
NOTE
Issue 02 (2014-12-08)
56
Issue 02 (2014-12-08)
57
T 2(SLEE P )
T 1(W akeup)
For more information about the module's sleep procedure, see Figure 9-6 .
NOTE
The module's sleep mode is different from working mode or flight mode set using the
AT+CFUN command. The RF will be turned off when the module enters LPM mode using the
command AT+CFUN=0 while the RF will enter DRX mode without being turned off when the
module is in sleep mode. For more details, refer to HUAWEI ME909u-521 LTE LGA Module AT
Command Interface Specification.
The module enters sleep mode automatically when the sleep task detects that all
other tasks agree on the module's sleep. The sleep period of the module depends on
the current working state and circumstance. The period may last for several seconds,
or up to several minutes.
Issue 02 (2014-12-08)
58
Issue 02 (2014-12-08)
59
NOTE
If the USB driver used is developed by users or is integrated with external application,
ensure that the USB driver supports the USB suspend features (including selective
suspend and global suspend, as defined in the USB standard.)
Before the D+/D connection between the host and the module disconnects, the
AT^WAKEUPCFG=1,1,x command (x is determined by the customers based on the
HUAWEI ME909u-521 LTE LGA Module AT Command Interface Specification) must be
sent to disable the USB remote wake-up function. Otherwise, after the module is woken up,
it cannot enter sleep mode again because it keeps waking up the host over the USB
After the D+/D connection between the host and the module resumes, the
AT^WAKEUPCFG =1,3,x command (x is determined by the customers based on the
HUAWEI ME909u-521 LTE LGA Module AT Command Interface Specification) must be
sent to enable the USB remote wake-up function. Otherwise, the module cannot wake up
the host over the USB.
If the module is in sleep state, the host send data to module only by UART that cannot wakeup
the module. It must be used with WAKEUP_IN pin.
2.
3.
4.
Abnormal events, for example, an antenna drops or a SIM card becomes loose.
Issue 02 (2014-12-08)
60
1.
The USB controller on the host supports USB remote wake-up and can wake up
the host.
2.
3.
When the host receives the remote wake-up signal from the module, the host
needs to send a full speed K signal that lasts at least 20 ms. When the USB
controller resumes, the host must send the SOF token within 3 ms from the
startup of the idle state. Otherwise, the module enters suspended mode again,
as shown in Figure 9-7 .
HS Hub
Signaling
>20ms
<3.0ms
D+
FS idle
FSK
HS idle
uSOF
HS Device
Dif remote
Start of
wake up
Resume
Signaling 3ms
<1.33us
Device
Resumed
Device sees
first activity
Issue 02 (2014-12-08)
61
Description
AT^WAKEUPCFG=?
^WAKEUPCFG: (0-1),(0-3),(0-15)
OK
AT^WAKEUPCFG=1,2,15
OK
AT^CURC=?
^CURC: (0-2)
OK
Issue 02 (2014-12-08)
62
Command
Description
AT^CURC=2,820,1FFFFFFFFFFFFFFF
OK
9.4.3 Advantages
With software configuration, while the system requirements (calling and text
messages) are met, the number of times the host is woken up by unsolicited
messages, and consequently the power consumption, are reduced.
Description
AT^WAKEUPCFG=?
^WAKEUPCFG: (0-1),(0-3),(0-15)
OK
AT^WAKEUPCFG=1,1,14
OK
AT^CURC=?
Issue 02 (2014-12-08)
63
^CURC: (0-2)
OK
AT^CURC=2,820,1FFFFFFFFFFFFFFF
OK
9.5.3 Advantages
A solution is provided for systems not supporting USB remote resume.
With software configuration, while the system requirements (calling and text
messages) are met, the number of times the host is woken up by unsolicited
messages, and consequently the power consumption, are reduced.
Issue 02 (2014-12-08)
64
10
10.1 Pre-configuration
Command
Description
AT^CURC=2,0x8000000000,0x8000000000
OK
^THERM: 1
^THERM: 0
10.1.1 Troubleshooting
None
When the module's temperature is lower than 99C, the module works normally.
When the module's temperature is higher than 99C, the module enables
thermal protection: turns off its RF transmission and presents the ^THERM: 1
Issue 02 (2014-12-08)
65
indication. When the module's temperature is lower than 85C, the module
disables thermal protection: turns on its RF transmission, and presents the
^THERM: 0 indication.
NOTE
Issue 02 (2014-12-08)
During an emergency call, if thermal protection is enabled, the module will present an
indication but will not take thermal protection actions such as turning off its RF or shutting
down.
Thermal protection is designed to protect the module from being damaged by over
temperature. To work in high temperature environments, both the module and its peripheral
components must be able to resist the same temperature.
66
11
Description
AT+CFUN=1,1
OK
The ME can be reset or restarted using the AT+CFUN command. After the restart,
the module must register with the network and authenticate its SIM cards PIN.
11.1.2 Troubleshooting
None
Description
AT^MSO
OK
After the command is received, the module will only do the preparative work of
power-off such as deregister. The host should cut off the power in order to finish the
power-off operation.
Issue 02 (2014-12-08)
67
11.2.2 Troubleshooting
None
Issue 02 (2014-12-08)
68
12
Description
Benefits
Drawbacks
Standalone
This is a traditional
GPS positioning
method. Using this
method, a module
receives satellite
signals directly and
makes calculations
to obtain
positioning results.
No communication
with the network is
invoked, incurring no
data traffic between
the module and the
network.
Mobile Station
Based (MSB)
positioning
using the User
Plane Protocol
Requests the
assistant data from
the network to
assist and
accelerate the
positioning. This
method is one of
the Assisted GPS
(A-GPS) methods.
Issue 02 (2014-12-08)
Significantly
reduces the TTFF
after cold start and
increases the rate of
successful
positioning.
Enables positioning
in environments
with very poor
satellite signals.
Requires the
assistant data from
the network,
incurring network
traffic.
69
Positioning
methods
Description
Mobile Station
Assisted
(MSA) using
the User
Plane Protocol
Requests data
from the network to
assist and
accelerate the
positioning. After
receiving satellite
data, the module
sends the satellite
data to the network
for calculations,
and the network
returns the
calculation results
to the module. This
method is one of
the A-GPS
methods.
XTRA
positioning
Global
navigation
satellite
system
(abbreviated
as GNSS)
Issue 02 (2014-12-08)
Downloads XTRA
data from the
Qualcomm's XTRA
server to assist
positioning. The
XTRA data is valid
for 7 days.
Benefits
Hands most
workload to the
network, reducing
the module's
workload.
Enables positioning
in environments
with poor satellite
signals (network
dependent).
Drawbacks
Requires complex
interaction with the
network, incurring
network traffic.
Cannot reduce
the TTFF after
cold start as
significantly as
the A-GPS
methods.
70
Issue 02 (2014-12-08)
71
Description
AT^WPDOM=0
OK
Set the session type to single
positioning.
AT^WPDST=0
OK
AT^WPDST=1
OK
AT^WPDFR=65535,1
OK
AT^WPQOS=255,500
OK
AT^WPDGP
Start positioning.
OK
^POSEND: -1,9
NOTE
Issue 02 (2014-12-08)
The Standalone method can be used when the module has no SIM card inserted.
If there is an ongoing positioning session, the session must be terminated before setting
the positioning parameters so that the parameters can take effect for the positioning to be
started. This rule applies to all positioning methods.
Executing AT^WPEND command can terminate the current positioning session. After the
session is ended by the user, OK and ^POSEND: 9,0 will be successively returned.
Sometimes, ^POSEND: 9,0 may be reported before OK.
72
Description
AT^WPDOM=5
OK
Set the session type to tracking and
positioning.
AT^WPDST=1
OK
AT^WPDFR=65535,1
OK
AT^WPQOS=255,500
OK
AT^WPURL=SUPL.GOOGLE.COM:7276
OK
AT+CGDCONT=15,"IP","CMNET"
Set the PDP context required by AGPS dial-up. By default, A-GPS dialup uses the fifteenth PDP context.
"CMNET" is the APN of network that
module have registered.
OK
AT^WPDGP
Start positioning.
OK
^POSEND: -1,9
Issue 02 (2014-12-08)
73
NOTE
The MSB method requires the module to register with a network, and will incur data traffic
during positioning. When the MSB positioning fails, the module will automatically switch to
the Standalone positioning if NV3756=1, but will not switch to the Standalone positioning if
NV3756=0.
During the AGPS positioning process, please do not search the network because this
operation will influence the positioning time.
Description
AT^WPDOM=1
OK
MSA does not support the tracing
positioning session type
AT^WPDST=0
OK
AT^WPQOS=255,500
OK
AT^WPURL=SUPL.GOOGLE.COM:7276
OK
AT+CGDCONT=15,"IP","CMNET"
Set the PDP context required by AGPS dial-up. By default, A-GPS dialup uses the fifteenth PDP context.
"CMNET" is the APN of network that
module have registered.
OK
AT^WPDGP
Start positioning.
OK
Issue 02 (2014-12-08)
74
NOTE
The MSA method requires the module to register with a network, and incurs data traffic
during positioning. If GPS response time in the positioning QoS is set to a too small value,
the MSA positioning may fail.
During the AGPS positioning process, please do not search the network because this
operation will influence the positioning time.
Description
AT^WPDOM=0
OK
AT^XTRASTA
OK
^XDSTATUS: 0,0,0,0
AT^XTRATIME
OK
AT^XTRADATA
OK
Issue 02 (2014-12-08)
75
Command
Description
AT^WPDST=1
OK
AT^WPDFR=65535,1
OK
AT^WPQOS=255,500
OK
AT^WPDGP
Start positioning.
OK
^POSEND: -1,9
NOTE
Description
AT^WPCAP=3
OK
AT^WPDOM=a value within
the value range
OK
AT^WPDST=1
Issue 02 (2014-12-08)
76
Command
Description
OK
AT^WPDFR=65535,1
OK
AT^WPQOS=255,500
OK
AT^WPDGP
Start positioning.
OK
^POSEND: -1,9
NOTE
After AT^WPCAP is executed, the module must be restarted to allow the settings configured
by AT^WPCAP to take effect.
Issue 02 (2014-12-08)
77
13
AP
AT^FWLOAD=1
Module Reset
report > and C
Module Reset
^FWLSTATE report upgrade
state
Issue 02 (2014-12-08)
78
AP
AT^FWLOAD=0
Module Reset
report > and C
Module Reset
^FWLSTATE report upgrade
state
The Hyper Terminal tool supports 1K-Xmodem protocol transfer files, and only PCUI port or
UART port (not modem port) is the transmission channel of Local upgrade.
If you choose UART port for the transmission channel, please set the appropriate baud rate
first. We recommend that you use high UART transmission (3000000 bit/s is recommended)
for upgrading if the module supports it. And 115200 bit/s is recommended if the module
UART port works in low baud rate
If you choose PCUI port for the transmission channel, the baud rate does not need to be
set.
Step 1 Open the hyper Terminal tool and choose the PCUI port number.(In the document,
the PCUI port is COM25)
Issue 02 (2014-12-08)
79
Issue 02 (2014-12-08)
80
Step 4 Choose the file which will be sent to the module and choose the 1K Xmodem
protocol.
Issue 02 (2014-12-08)
81
Step 6 After finishing the file transmission, start the upgrade. And the module will reset
automatically to finish the upgrade.
If the upgrade comes across some error, the ^FWLSTATE will give an error
code, such as 80.
Requirement of the AP
The AP is required to prepare at least 22 MB available flash RAM if the AP needs to
support the increment upgrade and at least 20 MB flash ROM to store increment
upgrade packages if the sum of compiled images size is 80 MB.
1.
Issue 02 (2014-12-08)
82
2.
AP should have a file transmission tool, this tool needs to support 1K-Xmodem
protocol.
Step 2 Choose Serial port setup, set the parameters as shown in the figure below, and
then click Enter.
Step 3 Choose File transfer protocols, click J, and set the parameters as shown in the
figure below. And then click Enter.
Issue 02 (2014-12-08)
83
Step 7 After finishing the file transmission, start the upgrade, And the module will reset
automatically to finish the upgrade.
If the upgrade comes across some error, the ^FWLSTATE will give an error
code, such as 80.
Issue 02 (2014-12-08)
84
Description
AT^FWLOAD=0
>
C
AT^FWLOAD=1
>
C
NOTE
After the module reports 'C', the host transmits the upgrade package to the module using
the xmodem or 1k_xmodem protocol.
The full upgrade takes for long time, so the increment upgrade is recommended
13.1.4 Troubleshooting
If using the full upgrade by the PCUI port, after the module restarts, the PCUI port
number may be changed. So you need to find the corresponding port, and then send
the local upgrade package.
Description
AT^FWLOAD=0
>
C
The board restarts, and the upgrade
starts.
^FWLSTATE: 90
NOTE
After the data have been transmitted completely and successfully, the MT will not send OK to
the TE.
13.2.1 Troubleshooting
None
Issue 02 (2014-12-08)
85
Appendix
14
Appendix
2.
3.
4.
5.
6.
7.
8.
9.
Expansion
3GPP
AGPS
APN
AT
Attention
CS
DCE
DTE
ECM
GNSS
Issue 02 (2014-12-08)
86
Appendix
Acronym or Abbreviation
Expansion
GPRS
GPS
GSM
IMEI
IP
Internet Protocol
LTE
ME
Mobile Equipment
PDP
PDU
PIN
PPP
Point-to-Point Protocol
PUK
PS
QoS
Quality of Service
SIM
SMS
TE
Terminal Equipment
UART
UE
User Equipment
UMTS
USIM
WCDMA
Wideband CDMA
Full Name
SM
SIM phonebook
EN
ON
Issue 02 (2014-12-08)
87