lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] lwip_write() returns -1 after few days uptime, or after


From: Иван
Subject: Re: [lwip-users] lwip_write() returns -1 after few days uptime, or after multiple interface(cable) reconnections
Date: Tue, 26 Jul 2016 20:13:24 +0300

Thank you, Simon. Believe that will help. At least it works for few hours.
> OK, that's your bug
Don't say so. That is the bug of ST company. I did not touch that file 
ethernetif.c. May be you know that their's code isn't fine.

-- 
Best regards
Ivan Kuvaldin


26.07.2016, 15:35, "Simon Goldschmidt" <address@hidden>:
> Иван wrote:
>>  Going through lwip_sendto() I found sock->conn->last_err is -15 (ERR_IF, 
>> Low-level netif error)
>
> OK, that's your bug. With 1.4.1, a netconn or socket stops working once it 
> receives ERR_IF. You can either
> prevent your netif driver from returning ERR_IF (just return ERR_BUF instead) 
> or upgrade to 2.0.0 (beta).
>
> Simon
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users



reply via email to

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