[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] how lwip know internet cable is unplug
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] how lwip know internet cable is unplug |
Date: |
Wed, 07 Sep 2011 10:30:13 +0200 |
vincent cui <address@hidden>
> You mean that I could polling the link status in a low priority task, the
> task does
> 1. disable dhcp if dhcp is enable in link loss case
> 2. enable dhcp if dhcp is disable in link recover case.
You don't need to do that: lwIP handles calling dhcp itself if you just call
netif_set_link_up/down.
> The link status from loss to recover will happen one time at boot
> time...so the dhcp enable will put the task too ?
No, I initialized it once after booting so that change didn't happen after
botting.
Simon
--
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
Jetzt informieren: http://www.gmx.net/de/go/freephone
- Re: [lwip-users] how lwip know internet cable is unplug, (continued)
- Re: [lwip-users] how lwip know internet cable is unplug, ake . forslund, 2011/09/07
- Re: [lwip-users] how lwip know internet cable is unplug, vincent cui, 2011/09/07
- Re: [lwip-users] how lwip know internet cable is unplug, ake . forslund, 2011/09/07
- Re: [lwip-users] how lwip know internet cable is unplug, vincent cui, 2011/09/07
- Re: [lwip-users] how lwip know internet cable is unplug, ake . forslund, 2011/09/07
- Re: [lwip-users] how lwip know internet cable is unplug, vincent cui, 2011/09/07
- Re: [lwip-users] how lwip know internet cable is unplug, ake . forslund, 2011/09/07
- Re: [lwip-users] how lwip know internet cable is unplug, vincent cui, 2011/09/07
- Re: [lwip-users] how lwip know internet cable is unplug, Simon Goldschmidt, 2011/09/07
- Re: [lwip-users] how lwip know internet cable is unplug, vincent cui, 2011/09/07
- Re: [lwip-users] how lwip know internet cable is unplug,
Simon Goldschmidt <=
- Re: [lwip-users] how lwip know internet cable is unplug, vincent cui, 2011/09/07
- Re: [lwip-users] how lwip know internet cable is unplug, vincent cui, 2011/09/07
- Re: [lwip-users] how lwip know internet cable is unplug, Bill Auerbach, 2011/09/07
- Re: [lwip-users] how lwip know internet cable is unplug, vincent cui, 2011/09/07
Re: [lwip-users] how lwip know internet cable is unplug, Stephane Lesage, 2011/09/02
Re: [lwip-users] how lwip know internet cable is unplug, Kieran Mansley, 2011/09/02