NTPClient
NTPClient copied to clipboard
Add event hooks when NTP update is started and complete.
Hello,
I thought it would be useful and consistent with other Arduino libraries to allow triggering some actions when actual NTP conversation starts and ends.
In my case this API greatly simplifies showing NTP conversation status on my device. NTPClient::update() method is called each time in loop(), but only once per specified period actual NTP conversation is started under the hood.
I did not find any other method to figure out if update() will actually start NTP dialog before I call it in loop() block.
Best regards, Staszek
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.