6 deleting an sms, Deleting an sms, At+cmgd=<index><cr – Telit Wireless Solutions GE863 User Manual

Page 69

Advertising
background image





GE863-GPS Software User Guide

1vv0300724 Rev. 2 - 24/01/07

+CMS ERROR: 42

network congestion

Retry later

+CMS ERROR: 96

Mandatory information missing Check for destination address

in the SMS, overwrite it and
retry.

OK

command aborted by user

you issued a ESC char

For example:
1- Let's assume you want to directly send a new SMS to the destination address number
+39338123456789. We suppose you already have set up the device for text SMS mode as described
on the previous paragraphs:

command:
AT+CMGS="+39338123456789"
response:
>
now you can insert the message text in IRA format (note that the IRA format and ASCII format
coincide for the alphabet characters but not for the other).
…. here will be inserted the SMS message text to be sent….

conclude text with the character CTRL-Z
response:
+CMGW: 4

OK

In this case, the new SMS was successfully sent to the SC and its network reference number is 4.
Do not confuse message reference with message index position, the first indicates the network
reference for identifying the sent message (the eventually requested status report will have the same
reference) while the second indicates the position where the message has eventually been stored in
memory.




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:

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 69 of 109

Advertising