[email protected] wrote:
Jesper Vestergaard schrieb:
Where do i set the buffer space?

There is no single "buffer space", there are many different options influencing the memory used by TCP. Take a look at opt.h and the explanations there, that should help you finding the right option to tweak.

When enabling debug i get a long list of compile errors.

src/lwip-1.3.0//src/core/tcp_out.c: In function 'tcp_write':
src/lwip-1.3.0//src/core/tcp_out.c:97: error: expected ')' before 'U16_F'
src/lwip-1.3.0//src/core/tcp_out.c: In function 'tcp_enqueue':
src/lwip-1.3.0//src/core/tcp_out.c:141: error: expected ')' before 'U16_F'

so no debug info at the moment.

Looks like you don't have the correct defines for debugging. You could take a look at the unix/linux and win32 ports in contrib and compare the port headers to see what you are missing (or have wrong). '
I needed to add:

/* Define (sn)printf formatters for these lwIP types */
#define U16_F "hu"
#define S16_F "hd"
#define X16_F "hx"
#define U32_F "lu"
#define S32_F "ld"
#define X32_F "lx"

to my lwipopts.h. Thanks

When i enable debug LWIP_DEBUG 1 i get no messages. How do i toggle the debug level?


Simon


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users





_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to