I am coding to send data GPS by FTP server. Now I want to: if it have a sms go to then send sms to phone and after that send GPS to FTP go on.
Example:
Code:
RDA_isr()
{
c=getc();
if(c=='\n'){ xbuff=0;}
if (xbuff >= buffer_size)
{xbuff=0;}
else{ buffer[xbuff++]=c;} // save character of SMS message
return 0;
}
main()
{
while(1)
{
send_GPS_to_FTP(); // have a lot of AT-command
}
}
Now if have a sms go to. I can't think have a idear to solve it.
Help me!
ezflyr
Joined: 25 Oct 2010 Posts: 1019 Location: Tewksbury, MA
Posted: Mon May 19, 2014 8:30 am
Hi,
Why should we?
The last time you came here for help, you immediately deleted all your code as soon as your problem was solved. This is poor etiquette in an open forum because it denies others the benefit of the solution. Basically, it shows a selfish attitude - you have no problem asking and receiving help, but you are unwilling to share the solution you have received here.
Here is a recent example of the forum working for the benefit of all:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum