Sorry for the increase in traffic. I just wanted to add a bit of extra
information.
I stopped called dhcp_fine_tmr() and dhcp_coarse_tmr() to see what
effect that would have, and now dhcp_start() and dhcp_stop() return as
expected. dhcp_start() will not make multiple calls to dhcp_discover()
in this state, but since I can restart the process manually that isn't
a huge problem.
I would still like to know what the problem is, if anyone has any ideas.
--Bill
Bill Lawson wrote:
Does anyone know what could cause dhcp_start() and dhcp_stop() to
never to return?
I can call dhcp_start() once, and if I get an offer immediately
everything is fine. However, I only send one discover message. If I
don't get a reply to that message nothing more happens.
I've tried calling dhcp_stop() (after a timeout) so that I can restart
the transaction, but dhcp_stop() never returns. I've tried calling
dhcp_start() again without stopping it first but the second call to
dhcp_start never returns.
Does anyone have any idea why this might occur?
Thanks,
Bill
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users