code for sending an sms from arduino uno r3 using a gsm shield to mobile

Can anyone plz post the code for sending an sms from the arduino uno r3 using a gsm shield....

Can anyone plz post the code for sending an sms from the arduino uno r3 using a gsm shield....

It's really pretty simple. Serial.print() the AT commands specific to your GSM chip, and the magic happens.

Actually the arduino uno r3 should take the data from the ultra soninc sensor, and provide this data from the sensor to the gsm module so that, it can send a msg to the user and this msg should imply this " intruder detected at a distance of Xcm(distance given by the ultrasonic sensor)

If you re-read my previous post, you'll see that there was a hint there that anonymous hardware mentions are useless. Post a link to the hardware you are using if you want more than general comments.