Request time to a SNTP server.
Files
sntp-c.h/sntp-c.c
Prototype
CPU_BOOLEAN SNTPc_ReqRemoteTime (NET_SOCK_ADDR server_ip, SNTP_PKT *ppkt)
Arguments
server Socket address object describing the SNTP server to send the request.
ppkt Pointer to the SNTP message packet to compute.
Returned Values
If the time request is successful, DEF_TRUE will be returned.
If the time request failed, DEF_TRUE will be returned.
Required Configuration
Notes / Warnings
none.
Example Usage
none.