SNTP configuration.
Public Attributes#
SNTP host name or address.
SNTP method. One of the defines from SNTP Methods.
SNTP timeout.
SNTP flags.
SNTP response handler of type sl_sntp_client_event_handler_t.
Set to true if smooth sync required of type sl_sntp_set_time_sync_notification_handler_t.
Set to true if smooth sync required.
Set to true to request NTP server config from DHCP.
This is used to refresh server list if NTP provided by DHCP.
Public Attribute Documentation#
sntp_method#
uint8_t sl_sntp_client_config_t::sntp_method
SNTP method. One of the defines from SNTP Methods.
flags#
uint8_t sl_sntp_client_config_t::flags
SNTP flags.
Combination of values from SNTP Flags. Note
Bits 1-7 are reserved. User must set them to NULL.
event_handler#
sl_sntp_client_event_handler_t sl_sntp_client_config_t::event_handler
SNTP response handler of type sl_sntp_client_event_handler_t.
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 of type sl_sntp_set_time_sync_notification_handler_t.
Note
This feature is currently not supported in Si917 chipsets
smooth_sync#
bool sl_sntp_client_config_t::smooth_sync
Set to true if smooth sync required.
Note
This feature is currently not supported in Si917 chipsets
server_from_dhcp#
bool sl_sntp_client_config_t::server_from_dhcp
Set to true to request NTP server config from DHCP.
Note
This feature is currently not supported in Si917 chipsets
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.
Note
This feature is currently not supported in 917 chipsets