Jump to main content

##

# 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

Members | Description
--- | ---
ntp_server | The NTP server to contact; name or IP address. If NULL or empty, SNTP won't attempt any connection.
ntp_interface | The default NTP interface to use.
ntp_connection_type | The IPv4/IPv6 connection type.
ntp_reply_timeout | Timeout for the server reply, in seconds.
ntp_stamp_timeout | Timeout for the timestamp, in seconds.
ntp_success_interval | Server query interval after a successful update, in seconds.
ntp_error_interval | Server query interval after an error, in seconds.