41 static 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 53 select_packet(uint16_t *slotframe, uint16_t *timeslot, uint16_t *channel_offset)
56 if(slotframe != NULL) {
57 *slotframe = slotframe_handle;
59 if(timeslot != NULL) {
66 init(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);
78 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.