CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Wait sms and send data by GPRS contemporary

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
thanvuongv



Joined: 26 Apr 2014
Posts: 8
Location: Vietnam

View user's profile Send private message Yahoo Messenger

Wait sms and send data by GPRS contemporary
PostPosted: Mon May 19, 2014 7:28 am     Reply with quote

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

View user's profile Send private message

PostPosted: Mon May 19, 2014 8:30 am     Reply with quote

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:

http://www.ccsinfo.com/forum/viewtopic.php?t=52382

Good Luck,

John
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group