How to read incoming SMS?

Hi,

AT+CMGR is the command to read the SMS.
You have to wait till you receive CMT/CMTI indication to arrive and then you can read the SMS. So to get the CMT/CMTI indications, you have to set CNMI command.

From you logs, it seems that you are providing the CMGR command before the CMT indication arrive. So only you are not able to read the SMS.

Below mentioned is the sample AT logs :
at+cmgf=1

at+cmgs=“xxxxxxxxxxxxx”

hello
+CMGS: 132

at+cnmi=2,1,0,0,0

+CMTI: “SM”,17
+CMTI: “SM”,18
at+cmgr=18
+CMGR: “REC UNREAD”,“+8613501557247”,“15/07/15,11:24:59+32”
Hello

Thanks & Regards,
Rex