A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
lr-wpan-phy.h File Reference
#include "lr-wpan-interference-helper.h"
#include <ns3/event-id.h>
#include <ns3/spectrum-phy.h>
#include <ns3/traced-callback.h>
#include <ns3/traced-value.h>
#include <iostream>
+ Include dependency graph for lr-wpan-phy.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ns3::lrwpan::EdPower
 Helper structure to manage the power measurement during ED. More...
 
class  ns3::lrwpan::LrWpanPhy
 Make LrWpanPhy a SpectrumPhy so we can enable the eventual modeling of device interference. More...
 
struct  ns3::lrwpan::PhyDataAndSymbolRates
 This data structure provides the Bit rate and Symbol rate for a given channel See IEEE802.15.4-2006 Table 1 and 2 in section 6.1.1 and 6.1.2. More...
 
struct  ns3::lrwpan::PhyPibAttributes
 IEEE802.15.4-2006 PHY PIB Attributes Table 23 in section 6.4.2. More...
 
struct  ns3::lrwpan::PhyPpduHeaderSymbolNumber
 This data structure provides number of symbols for the PPDU headers: SHR and PHR See IEEE802.15.4-2006 Figure 16, Table 19 and 20 in section 6.3. More...
 

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 
namespace  ns3::lrwpan
 
namespace  ns3::lrwpan::TracedValueCallback
 

Typedefs

typedef Callback< void, PhyEnumeration > ns3::lrwpan::PdDataConfirmCallback
 This method implements the PD SAP: PdDataConfirm.
 
typedef Callback< void, uint32_t, Ptr< Packet >, uint8_t > ns3::lrwpan::PdDataIndicationCallback
 This method implements the PD SAP: PdDataIndication.
 
typedef void(* ns3::lrwpan::TracedValueCallback::PhyEnumeration) (PhyEnumeration oldValue, PhyEnumeration newValue)
 TracedValue callback signature for PhyEnumeration.
 
typedef Callback< void, PhyEnumeration > ns3::lrwpan::PlmeCcaConfirmCallback
 This method implements the PD SAP: PlmeCcaConfirm.
 
typedef Callback< void, PhyEnumeration, uint8_t > ns3::lrwpan::PlmeEdConfirmCallback
 This method implements the PD SAP: PlmeEdConfirm.
 
typedef Callback< void, PhyEnumeration, PhyPibAttributeIdentifier, Ptr< PhyPibAttributes > > ns3::lrwpan::PlmeGetAttributeConfirmCallback
 This method implements the PD SAP: PlmeGetAttributeConfirm.
 
typedef Callback< void, PhyEnumeration, PhyPibAttributeIdentifier > ns3::lrwpan::PlmeSetAttributeConfirmCallback
 This method implements the PD SAP: PlmeSetAttributeConfirm.
 
typedef Callback< void, PhyEnumeration > ns3::lrwpan::PlmeSetTRXStateConfirmCallback
 This method implements the PD SAP: PlmeSetTRXStateConfirm.
 

Enumerations

enum  ns3::lrwpan::PhyEnumeration {
  ns3::lrwpan::IEEE_802_15_4_PHY_BUSY = 0x00 , ns3::lrwpan::IEEE_802_15_4_PHY_BUSY_RX = 0x01 , ns3::lrwpan::IEEE_802_15_4_PHY_BUSY_TX = 0x02 , ns3::lrwpan::IEEE_802_15_4_PHY_FORCE_TRX_OFF = 0x03 ,
  ns3::lrwpan::IEEE_802_15_4_PHY_IDLE = 0x04 , ns3::lrwpan::IEEE_802_15_4_PHY_INVALID_PARAMETER = 0x05 , ns3::lrwpan::IEEE_802_15_4_PHY_RX_ON = 0x06 , ns3::lrwpan::IEEE_802_15_4_PHY_SUCCESS = 0x07 ,
  ns3::lrwpan::IEEE_802_15_4_PHY_TRX_OFF = 0x08 , ns3::lrwpan::IEEE_802_15_4_PHY_TX_ON = 0x09 , ns3::lrwpan::IEEE_802_15_4_PHY_UNSUPPORTED_ATTRIBUTE = 0xa , ns3::lrwpan::IEEE_802_15_4_PHY_READ_ONLY = 0xb ,
  ns3::lrwpan::IEEE_802_15_4_PHY_UNSPECIFIED = 0xc
}
 IEEE802.15.4-2006 PHY Emumerations Table 18 in section 6.2.3. More...
 
enum  ns3::lrwpan::PhyOption {
  ns3::lrwpan::IEEE_802_15_4_868MHZ_BPSK , ns3::lrwpan::IEEE_802_15_4_915MHZ_BPSK , ns3::lrwpan::IEEE_802_15_4_950MHZ_BPSK , ns3::lrwpan::IEEE_802_15_4_868MHZ_ASK ,
  ns3::lrwpan::IEEE_802_15_4_915MHZ_ASK , ns3::lrwpan::IEEE_802_15_4_780MHZ_OQPSK , ns3::lrwpan::IEEE_802_15_4_868MHZ_OQPSK , ns3::lrwpan::IEEE_802_15_4_915MHZ_OQPSK ,
  ns3::lrwpan::IEEE_802_15_4_2_4GHZ_OQPSK , ns3::lrwpan::IEEE_802_15_4_INVALID_PHY_OPTION
}
 This Phy option will be used to index various Tables in IEEE802.15.4-2011. More...
 
enum  ns3::lrwpan::PhyPibAttributeIdentifier {
  ns3::lrwpan::phyCurrentChannel = 0x00 , ns3::lrwpan::phyChannelsSupported = 0x01 , ns3::lrwpan::phyTransmitPower = 0x02 , ns3::lrwpan::phyCCAMode = 0x03 ,
  ns3::lrwpan::phyCurrentPage = 0x04 , ns3::lrwpan::phyMaxFrameDuration = 0x05 , ns3::lrwpan::phySHRDuration = 0x06 , ns3::lrwpan::phySymbolsPerOctet = 0x07
}
 IEEE802.15.4-2006 PHY PIB Attribute Identifiers Table 23 in section 6.4.2. More...
 

Functions

std::ostream & ns3::lrwpan::operator<< (std::ostream &os, const PhyEnumeration &state)
 Overloaded operator to print the value of a PhyEnumeration.
 
std::ostream & ns3::lrwpan::operator<< (std::ostream &os, const TracedValue< PhyEnumeration > &state)
 Overloaded operator to print the value of a TracedValue<PhyEnumeration>.