sntp, NIST time server

kaskas
Posts: 2
Joined: Fri Feb 24, 2017 10:49 am

sntp, NIST time server

Postby kaskas » Fri Feb 24, 2017 10:55 am

Hi,

I am currently getting date and time using NIST Internet Time Service with my ESP8266.
when porting my code to ESP32, I get following error messages:

error: 'sntp_set_timezone' was not declared in this scope
error: 'sntp_get_current_timestamp' was not declared in this scope
error: 'sntp_get_real_time' was not declared in this scope

I checked the ESP32 "sntp.h", and strangely enough, those 3 functions are not declared in this file

What am I missing ??
Any sntp demo code available ??
TIA


Who is online

Users browsing this forum: No registered users and 90 guests