Contiki 2.6

rdc_driver Struct Reference

The structure of a RDC (radio duty cycling) driver in Contiki. More...

#include <core/net/mac/rdc.h>

Data Fields

void(* init )(void)
 Initialize the RDC driver.
void(* send )(mac_callback_t sent_callback, void *ptr)
 Send a packet from the Rime buffer.
void(* send_list )(mac_callback_t sent_callback, void *ptr, struct rdc_buf_list *list)
 Send a packet list.
void(* input )(void)
 Callback for getting notified of incoming packet.
int(* on )(void)
 Turn the MAC layer on.
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.

Detailed Description

The structure of a RDC (radio duty cycling) driver in Contiki.

Definition at line 58 of file rdc.h.


Field Documentation

unsigned short(* rdc_driver::channel_check_interval)(void)

Returns the channel check interval, expressed in clock_time_t ticks.

Definition at line 80 of file rdc.h.

void(* rdc_driver::input)(void)

Callback for getting notified of incoming packet.

Definition at line 71 of file rdc.h.

int(* rdc_driver::off)(int keep_radio_on)

Turn the MAC layer off.

Definition at line 77 of file rdc.h.

int(* rdc_driver::on)(void)

Turn the MAC layer on.

Definition at line 74 of file rdc.h.