Message Sending +Cmgs; Command Syntax; Interface Description; Defined Values - Huawei EM770W At Command Interface Specification

Umts m2m
Hide thumbs Also See for EM770W:
Table of Contents

Advertisement

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 sending +CMGS".
If no <tosca> parameter is included, it is equivalent to the effect that the <tosca>
parameter is not modified.

5.13 Message sending +CMGS

5.13.1 Command Syntax

Command
if pdu mode (+CMGF=0):
+CMGS=<length><CR>
PDU
given<ctrl-Z/ESC>
if text mode (+CMGF=1):
+CMGS=<da>[,<toda>]
<CR>
text
entered<ctrl-Z> >
+CMGS=?

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.
Issue 18 (2009-06-22)
Possible response(s)
if pdu mode (+CMGF=0):
<CR><LF>+CMGS:
<mr>[,<ackpdu>]<CR><LF><CR><LF>OK<CR><LF>
is
if text mode ( +CMGF=1 ):
<CR><LF>+CMGS:
<mr><CR><LF><CR><LF>OK<CR><LF>
In case of SMS-related error:
is
<CR><LF>+CMS ERROR: <err><CR><LF>
<CR><LF>OK<CR><LF>
Commercial in Confidence
HUAWEI UMTS M2M Module V100R001
AT Command Interface Specification
Page 74 of 169

Advertisement

Table of Contents
loading

Table of Contents