8 listing a group of smss, Listing a group of smss, At+cmgl=<stat><cr – Telit Wireless Solutions GE863 User Manual

Page 72

Advertising
background image





GE863-GPS Software User Guide

1vv0300724 Rev. 2 - 24/01/07

command:
AT+CMGR=4
response:
+CMGR: "STO UNSENT","+393351234565"
Telit Test Message for Text Mode SMS.
OK

In this case the SMS was successfully read, the text contained was:
" Telit Test Message for Text Mode SMS."
The message was written to the storage by user (STO) but still not sent (UNSENT) to the destination
address that's the number +393351234565

2- Let's assume you want now to read the SMS that is stored at the position index 5:

command:
AT+CMGR=5
response:
+CMGR: "REC UNREAD","+393381234567890", ,"29/06/01,12:30:04+01"
Telit Test Message for Text Mode SMS RECEIVING.
OK

In this case the SMS was successfully read, the text contained was:
" Telit Test Message for Text Mode SMS RECEIVING."
The message was received (REC) from the number +393381234567890 at 12:30:04 the day 29/06/01
in the European time zone +1.

After this read command the message at index 5 becomes REC READ.

3.5.8 Listing a group of SMSs


The SMS can be grouped into 5 different groups depending on their status:
ƒ REC UNREAD

- received messages still not read

ƒ REC READ

- received messages already read

ƒ STO UNSENT

- written messages not yet sent

ƒ STO SENT

- written messages already sent

ƒ ALL

- all types of messages


It is possible to have the list of all the messages in one group:

send command

AT+CMGL=<stat><cr>

where:

<stat> - status group of the message

"REC UNREAD"

- new message

"REC READ"

- read message

"STO UNSENT"

- stored message not yet sent

"STO SENT"

- stored message already sent

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

page 72 of 109

Advertising