Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Compute the local time offset from an SNTP packet.

Files

sntp-c.h/sntp-c.c

Prototype

 

CPU_INT32U  SNTPc_GetRemoteTime_s (SNTP_PKT  *ppkt);

 

Arguments

ppkt                         Pointer to the SNTP message packet to compute.

Returned Values

Corrected time

Required Configuration

Module Configuration.

Notes / Warnings

  1. Only the integer part of the offset is preserved when applying it to the local time.

Example Usage

none.

  • No labels