PlatformIO Community

ESP32 SNTP function not defined error

I’m using Platformio compile/build ESP32 code. When I use the function “sntp_get_sync_interval” I get an error stating that the function is not defined. I do have the “esp_sntp.h” file included but that function is not defined in it. However, when I search online, I can find an “esp_sntp.h” file that does define that function. How can I tell whether Platformio is using the latest libraries? How do I get them updated?

Below are the contents of my platformio.ini file:
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
monitor_speed = 115200

Thank you very much for any assistance.

Please see Question about IDF version of ESP platform version 3.4.0 - #2 by maxgerhardt

@maxgerhardt, thank you very much for your quick response. I was able to implement the suggested workaround and use Arduino-ESP32 version 2.0.2.

When PlatformIO officially releases version 2.0.2, how will we be notified?

Thanks again.

When is closed and a new version above 3.4.0 appears on