Enum anj_ntp_status_t
Defined in File ntp.h
Enum Documentation
-
enum anj_ntp_status_t
This enum represents the possible states of a NTP module.
Values:
-
enumerator ANJ_NTP_STATUS_INITIAL
Initial state of the module after startup.
Start new NTP synchronization by calling anj_ntp_start.
-
enumerator ANJ_NTP_STATUS_PERIOD_EXCEEDED
The time since the last synchronization (successful or not) exceeds the
NTP periodresource value. NTP synchronization should be started. Call anj_ntp_start to initiate synchronization.
-
enumerator ANJ_NTP_STATUS_IN_PROGRESS
NTP synchronization is started and is currently in progress.
-
enumerator ANJ_NTP_STATUS_FINISHED_SUCCESSFULLY
NTP synchronization has finished successfully. New time is provided through callback.
Time sync errorresource is set to false.Last time syncresource is updated.
-
enumerator ANJ_NTP_STATUS_FINISHED_WITH_ERROR
NTP synchronization has finished with error. New time is not available.
Time sync errorresource is set to true.Last time syncresource is updated.
-
enumerator ANJ_NTP_STATUS_OBJECT_UPDATED
NTP object state has been updated by LwM2M Server and should be persisted.
-
enumerator ANJ_NTP_STATUS_INITIAL