Rainbow Electronics GM862-QUAD-PY User Manual
Page 225

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 225 of 434
+CMGW - Write Message To Memory
SELINT 0 / 1
into GSM alphabet, according to GSM 07.05, Annex A; backspace can be
used to delete last character and carriage returns can be used.
- if current
scheme is used or current
TP-User-Data-Header-Indication is set, the entered text should consist of
two IRA character long hexadecimal numbers which ME/TA converts into
8-bit octet (e.g. the ‘asterisk’ will be entered as 2A (IRA50 and IRA65)
and this will be converted to an octet with integer value 0x2A)
Note: the DCD signal shall be in ON state while text is entered.
Note: the echoing of entered characters back from the TA is controlled by
echo command E
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.
Note: it is possible to save a concatenation of at most 10 SMs; the
maximum number of chars depends on the
03.38 default alphabet is used, 1340 chars if 8-bit is used, 670 chars if
UCS2 is used
Reference GSM
07.05
Note
To avoid malfunctions is suggested to wait for the +CMGW:
+CMS ERROR:
+CMGW - Write Message To Memory
SELINT 2
Note: the behaviour of command +CMGW differs depending on whether or not the improved SMS
commands operation mode has been enabled (see #SMSMODE).
(#SMSMODE=0)
#
S
M
S
(PDU Mode)
AT+CMGW=
[,
(PDU Mode)
Execution command writes in the
message.