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

Structure representing an SNTP packet header. For more information on SNTP packet format, refer to RFC 4330 Section 4. More...

Data Fields

uint8_t leapVersionMode
 Bits 6-7 leap indicator, bits 3-5 are version number, bits 0-2 are mode.
 
uint8_t stratum
 stratum
 
uint8_t poll
 poll interval
 
uint8_t precision
 precision
 
uint32_t rootDelay
 root delay
 
uint32_t rootDispersion
 root dispersion
 
uint32_t refId
 reference ID
 
SntpTimestamp_t refTime
 reference time
 
SntpTimestamp_t originTime
 origin timestamp
 
SntpTimestamp_t receiveTime
 receive timestamp
 
SntpTimestamp_t transmitTime
 transmit timestamp
 

Detailed Description

Structure representing an SNTP packet header. For more information on SNTP packet format, refer to RFC 4330 Section 4.

Note
This does not include extension fields for authentication data for secure SNTP communication. Authentication data follows the packet header represented by this structure.

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