Re: having trouble getting the echo client to work using TCP/uIP on K64F
Hello Community,toggle quoted messageShow quoted text
In my attempts to get a TCP stream to flow in and out of a K64F, I've had to make a few changes to core of the uIP port: https://gerrit.zephyrproject.org/r/#/q/rohit+grover+status:open.
I now have some success in getting data to flow continuously, nevertheless I haven't fixed all issues and I'm not sure my changes take all possible cases into account.
These changes have had to do with errors in how uIP handles outbound packets.
I'm not an expert in IP stacks, and in one particular case, https://gerrit.zephyrproject.org/r/#/c/4225/, I've not been able to provide a fix--my patch simply raises a certain retry-limit and results in the expected behaviour.
I would appreciate assistance from people who may have authored the port of uIP to Zephyr. It seems to me that these issues should have surfaced for any application attempting to setup a TCP/IPv4 stream over uIP; it is a surprise that these have gone undetected so far.
-----Original Message-----> From: Rohit Grover
> Sent: 22 August 2016 15:58
> To: devel(a)lists.zephyrproject.org
> Cc: Jukka Rissanen; 'Paul Sokolovsky'
> Subject: having trouble getting the echo client to work using TCP/uIP on K64F
> 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.
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.