coreSNTP v1.2.0
Client library for synchronizing device time with internet time using Simple Network Time Protocol (SNTP)
SntpTimestamp_t Struct Reference

Structure representing an SNTP timestamp. More...

#include <core_sntp_serializer.h>

Data Fields

uint32_t seconds
 Number of seconds since epoch time.
 
uint32_t fractions
 The fractions part of the SNTP timestamp with resolution of 2^(-32) ~ 232 picoseconds.
 

Detailed Description

Structure representing an SNTP timestamp.

Note
The SNTP timestamp uses 1st January 1900 0h 0m 0s Coordinated Universal Time (UTC) as the primary epoch i.e. the timestamp represents current time as the amount of time since the epoch time. Refer to the SNTPv4 specification for more information of the SNTP timestamp format.

The documentation for this struct was generated from the following file: