Structure representing data parsed from an SNTP response from server as well as data of arithmetic calculations derived from the response. More...
#include <core_sntp_serializer.h>
Data Fields | |
SntpTimestamp_t | serverTime |
The timestamp sent by the server. | |
SntpLeapSecondInfo_t | leapSecondType |
The information of an upcoming leap second in the server response. | |
uint32_t | rejectedResponseCode |
If a server responded with Kiss-o'-Death message to reject time request, this is the fixed length ASCII code sequence for the rejection. | |
int64_t | clockOffsetMs |
The offset (in milliseconds) of the system clock relative to the server time calculated from timestamps in the client SNTP request and server SNTP response packets. If the the system time is BEHIND the server time, then the clock-offset value is > 0. If the system time is AHEAD of the server time, then the clock-offset value is < 0. | |
Structure representing data parsed from an SNTP response from server as well as data of arithmetic calculations derived from the response.
uint32_t SntpResponseData_t::rejectedResponseCode |
If a server responded with Kiss-o'-Death message to reject time request, this is the fixed length ASCII code sequence for the rejection.
The Kiss-o'-Death code is always SNTP_KISS_OF_DEATH_CODE_LENGTH bytes long.
int64_t SntpResponseData_t::clockOffsetMs |
The offset (in milliseconds) of the system clock relative to the server time calculated from timestamps in the client SNTP request and server SNTP response packets. If the the system time is BEHIND the server time, then the clock-offset value is > 0. If the system time is AHEAD of the server time, then the clock-offset value is < 0.