lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Problem sending huge bytes of data


From: Kieran Mansley
Subject: Re: [lwip-users] Problem sending huge bytes of data
Date: Thu, 10 Nov 2011 16:28:16 +0000

On Sat, 2011-11-05 at 11:26 +0530, Sanchayan wrote:
> 
> In my application i am trying to send around 300 plus bytes to my
> controller board using the lwip stack, over TCP IP. I receive 200
> bytes correctly, but the rest are garbage. 

My best guess is that your packet buffers are configured to be around
256 bytes long each, and so the first one contains headers and ~200
bytes of data.  This gets sent properly, but your driver doesn't handle
pbuf chains properly (iterating over pbuf->next to find all the data).
This means everything after the first pbuf is garbage.

Check that out and see if it makes sense.

Kieran




reply via email to

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