arduino-libraries / NTPClient

Connect to a NTP server
542 stars 372 forks source link

Identify whether NTP client is synced or not? #109

Open pranjal-joshi opened 4 years ago

pranjal-joshi commented 4 years ago

After NTPClient.begin(), the time (H:M:S) starts counting from 00:00:00 which is ok, but how to identify whether the NTP client is synced with the server or it just started counting from 0? Is there any method or flag that can reflect that NTPClient is synced with the server at least once after the begin() method?