7 reading an sms, Reading an sms, At+cmgr= Page 70
Page 70
GE863-GPS Software User Guide
1vv0300724 Rev. 2 - 24/01/07
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
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
3.5.7 Reading an SMS
A new SMS can be read with the command:
•
send command
AT+CMGR=
where:
• wait for response in the format:
Output format for received messages (the information written in italics will be present depending on
+CSDH last setting):
+CMGR:
Output format for sent messages:
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 70 of 109