unofficial-rtos-docs

Appendix A - NetX Duo SNTP Fatal Error Codes

The following error codes will result in the NetX Duo SNTP Client aborting time updates with the current server. It is up to the application to decide if the server should be removed from the SNTP Client list of available servers, or simply switch to the next available server on the list. The definition of each error status is defined in nxd_sntp_client.h.

When the SNTP Client returns an error from the list below to the application, the Server should probably be replaced with another Server. Note that the NX_SNTP_KOD_REMOVE_SERVER error status is left to the SNTP Client kiss of death handler (callback function) to set:

When the SNTP Client returns an error from the list below to the application, the Server may only temporarily be unable to provide valid time updates and need not be removed: