38 #ifndef __ORCHESTRA_H__ 39 #define __ORCHESTRA_H__ 45 struct orchestra_rule {
46 void (* init)(uint16_t slotframe_handle);
48 int (* select_packet)(uint16_t *slotframe, uint16_t *timeslot, uint16_t *channel_offset);
49 void (* child_added)(
const linkaddr_t *
addr);
50 void (* child_removed)(
const linkaddr_t *
addr);
54 struct orchestra_rule eb_per_time_source;
55 struct orchestra_rule unicast_per_neighbor_rpl_storing;
56 struct orchestra_rule unicast_per_neighbor_rpl_ns;
57 struct orchestra_rule default_common;
59 extern linkaddr_t orchestra_parent_linkaddr;
60 extern int orchestra_parent_knows_us;
63 void orchestra_init(
void);
66 int orchestra_callback_packet_ready(
void);
70 void orchestra_callback_child_added(
const linkaddr_t *
addr);
72 void orchestra_callback_child_removed(
const linkaddr_t *
addr);
static uip_ds6_addr_t * addr
Pointer to a nbr cache entry.
TSCH neighbor information.
Main API declarations for TSCH.