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
sntp, NIST time server
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Who is online
Users browsing this forum: Google [Bot] and 146 guests