Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
sntp_helper.h File Reference

Declarations of SNTP helper functions. More...

#include "ca821x_error.h"
Include dependency graph for sntp_helper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  sntp_query_state {
  NO_TIME = 0 , WAITING_FOR_DNS , WAITING_FOR_SNTP , HAVE_TIME ,
  RETRYING
}
 

Functions

void SNTP_Init ()
 Initialise the SNTP library. More...
 
ca_error SNTP_Update ()
 Start the process for updating the RTC using an SNTP request. More...
 
enum sntp_query_state SNTP_GetState ()
 Get the status of the library, which indicates whether the RTC has been updated using SNTP. More...
 

Detailed Description

Declarations of SNTP helper functions.