Page 1 of 1

sntp, NIST time server

Posted: Fri Feb 24, 2017 10:55 am
by kaskas
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

Re: sntp, NIST time server

Posted: Fri Feb 24, 2017 4:19 pm
by ESP_krzychb