Closed GoogleCodeExporter closed 8 years ago
look how readSMS() works...
readSMS(char* msg, int msglength, char* number, int nlength)
the third parameter is number not string_expected
Original comment by martines...@gmail.com
on 2 May 2012 at 10:48
then how can i send sms to turn on led? because i want to send sms which will
be string not number....? i m confused hehe
Original comment by veezo201...@gmail.com
on 2 May 2012 at 11:56
its not working i dont know why i want to send sms "On" led should turn on and
when i send sms "Off" led should turn off but PIR sensor should start work here
is the code i have attached
Original comment by veezo201...@gmail.com
on 2 May 2012 at 3:10
Attachments:
You have to compare the message saved from readSMS, with
if(strcmp(msg,"On"))
LED ON
else if(strcmp(msg,"Off")
LED OFF
check the return of strcmp.
However for this kind of request is better if you use the Arduino's forum (that
sometimes I check and answer).
http://www.arduino.cc/forum/
The issue are strictly only for library's problem.
Marco
Original comment by martines...@gmail.com
on 2 May 2012 at 4:42
Original comment by martines...@gmail.com
on 2 May 2012 at 4:43
This issue section is not longer supported.
Please check the support page www.gsmlib.org
Original comment by martines...@gmail.com
on 6 Jul 2013 at 11:27
Original issue reported on code.google.com by
veezo201...@gmail.com
on 2 May 2012 at 6:18