Specifications
Command Reference
Rev 3.2 Oct.05 81
+CMGS (continued) Send SMS message (continued)
The text in <message text> is sent to the address <da>. <toda> is optional—
when the first character of the phone number is “+” (IRA 43), it will default to
145; otherwise the default is 129.
Note: In both modes, <CTRL+Z> (IRA 26) sends the message. <ESC> (IRA
27) quits without sending.
Sending SMS messages requires that the service center be configured using
+CSAS. (See page 27.)
Supported values
See +CMGL (page 78–79) and +CMGC (page 77) for details on the listed
parameters.
+CMGW=
<length>,
<status><CR>
<pdu> (PDU mode)
or
+CMGW
[=<oa/da>]
[,<tooa/toda>]
[,<status>]<CR>
<data> (text mode)
Write SMS message to memory
Saves the SMS message (either SMS-DELIVER or SMS-SUBMIT) to the
message store. If successful, the memory location <index> of the stored
message is returned in the form +CMGW: <index>.
By default, message status will be set to “stored unsent” (<status>=2 or STO
UNSENT), but another <status> may be assigned, as described on page 78.
The ending of the message body (in text mode) or PDU (in PDU mode) must be
indicated by <ctrl-Z> (IRA 26). Saving can be cancelled by passing the <ESC>
character (IRA 27).
Supported values
See +CMGL (page 78–79) for details on the listed parameters.
Note: When storing an SMS-DELIVER to the message store in text mode,
<vp> can be substituted for <scts> (see +CSMP, page 93).
+CMSS=<index>
[,<da>][,<toda>]
Send SMS message from storage
Sends the message with location value <index> from the message store to the
network (SMS-SUBMIT). <da> and <toda> are optional—if new values are
provided, they will be used instead of the <da> stored with the message and the
default <toda>.
A message reference value <reference> is returned if the message has been
successfully delivered, in the form +CMSS: <reference>. It can be used to
identify the message if an unsolicited delivery status report result code is
returned.
Supported values
See +CMGL (page 78–79) for details on the listed parameters.
Table 3-9: Command Reference Table (ASCII Alphabetic)
Command Description