Contiki-NG
Functions
tsch.c File Reference

    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 "sys/log.h"

Go to the source code of this file.

Functions

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_set_join_priority (uint8_t jp)
 Set the TSCH join priority (JP) 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_eb_period (uint32_t period)
 Set the period at wich TSCH enhanced beacons (EBs) are sent. More...
 
void tsch_schedule_keepalive (int immediate)
 Schedule a keep-alive transmission within [timeout*0.9, timeout[ Can be called from an interrupt. More...
 
void tsch_disassociate (void)
 Leave the TSCH network we are currently in.
 

Detailed Description

    IEEE 802.15.4 TSCH MAC implementation.

Does not use any RDC layer. Should be used with nordc.

Author
Simon Duquennoy simon.nosp@m.duq@.nosp@m.sics..nosp@m.se Beshr Al Nahas beshr.nosp@m.@sic.nosp@m.s.se

Definition in file tsch.c.