Other Parts Discussed in Thread: SYSCONFIG
Hi,
It would be handy to use a Launchpad board as a DHCP server on my local test network.
I have tried using one of the Launchpad TI RTOS ccs demo projects, and adding a DHCP server in the config GUI.
So far, I have figured out that I need to change the netctrl_min_ipv4.aem4f library to netctrl_full_ipv4.aem4f. I also "borrowed" natpakt.c from the library sources, to provide something the linker was moaning about.
The code compiles and runs, but the DHCP server reports that it has failed to start up. It seems unhappy that CfgGetImmediate( 0, CFGTAG_IPNET, pNTA->IfIdx, i,sizeof(ci_net), (unsigned char *)&ci_net ) returns 0.
If anyone knows the magic to make it work (or what I should have done), it would be much appreciated.
Thanks
Jim