bhas_r
Newbie level 5
controlling 20 relays serially 8051
use special symbols like () "" etc before and after the message
like this
(Hello)
it will works
to read the message use
AT+CMGL="rec unread"\r in coding for reading unreaded sms
AT+CMGR=1\r in coding for reading sms in 1 st location it may be readed or unreaded.
use either one command and use
for(i=0;i<=100;i++)
{
a=getc();
}
after that compare the character in the a[]
upto ( this
and get the content inbetween () by increament a[] upto ) this
the control the device as u like.
any doubt just post i will clear ur dpubt.
use special symbols like () "" etc before and after the message
like this
(Hello)
it will works
to read the message use
AT+CMGL="rec unread"\r in coding for reading unreaded sms
AT+CMGR=1\r in coding for reading sms in 1 st location it may be readed or unreaded.
use either one command and use
for(i=0;i<=100;i++)
{
a=getc();
}
after that compare the character in the a[]
upto ( this
and get the content inbetween () by increament a[] upto ) this
the control the device as u like.
any doubt just post i will clear ur dpubt.