![]() |
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"#include "net/mac/tsch/tsch-roots.h"Go to the source code of this file.
Functions | |
| void | tsch_set_join_priority (uint8_t jp) |
| Set the TSCH join priority (JP) | |
| void | tsch_set_eb_period (uint32_t period) |
| Set the period at wich TSCH enhanced beacons (EBs) are sent. | |
| 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_coordinator (int enable) |
| Set the node as PAN coordinator. | |
| void | tsch_set_pan_secured (int enable) |
| Enable/disable security. | |
| void | tsch_schedule_keepalive (int immediate) |
| Schedule a keep-alive transmission within [timeout*0.9, timeout[ Can be called from an interrupt. | |
| uint64_t | tsch_get_network_uptime_ticks (void) |
| Get the time, in clock ticks, since the TSCH network was started. | |
| 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. | |
Main API declarations for TSCH.
Definition in file tsch.h.