Contiki-NG
|
Header file for TSCH adaptive channel selection. More...
#include "contiki.h"
#include <stdbool.h>
Go to the source code of this file.
Functions | |
void | tsch_cs_adaptations_init (void) |
Initializes the TSCH hopping sequence selection module. | |
void | tsch_cs_channel_stats_updated (uint8_t updated_channel, uint16_t old_busyness_metric) |
Signal the need to potentially update the TSCH hopping sequence. | |
bool | tsch_cs_process (void) |
Potentially update the TSCH hopping sequence. | |
Header file for TSCH adaptive channel selection.
Definition in file tsch-cs.h.
void tsch_cs_channel_stats_updated | ( | uint8_t | updated_channel, |
uint16_t | old_busyness_metric ) |
Signal the need to potentially update the TSCH hopping sequence.
updated_channel | The channel with the updated RSSI measurement |
old_busyness_metric | The EWMA value of the "channel busy" status before the last RSSI measurement |
Definition at line 304 of file tsch-cs.c.
References clock_seconds().
bool tsch_cs_process | ( | void | ) |
Potentially update the TSCH hopping sequence.
Definition at line 201 of file tsch-cs.c.
References clock_seconds().