.. _file_include_public_anj_ntp.h: File ntp.h ========== |exhale_lsh| :ref:`Parent directory ` (``include_public/anj``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS API for Network Time Protocol (NTP) client functionality. .. contents:: Contents :local: :backlinks: none Definition (``include_public/anj/ntp.h``) ----------------------------------------- .. toctree:: :maxdepth: 1 program_listing_file_include_public_anj_ntp.h.rst 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`` (:ref:`file_include_public_anj_compat_net_anj_net_api.h`) - ``anj/defs.h`` (:ref:`file_include_public_anj_defs.h`) - ``anj/init.h`` (:ref:`file_include_public_anj_init.h`) - ``anj/persistence.h`` (:ref:`file_include_public_anj_persistence.h`) Classes ------- - :ref:`exhale_struct_structanj__ntp__configuration__struct` Enums ----- - :ref:`exhale_enum_ntp_8h_1aebf9ecd1769f4f32440bbcaa51d1c822` Functions --------- - :ref:`exhale_function_ntp_8h_1a545ed47fa2cd2deb2dcba7b0c62856e8` - :ref:`exhale_function_ntp_8h_1abdc525a3517ff0849ac97b67e73288fc` - :ref:`exhale_function_ntp_8h_1af1bd1e283765602b21d372ae47bcb2fd` - :ref:`exhale_function_ntp_8h_1a3b40bbb00be23a531cd4c139334a92f1` - :ref:`exhale_function_ntp_8h_1a28a489d21a446b66e377f6d690b23ea1` - :ref:`exhale_function_ntp_8h_1ad366f7e06e8f21a9aa61ebb18b61b84f` Defines ------- - :ref:`exhale_define_group__anj__ntp__errors_1gac42359e065fac31fa8dca477c2e74bcc` - :ref:`exhale_define_group__anj__ntp__errors_1gac86506c5f98e10a665dfdbf4071305ee` - :ref:`exhale_define_group__anj__ntp__errors_1gadfdc8a69f58f5bf04fd50d53d090d2a3` Typedefs -------- - :ref:`exhale_typedef_ntp_8h_1a1dac7e6af82ecb30989d515855b6061e` - :ref:`exhale_typedef_ntp_8h_1aa699a81e6695e80365c319f19bb97ffb`