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

DHCP (re) Discovery?

I have a situation where the DHCP server is not available until after my ARM device starts up. My understanding is the stack will fall back to a static configuration.

How can I make DHCP attempt discovery again without totally resetting my program? Calling init_TcpNet() again doesn't seem to do it.

Thanks
Dave

Parents
  • TCPnet DHCP Client in general waits indefinetly for DHCP Server. We have modified the HTTP_Demo example and installed a timer, which disables DHCP Client after a timeout in case that the IP address was not obtained. You can modify the HTTP_Demo.c and remove this timer so that the application waits until it receives a valid IP Configuration packet from DHCP Server.

    Franc

Reply
  • TCPnet DHCP Client in general waits indefinetly for DHCP Server. We have modified the HTTP_Demo example and installed a timer, which disables DHCP Client after a timeout in case that the IP address was not obtained. You can modify the HTTP_Demo.c and remove this timer so that the application waits until it receives a valid IP Configuration packet from DHCP Server.

    Franc

Children