Contiki-NG
Functions | Variables
tsch-adaptive-timesync.h File Reference

TSCH adaptive time synchronization. More...

#include "contiki.h"

Go to the source code of this file.

Functions

void tsch_timesync_update (struct tsch_neighbor *n, uint16_t time_delta_asn, int32_t drift_correction)
 Updates timesync information for a given neighbor. More...
 
int32_t tsch_timesync_adaptive_compensate (rtimer_clock_t delta_ticks)
 Computes time compensation for a given point in the future. More...
 
long int tsch_adaptive_timesync_get_drift_ppm (void)
 Gives the estimated clock drift w.r.t. More...
 

Variables

struct tsch_neighborlast_timesource_neighbor
 The neighbor last used as our time source.
 

Detailed Description

TSCH adaptive time synchronization.

Definition in file tsch-adaptive-timesync.h.