having trouble getting the echo client to work using TCP/uIP on K64F


Rohit Grover
 

Hello Community,

I've still not been able to get a TCP stream going over uIP using the echo-client sample.
I've unearthed problems along the way (including data-integrity issues in Zephyr's port of uIP; refer to https://gerrit.zephyrproject.org/r/#/c/4226/ ) which suggest that this kind of thing isn't actively tested. With my recent changes, I manage to get the first packet bounce back successfully to the echo-client. Successive packets aren't getting processed on their way out from the client.

I find that uip_process() isn't getting called on successive packets. It gets called for the first packet due to some retransmission timer. The recently made change to eventhandler() in tcpip.c (https://gerrit.zephyrproject.org/r/#/c/4050/) makes things worse because the code meant to refresh certain periodic timers gets skipped.

These issues seem to arise from uIP. I would appreciate some help from people who ported uIP to zephyr. I believe the problems will surface if someone tries a TCP/IPV4 stream.

rohit
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

Join devel@lists.zephyrproject.org to automatically receive all group messages.