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.
96
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:
The ^HCMGS=<da>[,<toda>] command is sent with the end of (CR).
The TE waits <CR><LF><greater_than><space>(IRA 13, 10, 62, 32) returned by
the MT, and then sends the message content ending with <ctrl-Z> (IRA 26).
In TEXT mode, it only supports 0~0x00FF with UCS2.
The maximum length of message is 160 characters with 7bit codec, and 70
characters with UCS2S.
8.9.3 Parameter Description
<length>: the length is bytes of layer3 packet.
<da>: Specifies the number of the 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 at the start of the number.
<toda>: Specifies the address encoding format. It is a digit of one byte. It is not
supported at present. The default value is 0.
<mr>: A decimal digit, specifying the identifier of a short message. The value ranges
from 0 to 65535.
<ctrl-Z>: Identifies the end of a short message. The character is '0x1A' ('0x001A' in
the Unicode).
<ESC>: Indicates that the sending of a short message is canceled. The character is
'0x1B' ('0x001B' under the Unicode).
<Layer3 packet>the character is 09AFtwo characters form a Octet.
Sending of a short message adopts the asynchronous command processing mode in the AT
command. Currently, the asynchronous command processing process cannot process other
AT commands. During the process, if the MT receives a short message-related command,
such as the +CPMS, ^HCMGR, +CMGD, ^HCMGL, +CNMA, +CNMI, or ^HCMGW command,
it returns "+CMS ERROR:302". That is, the operation is not allowed. If the MT receives the
^HCMGS command, it returns "^HCMGSF: 0". If the MT receives another command unrelated
to a short message, it returns "+CME ERROR:40". That is, the operation is not allowed.