• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Ping from ESP32

Q&A Forum › Category: ESP32 › Ping from ESP32
0 Vote Up Vote Down
lubond asked 6 years ago

Hello everybody!

I need to ping a remote machine from my ESP32.

I found this library, but it does not work for me. I am using library example SimplePing. Connect to my wifi is ok, but Ping.ping(remote_IP) always returns false. Has anyone tried it?

Thanks for any hep.

Question Tags: ping
4 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

Hello, thank you for asking! Unfortunately I’ve never tried anything like that, so I don’t have any examples or feedback about that subject.
Did you try with a different Host? Does it always return false? Does it print any other debugging information in the Arduino IDE Serial Monitor?

0 Vote Up Vote Down
lubond answered 6 years ago

Hello, till now no further investigations from me. I tested only mentioned example yet. I was just doing pings to my wifi router and to my other local devices, all without ‘true’ Ping.ping() response. All pings from my local devices to ESP32 were successfull. ESP32 works fine as web server. So the visibility in local lan is not problem.

My question here is due to possible verification of this library by other users, because I did not find any one for ESP32 yet (only for ESP8266).

Thanks for your responding!

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

Ok! Unfortunately due to the high volume of projects, I can’t test the library right now, but I would probably recommend that you contact the author directly or post a detailed GitHub issue if you encounter any problem: https://github.com/marian-craciunescu/ESP32Ping

Thanks for your time! Regards,
Rui

0 Vote Up Vote Down
lubond answered 6 years ago

Hi Rui,
I asked author, he answered me back:

“Sorry, but right now I don’t have an ESP32 to fix the library. They updated the ip module in the esp32-core. Probably some of the function is not working properly. I will try to update as soon as possible.”

But finaly, I had find ping library here that is working fine for me.
I close this question.
Thank you for your support!

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.