Telit Wireless Solutions GE863 GPS Receiver User Manual


 
GE863-GPS Software User Guide
1vv0300724 Rev. 2 - 24/01/07
+CMGR: <stat>,<da>,<alpha>[,<toda>,<fo>,<pid>,<dcs>,,
<sca>,<tosca>,<length>]<CR><LF><data>
Output format for message delivery confirm:
+CMGR: <stat>,<fo>,<mr>,,,<scts>,<dt>,<st>
where:
<stat> - status of the message
"REC UNREAD" - new received message unread
"REC READ" - received message read
"STO UNSENT" - message stored not yet sent
"STO SENT" - message stored already sent
<fo> - first octet of the message PDU
<mr> - message reference number
<scts> - arrival time of the message to the SC
<dt> - sending time of the message
<st> - message status as coded in the PDU
<pid> - Protocol Identifier
<dcs> - Data Coding Scheme
<oa> - Originator address, string type represented in the currently selected character set (see
+CSCS)
<da> - Destination address, string type represented in the currently selected character set (see
+CSCS)
<alpha> - string type alphanumeric representation of <da> or <oa>, corresponding to an entry found
in the phonebook; used character set is the one selected with command +CSCS. NB: this
optional field is currently not supported.
<sca> - Service Centre number
<tooa>,<toda >,<tosca> - type of number <oa>,<da>,<sca>
129 - number in national format
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:
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 71 of 109