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#
server_host_name#
uint8_t* sl_sntp_client_config_t::server_host_name
SNTP host name or address.
123
of file components/service/sntp/inc/sl_sntp.h
sntp_method#
uint8_t sl_sntp_client_config_t::sntp_method
SNTP method. One of the defines from SNTP Methods.
124
of file components/service/sntp/inc/sl_sntp.h
sntp_timeout#
uint16_t sl_sntp_client_config_t::sntp_timeout
SNTP timeout.
125
of file components/service/sntp/inc/sl_sntp.h
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.
126
of file components/service/sntp/inc/sl_sntp.h
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.
128
of file components/service/sntp/inc/sl_sntp.h
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
130
of file components/service/sntp/inc/sl_sntp.h
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
132
of file components/service/sntp/inc/sl_sntp.h
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
134
of file components/service/sntp/inc/sl_sntp.h
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
136
of file components/service/sntp/inc/sl_sntp.h