Re: [lwip-users] Closing tcp-Connection

2014-10-17 Thread Sergio R. Caprile
Any hint what I could do to close the connection? I will assume that you are using the raw API, and that you have already checked that the port is working good by running known to work TCP examples on the contrib tree. I will assume that you did read the wiki and are following its guidance

Re: [lwip-users] Closing tcp-Connection

2014-10-17 Thread Markus Klein
Hello, Thank you for your feedback, Sergio. Yes Im using the RAW-API but Im not calling tcp_tmr() or sys_check_timeouts(). As Im using a simple OS Im calling tcpip_thread () inside of a task. Am I correct that you use tcp_tmr () on Baremetal and tcpip_thread () when an OS is used? What

Re: [lwip-users] Closing tcp-Connection

2014-10-17 Thread Sergio R. Caprile
OK, another thing I assumed is that you were using NO_SYS=1, and forgot to tell. I know nothing on RTOS ports, so I will assume you are calling the right function and respecting the single-thread restrictions, as your other apps work. My tcp closure is: state = myCLOSING;

Re: [lwip-users] lwIP hangs after some data transferred

2014-10-17 Thread Grzegorz Niemirowski
Grzegorz Niemirowski grzeg...@grzegorz.net napisaƂ(a): Further analysis gave following observations: - thread blocks on fetch because packets are no longer inserted into mbox - packets are not inserted because the ETH interrupt is no longer raised - there is no interrupt because reception is