Skip to content

Releases: gmag11/ESPNtpClient

Compatibility with latest ESP32 SDK

07 Jun 16:52
6fa8129
Compare
Choose a tag to compare
  • Added support for ESP32 Arduino Core 2.0.3 and IDF 4.4.1. Hence, older versions are deprecated and may not be compatible.

Bugfixes

29 Dec 22:28
Compare
Choose a tag to compare

This version has been updated to be compatible with ESP8266 3.x.x SDK (#20 #21). Besides, it add some bugfixes and small features:

  • Added parameter to begin() to allow WiFi reconnection management outside library. Check docs. #19
  • Remove namespace references #22
  • Fix typo in char* getTimeStr (timeval moment) #33
  • Allowing setting library parameters before calling begin() #23

Better connection handling

16 Mar 16:59
Compare
Choose a tag to compare

There has been some bugfixes to get a connection less prone to errors in case of unstable WiFi connection. This leads to better sync behaviour in general.

  • Improve debug logging flexibility
  • Added a method to configure offset average calculations from 1 to 5 rounds. This should improve sync stability and precision but has a performance cost
  • Overall processing power needed has been reducing by increasing default timeouts and precision targets. You can tweak them if needed
  • Other minor fixes
  • Protect constant values if their names where already defines. This can be caused if you use TimeLib.h. This fixes #17

Custom date string format

14 Feb 12:34
Compare
Choose a tag to compare

Current release allows editing date formats with getTimeDateString. Thanks @sensboston

Bug fix

12 Dec 23:15
Compare
Choose a tag to compare

stop () was not working properly

Clock stability improvement

01 Dec 21:24
Compare
Choose a tag to compare
  • Filter out responses from servers with values indicating they are not accurate enough. This leads to less imprecise clock adjustments.
  • Add server time dispersion to event information
  • getTime() is now public. Using it you can trigger NTP sync in any moment. But, as library does its work asynchronously you will have to way to sync event to ensure that clock has been adjusted. Use this method only if you know what you are doing

Bugfixes

01 Dec 09:09
Compare
Choose a tag to compare

Bugfix: ESP 32 code did not compile due to a missing method in Ticker.h
Bugfix: setMaxNumRetry was not working

Add average offset calculation

29 Nov 19:09
Compare
Choose a tag to compare
  • Now time offset is calculated with 3 requests, averaging each result. This can be disabled if needed.
  • Number of sync requests in case of desired accuracy is not reached is limited to 4 (by default)
  • Big improvements on processor load efficiency

NTP event to string

27 Nov 19:24
Compare
Choose a tag to compare
  • Simplify event conversion to string

Add micros() and millis() methods

26 Nov 22:02
Compare
Choose a tag to compare

New micros() and millis() method to easily synchronize user events