Page 1 of 1

LWIP Statistics

Posted: Wed May 29, 2019 1:12 pm
by PatrikB
Hi,

We are interrested in to characterize the data consumption at byte level for our application.

Is it possible to read out the statistics defined in the "stats_mib2_netif_ctrs" struct ?
https://github.com/espressif/esp-lwip/b ... ip/stats.h

Re: LWIP Statistics

Posted: Sat Jun 01, 2019 11:06 am
by Ritesh
PatrikB wrote:
Wed May 29, 2019 1:12 pm
Hi,

We are interrested in to characterize the data consumption at byte level for our application.

Is it possible to read out the statistics defined in the "stats_mib2_netif_ctrs" struct ?
https://github.com/espressif/esp-lwip/b ... ip/stats.h
Yes. Might be able to read it if you configure it into LWIP option file.

Still, ESP32 SDK Developers can help into this for more exposure.