How can I modify the IP address in the TCP/IP Lite stack?
- The Project Code can be found in Application Note AN1921. At compile time, in the ip_database.h file, there is an API that can be used to change the static IP address: ipdb_setAddress(a). The static IP address passed in 32-bit format is a but you need to disable Dynamic Host Configuration Protocol (DHCP) first.
- To communicate with the running Stack via Ethernet and change the IP address, a Telnet session is appropriate. According to Application Note AN1921, Telnet is not implemented in this TCP/IP Lite Stack. If the program memory space allows this, you need to implement it.