Ping from ESP32

bobo1974
Posts: 17
Joined: Fri Feb 08, 2019 2:14 pm

Re: Ping from ESP32

Postby bobo1974 » Tue Jul 02, 2019 7:20 am

Ok, I ended up solving this rookie mistake.
Had to do with my local implementation of the source files with the arduino ide that I am using.
I found out the real directory that was used, included the file properly and it worked.

thobias
Posts: 1
Joined: Thu Jun 13, 2019 8:01 pm

Re: Ping from ESP32

Postby thobias » Tue Jul 23, 2019 5:22 pm

I'm trying to use ping API of ESP8266_RTOS_SDK but there is a problem with ping_init() function, i'm including two libs ping.h and esp_ping.h. The functions of esp_ping are working fine, but the linker do not recognize ping_init of ping.h calling: " undefined reference to `ping_init' " when i try to make the project.

Someone could help me?

fruityTomatoe
Posts: 1
Joined: Thu Aug 08, 2019 7:42 am

Re: Ping from ESP32

Postby fruityTomatoe » Thu Aug 08, 2019 7:45 am

thobias wrote:
Tue Jul 23, 2019 5:22 pm
I'm trying to use ping API of ESP8266_RTOS_SDK but there is a problem with ping_init() function, i'm including two libs ping.h and esp_ping.h. The functions of esp_ping are working fine, but the linker do not recognize ping_init of ping.h calling: " undefined reference to `ping_init' " when i try to make the project.

Someone could help me?
I am also seeing the undefined reference to `ping_init' " issue. Did you have a solution?

mz_autec
Posts: 1
Joined: Tue Sep 24, 2019 7:44 am

Re: Ping from ESP32

Postby mz_autec » Tue Sep 24, 2019 7:46 am

Hi,
try to include "ping/ping.h".
The ping.h path is not in the compiler paths configuration.

Mirko

nopnop2002
Posts: 8
Joined: Thu Oct 03, 2019 10:52 pm

Re: Ping from ESP32

Postby nopnop2002 » Tue Jan 21, 2020 12:43 am

Finally I succeeded in pinging using ESP-IDE.
It is published here.
https://github.com/nopnop2002/esp-idf-ping

Who is online

Users browsing this forum: No registered users and 24 guests