lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Start DHCP from application thread not tcpip thread


From: Simon Goldschmidt
Subject: Re: [lwip-users] Start DHCP from application thread not tcpip thread
Date: Wed, 13 Jun 2012 10:46:52 +0200

Fred39 <address@hidden> wrote:
> I am trying to write a function which allows me to change between DHCP and
> static Ip. This function will be in my application thread, so not in the
> tcpip thread.

Simply don't do that. Use tcpip_callback() instead to get from the application 
thread into tcpip_thread.

> And how to realize a link up down with the lwip
> 1.1.1 (cabel pluged in/out) ?

You can't unless you manually backport code from newer versions of lwIP into 
that really, really old version. I guess it would be easier to just update to 
1.4.0.

Simon
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]