|
From: | Neerav Patel |
Subject: | Re: [lwip-users] Assertions when using DHCP when using LWIP 2.0 |
Date: | Mon, 23 Jan 2017 17:37:12 +0000 |
After debugging and reading the documentation further I think the problem is with me trying to set up another connection using RAW UDP.
If I have NO_SYS=0, I dont think I can do the above anymore? I have to use the high level API since the above wouldnt be thread safe?
Thanks for the response. From: lwip-users <lwip-users-bounces+address@hidden> on behalf of Sergio R. Caprile <address@hidden>
Sent: January 23, 2017 2:21 PM To: address@hidden Subject: Re: [lwip-users] Assertions when using DHCP when using LWIP 2.0 Oops...
http://www.nongnu.org/lwip/2_0_0/upgrading.html
* 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 My mistake, you seem to be doing things the right way for 2.0+ Please give details about your port and where did you get the code from. Try to "manually exercise your code" (debug) to see why you are getting those nulls. Does it happen right on first call or after a while ? Your mainloop is ... ? You are not calling lwIP from within the mainloop and interrupts... are you ? _______________________________________________ lwip-users mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/lwip-users
|
[Prev in Thread] | Current Thread | [Next in Thread] |