27#include "ove_config.h"
43#ifdef CONFIG_OVE_NET_SNTP
int ove_sntp_sync(const ove_sntp_config_t *cfg)
Synchronize with an NTP server.
int ove_sntp_get_utc(uint32_t *utc_s)
Get the current UTC time in seconds since Unix epoch.
int ove_sntp_get_offset_us(int64_t *offset_us)
Get the UTC offset computed by the last successful sync.
@ OVE_ERR_NOT_SUPPORTED
Definition types.h:98
SNTP client configuration.
Definition net_sntp.h:38
const char * server
Definition net_sntp.h:39
uint64_t timeout_ns
Definition net_sntp.h:40