#define NTP_UNIX_OFFSET
Offset in seconds of NTP timestamp (seconds from 1990-01-01 00:00:00 UTC) to UNIX timestamp (seconds ...
static uint64_t sntp_get_unix_usec(void)
Get time in microseconds from 1970-01-01 00:00:00 UTC.
int sntp_sync(sock_udp_ep_t *server, uint32_t timeout)
Synchronize with time server.
int64_t sntp_get_offset(void)
Get real time offset from system time as returned by xtimer_now64()
#define US_PER_SEC
The number of microseconds per second.
static uint64_t xtimer_now_usec64(void)
get the current system time in microseconds since start
Common IP-based transport layer end point.
xtimer interface definitions