I have a couple of projects I want to clean up and was looking at the contrib directory for the correct way to start the stack up, with dhcp and also to watch the link.
What I was looking for is something that showed the correct way of telling the stack the link (SMSC chip) is up or down, and then if needed start the DHCP client and when all this is done (either dhcp has address of its timed out) I can start my routines that depend on the stack being alive, and when the LINK or DHCP change then again my code is either stopped or restarted with the new IP addresses. As the code is a bit of a mess as I have moved up from V1.0 I would like to spend a little time getting this side working, any nice bits of code to look at or anything else, looked in the WIKI and its a TODO So my code does the following Init HARDWARE (sms911117) Loop around until the smsc gives a linkup Start DHCP Loop around until DHCP has finished Start my ethernet dependant code Julian Gardner RSD Communications Ltd Unit 2 8 BorrowMeadow Road Springkerse Industrial Estate Stirling, Scotland FK7 7UW Tel +44 [0]1786 450572 Ext 238 (Main) Fax +44 [0]1786 474653 GSM +44 [0]7836 240907 Email [EMAIL PROTECTED] Skype joolzg MSN [EMAIL PROTECTED] WWW http://www.rsd.tv http://www.rsdtv.com _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
