SNTPc_GetRemoteTime()

Compute the local time from an SNTP packet.

Files

sntp-c.h/sntp-c.c

Prototype

 

SNTP_TS  SNTPc_GetRemoteTime (SNTP_PKT        *ppkt,
						      SNTPc_ERR       *p_err);

 

Arguments

ppkt                  

Pointer to the SNTP message packet to compute.

p_err              

 Pointer to variable that will receive the return error code from this function.

Returned Values

Corrected NTP time stamp.

Required Configuration

Module Configuration.

Notes / Warnings

None.

Example Usage

none.