Ersa Wearable Platform
Embedded smartwatch firmware and application framework
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
net_sync.h File Reference
#include <stdint.h>
#include <stddef.h>
#include "ersa/common/calendar_time.h"
Include dependency graph for net_sync.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  NetSync::CalEvent
 
struct  NetSync::CalTodo
 

Namespaces

namespace  NetSync
 

Functions

void NetSync::begin ()
 
bool NetSync::syncNtp ()
 
bool NetSync::syncAll ()
 
bool NetSync::startBootTimeSync ()
 
void NetSync::tick ()
 
size_t NetSync::eventCount ()
 
const CalEvent & NetSync::getEvent (size_t index)
 
size_t NetSync::todoCount ()
 
const CalTodo & NetSync::getTodo (size_t index)
 
void NetSync::toggleTodo (size_t index)
 
bool NetSync::isSyncing ()
 
const char * NetSync::lastStatus ()
 

Variables

constexpr size_t NetSync::MAX_EVENTS_PER_DAY = 6
 
constexpr size_t NetSync::CALENDAR_CACHE_DAYS = 7
 
constexpr size_t NetSync::MAX_EVENTS = MAX_EVENTS_PER_DAY * CALENDAR_CACHE_DAYS
 
constexpr size_t NetSync::MAX_TODOS = 12