HUAWEI UMTS M2M Module V100R001
AT Command Interface Specification
Issue 18 (2009-06-22)
Commercial in Confidence
Page 74 of 169
String value. It indicates the SMSC number. The number is composed “*”, “#” and
“0”-“9”. The number contains 20 characters at most.
<tosca>:
Integer value. It indicates the number type, where “145” means an international call.
For the specific values, see also the definition of the “type_addr” parameter in the SC
number, as described in the section “Short message sCMGS”.
If no <tosca> parameter is included, it is equivalent to the effect that the <tosca>
parameter is not modified.
5.13 Message sCMGS
5.13.1 Command Syntax
Command
Possible response(s)
if pdu mode (+CMGF=0):
+CMGS=<length><CR>
PDU is
given
<ctrl-Z/ESC>
if text mode (+CMGF=1):
+CMGS=<da>[,<toda>]
<CR>
text is
entered
<ctrl-Z>
>
if pdu mode (+CMGF=0):
<CR><LF>+CMGS:
<mr>[,<ackpdu>]<CR><LF><CR><LF>OK<CR><LF>
if text mode (
+CMGF=1
):
<CR><LF>+CMGS:
<mr><CR><LF><CR><LF>OK<CR><LF>
In case of SMS-related error:
<CR><LF>+CMS ERROR: <err><CR><LF>
+CMGS=? <CR><LF>OK<CR><LF>
5.13.2 Interface Description
Send a message to the network side. The process of sending a message includes two
steps:
PDU mode:
First, deliver “+CMGS=<length>” ended with (CR).
After MS returns <CR><LF><greater_than><space>(IRA 13, 10, 62, 32), the TE
delivers the PDU packet, which is ended with <ctrl-Z>(IRA 26).
Text mode:
First, deliver “+CMGS=<da>[,<toda>]” ended with (CR).
After MS returns <CR><LF><greater_than><space>(IRA 13, 10, 62, 32), the TE
delivers the text, which is ended with <ctrl-Z>(IRA 26).
5.13.3 Defined Values
<length>: The number of actually sent TPDU characters/2. The digits are decimal
numbers that range from 0 to 9. The maximum value is 178.
Содержание EM770W
Страница 2: ......