Compute the round trip delay from a SNTP packet in microseconds.
sntp-c.h/sntp-c.c
CPU_INT32U SNTPc_GetRoundTripDly_us (SNTP_PKT *ppkt SNTPc_ERR *p_err); |
ppkt Pointer to the SNTP message packet to compute.
p_err Pointer to variable that will receive the return error code from this function
SNTP packet round trip delay in us.
Only the integer part of the round trip delay is returned.
none.