Network Services API  1.11.00.10
Functions
sntp.h File Reference
#include <xdc/std.h>
#include <ti/net/socket.h>
Include dependency graph for sntp.h:

Go to the source code of this file.

Functions

int SNTP_start (uint32_t(*get)(void), void(*set)(uint32_t newtime), void(*timeUpdatedHook)(void *), struct sockaddr *servers, unsigned int numservers, size_t stacksize)
 Initialize and start the SNTP client Task. More...
 
void SNTP_stop (void)
 Stops the SNTP client Task and frees resources used by the module. More...
 
void SNTP_setServers (struct sockaddr *servers, unsigned int numservers)
 Updates the list of NTP servers to communicate with. More...
 
void SNTP_forceTimeSync (void)
 Force SNTP client to get the time from a configured NTP server. More...
 
Copyright 2016, Texas Instruments Incorporated