struct net_ntp_t net_ntp_t
Opaque NTP manager handle.
net_ntp_t * net_ntp_init(net_ntp_callback_t callback, void *user_data)
Initialize (or re-initialize) the NTP manager.
void(* net_ntp_callback_t)(net_ntp_t *ntp, const sys_date_t *date, void *user_data)
Callback invoked when system time should be updated.
bool net_ntp_valid(net_ntp_t *ntp)
Determine if the NTP handle is checking for time updates.
Represents a system date and time structure.
Date and Time management functions.
void net_ntp_finalize(net_ntp_t *ntp)
Release NTP resources.