hi Simon,

Do you mean i need to install callback tcpip_init_done, which call
dhcp_start, at tcpip_init calling and once tcpip_thread starts
tcpip_init_done-->dhcp_start ?

thanks,
Thien

On Wed, Oct 27, 2010 at 11:55 AM, Simon Goldschmidt <[email protected]>wrote:

>
>  PHAM ANH THIEN <[email protected]> wrote:
>
> > i also got tcpip_thread running before i call these one,
> If tcpip_thread is running before you call these functions, I do hope you
> are calling these functions from tcpip_thread and not from another thread!
> > So i think it need a dhcp timer is installed during dhcp start so that
> when timeout happen but till not get DHCP_ACK status it will call
> dhcp_discover again.
> That's exactly what the tcpip_thread does for you. The discover packet
> should be resent after some seconds. Maybe there's an issue with your port
> regarding timers?
>
> Simon
> _______________________________________________
> lwip-users mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/lwip-users
>
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to