Cinterion
®
EHS6 AT Command Set
12.6 AT+CMGR
EHS6_ATC_V03.001
15/12/3
Confidential / Released
Page 330 of 513
12.6
AT+CMGR Read SMS messages
The write command returns SMS message with location value
to the
TE. If status of the message is 'received unread', status in the storage changes to 'received read'.
When using Text mode it is recommended to set
=1. In this case the
responses will include detailed header information. See
for details.
Syntax
Test Command
AT+CMGR=?
Response(s)
OK
Write Command
AT+CMGR=
Response(s)
Output if text mode (
=1) and command successful:
For SMS-DELIVER
+CMGR:
, [
[,
,
,
[... ]
OK
For SMS-SUBMIT
+CMGR:
, [
,
, [
,
[... ]
OK
For SMS-STATUS-REPORT
+CMGR:
,
], [
,
[... ]
OK
For SMS-Commands
+CMGR:
,
, [
], [
]<CR><LF>
[... ]
OK
Output if PDU mode (
=0) and command successful:
For SMS-SUBMITs and/or SMS-DELIVERs
+CMGR:
],
[... ]
OK
ERROR
+CMS ERROR:
<err>
PIN
Last
Reference(s)
+
+
-
3GPP TS 27.005