Contiki 2.5
Data Fields
ieee_15_4_manager Struct Reference

The interface structure for the 802.15.4 quasi-MAC. More...

#include <cpu/avr/radio/ieee-manager/ieee-15-4-manager.h>

Data Fields

int(* wake )(void)
 Turn the MAC layer on. More...
 
int(* sleep )(void)
 Turn the MAC layer off. More...
 
void(* set_channel )(int channel)
 Set the operating channel. More...
 
int(* get_channel )(void)
 Get the operating channel. More...
 
void(* set_dst_panid )(int panid)
 Set the Destination PAN_ID. More...
 
int(* get_dst_panid )(void)
 Get the Destination PAN_ID. More...
 
void(* set_src_panid )(int panid)
 Set the Source PAN_ID. More...
 
int(* get_src_panid )(void)
 Get the Source PAN_ID. More...
 
void(* set_auto_mode )(bool mode)
 Set the Automatic TRX modes. More...
 
bool(* get_auto_mode )(void)
 Get the current state of Automatic TRX modes. More...
 
void(* set_long_addr )(uint64_t address)
 Set the Long Address. More...
 
uint64_t(* get_long_addr )(void)
 Get the Long Address. More...
 
void(* set_short_addr )(int address)
 Set the Short Address. More...
 
int(* get_short_addr )(void)
 Get the short Address. More...
 
void(* set_iamcoord_bit )(bool iamcoord)
 Set the iAmCoord bit. More...
 
bool(* get_iamcoord_bit )(void)
 Get the iAmCoord bit. More...
 
void(* set_coord_long_addr )(uint64_t address)
 Set the Coordinator Long address. More...
 
uint64_t(* get_coord_long_addr )(void)
 Get the Coordinator Long address. More...
 
void(* set_coord_short_addr )(int address)
 Set the Coordinator Long address. More...
 
int(* get_coord_short_addr )(void)
 Get the Coordinator Long address. More...
 
void(* set_dest_long_addr )(uint64_t address)
 Set the Destination address. More...
 
uint64_t(* get_dest_long_addr )(void)
 Get the Destination address. More...
 

Detailed Description

The interface structure for the 802.15.4 quasi-MAC.

Definition at line 54 of file ieee-15-4-manager.h.

Field Documentation

bool(* ieee_15_4_manager::get_auto_mode)(void)

Get the current state of Automatic TRX modes.

Definition at line 78 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init().

int(* ieee_15_4_manager::get_channel)(void)

Get the operating channel.

Definition at line 63 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init().

uint64_t(* ieee_15_4_manager::get_coord_long_addr)(void)

Get the Coordinator Long address.

Definition at line 98 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init().

int(* ieee_15_4_manager::get_coord_short_addr)(void)

Get the Coordinator Long address.

Definition at line 103 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init().

uint64_t(* ieee_15_4_manager::get_dest_long_addr)(void)

Get the Destination address.

Definition at line 108 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init().

int(* ieee_15_4_manager::get_dst_panid)(void)

Get the Destination PAN_ID.

Definition at line 68 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init(), and sicslowmac_dataRequest().

bool(* ieee_15_4_manager::get_iamcoord_bit)(void)

Get the iAmCoord bit.

Definition at line 93 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init().

uint64_t(* ieee_15_4_manager::get_long_addr)(void)

Get the Long Address.

Definition at line 83 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init(), and sicslowmac_dataRequest().

int(* ieee_15_4_manager::get_short_addr)(void)

Get the short Address.

Definition at line 88 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init().

int(* ieee_15_4_manager::get_src_panid)(void)

Get the Source PAN_ID.

Definition at line 73 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init(), and sicslowmac_dataRequest().

void(* ieee_15_4_manager::set_auto_mode)(bool mode)

Set the Automatic TRX modes.

Definition at line 76 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init().

void(* ieee_15_4_manager::set_channel)(int channel)

Set the operating channel.

Definition at line 61 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init().

void(* ieee_15_4_manager::set_coord_long_addr)(uint64_t address)

Set the Coordinator Long address.

Definition at line 96 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init().

void(* ieee_15_4_manager::set_coord_short_addr)(int address)

Set the Coordinator Long address.

Definition at line 101 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init().

void(* ieee_15_4_manager::set_dest_long_addr)(uint64_t address)

Set the Destination address.

Definition at line 106 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init().

void(* ieee_15_4_manager::set_dst_panid)(int panid)

Set the Destination PAN_ID.

Definition at line 66 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init().

void(* ieee_15_4_manager::set_iamcoord_bit)(bool iamcoord)

Set the iAmCoord bit.

Definition at line 91 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init().

void(* ieee_15_4_manager::set_long_addr)(uint64_t address)

Set the Long Address.

Definition at line 81 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init().

void(* ieee_15_4_manager::set_short_addr)(int address)

Set the Short Address.

Definition at line 86 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init().

void(* ieee_15_4_manager::set_src_panid)(int panid)

Set the Source PAN_ID.

Definition at line 71 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init().

int(* ieee_15_4_manager::sleep)(void)

Turn the MAC layer off.

Definition at line 58 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init().

int(* ieee_15_4_manager::wake)(void)

Turn the MAC layer on.

Definition at line 56 of file ieee-15-4-manager.h.

Referenced by ieee_15_4_init().