lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Correctly manage cable disconnection and reconnection


From: Bill Auerbach
Subject: Re: [lwip-users] Correctly manage cable disconnection and reconnection
Date: Mon, 10 Dec 2012 11:10:26 -0500

>Whether you poll the phy registers from a slow thread or use the phy
>interrupt (if there is one) doesnt matter to lwIP. What's important is
>that you call lwip_set_link_up() or lwip_set_link_down() after detecting
>link changes. Note that it's very important to call these functions in
>the lwIP thread, not from your low prio thread or from an ISR!

Correction: It's netif_set_link_up and netif_set_link_down

Bill




reply via email to

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