3 write message to memory - +cmgw – Rainbow Electronics GM862-QUAD-PY User Manual
Page 223

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 223 of 434
+CMSS - Send Message From Storage
SELINT 2
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:
+CMSS: <mr>
where:
<mr> - message reference number.
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.
Reference GSM
07.05
3.5.5.4.3 Write Message To Memory - +CMGW
+CMGW - Write Message To Memory
SELINT 0 / 1
(PDU Mode)
AT+CMGW=
<length>
[,<stat>]
(PDU Mode)
Execution command writes in the <memw> memory storage a new
message.
Parameter:
<length> - length in bytes of the PDU to be written.
7..164
<stat> - message status.
0 - new message
1 - read message