[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] DHCP Client (urgent)
From: |
am85 |
Subject: |
Re: [lwip-users] DHCP Client (urgent) |
Date: |
Tue, 31 Aug 2010 23:30:45 -0700 (PDT) |
Hi Fabian,
Thank you very much.
Please, could give me more details?
I'm using netconn API.
Thanks to the previous answers.
With regards,
am85
you can use netif_set_status_callback() to establish a function that will
be called when the interface goes up (i.e. indicated that DHCP has
finished). And then just call netifapi_dhcp_start().
I then use a task that waits for a semaphore that gets triggered in the
interface-up function if dhcp was completed and times out otherwise, so I
can fall-back to a fixed IP when DHCP is not reachable (AUTOIP is not
feasable in my enivornment).
regards,
Fabian
_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users
--
View this message in context:
http://old.nabble.com/DHCP-Client-%28urgent%29-tp29582482p29590426.html
Sent from the lwip-users mailing list archive at Nabble.com.
- Re: [lwip-users] DHCP Client (urgent),
am85 <=