Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.75 KB

File metadata and controls

38 lines (27 loc) · 1.75 KB

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:

  • NX_SNTP_KOD_REMOVE_SERVER 0xD0C

  • NX_SNTP_SERVER_AUTH_FAIL 0xD0D

  • NX_SNTP_INVALID_NTP_VERSION 0xD11

  • NX_SNTP_INVALID_SERVER_MODE 0xD12

  • NX_SNTP_INVALID_SERVER_STRATUM 0xD15

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:

  • HNX_SNTP_NO_UNICAST_FROM_SERVER 0xD09

  • NX_SNTP_SERVER_CLOCK_NOT_SYNC 0xD0A

  • NX_SNTP_KOD_SERVER_NOT_AVAILABLE 0xD0B

  • NX_SNTP_OVER_BAD_UPDATE_LIMIT 0xD17

  • NX_SNTP_BAD_SERVER_ROOT_DISPERSION 0xD16

  • NX_SNTP_INVALID_RTT_TIME 0xD21

  • NX_SNTP_KOD_SERVER_NOT_AVAILABLE 0xD24