44 #include "contiki-conf.h"
47 #ifdef RDC_CONF_WITH_DUPLICATE_DETECTION
48 #define RDC_WITH_DUPLICATE_DETECTION RDC_CONF_WITH_DUPLICATE_DETECTION
54 #define RDC_WITH_DUPLICATE_DETECTION !LLSEC802154_CONF_SECURITY_LEVEL
59 struct rdc_buf_list *next;
74 void (*
send)(mac_callback_t sent_callback,
void *ptr);
77 void (*
send_list)(mac_callback_t sent_callback,
void *ptr,
struct rdc_buf_list *list);
86 int (*
off)(
int keep_radio_on);
void(* input)(void)
Callback for getting notified of incoming packet.
void(* send)(mac_callback_t sent_callback, void *ptr)
Send a packet from the Rime buffer.
int(* off)(int keep_radio_on)
Turn the MAC layer off.
unsigned short(* channel_check_interval)(void)
Returns the channel check interval, expressed in clock_time_t ticks.
The structure of a RDC (radio duty cycling) driver in Contiki.
void(* init)(void)
Initialize the RDC driver.
int(* on)(void)
Turn the MAC layer on.
void(* send_list)(mac_callback_t sent_callback, void *ptr, struct rdc_buf_list *list)
Send a packet list.