|
From: | LP/李 |
Subject: | [lwip-users] lwipopts.h, how to enlarge send and receive packet size |
Date: | Fri, 12 Jul 2013 09:42:59 +0900 |
Dear all:
I am new one in this group.
Very glad to know your all.
I use Stellaris and I use the
open source (from TI homepage) for driver.
Sometimes, my stellaris need to send or receive large size
packet (almost 1200byte).
However, the buffer size is defined as
#define PBUF_POOL_BUFSIZE
256
in "lwipopts.h".
Now, my stellaris can send packet as large as 1200 byte but it can NOT
receive packet (1200bytes).
and I do not know the reason.
I have 1 question.
When I send a packet (1200 bytes), and the "#define PBUF_POOL_BUFSIZE
256",
the first 256 packets are saved in the buffer and
the rest 1200-256 bytes overflow the buffer size and not correctly
saved.
Is my comprehension above correct?
Is it possible to configure the PBUF_POOL_BUFSIZE and PBUF_POOL_SIZE to
send and receive packet as large as 1200 bytes.
Thanks in advance and sorry for
interruption. ======
======
======
======
TEL:092-405-7603 FAX:092-405-7604 Mail: address@hidden HP: http://www.lp-d.co.jp ====== ====== ====== ====== |
[Prev in Thread] | Current Thread | [Next in Thread] |