EasyNTPClient icon indicating copy to clipboard operation
EasyNTPClient copied to clipboard

Library to read time from Network Time Protocol (NTP) servers.

Results 7 EasyNTPClient issues
Sort by recently updated
recently updated
newest added

We should close the socket after using it. There is no reason to keep it open. If we want to destroy the first EasyNTPClient instance and then create another one...

Previously, only the memory for the NTP header was declared and set. Actually, apart from the headers, the rest of the NTP packet (48 bytes) contains timestamps. Those timestamps are...

It's entirely possible that `getServerTime()` could fail in which case I'd want to keep calling it until it succeeds or some timeout is reached. But there is no way for...

On some boards (e.g. ATmega like Uno) "int" is only 2 bytes and thus is capped unsigned at only roughly 65000. As mUpdateInterval holds milliseconds this more or less means...

I'm gone mad using static IP: time is not retrieved. After a while I've discovered that if you want to use static IP, you must explicit also DNS in the...

Hello! Please help! I`m using SIM800 GSM via TinyGSMclient library, but no examples of code how use EasyNTPClient in my case. I`m search a lot but not found how tu...

I suggest adding a line to setTimeOffset() so that it changes mServerTime by the offset once the function is called. Steps: 1. getUnixTime() 2. setTimeOffset(offset) 3. getUnixTime() Expected Behavior: -...