Rainbow Electronics GM862-QUAD-PY User Manual
Page 231

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 231 of 434
+CMGD - Delete Message
SELINT 2
Note: the behaviour of command +CMGD differs depending on whether or not the improved SMS
commands operation mode has been enabled (see #SMSMODE).
(#SMSMODE=0)
AT+CMGD=
[,
Execution command deletes from memory
Parameter:
have values form 1 to N, where N depends on the available space
(see +CPMS)
0 (or omitted) - delete message specified in
1 - delete all read messages from
messages and stored mobile originated messages (whether sent
or not) untouched
2 - delete all read messages from
originated messages, leaving unread messages and unsent mobile
originated messages untouched
3 - delete all read messages from
mobile originated messages, leaving unread messages untouched
4 - delete all messages from
Note: if
and ME shall follow the rules for
Note: if the location to be deleted is empty, an error message is
reported.
AT+CMGD=?
Test command shows the valid memory locations and optionally the
supported values of
+CMGD: (supported
Example
AT+CMGD=?
+CMGD: (1,2,3,6,7,17,18,19,20,37,38,39,47),(0-4)
OK
#
S
M
S
M
O
D
E
=
0
#
S
M
S
M
O
D
E
=
0
Reference GSM
07.05
(#SMSMODE=1)
#
S
M
S
M
O
D
E
AT+CMGD=
[,
Execution command deletes from memory
Parameter:
have values form 1 to N, where N depends on the available space
(see +CPMS)
0 (or omitted) - delete message specified in