Hi all,

I'm banging my head playing around with AT commands to find a way to list received SMS messages without changing their status (REC READ, REC UNREAD, etc).

AS a matter of fact, if my GSM controller receives i.e. five messages in a row, how do I read them sequentially, parse them, execute whatever it needs with my microcontroller and finally delete them one-by-one?

Using the AT+CMGL="ALL" command will list all received messages but it will also change their status from "REC UNREAD" to "REC READ". Anyway, it doesn't help me to establish a list of messages I will have to parse.

With the AT+CMGR=n command, I point to the message at index n only not knowing all other indexes.

In fact, I don't know how to sort the received SMS messages to make sure I won't miss any one of them.

Any directions on how I should handle this please?