Anjay Lite
Loading...
Searching...
No Matches
NTP client error codes.

Macros

#define ANJ_NTP_ERR_IN_PROGRESS   -1
 
#define ANJ_NTP_ERR_CONFIGURATION   -2
 
#define ANJ_NTP_ERR_OBJECT_CREATION_FAILED   -3
 

Detailed Description

Macro Definition Documentation

◆ ANJ_NTP_ERR_CONFIGURATION

#define ANJ_NTP_ERR_CONFIGURATION   -2

Error code returned by anj_ntp_init when the provided configuration is invalid.

◆ ANJ_NTP_ERR_IN_PROGRESS

#define ANJ_NTP_ERR_IN_PROGRESS   -1

Error code returned by anj_ntp_start when a synchronization operation is already in progress.

To start a new synchronization, you must first wait until the ongoing one completes.

◆ ANJ_NTP_ERR_OBJECT_CREATION_FAILED

#define ANJ_NTP_ERR_OBJECT_CREATION_FAILED   -3

Error code returned by anj_ntp_init when the NTP object creation in the Anjay instance failed.