SNTP configuration.

Public Attributes#

uint8_t *

SNTP host name or address.

uint8_t

SNTP method.

uint16_t

SNTP timeout.

uint8_t

Flags to define functionality.

Set to true if smooth sync required. Coming Soon.

bool

Set to true if smooth sync required. Coming Soon.

bool

Set to true to request NTP server config from DHCP. Coming Soon.

bool

This is used to refresh server list if NTP provided by DHCP. Coming Soon.

Public Attribute Documentation#

server_host_name#

uint8_t* sl_sntp_client_config_t::server_host_name

SNTP host name or address.


sntp_method#

uint8_t sl_sntp_client_config_t::sntp_method

SNTP method.


sntp_timeout#

uint16_t sl_sntp_client_config_t::sntp_timeout

SNTP timeout.


flags#

uint8_t sl_sntp_client_config_t::flags

Flags to define functionality.


event_handler#

sl_sntp_client_event_handler_t sl_sntp_client_config_t::event_handler

SNTP response handler.


time_sync_notifiication_handler#

sl_sntp_set_time_sync_notification_handler_t sl_sntp_client_config_t::time_sync_notifiication_handler

Set to true if smooth sync required. Coming Soon.


smooth_sync#

bool sl_sntp_client_config_t::smooth_sync

Set to true if smooth sync required. Coming Soon.


server_from_dhcp#

bool sl_sntp_client_config_t::server_from_dhcp

Set to true to request NTP server config from DHCP. Coming Soon.


renew_servers_after_new_IP#

bool sl_sntp_client_config_t::renew_servers_after_new_IP

This is used to refresh server list if NTP provided by DHCP. Coming Soon.