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;
73 struct tsch_slotframe *sf_common = tsch_schedule_add_slotframe(slotframe_handle, ORCHESTRA_COMMON_SHARED_PERIOD);
74 tsch_schedule_add_link(sf_common,
75 LINK_OPTION_RX | LINK_OPTION_TX | LINK_OPTION_SHARED,
76 ORCHESTRA_COMMON_SHARED_TYPE, &tsch_broadcast_address,
80 struct orchestra_rule default_common = {
#define NULL
The null pointer.