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

User avatar
krzychb
Posts: 232
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: sntp, NIST time server

Postby krzychb » Fri Feb 24, 2017 4:19 pm


Who is online

Users browsing this forum: Google [Bot] and 15 guests