Microcontroller › PIC › HOME AUTOMATION USING GSM WITH PIC16f877a › hi amy…. u must studied
January 28, 2013 at 4:58 am
#9071
nidhin.k
Participant
hi amy….
u must studied the AT commands for gsm modem.
AT+CNMI=2,2,0,0,0 /* this command is for receiving the msg and delete. */
u can give AT+CMGR=1 for reading the msg…. but it will save in sim memory….
using AT+CNMI=2,2,0,0,0… it will read and delete the msg..
the received msg will stored in RCREG register…..