I solved my problem. It is not enough only to set the netif up, but also the link must be up. And I didn’t control the link up to now. I understand that this is a problem with my code, but it worked with LWIP 1.4.1, therefore I couldn’t see this problem.
Thanks for the guidelines! Simeon From: lwip-users [mailto:lwip-users-bounces+simeon.trifonov=amk-drives...@nongnu.org] On Behalf Of Dirk Ziegelmeier Sent: Wednesday, October 04, 2017 11:22 AM To: Mailing list for lwIP users <lwip-users@nongnu.org> Subject: Re: [lwip-users] FW: Problem by sending of UDP broadcast frame http://www.nongnu.org/lwip/2_0_x/upgrading.html (2.0.0) ++ Application changes: * Changed netif "up" flag handling to be an administrative flag (as opposed to the previous meaning of "ip4-address-valid", a netif will now not be used for transmission if not up) -> even a DHCP netif has to be set "up" before starting the DHCP client This information could have also be obtained by simply stepping through your udp_sendto() until you reach the bottom of ip4_route() in a debugger.
_______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users