To Process received SMS using C language

To Process received SMS using C language SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through July 14, 2005 » To Process received SMS using C language « Previous || Next »
Author Message
SURESHALAGAR
Unregistered guest
Posted on Wednesday, June 01, 2005 - 05:13 am:   

I am getting echo response back in my mobile so that my gateway is active.
I want to pass sms content through replacable parameters (@@FULLSMS@@)to a c program which will process the sms content.Suppose I am having C exe file processsms.exe in c drive,Can i use command like
c:\winnt\system32\CMD.exe /c echo Echo @@FULLSMS@@
Will the above procedure is correct?.
Please suggest me some ideas in this regard.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4623
Registered: 10-2002
Posted on Wednesday, June 01, 2005 - 03:29 pm:   

Yes.

You would probably want to define the command like this:

c:\winnt\system32\CMD.exe /c c:\processsms.exe @@SENDER@@ "@@FULLSMS@@"

Notice that I am passing the sender phone number as one of the parameters, which may or may not be important to your application, but is frequently useful.

I am also putting @@FULLSMS@@ in quotes, as this helps command line programs see the SMS text as a single command line variable, instead of multiple variables.

Login Login / Register Logout Logout Search Last 30 Days Topics Topics