AT Commands Reference Guide
80529ST10815A Rev.2– 2017-09-14
ReproductionforbiddenwithoutTelitCommunicationsS.p.A.writtenauthorization‐AllRightsReserved page89of233
+CMGL - List Messages
Example
AT+CMGF=1 Set Text mode
OK
AT+CMGL
+CMGL: 1,"REC UNREAD","+821020955219",,"07/07/26,20:05:11+36"
SMS Test message
+CMGL: 2,"REC UNREAD","+821020955219",,"07/07/26,20:05:58+36"
SMS Test message...
+CMGL: 3,"REC UNREAD","+821020955219",,"07/07/26,20:06:37+36"
SMS Test Message..
+CMGL: 4,"REC UNREAD","+821020955219",,"07/07/26,20:07:43+36"
TEST MESSAGE..
+CMGL: 5,"REC UNREAD","+821020955219",,"07/07/26,20:09:07+36"
TEST MESSAGE
OK
AT+CMGF=0 Set PDU mode
OK
AT+CMGL=2
+CMGL: 0,2,,24
079128019291903011640A8110567892820000A70CF4F29C0E6A97E7F3F0B90
C
+CMGL: 1,2,,21
079128019291903011640A8110516529700000A709027A794E77B95C2E
+CMGL: 26,2,,17
08812801009901025911640A8110567892820014A704C7D1B1DB
OK
Reference
3GPP TS 27.005
Read Message - +CMGR
+CMGR - Read Message
AT+CMGR=
<index>
Execution command reports the message with location value <index> from
<memr> message storage (<memr> is the message storage for read and delete SMs
as last settings of command +CPMS).
Parameter:
<index> - message index.
The output depends on the last settings of command +CMGF (message format to
be used)
(PDU Mode)
The output has the following format: