Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino IDE can not compile pingtest.ino for ESP32 #7

Open
OslafEman opened this issue Jan 15, 2019 · 3 comments
Open

Arduino IDE can not compile pingtest.ino for ESP32 #7

OslafEman opened this issue Jan 15, 2019 · 3 comments

Comments

@OslafEman
Copy link

I am trying to complete a project in Arduino IDE using an ESP32 (mini kit MH ET Live).

Once a day, the code updates an RTC through NPT. The problem is that if there is no internet connection, the code stops.

To use a conditional that omits this instruction, I would need to verify that there is not an active connection to the Internet. I've thought about sending a ping and waiting for its return, but I have not found a library that works well for ESP32. I tried the libraries and the examples of ESP32_ping and ESP32Ping without success. The pbecchi library now gives an error that says it can not compile for the module that I use.

I would like to know how else I can verify that the ESP32 has an Internet connection.

I am a newbie in this field with three months since I started learning how to program. Hope someone can help me.

@per1234
Copy link

per1234 commented Jan 20, 2019

In the discussion on the Arduino Forum:
http://forum.arduino.cc/index.php?topic=590873
we determined this is a duplicate of #8

The problem occurs with Arduino core for the ESP32 1.0.1. The problem does not occur with Arduino core for the ESP32 1.0.0.

The workaround:

  1. (In the Arduino IDE) Tools > Board > Boards Manager
  2. Wait for downloads to finish
  3. Scroll down until you see "ESP32 by espressif systems". Click on it.
  4. From the dropdown menu, select "1.0.0".
  5. Click "Install".
  6. Wait for the installation to finish.
  7. Click "Close".

@OslafEman OslafEman reopened this Jan 26, 2019
@diminDDL
Copy link

Will there be an update to support newer core versions?

@OslafEman
Copy link
Author

OslafEman commented May 19, 2019

Will there be an update to support newer core versions?

PotatoX has found the way to make pbecchi/ESP32_ping library working with the new Arduino core for the ESP32 1.0.1 version. I'm using it and it works fine. Visit https://github.com/PotatoX/ESP32_ping

Oslaf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants