You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 22, 2022. It is now read-only.
The default agenttime.c is currently used, and then the POSIX based time layer is implemented in src/samd/time.cpp using RTCZero on SAMD.
We should explore using a custom agenttime.h implementation that is backed by the NTPClient. This would remove the dependency on RTCZero as the NTPClient can auto-sync the time with the NTP server at a preconfigured interval.
Then a UDP instance or NTPClient instance could be passed in the constructor. Another added benefit is the library is portable to any Arduino board that provides a SSLClient type and UDP type.
The text was updated successfully, but these errors were encountered:
From discussion in #16 (comment)
The default agenttime.c is currently used, and then the POSIX based time layer is implemented in src/samd/time.cpp using
RTCZero
on SAMD.We should explore using a custom
agenttime.h
implementation that is backed by theNTPClient
. This would remove the dependency onRTCZero
as the NTPClient can auto-sync the time with the NTP server at a preconfigured interval.Then a
UDP
instance orNTPClient
instance could be passed in the constructor. Another added benefit is the library is portable to any Arduino board that provides a SSLClient type and UDP type.The text was updated successfully, but these errors were encountered: