p802_15_4phy.h File Reference

#include <packet.h>
#include <wireless-phy.h>
#include "p802_15_4def.h"

Include dependency graph for p802_15_4phy.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  Phy802_15_4
class  Phy802_15_4Timer
struct  PHY_PIB

Defines

#define phyCCAHType   1
#define phyEDHType   2
#define phyRecvOverHType   4
#define phySendOverHType   5
#define phyTRXHType   3

Enumerations

enum  PHYenum {
  p_BUSY = 0, p_BUSY_RX, p_BUSY_TX, p_FORCE_TRX_OFF,
  p_IDLE, p_INVALID_PARAMETER, p_RX_ON, p_SUCCESS,
  p_TRX_OFF, p_TX_ON, p_UNSUPPORT_ATTRIBUTE, p_UNDEFINED
}
enum  PPIBAenum { phyCurrentChannel = 0x00, phyChannelsSupported, phyTransmitPower, phyCCAMode }


Define Documentation

#define phyCCAHType   1
 

Definition at line 96 of file p802_15_4phy.h.

Referenced by Phy802_15_4Timer::handle().

#define phyEDHType   2
 

Definition at line 97 of file p802_15_4phy.h.

Referenced by Phy802_15_4Timer::handle().

#define phyRecvOverHType   4
 

Definition at line 99 of file p802_15_4phy.h.

Referenced by Phy802_15_4Timer::handle().

#define phySendOverHType   5
 

Definition at line 100 of file p802_15_4phy.h.

Referenced by Phy802_15_4Timer::handle().

#define phyTRXHType   3
 

Definition at line 98 of file p802_15_4phy.h.

Referenced by Phy802_15_4Timer::handle().


Enumeration Type Documentation

enum PHYenum
 

Enumerator:
p_BUSY 
p_BUSY_RX 
p_BUSY_TX 
p_FORCE_TRX_OFF 
p_IDLE 
p_INVALID_PARAMETER 
p_RX_ON 
p_SUCCESS 
p_TRX_OFF 
p_TX_ON 
p_UNSUPPORT_ATTRIBUTE 
p_UNDEFINED 

Definition at line 62 of file p802_15_4phy.h.

00063 {
00064     p_BUSY = 0,
00065     p_BUSY_RX,
00066     p_BUSY_TX,
00067     p_FORCE_TRX_OFF,
00068     p_IDLE,
00069     p_INVALID_PARAMETER,
00070     p_RX_ON,
00071     p_SUCCESS,
00072     p_TRX_OFF,
00073     p_TX_ON,
00074     p_UNSUPPORT_ATTRIBUTE,
00075     p_UNDEFINED         //we added this for handling any case not specified in the draft
00076 }PHYenum;

enum PPIBAenum
 

Enumerator:
phyCurrentChannel 
phyChannelsSupported 
phyTransmitPower 
phyCCAMode 

Definition at line 79 of file p802_15_4phy.h.

00080 {
00081     phyCurrentChannel = 0x00,
00082     phyChannelsSupported,
00083     phyTransmitPower,
00084     phyCCAMode
00085 }PPIBAenum;


Generated on Tue Mar 6 16:56:43 2007 for ns2 Network Simulator 2.29 by  doxygen 1.4.6