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 128 of
229
+CMSS - Send Message From Storage
+CMSS: 136
OK
Reference 3GPP TS 27.005
3.5.4.4.3. Write Message To Memory - +CMGW
+CMGW - Write Message To Memory
(PDU Mode)
AT+CMGW=
<length>
[,<stat>]
(PDU Mode)
Execution command writes in the <mem2> 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
2 - stored message not yet sent (default)
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 <mem2>.
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.
(Text Mode)
AT+CMGW[=<da>
[,<toda>
[,<stat>]]]
(Text Mode)
Execution command writes in the <mem2> memory storage a new message.
Parameters:
<da> - destination address, string type.
<toda> - type of destination address.
129 - number in national format
145 - number in international format (contains the "+")
<stat> - message status.
"REC UNREAD" - new received message unread