Jump to content

Recommended Posts

I have a project were I am using an Enfora GPRS modem to make IP calls back to a web connected machine. This works very well and I have set it up to receive text messages via GSM. I want to use the received text to trigger a call back on GPRS to an IP specified in the text. I have found the function to convert the IP to a text but not text to IP. Is there one? If not how is the decimal storage of an IP formatted so I can do via math / string functions?

Thanks in advance

Andy

Link to comment
Share on other sites

The model is a V570-57-T20B-J with a V200-18-E1B snap in module.

I have an Enfora modem connected to Port 2 and the code for GPRS call back to my fixed IP is working perfectly and the SMS receive is fine. I just want to specify the IP address of the call from the content of the SMS text.

The ip address is stored as a decimal in the FB so I need to convert the received text to the correct decimal value to put into the call FB.

 

Best Regards

Andy

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.