Go Down

Topic: #problem : GSM_SMS sms class (Read 821 times) previous topic - next topic

wesam_amm

Hi ,
I'm using GSM\GPRS shield and ultimate GPS shield with Arduino mega 2560 .
I have two problems


first  to send sms with class GSM_SMS sms ;
it's tell me "  dosn't name a type "

and when using
  sms.beginSMS(remoteNumber);
  sms.print(txtMsg);
  sms.endSMS();
 
the sms wasn't declare in the scope

second :
 I can send sms by using code
          if (sms.SendSMS(phone_number, "text msg"))

but I can't take GPS  information in the place of "text msg"

help me :)




dannable

"doesn't name a type" usually means that the library isn't installed, or is installed in the wrong place.
Beginners guide to using the Seeedstudio SIM900 GPRS/GSM Shield

Go Up