1# Copyright (c) 2017 Linaro Limited
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig SNTP
5	bool "SNTP (Simple Network Time Protocol)"
6	depends on NET_SOCKETS
7	help
8	  Enable SNTP client library
9
10if SNTP
11
12config SNTP_UNCERTAINTY
13	bool "Calculate SNTP uncertainty and set uptime timestamp"
14	help
15	  Get a more reliable timestamp by supplying the sntp_time struct with an
16	  uptime timestamp of when the time was valid and an uncertainty of the
17	  time in microseconds. Time is then given as:
18	  seconds,fraction +/- uncertainty at uptime timestamp.
19	  Enabling this option uses more resources (memory) and is not normally
20	  needed.
21
22module = SNTP
23module-dep = NET_LOG
24module-str = Log level for SNTP
25module-help = Enable debug message of SNTP client library.
26source "subsys/net/Kconfig.template.log_config.net"
27
28endif # SNTP
29