TCPIP_SNTP_EVENT Enumeration

C

typedef enum {
TCPIP_SNTP_EVENT_NONE = 0,
TCPIP_SNTP_EVENT_TSTAMP_OK = 1,
TCPIP_SNTP_EVENT_DNS_ERROR = -1,
TCPIP_SNTP_EVENT_IF_ERROR = -2,
TCPIP_SNTP_EVENT_SKT_ERROR = -3,
TCPIP_SNTP_EVENT_SERVER_TMO = -4,
TCPIP_SNTP_EVENT_VER_ERROR = -5,
TCPIP_SNTP_EVENT_TSTAMP_ERROR = -6,
TCPIP_SNTP_EVENT_KOD_ERROR = -7,
TCPIP_SNTP_EVENT_SYNC_ERROR = -8
} TCPIP_SNTP_EVENT;

Description

Provides a list of run time SNTP events.

Members

MembersDescription
TCPIP_SNTP_EVENT_NONE = 0Invalid event success.
TCPIP_SNTP_EVENT_TSTAMP_OK = 1A new NTP timestamp has been acquired successfully.
TCPIP_SNTP_EVENT_DNS_ERROR = -1NTP server name DNS failed.
TCPIP_SNTP_EVENT_IF_ERROR = -2Could not select a valid NTP interface.
TCPIP_SNTP_EVENT_SKT_ERROR = -3Could not bind the socket to the NTP interface or timeout on the socket TX.
TCPIP_SNTP_EVENT_SERVER_TMO = -4No reply received from the NTP server.
TCPIP_SNTP_EVENT_VER_ERROR = -5The server response has a wrong version.
TCPIP_SNTP_EVENT_TSTAMP_ERROR = -6The server response had a wrong timestamp.
TCPIP_SNTP_EVENT_KOD_ERROR = -7The server replied with a "Kiss O' Death" code.
TCPIP_SNTP_EVENT_SYNC_ERROR = -8The server response has a synchronization error.