saleem145 0 Posted June 16, 2015 Share Posted June 16, 2015 Hello, I have a cc3200 which is connected to my home network. I would like to be able to access it from anywhere in the world using my iPhone. The issue the router only has a dynamic ip address which can change at any time. So how do I deal with this?? Thanks, Saleem Quote Link to post Share on other sites
spirilis 1,265 Posted June 16, 2015 Share Posted June 16, 2015 Same way you'd deal with it on a PC ... Use a Dynamic DNS service. Something like this: http://www.noip.com/free Since this is your home network, it's possible you can leverage your existing PC or a server in your home environment to "update" the dynamic DNS service when the IP changes. Then have the router pass through the necessary ports to the CC3200. Quote Link to post Share on other sites
dubnet 238 Posted June 16, 2015 Share Posted June 16, 2015 You could either pay for a fixed IP from your internet provider or use a service such as Dynamic DNS. If you Google Dynamic DNS you should find a number of providers. EDIT: looks like spirilis and I were responding to you at about the same time. Quote Link to post Share on other sites
saleem145 0 Posted June 16, 2015 Author Share Posted June 16, 2015 Dynamic DNS is not a possible solution. I am designing a consumer product. I can't expect everyone that purchases it to sign up for Dynamic DNS as part of the installation process. There's got to be another solution..... Quote Link to post Share on other sites
dubnet 238 Posted June 16, 2015 Share Posted June 16, 2015 That makes it a little more challenging. Only way that comes to mind is you have a server that the units are programmed to connect to. Once the unit connects to the server then you can manage the communication via the server (similar to Exosite, et al) spirilis 1 Quote Link to post Share on other sites
saleem145 0 Posted June 16, 2015 Author Share Posted June 16, 2015 Two other solutions I had thought off -- 1. Using Push Notifications. Any time the external IP address changes, it pushes a notification to the phone with the new IP address. (Android GCM or IOS Push Notifications). 2. Second is having an external data base living behind a static IP. Every time the dynamic IP address changes it will update the database with the new address. The phone would first query the database to look at the latest address, and then connect to it, (Very similar to dynamic DNS) Of the three which is the best solution. What can be done to make it secure. In 2-3 we will need to map phone to latest dynamic address. Should I use the phone number or do these things have any another unique identifier. The second thing is I need to somehow write a function in Energia that can get the external IP address -- I wasn't able to do this the last time i tried,. The third issue is security and easy of implementation. I think push notifications might be the most secure but the most complex to implement. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.