>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
http://lwip.scribblewiki.com/Writing_a_device_driver "Link change events" Is it waht you look for ? ==================================== Frédéric BERNON HYMATOM SA Chef de projet informatique Microsoft Certified Professional Tél. : +33 (0)4-67-87-61-10 Fax. : +33 (0)4-67-70-85-44 Email : [EMAIL PROTECTED] Web Site : http://www.hymatom.fr ==================================== P Avant d'imprimer, penser à l'environnement -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Julian Gardner [RSD] Envoyé : mardi 18 décembre 2007 12:42 À : Mailing list for lwIP users Objet : [lwip-users] Cleaning up my code and I was wondering.... 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
BEGIN:VCARD VERSION:2.1 N:BERNON;Frédéric;;M. FN:Frédéric BERNON ORG:HYMATOM SA;Recherche et Développement TITLE:Chef de projet informatique TEL;WORK;VOICE:04-67-87-61-10 TEL;WORK;FAX:04-67-70-85-44 ADR;WORK;ENCODING=QUOTED-PRINTABLE:;23;Zone Industrielle=0D=0A175 rue de Massacan;VENDARGUES;;34740;FRANCE; LABEL;WORK;ENCODING=QUOTED-PRINTABLE:23=0D=0AZone Industrielle=0D=0A175 rue de Massacan=0D=0AVENDARGUES 34740=0D= =0AFrance URL;WORK:http://www.hymatom.fr ROLE:Chef de projet informatique EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20020404T083210Z END:VCARD
_______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
