Contiki-NG
|
TSCH slot operation implementation, running from interrupt.More...
#include "dev/radio.h"
#include "contiki.h"
#include "net/netstack.h"
#include "net/packetbuf.h"
#include "net/queuebuf.h"
#include "net/mac/framer/framer-802154.h"
#include "net/mac/tsch/tsch.h"
#include "sys/log.h"
Go to the source code of this file.
Functions | |
int | tsch_is_locked (void) |
Checks if the TSCH lock is set. More... | |
int | tsch_get_lock (void) |
Takes the TSCH lock. More... | |
void | tsch_release_lock (void) |
Releases the TSCH lock. | |
uint8_t | tsch_calculate_channel (struct tsch_asn_t *asn, uint8_t channel_offset) |
Returns a 802.15.4 channel from an ASN and channel offset. More... | |
static void | tsch_radio_on (enum tsch_radio_state_on_cmd command) |
This function turns on the radio. More... | |
static void | tsch_radio_off (enum tsch_radio_state_off_cmd command) |
This function turns off the radio. More... | |
void | tsch_slot_operation_start (void) |
Start actual slot operation. | |
void | tsch_slot_operation_sync (rtimer_clock_t next_slot_start, struct tsch_asn_t *next_slot_asn) |
Set global time before starting slot operation, with a rtimer time and an ASN. More... | |
Variables | |
struct tsch_neighbor * | last_timesource_neighbor = NULL |
The neighbor last used as our time source. | |
TSCH slot operation implementation, running from interrupt.
Definition in file tsch-slot-operation.c.