Jump to main content

##

# 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

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