GE863-QUAD / PY Software User Guide
GE863-QUAD / PY Software User Guide GE863-QUAD / PY Software User Guide
GE863-QUAD / PY Software User Guide 1vv0300746 Rev. 1 - 23/10/06 3.4.7 Reading an SMS A new SMS can be read with the command: • send command AT+CMGR= where: : SMS location index • 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: +CMGR: ,,[,,,,,, ,,] Output format for message delivery confirm: +CMGR: ,,,,,,, where: - 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 - first octet of the message PDU - message reference number - arrival time of the message to the SC - sending time of the message - message status as coded in the PDU - Protocol Identifier - Data Coding Scheme - Originator address, string type represented in the currently selected character set (see +CSCS) - Destination address, string type represented in the currently selected character set (see +CSCS) - string type alphanumeric representation of or , 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. - Service Centre number ,, - type of number ,, 129 - number in national format Reproduction forbidden without Telit Communications S.p.A. written authorization - All Right reserved page 78 of 117
GE863-QUAD / PY Software User Guide 1vv0300746 Rev. 1 - 23/10/06 145 - number in international format (contains the "+") - text length - TP-User_data • If indicates that GSM03.38 default alphabet is used , each character of GSM alphabet will be converted into current TE character set (see +CSCS) • If 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 . 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. Reproduction forbidden without Telit Communications S.p.A. written authorization - All Right reserved page 79 of 117
- Page 27 and 28: GE863-QUAD / PY Software User Guide
- Page 29 and 30: GE863-QUAD / PY Software User Guide
- Page 31 and 32: GE863-QUAD / PY Software User Guide
- Page 33 and 34: GE863-QUAD / PY Software User Guide
- Page 35 and 36: GE863-QUAD / PY Software User Guide
- Page 37 and 38: GE863-QUAD / PY Software User Guide
- Page 39 and 40: AT+CPBR=7 the response may look lik
- Page 41 and 42: 3.1.5 Phonebook entry Delete As fir
- Page 43 and 44: GE863-QUAD / PY Software User Guide
- Page 45 and 46: 3.2.1.1 Set the extended incoming c
- Page 47 and 48: GE863-QUAD / PY Software User Guide
- Page 49 and 50: GE863-QUAD / PY Software User Guide
- Page 51 and 52: GE863-QUAD / PY Software User Guide
- Page 53 and 54: GE863-QUAD / PY Software User Guide
- Page 55 and 56: GE863-QUAD / PY Software User Guide
- Page 57 and 58: GE863-QUAD / PY Software User Guide
- Page 59 and 60: GE863-QUAD / PY Software User Guide
- Page 61 and 62: • wait for OK GE863-QUAD / PY Sof
- Page 63 and 64: - Data Coding Scheme - page number
- Page 65 and 66: GE863-QUAD / PY Software User Guide
- Page 67 and 68: GE863-QUAD / PY Software User Guide
- Page 69 and 70: GE863-QUAD / PY Software User Guide
- Page 71 and 72: GE863-QUAD / PY Software User Guide
- Page 73 and 74: GE863-QUAD / PY Software User Guide
- Page 75 and 76: GE863-QUAD / PY Software User Guide
- Page 77: GE863-QUAD / PY Software User Guide
- Page 81 and 82: GE863-QUAD / PY Software User Guide
- Page 83 and 84: GE863-QUAD / PY Software User Guide
- Page 85 and 86: GE863-QUAD / PY Software User Guide
- Page 87 and 88: GE863-QUAD / PY Software User Guide
- Page 89 and 90: GE863-QUAD / PY Software User Guide
- Page 91 and 92: GE863-QUAD / PY Software User Guide
- Page 93 and 94: GE863-QUAD / PY Software User Guide
- Page 95 and 96: esponse: +CCLK="02/11/07,13:24:47"
- Page 97 and 98: GE863-QUAD / PY Software User Guide
- Page 99 and 100: 4.1.1 CSD application example GE863
- Page 101 and 102: GE863-QUAD / PY Software User Guide
- Page 103 and 104: GE863-QUAD / PY Software User Guide
- Page 105 and 106: GE863-QUAD / PY Software User Guide
- Page 107 and 108: GE863-QUAD / PY Software User Guide
- Page 109 and 110: GE863-QUAD / PY Software User Guide
- Page 111 and 112: MAIL FROM: GE863-QUAD / PY Softwar
- Page 113 and 114: GE863-QUAD / PY Software User Guide
- Page 115 and 116: GE863-QUAD / PY Software User Guide
- Page 117: GE863-QUAD / PY Software User Guide
<strong>GE863</strong>-<strong>QUAD</strong> / <strong>PY</strong> <strong>Software</strong> <strong>User</strong> <strong>Guide</strong><br />
1vv0300746 Rev. 1 - 23/10/06<br />
3.4.7 Reading an SMS<br />
A new SMS can be read with the command:<br />
• send command AT+CMGR=<br />
where:<br />
: SMS location index<br />
• wait for response in the format:<br />
Output format for received messages (the information written in italics will be present depending on<br />
+CSDH last setting):<br />
+CMGR: ,,,[,,,,<br />
,,,]<br />
Output format for sent messages:<br />
+CMGR: ,,[,,,,,,<br />
,,]<br />
Output format for message delivery confirm:<br />
+CMGR: ,,,,,,,<br />
where:<br />
- status of the message<br />
"REC UNREAD" - new received message unread<br />
"REC READ" - received message read<br />
"STO UNSENT" - message stored not yet sent<br />
"STO SENT" - message stored already sent<br />
- first octet of the message PDU<br />
- message reference number<br />
- arrival time of the message to the SC<br />
- sending time of the message<br />
- message status as coded in the PDU<br />
- Protocol Identifier<br />
- Data Coding Scheme<br />
- Originator address, string type represented in the currently selected character set (see<br />
+CSCS)<br />
- Destination address, string type represented in the currently selected character set (see<br />
+CSCS)<br />
- string type alphanumeric representation of or , corresponding to an entry found<br />
in the phonebook; used character set is the one selected with command +CSCS. NB: this<br />
optional field is currently not supported.<br />
- Service Centre number<br />
,, - type of number ,,<br />
129 - number in national format<br />
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Right reserved page 78 of 117