Huawei MC509 Network Router User Manual


 
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
SMS Interface Commands
Issue 01 (2011-08-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
99
109: WMS_OTHER_GENERAL_PROBLEMS_MORE_LAST_S
8.12 ^HCMGWCommand for Storing a Short Message
8.12.1 Syntax
Command
Possible Response(s)
If PDU mode enabled
^HCMGW=<length>,<tag><CR><Layer3
packet><ctrl-z/ESC>
If TEXT mode enabled
^HCMGW=<oa/da>[,<tooa/toda>],<stat>
,<ptr>,<type>,<format>,<lang>[,<year,
<month>,<day>,<hour>,<minute>,
<second>]<CR><text><ctrl-Z/ESC>
<CR><LF>^HCMGW:<index><CR><LF
>
<CR><LF>OK<CR><LF>
In case of an SMS-related error:
<CR><LF>+CMS
ERROR:<err><CR><LF>
^HCMGW=?
<CR><LF>OK<CR><LF>
8.12.2 Interface Description
This command stores a short message to the storage location specified by <mem2>
in the +CPMS command. The short message can be saved to the "SM" or "ME".
PDU mode:
Save a message to memory, there are two steps:
Firstly, ^HCMGW=<length>,<tag> end with(CR)
TE wait for <CR><LF>< greater_than ><space>(IRA 13, 10, 62, 32) from the MT
and input the message content that end with<ctrl-Z> (IRA 26).
TEXT mode:
Save a message to memory, there are two steps:
Firstly, ^HCMGW=<oa/da>[,<tooa/toda>],<stat>,<ptr>,<type>,<format>,<lang>
[,<year>,<month>,<day>,<hour>,<minute>,<second>] end with(CR)
TE wait for <CR><LF>< greater_than ><space>(IRA 13, 10, 62, 32) from the MT
and input the text content that end with<ctrl-Z> (IRA 26)
8.12.3 Parameter Description
<oa/da>: Specifies the number of the sender or recipient of a short message. It is a
string with double quotation marks, consisting of a maximum of 20 characters. The
value can be 09, *, #, and +. The + symbol can only be placed at the beginning of a
number.