Re: [lwip-users] [EXTERNAL] Understanding callback options for link/DHCP status.

2021-04-16 Thread Zayzay, Edman G
-Original Message- From: lwip-users On Behalf Of goldsi...@gmx.de Sent: Friday, April 16, 2021 2:34 AM To: Mailing list for lwIP users Subject: Re: [lwip-users] [EXTERNAL] Understanding callback options for link/DHCP status. Am 15.04.2021 um 22:55 schrieb Zayzay, Edman G: > In y

Re: [lwip-users] [EXTERNAL] Understanding callback options for link/DHCP status.

2021-04-15 Thread goldsi...@gmx.de
Am 15.04.2021 um 22:55 schrieb Zayzay, Edman G: > In your lwipopts.h file, define the following… > >   > > #define LWIP_NETIF_STATUS_CALLBACK  1 > > #define LWIP_NETIF_LINK_CALLBACK1 > >   > > Then in during your setup. Call these functions > >   > > netif_set_status_callback(ppp->netif

Re: [lwip-users] [EXTERNAL] Understanding callback options for link/DHCP status.

2021-04-15 Thread Zayzay, Edman G
In your lwipopts.h file, define the following… #define LWIP_NETIF_STATUS_CALLBACK 1 #define LWIP_NETIF_LINK_CALLBACK1 Then in during your setup. Call these functions netif_set_status_callback(ppp->netif, status_cb); netif_set_link_callback(ppp->netif, link_cb); the status callback