Embedded TCP/IP stack  4.7.0

◆ fnet_sntp_callback_resolved_t

typedef void(* fnet_sntp_callback_resolved_t) (const fnet_sntp_timestamp_t *timestamp, void *cookie)

Prototype of the SNTP-client callback function that is called when the SNTP client has completed the timestamp resolving.

Parameters
timestampPointer to the received timestamp or FNET_NULL if the resolving is failed.
cookieUser-application specific parameter. It's set during the SNTP-client service initialization as part of fnet_sntp_params_t.
See also
fnet_sntp_init(), fnet_sntp_params_t

Definition at line 101 of file fnet_sntp.h.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net