On Fri, 2010-03-19 at 07:27 +0200, Sirjee Rooplall wrote:
/* Where is the data? */
netbuf_data( pxRxBuffer, (void *) &pcRxString, &Length );
That's your problem. netbuf_data() returns a pointer to the first
buffer in the list. What you need to do is use netbuf_next() to get the
subsequent buffers in the chain, like this:
do {
netbuf_data( pxRxBuffer, (void *) &pcRxString, &Length );
processRxPacket((U8*)pcRxString, Length);
} while (netbuf_next(pxRxBuffer) != -1);
netbuf_delete( pxRxBuffer );
Kieran
_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users