Specifications
UC864-E/G AT Commands Reference Guide
80304ST10041a Rev. 3 - 18/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 144 of 259
3.5.5.4.2 Send Message From Storage - +CMSS
+CMSS - Send Message From Storage
AT+CMSS=
<index>[,<da>
[,<toda>]]
Execution command sends to the network a message which is already
stored in the <memw> storage (see +CPMS) at the location <index>.
Parameters:
<index> - location value in the message storage <memw> of the message
to send
<da> - destination address, string type represented in the currently selected
character set (see +CSCS); if it is given it shall be used instead of the
one stored with the message.
<toda> - type of destination address
129 - number in national format
145 - number in international format (contains the "+")
If message is successfully sent to the network then the result is sent in the
format:
(Note : Optionally (when +CSMS <service> value is 1 and network
supports) <scts> is returned)
+CMSS: <mr>[, <scts>]
where:
<mr> - message reference number.
<scts> - TP-Service Centre Time Stamp in Time String Format.
If message sending fails for some reason, an error code is reported:
+CMS ERROR:<err>
Note: to store a message in the <memw> storage see command +CMGW.
Note: care must be taken to ensure that during the command execution,
which may take several seconds, no other SIM interacting commands are
issued.
AT+CMSS=? Test command resturns the OK result code.
Note To avoid malfunctions is suggested to wait for the +CMSS: <mr> or +CMS
ERROR: <err> response before issuing further commands.
Example
AT+CMGF=1
OK
AT+CMGW="0165872928"
> test message...
+CMGW: 28
AT+CMSS=28
+CMSS: 136
OK
Reference 3GPP TS 27.005