Rainbow Electronics GM862-GPS User Manual

Page 77

Advertising
background image





GM862-GPS Software User Guide

1vv0300729 Rev. 5 - 05/07/07

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

page 77 of 120

145 - number in international format (contains the "+")
<length> - text length
<data> - TP-User_data

If <dcs> indicates that GSM03.38 default alphabet is used , each character of GSM alphabet will

be converted into current TE character set (see +CSCS)

If <dcs> indicates that 8-bit or UCS2 data coding scheme is used, each 8-bit octet will be

converted into two IRA character long hexadecimal number (e.g. octet 0x2A will be converted as
two characters 0x32 0x41)


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

NOTE: an error result code is sent on empty record <index>.


For example:
1- Let's assume you want to read the SMS that is stored at the position index 4. We suppose you
already have set up the device for text SMS mode as described on the previous paragraphs:

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.

Advertising