|
Contiki-Inga 3.x
|
Trickle timer library implementation. More...
#include "contiki-conf.h"#include "lib/trickle-timer.h"#include "sys/ctimer.h"#include "sys/cc.h"#include "lib/random.h"Go to the source code of this file.
Macros | |
| #define | tt_rand() random_rand() |
| Wide randoms for platforms using a 4-byte wide clock (see TRICKLE_TIMER_WIDE_RAND) | |
Functions | |
Trickle Timer Library: Functions called by protocol implementations | |
| void | trickle_timer_consistency (struct trickle_timer *tt) |
| To be called by the protocol when it hears a consistent transmission. More... | |
| void | trickle_timer_inconsistency (struct trickle_timer *tt) |
| To be called by the protocol when it hears an inconsistent transmission. More... | |
| uint8_t | trickle_timer_config (struct trickle_timer *tt, clock_time_t i_min, uint8_t i_max, uint8_t k) |
| Configure a trickle timer. More... | |
| uint8_t | trickle_timer_set (struct trickle_timer *tt, trickle_timer_cb_t proto_cb, void *ptr) |
| Start a previously configured trickle timer. More... | |
Trickle timer library implementation.
Definition in file trickle-timer.c.
1.8.3.1