HE863 family AT commands reference guide
80377ST10083a Rev.6 ā 2012-11-12
Reproduction forbidden without written authorization from Telit Communications S.p.A.- All Rights Reserved. Page 127 of
229
3.5.4.4.2. Send Message From Storage - +CMSS
+CMSS - Send Message From Storage
AT+CMSS=
<index>[,<da>
[,<toda>]]
Execution command sends message with location value <index> from preferred
message storage <mem2> to the network.
Parameters:
<index> - location value in the message storage <mem2> of the message to send
<da> - destination address, string type . 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:
(PDU Mode)
Note : Optionally (when +CSMS <service> value is 1 and network supports)
<ackpdu> is returned:
+CMGS: <mr>[,<ackpdu>]
(Text Mode)
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.
<ackpdu> - GSM 03.40 RP-User-Data element of RP-ACK PDU; format is same
as for <pdu> in case of SMS, but without GSM 04.11 SC address field and
parameter shall be enclosed in double quote characters like a normal string type
parameter.
If message sending fails for some reason, an error code is reported:
+CMS ERROR:<err>
Note: to store a message in the <mem2> storage see command +CMGW.
Note: Optional return values <scts>, <ackpdu> are not provided by platform.
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