lwip-users
[Top][All Lists]
Advanced

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

RE: [lwip-users] Re: lwip-users Digest, Vol 88, Issue 17


From: Bill Auerbach
Subject: RE: [lwip-users] Re: lwip-users Digest, Vol 88, Issue 17
Date: Wed, 15 Dec 2010 10:37:20 -0500

DBG_OFF and more are in debug.h.  Lwipopts.h should #include lwip/debug.h

 

It would be really helpful if we can use a better message subject and keep it constant – there is no thread history in the archives for this problem – I wanted to see this thread from the beginning to see if I missed anything.

 

From: address@hidden [mailto:address@hidden On Behalf Of Chen
Sent: Wednesday, December 15, 2010 10:25 AM
To: address@hidden
Subject: [lwip-users] Re: lwip-users Digest, Vol 88, Issue 17

 

The reason stat_display is not working is because DBG_OFF (maybe more) @lwipopts.h is not defined anywhere in lwip's files. Which is not a problem until I added #define LWIP_DEBUG to debug.h

Unfortunately, AVR32 Studio's compiler didn't realize I changed debug.h so it didn't bother to recompile it until I cleaned and rebuild all files.

How should I debfine DBG_OFF, DBG_ON, etc?

> 1) I am using TCP API. 
 
That isn't quite what I meant.  To send data do you call tcp_write()
or 
netconn_write() or send() for example?  If you use tcp_write()
directly then 
MEMP_NUM_NETBUF will have no effect and is not your problem.
 
If you call the function to display that stats and it shows nothing then 
something is wrong: it should print statistics about the resources
used.  
You'll have to debug what's gone wrong.
 
Kieran
 
 

reply via email to

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