HUAWEI MU509 HSDPA LGA Module
AT Command Interface Specification
Short Message Service Commands
Issue 04 (2013-01-28)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
91
6.12.4
Examples
The SMSC number is: 13902900, and the message is sent to the number:
13901000453, and the contents are: 0x53 0x4E 0x4E 0x3A ("
华为
" for UCS2 encode),
then:
If "+CSCA" has set SCA, then
a) When sending the message, the <SCA> field can be left uncompleted. The <SCA>
value is obtained through the value set via “+CSCA” command.
AT+CMGS=17(CR)
>81000B813109010054F3001804534E4E3A\x1A
Note:
Data interpretation, 81(<RP-MTI>)00(<MR>)0B(<DA-len>)81(<DA-type>)
3109010054F3(<DA-numbers>)00(<PID>)18(<DCS>)04(<UDL>)534E4E3A
(<UD>)\x1A(<ctrl-Z>)
b) When sending the message, the <SCA> field can also be completed, and the
<SCA> value can be obtained directly from the PDU packet.
AT+CMGS=17
>05a13109920081000B813109010054F3001804534E4E3A\x1A
or
AT+CMGS=17
>0081000B813109010054F3001804534E4E3A\x1A
(In this case, since <sc_len>=0, when sending the message, the <SCA> can be
obtained through the value set via the "+CSCA" command)
PDU Format:
DATA:81000B813109010054F3001804534E4E3A
Field
Information
Comment
81
RP-MTI
RP-Message Type Indicator(send SMS)
00
TP-MR
0
0B
DA Address length
Total 11 code
81
DA-type
Unknown type
3109010054F3
TP-DA
13901000453, last extra F is filled for full
information string.
00
TP-PID
GSM, point to point
18
TP-DCS
UCS2
04
TP-UDL
Send data length is 4