lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LWIP stops responding on Ping and HTTP calls from a bro


From: Ruben van der Kraan
Subject: Re: [lwip-users] LWIP stops responding on Ping and HTTP calls from a browser
Date: Thu, 28 Apr 2011 11:58:49 +0200

I call  "stats_display();"

but is the define "#define LWIP_PLATFORM_DIAG(x) printf" wrong or not?
in the help I found

  Platform specific diagnostic output -
    LWIP_PLATFORM_DIAG(x)    - non-fatal, print a message.
    LWIP_PLATFORM_ASSERT(x)  - fatal, print message and abandon execution.
    Portability defines for printf formatters:
    U16_F, S16_F, X16_F, U32_F, S32_F, X32_F, SZT_F

I think I also have to define somthing like this

#define U16_F unsigned short



~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
From: address@hidden
To: address@hidden
Date: 11:05:59, 04.28.2011
Subject: Re: [lwip-users] LWIP stops responding on Ping and HTTP calls from a browser
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~



>>On Thu, 2011-04-28 at 10:58 +0200, Ruben wrote:
>> > Hello Kieran
>> >
>> > I tried to enable the LWIP stats but It does not print anything.
>> > I use #define LWIP_PLATFORM_DIAG(x) printf after I enabled the
>> > statistics define to '1'
>> > what is the correct define I have a full printf lib function.
>>
>> You have to call a function to get it to print the stats. Can't
>> remember exactly what it's called, but something like stats_display()
>>
>> Kieran
>>
>>
>> _______________________________________________
>> lwip-users mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/lwip-users
>>
>>
>>


reply via email to

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