Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 2.00.00

Compute the local time offset from an SNTP packet.

Files

sntp-c.h/sntp-c.c

Prototype

 

Code Block
language

...

micrium

...

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.