I'm not sure if my problem is a memory leak or buffer overflow since the error occurs in system free() with garbage in the memory chain. The difference I've added (among other things) is the use of PBUF_REF and pbuf_cat(). The following sequence works fine, but is it correct?ref =
At one point I set up an increment of 10 seconds per check, so 10, 20 , 30 ... and it would never reconnect even after a minute. For my purposes the "REUSE" was important - same IP address, same port. And re-establishing connection quickly (within 10 seconds) was also important. It did not
A couple weeks ago I posted this question:"I have a situation where the LwIP is a client and I have compiled with SO_REUSE = 1, but the reconnect fails with error -8 (in use). After searching a while I see that the LwIP is waiting for LAST_ACK, but the server never sends it. What can I do to
I have a situation where the LwIP is a client and I have compiled with SO_REUSE = 1, but the reconnect fails with error -8 (in use). After searching a while I see that the LwIP is waiting for LAST_ACK, but the server never sends it. What can I do to force the internal pcb's to timeout and just
After some online digging it looks like I will have problems to work on eventually - for the moment things are working. The call backs are inside the interrupt level, the calls to the library are in the main loop. I don't know what the priority levels are for the interrupts, or if this system
Thank you - I have not seen that page. I will check into that.I did change the delay time between messages from minutes to seconds, and then the system works fine. I have also tried a completely different approach using UDP only, and LwIP works fine, Linux fails to receive what LwIP sends. So
I have a strange problem where raw API LwIP (2.0.2) seems to work most of the time but appears to randomly stop. So I put wireshark up and looked at the messages between LwIP and the server it was talking to.My system waits for a time range from the server, does a calculation using that time as
Thanks Simon!I did try wireshark, but did not see anything to my IP. So I looked at the address it was trying to use for the NTP server, and found it was pointing to my gateway (which is what the example did). I changed that to point to a real NTP server found on the NIST web site and then
from there. How
do I figure out what is broken? Any hints greatly appreciated!
Thanks,
Mike
> On April 29, 2017 at 7:35 PM Mike Rosing <mros...@vitalmetric.com> wrote:
>
>
> Found it - I'm definitely not even close. I will probably be back with more
> questions
ix port, simhost.c. There is an example
> in there.
>
> Dirk
>
> On Apr 29, 2017 23:17, "Mike Rosing" <mros...@vitalmetric.com> wrote:
>
> Hello,
>
> I have ported 2.0.2 to the TI C6748 and finally got DHCP to get an
> address. The next thing I'd like to d
Hello,I have ported 2.0.2 to the TI C6748 and finally got DHCP to get an address. The next thing I'd like to do is use sntp. What do I do after calling sntp_init()? I did add sys_now() so there is a millisecond timer running. The port is copied from the version 1.3.2 example given in the
11 matches
Mail list logo