1.2.1.20.16 TCPIP_SNTP_TimeStampStatus Function

C

TCPIP_SNTP_RESULT TCPIP_SNTP_TimeStampStatus();

Description

This function gets the timestamp status as it was obtained from a NTP server.

Preconditions

The TCP/IP Stack should have been initialized.

Returns

  • SNTP_RES_OK - If there is a valid timestamp.

  • SNTP_RES_TSTAMP_STALE error code - There is a timestamp, but it's old.

  • SNTP_RES_TSTAMP_ERROR error code - If there is no available timestamp.

Remarks

The result is info only and could change immediately.