User Manual
GM862-GPS Software User Guide
1vv0300729 Rev. 5 - 05/07/07
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 75 of 120
3.5.6 Deleting an SMS
An already written/received SMS can be deleted from the selected storage (in the current SW version
only "SM" is supported).
To delete the SMS its location index is needed:
•
send command
AT+CMGD=<index><cr>
where:
<index>: SMS location index
• wait for response:
Response Reason Action
OK Message has been successfully
deleted.
proceed ahead
ERROR some error occurred Enable the extended error
codes report (see par.2.5.2.1)
and retry.
+CMS ERROR: 321 Invalid memory index
e.g. the given record was
already empty
Check the <index> number and
retry.
For example:
1- Let's assume you want to delete a previously written SMS that was written to the storage index
position number 3. We suppose you already have set up the device for text SMS mode as described
on the previous paragraphs:
command:
AT+CMGD=3
response:
OK
In this case, the SMS was successfully deleted.
2- Let's assume you want to delete a received SMS that was stored to the index position number 7:
command:
AT+CMGD=7
response:
OK










