41static uint16_t slotframe_handle = 0;
43#if ORCHESTRA_EBSF_PERIOD > 0
45#define ORCHESTRA_COMMON_SHARED_TYPE LINK_TYPE_NORMAL
48#define ORCHESTRA_COMMON_SHARED_TYPE LINK_TYPE_ADVERTISING
53select_packet(uint16_t *slotframe, uint16_t *timeslot, uint16_t *channel_offset)
56 if(slotframe != NULL) {
57 *slotframe = slotframe_handle;
59 if(timeslot != NULL) {
66init(uint16_t sf_handle)
68 slotframe_handle = sf_handle;
73 LINK_OPTION_RX | LINK_OPTION_TX | LINK_OPTION_SHARED,
74 ORCHESTRA_COMMON_SHARED_TYPE, &tsch_broadcast_address,
75 0, ORCHESTRA_DEFAULT_COMMON_CHANNEL_OFFSET, 1);
78struct orchestra_rule default_common = {
87 ORCHESTRA_COMMON_SHARED_PERIOD,
struct tsch_link * tsch_schedule_add_link(struct tsch_slotframe *slotframe, uint8_t link_options, enum link_type link_type, const linkaddr_t *address, uint16_t timeslot, uint16_t channel_offset, uint8_t do_remove)
Adds a link to a slotframe.
struct tsch_slotframe * tsch_schedule_add_slotframe(uint16_t handle, uint16_t size)
Creates and adds a new slotframe.
802.15.4e slotframe (contains links)