Compute the local time offset from an SNTP packet.
Files
sntp-c.h/sntp-c.c
Prototype
Code Block | ||
---|---|---|
| ||
CPUSNTP_INT32UTS SNTPc_GetRemoteTime_s (SNTP_PKT *ppkt); |
Arguments
ppkt Pointer to the SNTP message packet to compute.
Returned Values
Corrected NTP time stamp.
Required Configuration
Notes / Warnings
...
None.
Example Usage
none.