Hi,
I need to manage to change the target IP address without recompilation and without DHCPD. For this I suggested to save the IP address in a SDFile and load it at execution.
The http demo shows how to change IP address : it declares an extern struct localm (that would resides in the TCP library code and be a copy of the local_config.c::nlocalm) and change it on client request.
So after loading the file I set localm to my value, without success as the "hard coded" ip addr is still applied.
My initialization occures during the init task (using RTX), after calling TCPnet() (I tried also before) be before mainTcp() is called.
In fact I don't know when I can change this value ?
Thanks for reply.