Compute the local time from an SNTP packet.
...
Code Block | ||
---|---|---|
| ||
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
...