[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] dhcp behaviour
From: |
Noam Weissman |
Subject: |
Re: [lwip-users] dhcp behaviour |
Date: |
Tue, 11 Jul 2017 10:03:19 +0000 |
Hi Max,
I hope I am not confusing you or making an error here.
As far as I know DHCP client is handled almost completely by LwIP.
You should not worry about timers etc...
I have attached my DHCP task, take a look and I hope this helps...
This code is running with LwIP 1.41
BR,
Noam.
-----Original Message-----
From: lwip-users [mailto:address@hidden On Behalf Of massimiliano cialdi
Sent: Tuesday, July 11, 2017 11:50 AM
To: address@hidden
Subject: [lwip-users] dhcp behaviour
Hallo,
I have some questions about dhcp behaviour:
- Do I have to call the functions dhcp_coarse_tmr() and
dhcp_coarse_tmr() explicitly?
I have this doubt because I have seen that these functions are already being
declared as
timer callbacks in file timeout.c
- if my dhcp server has 10s as lease time, should I lower
DHCP_COARSE_TIMER_SECS and DHCP_FINE_TIMER_MSECS? And what values?
Best regards
Max
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
DHCP_Client.c
Description: DHCP_Client.c