Contiki-NG
|
IEEE 802.15.4 TSCH MAC implementation. More...
#include "contiki.h"
#include "dev/radio.h"
#include "net/netstack.h"
#include "net/packetbuf.h"
#include "net/queuebuf.h"
#include "net/nbr-table.h"
#include "net/link-stats.h"
#include "net/mac/framer/framer-802154.h"
#include "net/mac/tsch/tsch.h"
#include "net/mac/mac-sequence.h"
#include "lib/random.h"
#include "net/routing/routing.h"
#include <inttypes.h>
#include "sys/log.h"
Go to the source code of this file.
Functions | |
void | tsch_set_coordinator (int enable) |
Set the node as PAN coordinator. | |
void | tsch_set_pan_secured (int enable) |
Enable/disable security. | |
void | tsch_set_join_priority (uint8_t jp) |
Set the TSCH join priority (JP) | |
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. | |
void | tsch_set_eb_period (uint32_t period) |
Set the period at wich TSCH enhanced beacons (EBs) are sent. | |
void | tsch_schedule_keepalive (int immediate) |
Schedule a keep-alive transmission within [timeout*0.9, timeout[ Can be called from an interrupt. | |
void | tsch_disassociate (void) |
Leave the TSCH network we are currently in. | |
IEEE 802.15.4 TSCH MAC implementation.
Does not use any RDC layer. Should be used with nordc.
Definition in file tsch.c.