AT+CMGL=<stat>
<stat>: the status of the messages. Supported status include:
"REC UNREAD" - Received unread messages
"REC READ" - Received read messages
"STO UNSENT" - Stored unsent messages
"STO SENT" - Stored sent messages
"ALL" - All messages
The command will list the messages matching the specified message
status as below:
+CMGL: <index>,<stat>,<sender>,<timestamp>,<message body>
……
OK
−
Read SMS Messages
AT+CMGR=<index>
<index>: the index of the SMS messages received.
The command will return the messages matching the index as below:
+CMGR: <index>,<stat>,<sender>,<timestamp>,<message body>
OK
−
Delete SMS Messages
AT+CMGD=<index>
<index>: the index of the SMS messages received.
The command will delete the messages matching the index
+CMGR: <index>,<stat>,<sender>,<timestamp>,<message body>
OK