Rainbow Electronics GM862-QUAD-PY User Manual

Page 75

Advertising
background image





GM862-QUAD / PY Software User Guide

1vv0300747 Rev. 3 - 10/07/07

Reproduction forbidden w ithout Telit Communications S.p.A. w ritten authorization - All Rights Reserved

page 75 of 96

wait for response in the format:

For every message in the group:
+CMGL: <index>,<stat>,<oa/da> [,,,<tooa/toda>,<length>]
<CR><LF><text>

where:

<index> - message index position on the storage
<stat> - status of the message

"REC UNREAD" - new message
"REC READ" - read message
"STO UNSENT" - stored message not yet sent
"STO SENT" - stored message already sent

<oa/da> - sender number/destination number
< tooa/toda > - type of number <oa/da>

145 - international number (contains "+" character)
129 - national number

<length> - length of the message text in characters
<text> - message text


NOTE: If status of the message is 'received unread', status in the storage changes to 'received read'.


For example:
1- Let's assume you want to list all the SMS received read that are stored. We suppose you already
have set up the device for text SMS mode as described on the previous paragraphs:

command:
AT+CMGL="REC READ"
response:
+CMGL: 5, "REC READ","+393381234567890"
Telit Test Message for Text Mode SMS RECEIVING.
+CMGL: 8, "REC READ","+393381234567890"
Telit Second Test Message for Text Mode SMS RECEIVING.
OK

In this case the SMS group was successfully read, the messages Received UNREAD were two in the
position indexes 5 & 8. The optional parameters <tooa/toda> and <length> were not shown.

Advertising