UC864
UC864
UC864
UC864----E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6 ---- 2010
2010
2010
2010----0
00
05
55
5----20
20
20
20
Reproduction forbidden without Telit Communications S.p.A’s. written authorization - All Rights Reserved.
Page 174 of 329
+CMGD
+CMGD
+CMGD
+CMGD ---- Delete Message
Delete Message
Delete Message
Delete Message
<index>
<index>
<index>
<index> - message index in the selected storage <memr>
<memr>
<memr>
<memr>
<delflag>
<delflag>
<delflag>
<delflag> - an integer indicating multiple message deletion request.
0 (or omitted) - delete message specified in <inde
<inde
<inde
<index>
x>
x>
x>
1 - delete all read messages from <memr>
<memr>
<memr>
<memr> storage, leaving unread
messages and stored mobile originated messages (whether sent or not)
untouched
2 - delete all read messages from <memr>
<memr>
<memr>
<memr> storage and sent mobile
originated messages, leaving unread messages and unsent mobile
originated messages untouched
3 - delete all read messages from <memr>
<memr>
<memr>
<memr> storage, sent and unsent
mobile originated messages, leaving unread messages untouched
4 - delete all messages from <memr>
<memr>
<memr>
<memr> storage.
Note: if <delflag>
<delflag>
<delflag>
<delflag> is present and not set to 0 then <index>
<index>
<index>
<index> is ignored and
ME shall follow the rules for <delflag>
<delflag>
<delflag>
<delflag> shown above.
Note: if the location to be deleted is empty, an error message is reported.
AT+CMGD=?
AT+CMGD=?
AT+CMGD=?
AT+CMGD=?
Test command shows the valid memory locations and optionally the
supported values of <delflag>
<delflag>
<delflag>
<delflag>.
+CMGD: (supported <index>s list)[,(supported <delflag>s list)]
+CMGD: (supported <index>s list)[,(supported <delflag>s list)]
+CMGD: (supported <index>s list)[,(supported <delflag>s list)]
+CMGD: (supported <index>s list)[,(supported <delflag>s list)]
Example
AT+CMGD=?
+CMGD:
(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,2
9,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50),(0-4)
OK
AT+CMGD=11
Delete message in 10th record
OK
AT+CMGD=1,4
Delete all messages
OK
Reference
3GPP TS 27.005
3.5.5.4.5.
More Message to Send
More Message to Send
More Message to Send
More Message to Send ---- +CMMS
+CMMS
+CMMS
+CMMS
+CMMS
+CMMS
+CMMS
+CMMS –
––
– More Message to Send
More Message to Send
More Message to Send
More Message to Send
AT+CMMS=[<n>]
AT+CMMS=[<n>]
AT+CMMS=[<n>]
AT+CMMS=[<n>]
Set command controls the continuity of SMS relay protocol link.
Multiple messages can be sent much faster as link is kept open.
Parameter:
<n>
0 – Disable (factory default)
1 - Keep link opened while messages are sent. If the delay between two
messages exceeds 3 seconds, the link is closed and the parameter <n>