Rainbow Electronics GM862-QUAD-PY User Manual
Page 224

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 224 of 434
+CMGW - Write Message To Memory
SELINT 0 / 1
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:
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[=
[,
(Text Mode)
Execution command writes in the
message.
Parameters:
selected character set (see +CSCS).
129 - number in national format
145 - number in international format (contains the "+")
"REC UNREAD" - new received message unread
"REC READ" - received message read
"STO UNSENT" - message stored not yet sent (default)
"STO SENT" - message stored already sent
After command line is terminated with
four character sequence prompt:
After this prompt text can be entered; the entered text should be formatted
as follows:
- if current
used and current
Data-Header-Indication is not set, then ME/TA converts the entered text