hi,
i am working on vehicle tracking project. I am using ARM7 microcontroller and Quectel(M10) as a gsm module.I want to send sms.I successfully tested the commands for sending sms by connecting gsm module to hyperterminal of PC.Now i want to write a subroutine for it in c.
So please if anybody know about it, give me hint or give some sample code. Thanks in advance!!!
this is written for LPC2129. you can simulate it in keil 3 by running the program and seeing output on serial window 2 for confirmation... there is lot of delay so you need to wait to see the output
in serial window when you see the command
then type ok (IN CAPITAL ) and wait for few seconds to see next command..
so if you can see upto at+cnmi the next routing will send the sms
you need to change the mobile number and compile it again in gsm.c
Thanx for ur help !!! I referred ur code.I made some changes as i am monitoring 4 parameters like oil temp, bat voltage and this information with location will be sent to server. Thank u ones again!