41 static uint16_t slotframe_handle = 0;
42 static uint16_t channel_offset = 0;
44 #if ORCHESTRA_EBSF_PERIOD > 0 46 #define ORCHESTRA_COMMON_SHARED_TYPE LINK_TYPE_NORMAL 49 #define ORCHESTRA_COMMON_SHARED_TYPE LINK_TYPE_ADVERTISING 54 select_packet(uint16_t *slotframe, uint16_t *timeslot)
57 if(slotframe != NULL) {
58 *slotframe = slotframe_handle;
60 if(timeslot != NULL) {
67 init(uint16_t sf_handle)
69 slotframe_handle = sf_handle;
70 channel_offset = slotframe_handle;
75 LINK_OPTION_RX | LINK_OPTION_TX | LINK_OPTION_SHARED,
76 ORCHESTRA_COMMON_SHARED_TYPE, &tsch_broadcast_address,
80 struct orchestra_rule default_common = {
802.15.4e slotframe (contains links)
struct tsch_slotframe * tsch_schedule_add_slotframe(uint16_t handle, uint16_t size)
Creates and adds a new slotframe.
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)
Adds a link to a slotframe.