TC45 AT Command Set
12.5 AT+CMGL
s
m
obile
TC45_ATC_V02.02
Page 301 of 461
4/16/04
Confidential / Released
12.5
AT+CMGL List SMS messages from preferred store
Syntax
Test Command
AT+CMGL=?
Response(s)
+CMGL:
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:
,
, [
], [
[... ]
OK
For SMS-STATUS-REPORTs
+CMGL:
,
[... ]
OK
For SMS-Commands
+CMGL:
,
[... ]
OK
Output if PDU mode
=0 and command successful:
For SMS-SUBMITs and/or SMS-DELIVERs
+CMGL:
],
[... ]
OK
If error is related to ME functionality
ERROR
+CMS ERROR