File ntp.h
↰ Parent directory (include_public/anj)
API for Network Time Protocol (NTP) client functionality.
Definition (include_public/anj/ntp.h)
Detailed Description
This module provides functions to synchronize the system time with NTP servers and adds support for the standard LwM2M NTP object (OID 3415). It allows initializing the NTP client, starting time synchronization, and retrieving the current time. Logic is based on callbacks and state machine, suitable for integration into the main application loop.
Includes
anj/compat/net/anj_net_api.h(File anj_net_api.h)anj/defs.h(File defs.h)anj/init.h(File init.h)anj/persistence.h(File persistence.h)