Contiki-NG
|
Main API declarations for TSCH. More...
#include "contiki.h"
#include "net/mac/mac.h"
#include "net/linkaddr.h"
#include "net/mac/tsch/tsch-conf.h"
#include "net/mac/tsch/tsch-const.h"
#include "net/mac/tsch/tsch-types.h"
#include "net/mac/tsch/tsch-adaptive-timesync.h"
#include "net/mac/tsch/tsch-slot-operation.h"
#include "net/mac/tsch/tsch-queue.h"
#include "net/mac/tsch/tsch-log.h"
#include "net/mac/tsch/tsch-packet.h"
#include "net/mac/tsch/tsch-security.h"
#include "net/mac/tsch/tsch-schedule.h"
#include "net/mac/tsch/tsch-stats.h"
Go to the source code of this file.
Functions | |
void | tsch_set_join_priority (uint8_t jp) |
Set the TSCH join priority (JP) More... | |
void | tsch_set_eb_period (uint32_t period) |
Set the period at wich TSCH enhanced beacons (EBs) are sent. More... | |
void | tsch_set_ka_timeout (uint32_t timeout) |
Set the desynchronization timeout after which a node sends a unicasst keep-alive (KA) to its time source. More... | |
void | tsch_set_coordinator (int enable) |
Set the node as PAN coordinator. More... | |
void | tsch_set_pan_secured (int enable) |
Enable/disable security. More... | |
void | tsch_schedule_keepalive (void) |
Schedule a keep-alive transmission within [timeout*0.9, timeout[. More... | |
void | tsch_schedule_keepalive_immediately (void) |
Schedule a keep-alive immediately. | |
uint64_t | tsch_get_network_uptime_ticks (void) |
Get the time, in clock ticks, since the TSCH network was started. More... | |
void | tsch_disassociate (void) |
Leave the TSCH network we are currently in. | |
Variables | |
const tsch_timeslot_timing_usec | tsch_timeslot_timing_us_10000 |
The default timeslot timing in the standard is a guard time of 2200 us, a Tx offset of 2120 us and a Rx offset of 1120 us. More... | |
Main API declarations for TSCH.
Definition in file tsch.h.