GE863-QUAD / PY Software User Guide

GE863-QUAD / PY Software User Guide GE863-QUAD / PY Software User Guide

03.01.2015 Views

GE863-QUAD / PY Software User Guide 1vv0300746 Rev. 1 - 23/10/06 +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. Reproduction forbidden without Telit Communications S.p.A. written authorization - All Right reserved page 76 of 117

GE863-QUAD / PY Software User Guide 1vv0300746 Rev. 1 - 23/10/06 3.4.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= where: : SMS location index • wait for response: Response Reason Action OK Message has been successfully proceed ahead deleted. 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 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 Reproduction forbidden without Telit Communications S.p.A. written authorization - All Right reserved page 77 of 117

<strong>GE863</strong>-<strong>QUAD</strong> / <strong>PY</strong> <strong>Software</strong> <strong>User</strong> <strong>Guide</strong><br />

1vv0300746 Rev. 1 - 23/10/06<br />

3.4.6 Deleting an SMS<br />

An already written/received SMS can be deleted from the selected storage (in the current SW version<br />

only "SM" is supported).<br />

To delete the SMS its location index is needed:<br />

• send command AT+CMGD=<br />

where:<br />

: SMS location index<br />

• wait for response:<br />

Response Reason Action<br />

OK<br />

Message has been successfully proceed ahead<br />

deleted.<br />

ERROR some error occurred Enable the extended error<br />

codes report (see par.2.5.2.1)<br />

and retry.<br />

+CMS ERROR: 321<br />

Invalid memory index<br />

e.g. the given record was<br />

already empty<br />

Check the number and<br />

retry.<br />

For example:<br />

1- Let's assume you want to delete a previously written SMS that was written to the storage index<br />

position number 3. We suppose you already have set up the device for text SMS mode as described<br />

on the previous paragraphs:<br />

command:<br />

AT+CMGD=3<br />

response:<br />

OK<br />

In this case, the SMS was successfully deleted.<br />

2- Let's assume you want to delete a received SMS that was stored to the index position number 7:<br />

command:<br />

AT+CMGD=7<br />

response:<br />

OK<br />

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Right reserved page 77 of 117

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!