Contiki-NG
tsch.h File Reference

Main API declarations for TSCH. More...

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 (int immediate)
 Schedule a keep-alive transmission within [timeout*0.9, timeout[ Can be called from an interrupt. More...
 
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
 TSCH timing attributes and description. More...
 

Detailed Description

Main API declarations for TSCH.

Definition in file tsch.h.