Cinterion
®
EHS6 AT Command Set
12.5 AT+CMGL
EHS6_ATC_V03.001
15/12/3
Confidential / Released
Page 328 of 513
12.5
AT+CMGL List SMS messages from preferred store
The write command returns messages with status value
from message storage
to the TE. If the
status of the message is 'received unread', the status in the storage changes to 'received read'.
The execute command is the same as the write command with the given default for
Syntax
Test Command
AT+CMGL=?
Response(s)
+CMGL:
(list of supported
OK
Exec Command
AT+CMGL
Response(s)
+CMGL:
(see write command for default of
OK
Write Command
AT+CMGL=
Response(s)
Output if text mode (
=1) and command successful:
For SMS- SUBMITs and/or SMS-DELIVERs
+CMGL:
,
], [
][,
/
<CR><LF>
[... ]
OK
For SMS-STATUS-REPORTs
+CMGL:
,
],
<CR><LF>
[... ]
OK
For SMS-Commands
+CMGL:
,
<CR><LF>
[... ]
OK
Output if PDU mode
=0 and command successful:
For SMS-SUBMITs and/or SMS-DELIVERs
+CMGL:
, [
<CR><LF>
<CR><LF>
[... ]
OK
If error is related to ME functionality
ERROR
+CMS ERROR:
<err>
PIN
Last
Reference(s)
+
+
-
3GPP TS 27.005