You are on page 1of 1

Use Putty as serial terminal

/*Set SIM808 sim card module to text mode first*/


AT+CMGF=1
OK

/*Send SMS to desired number*/


AT+CMGS="+919619903149",145> hello
+CMGS: 80
OK

/* SMS recieving notification and also listing how many SMS received , present in Inbox*/
+CMTI: "SM",1

/*read SMS number 1 from Inbox*/


AT+CMGR=1 +CMGR: "REC UNREAD","+919619903149","","17/03/27,16:48:00+22"
WSN /*This is the first SMS in Inbox*/
OK

/* SMS recieving notification and also listing how many SMS received,present in Inbox*/
+CMTI: "SM",2

/*Deleting a SMS number 1 from the Inbox*/


AT+CMGD=1
OK

/*Nothing to read from inbox so only OK is the result as command has executed*/
AT+CMGR=1
OK

/*read SMS number 2 from Inbox*/


AT+CMGR=2
OK
+CMGR: "REC UNREAD","+919619903149","","17/03/27,16:52:42+22"
How was the day? , SIM808 /*This is the second SMS in Inbox */

You might also like