A Discrete-Event Network Simulator
API
Classes | Namespaces | Typedefs | Enumerations
lr-wpan-phy.h File Reference
#include "lr-wpan-interference-helper.h"
#include <ns3/spectrum-phy.h>
#include <ns3/traced-callback.h>
#include <ns3/traced-value.h>
#include <ns3/event-id.h>

Go to the source code of this file.

Classes

struct  ns3::LrWpanEdPower
 Helper structure to manage the power measurement during ED. More...
 
class  ns3::LrWpanPhy
 Make LrWpanPhy a SpectrumPhy so we can enable the eventual modeling of device interference. More...
 
struct  ns3::LrWpanPhyDataAndSymbolRates
 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::LrWpanPhyPibAttributes
 IEEE802.15.4-2006 PHY PIB Attributes Table 23 in section 6.4.2. More...
 
struct  ns3::LrWpanPhyPpduHeaderSymbolNumber
 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

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 
 ns3::TracedValueCallback
 TracedValue Callback function types.
 

Typedefs

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

Enumerations

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