TCPIP_SNTP_MODULE_CONFIG Structure

C

typedef struct {
    const char* ntp_server;
    const char* ntp_interface;
    IP_ADDRESS_TYPE ntp_connection_type;
    uint32_t ntp_reply_timeout;
    uint32_t ntp_stamp_timeout;
    uint32_t ntp_success_interval;
    uint32_t ntp_error_interval;
} TCPIP_SNTP_MODULE_CONFIG;

Description

Placeholder for SNTP Module Configuration.

Members

MembersDescription
ntp_serverThe NTP server to contact; name or IP address. If NULL or empty, SNTP won't attempt any connection.
ntp_interfaceThe default NTP interface to use.
ntp_connection_typeThe IPv4/IPv6 connection type.
ntp_reply_timeoutTimeout for the server reply, in seconds.
ntp_stamp_timeoutTimeout for the timestamp, in seconds.
ntp_success_intervalServer query interval after a successful update, in seconds.
ntp_error_intervalServer query interval after an error, in seconds.