How can my application know at run time what IP address was assigned to it by the DHCP server?
Thanks.
Check out:
http://www.keil.com/support/man/docs/rlarm/rlarm_tn_runtimecfg.htm
In particular look into localm and localm[NETIF_ETH]
This route certainly worked back in MDK-ARM 4.53
Yes, I've been printing out localm[NETIF_ETH]. Just found the problem, I was printing out localm[NETIF_ETH] too soon. I had to wait a couple of seconds until the DHCP process completed then localm[NETIF_ETH] holds the IP address. Thanks for the suggestion.