Esp-idf: Ping library for esp idf

Created on 19 Aug 2017  路  2Comments  路  Source: espressif/esp-idf

Does anyone have a custom ping library for wifi in esp32?

Most helpful comment

Hi @Nakul93,

There is ICMP Ping support built into IDF, you can include esp_ping.h and use the functionality provided there:
https://github.com/espressif/esp-idf/blob/master/components/lwip/apps/ping/esp_ping.h

For questions like this about IDF, the best place to ask is the forum http://esp32.com . If you have follow-up questions about ping functionality, please ask there. The Issues list is for reporting bugs and making specific feature requests for IDF itself.

Angus

All 2 comments

Hi @Nakul93,

There is ICMP Ping support built into IDF, you can include esp_ping.h and use the functionality provided there:
https://github.com/espressif/esp-idf/blob/master/components/lwip/apps/ping/esp_ping.h

For questions like this about IDF, the best place to ask is the forum http://esp32.com . If you have follow-up questions about ping functionality, please ask there. The Issues list is for reporting bugs and making specific feature requests for IDF itself.

Angus

do we have any example of how to use this API? I didn't find anything in examples or elsewhere online (in fact I implemented it myself, before stumbling upon this file in idf). thanks

Was this page helpful?
0 / 5 - 0 ratings