The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_SNTP

SNTP (Simple Network Time Protocol)

Type: bool

Help

Enable SNTP client library

Direct dependencies

NET_SOCKETS && (NET_SOCKETS_POSIX_NAMES || POSIX_API) && NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/net/lib/sntp/Kconfig:4

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:39subsys/net/Kconfig:91subsys/net/lib/Kconfig:22

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Protocols

menuconfig SNTP
    bool "SNTP (Simple Network Time Protocol)"
    depends on NET_SOCKETS && (NET_SOCKETS_POSIX_NAMES || POSIX_API) && NETWORKING
    help
      Enable SNTP client library

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)