This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

runtime PPP connection parameters

Hi forum users,
I have a couple of concerns about correctly setting up PPP connections on my system using RL-TCPNet. This is a sort of a followup to the thread at http://www.keil.com/forum/docs/thread10245.asp

My system should be able to manage both PPP server and PPP client connections at runtime. They will be mutually exclusive upon reboot, but the option should be read at startup from a stored configuration parameter. I also need to store the default IP address in the configuration, in case of PPP server mode.

What are the default parameters I should set in Net_Config.c for PPP? How do I make the library aware of the configured default IP at startup? Can I use the approach suggested in Http_demo to change ethernet IP address at runtime by simply accessing localm[NETIF_PPP]? Is it possible to ppp_listen() on a default IP address, ppp_close(), then change the default IP and call ppp_listen() again or do I need a reset of the library?

TIA, regards
Andrea