Hi Markus,

As a skeleton there is no change. Maybe you need wait until you have a link
Or that your driver takes longer to finish initializing.

BR,
Noam.



From: lwip-users [mailto:[email protected]] On 
Behalf Of [email protected]
Sent: Tuesday, March 14, 2017 4:08 PM
To: [email protected]
Subject: [lwip-users] lwip 1.4.1 -> 2.0.1: problem with dhcp

The upgrade from lwip 1.4.1 to 2.0.1 workes fine. Just with dhcp I've got some 
troubles.

With version 1.4.1 the following initialization was perfect:


static void InitEthernetAdapter(void)

{

netif_set_default(.....);

netif_set_status_callback(.....);

netif_set_link_callback(.....);

// Start with dhcp

if (_useDhcp)

{

  dhcp_start(&_netif);

}

// Start with static ip address

else
{

  netif_set_up(&_netif);

}

}

With lwip 2.0.1 the network doesn't start with dhcp. Static ip is fine. Do I 
have to add something else to start with dhcp?

Thanks
Markus
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to