AnsweredAssumed Answered

MQX How to change IP address, restart RTCS and/or HTTP

Question asked by chinniwhites on Jan 27, 2015
Latest reply on Feb 3, 2015 by soledad

I have a custom K60 board with Ethernet and I am running basically a custom version of httpserv example.  I have a webpage where I have my ip, subnet, and gw settings so user can change ip address - very standard stuff when talking Ethernet device.  In MQX, what is the process needed to get the ip address change to actually take affect.  My first attempt involved destroying the HTTP_TASK and then recreating the task but rtcs gave me an error 1300 probably because i tried to create an rtcs that was already running.


So to change IP address, do I stop HTTP, unbind, rebind, start HTTP server?


Is there a simple way to make an IP change take affect?