Telit LE910 V2 Series AT Commands
80446ST10707A Rev. 0– 2015-11-03
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 178 of 509
Mod. 0808 2011-07 Rev.2
+CMSS - Send Message From Storage
To avoid malfunctions is suggested to wait for the +CMSS: <mr> or +CMS
ERROR: <err> response before issuing further commands.
Write Message To Memory - +CMGW
+CMGW - Write Message To Memory
AT+CMGW=
<length>
[,<stat>]
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 (received unread message; default for DELIVER messages
(3GPP TS 23.040 SMS-DELIVER messages))
1 - read message
2 - stored message not yet sent (default for SUBMIT messages(3GPP TS 23.040
SMS-SUBMIT messages))
3 - stored message already sent
The device responds to the command with the prompt '>' and waits for the
specified number of bytes.
To write the message issue Ctrl-Z char (0x1A hex).
To exit without writing the message issue ESC char (0x1B hex).
If message is successfully written in the memory, then the result is sent in the
format:
+CMGW: <index>
where:
<index> - message location index in the memory <memw>.
If message storing fails for some reason, an error code is reported.
Note: care must be taken to ensure that during the command execution, no other
SIM interacting commands are issued.
Note: in PDU mode, not only SUBMIT messages can be stored in SIM, but also
DELIVER and STATUS REPORT messages (3GPP TS 23.040 SMS-STATUS-
REPORT messages). SUBMIT messages can only be stored with status 2 or 3;
DELIVER and STATUS REPORT messages can only be stored with status 0 or 1.