Hi to all I have developed a project with arm Cortex m-3 (LPC series) equipted with tcp/ip and i connected a modem router to it with CAT5 cable .When I would like to connect to my device from another city I must buy and set the Static ip address on the router and do port forwarding to access to my device.i want to send microcontroller public ip address to the web service every time the device is reset or turn on. Does any one know how can i use Dynamic DNS in my microcontroller and give me a light on this way in oredr to decrease the price of project via removing static ip address?
It has nothing to do with Cortext-M3.
You will have to get or implement the appropriate Agent for the particular DDNS service(s) you are using.
It will also require that the network allows in-bound connections.
This is why most remote monitoring applications don't have the remote device as a server! Instead, have the remote device as a client - so it can just "call-in" to a well-known address...
In most CCTV camera the end user can monitor the camera using DDNS instead of Ip Static. What did they do ? Also Can you tell me how can i find my microcontroller public Ip Address in the internet?
yes. i have the same question. can you post all knowledge about how the public ip address is used with cortex m3.
"In most CCTV camera the end user can monitor the camera using DDNS instead of Ip Static. What did they do ?"
As I said, they will have appropriate DDNS client(s) in the camera.
Or, you are not monitoring the camera directly - but via some server/service elsewhere.
"how can i find my microcontroller public Ip Address in the internet?"
See your stack documentation for how to find the node's IP address.
If the node is behind a firewall or router, then you will have to use some external service to find its Public IP address.
eg, http://www.whatsmyip.org/
Again, this is all standard TCP/IP networking stuff - nothing to do with Keil or Cortex.
Again, this has nothing to do with Cortex-M3 or Keil.
The whole point of the internet is that it uses standard protocols which work and are used in exactly the same way by all equipment - they do not differ or depend on what particular processor you are using.
So you need to consult standard TCP/IP networking books & resources ...
eg, whatismyipaddress.com/tcpip-simplified
do you mean the cortex m3 is nothing to on the internet? it wont work?
Please read Andrew Neil's replies carefully again and try spending some time to really understand what he said.
And more importantly try to understand network theories before implementing something...
I have no idea what you mean by that - so I don't know if it's what I meant!
My point is that internet protocols & procedures are not dependant on the hardware details of a node.
DDNS works exactly the same way on Linux as on Windows as on any other platform. The DDNS server neither knows nor cares what hardware a node has - it simply accepts a request from it, and replies in the specified manner.
i understand you. cortex m3 works on windows and linux but not on internet. how can i make connect cortex m3 to internet?
No, that's not what I said at all.
You have completely misunderstood me!
I don't know how else to explain it.
I guess there is a language barrier - can you get a teacher or colleague to help you?
anyone explain?
Let me try.
K Panook,
You have a computer, which you use to develop the Cortex-M3 firmware.
I would like to connect to my computer from another city I must buy and set the Static ip address on the router and do port forwarding to access to my computer. i want to send public ip address to the web service every time the computer is reset or turn on.
Do you know how to achieve the above goal?
It would be much easier than doing the same thing on a Cortex-M3. After you achieve the above goal, repeat the same procedure on your Cortex-M3.
hello john linq. great help. i understand you. thanks.
You started with: "I would like to connect to my device from another city I must buy and set the Static ip address on the router and do port forwarding to access to my device. i want to send microcontroller public ip address to the web service every time my device is reset or turn on."
All John did was substitute "my computer" for "my device" - giving: "I would like to connect to my computer from another city I must buy and set the Static ip address on the router and do port forwarding to access to my computer. i want to send public ip address to the web service every time my computer is reset or turn on."
Thus illustrating my point that it doesn't matter what the device is - the process is the same for any device: "I would like to connect to 'anything' from another city I must buy and set the Static ip address on the router and do port forwarding to access to 'anything'. i want to send microcontroller public ip address to the web service every time the 'anything' is reset or turn on."
As the saying goes, On the internet of things, nobody knows you're a fridge.
agree. thank you john linq. you give a very good explaining. when i want to connect sweet potato chips to internet i will remember anything. haha.