98-08901C68-O 267
Using the Commands
AT+CMGL="ALL" //List all messages in memory storage
+CMGL: 223,"STO UNSENT","4565029" //Example of g20 response
<Body of message 4>
+CMGL: 222,"STO SENT","054565029"
<Body of message 3>
+CMGL: 221,"STO SENT","054565132"
<Body of message 2>
+CMGL: 220,"STO UNSENT",""
<Body of message 1>
OK
AT+CMGL="STO UNSENT" //List all messages of a certain type (for example, stored
unsent messages)
+CMGL: 225,"STO UNSENT","054565132"
<Body of message 6>
+CMGL: 223,"STO UNSENT","4565029"
<Body of message 4>
+CMGL: 220,"STO UNSENT",""
<Body of message 1>
OK
AT+CMGR=225 //Read any message from the list using its index
+CMGR: "STO UNSENT","054565132"
<Body of message 6 >
OK
AT+CMGR=9
+CMGR: "REC UNREAD","+97254565132"
<Body of message 4>
OK
5.2.2 Setting the Notification Indication for Incoming Messages (Using AT+CNMI)
AT+CNMI=,1 //To receive indications of new incoming MT messages, the second
parameter of +CNMI should be set to 1
OK