Contiki 2.6

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

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

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().

Get the operating channel.

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

Referenced by ieee_15_4_init().

Get the Coordinator Long address.

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

Referenced by ieee_15_4_init().

Get the Coordinator Long address.

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

Referenced by ieee_15_4_init().

Get the Destination address.

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

Referenced by ieee_15_4_init().

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().

Get the iAmCoord bit.

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

Referenced by ieee_15_4_init().

Get the Long Address.

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

Referenced by ieee_15_4_init(), and sicslowmac_dataRequest().

Get the short Address.

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

Referenced by ieee_15_4_init().

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().

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().

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().

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().

Set the Source PAN_ID.

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

Referenced by ieee_15_4_init().

Turn the MAC layer off.

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

Referenced by ieee_15_4_init().

Turn the MAC layer on.

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

Referenced by ieee_15_4_init().