66 #define TRICKLE_ATTRIBUTES { PACKETBUF_ATTR_EPACKET_ID, PACKETBUF_ATTR_BIT * 8 },\
71 struct trickle_callbacks {
72 void (* recv)(
struct trickle_conn *c);
76 struct broadcast_conn c;
77 const struct trickle_callbacks *cb;
78 struct ctimer t, interval_timer, first_transmission_timer;
81 clock_time_t interval;
83 uint8_t interval_scaling;
87 void trickle_open(
struct trickle_conn *c, clock_time_t interval,
88 uint16_t channel,
const struct trickle_callbacks *cb);
89 void trickle_close(
struct trickle_conn *c);
91 void trickle_send(
struct trickle_conn *c);