Creates needed objects for LORA UT nodes like SatOrbiterNetDevice objects. More...
#include "satellite-ut-helper-lora.h"
Inheritance diagram for ns3::SatUtHelperLora:
Collaboration diagram for ns3::SatUtHelperLora:Public Member Functions | |
| SatUtHelperLora () | |
| Default constructor. More... | |
| SatUtHelperLora (SatTypedefs::CarrierBandwidthConverter_t carrierBandwidthConverter, uint32_t rtnLinkCarrierCount, Ptr< SatSuperframeSeq > seq, SatMac::ReadCtrlMsgCallback readCb, SatMac::ReserveCtrlMsgCallback reserveCb, SatMac::SendCtrlMsgCallback sendCb, RandomAccessSettings_s randomAccessSettings) | |
| Create a SatUtHelperLora to make life easier when creating Satellite point to point network connections. More... | |
| virtual | ~SatUtHelperLora () |
| Destructor. More... | |
| TypeId | GetInstanceTypeId (void) const |
| Derived from Object. More... | |
| virtual Ptr< NetDevice > | Install (Ptr< Node > n, uint32_t satId, uint32_t beamId, Ptr< SatChannel > fCh, Ptr< SatChannel > rCh, Ptr< SatNetDevice > gwNd, Ptr< SatNcc > ncc, Address satUserAddress, SatPhy::ChannelPairGetterCallback cbChannel, SatMac::RoutingUpdateCallback cbRouting) |
Public Member Functions inherited from ns3::SatUtHelper | |
| SatUtHelper () | |
| Default constructor. More... | |
| SatUtHelper (SatTypedefs::CarrierBandwidthConverter_t carrierBandwidthConverter, uint32_t rtnLinkCarrierCount, Ptr< SatSuperframeSeq > seq, SatMac::ReadCtrlMsgCallback readCb, SatMac::ReserveCtrlMsgCallback reserveCb, SatMac::SendCtrlMsgCallback sendCb, RandomAccessSettings_s randomAccessSettings) | |
| Create a SatUtHelper to make life easier when creating Satellite point to point network connections. More... | |
| virtual | ~SatUtHelper () |
| Destructor. More... | |
| void | EnableCreationTraces (Ptr< OutputStreamWrapper > stream, CallbackBase &cb) |
| Enables creation traces to be written in given file. More... | |
| TypeId | GetInstanceTypeId (void) const |
| Derived from Object. More... | |
| void | Initialize (Ptr< SatLinkResultsFwd > lrFwd) |
| NetDeviceContainer | Install (NodeContainer c, uint32_t satId, uint32_t beamId, Ptr< SatChannel > fCh, Ptr< SatChannel > rCh, Ptr< SatNetDevice > gwNd, Ptr< SatNcc > ncc, Address satUserAddress, SatPhy::ChannelPairGetterCallback cbChannel, SatMac::RoutingUpdateCallback cbRouting) |
| void | SetChannelAttribute (std::string name, const AttributeValue &value) |
| Set an attribute value to be propagated to each Channel created by the helper. More... | |
| void | SetDeviceAttribute (std::string name, const AttributeValue &value) |
| Set an attribute value to be propagated to each NetDevice created by the helper. More... | |
| void | SetPhyAttribute (std::string name, const AttributeValue &value) |
| Set an attribute value to be propagated to each Phy created by the helper. More... | |
Static Public Member Functions | |
| static TypeId | GetTypeId (void) |
| Derived from Object. More... | |
Static Public Member Functions inherited from ns3::SatUtHelper | |
| static TypeId | GetTypeId (void) |
| Derived from Object. More... | |
Creates needed objects for LORA UT nodes like SatOrbiterNetDevice objects.
Handles needed configuration for the UT nodes.
Definition at line 43 of file satellite-ut-helper-lora.h.
| ns3::SatUtHelperLora::SatUtHelperLora | ( | ) |
Default constructor.
Definition at line 72 of file satellite-ut-helper-lora.cc.
| ns3::SatUtHelperLora::SatUtHelperLora | ( | SatTypedefs::CarrierBandwidthConverter_t | carrierBandwidthConverter, |
| uint32_t | rtnLinkCarrierCount, | ||
| Ptr< SatSuperframeSeq > | seq, | ||
| SatMac::ReadCtrlMsgCallback | readCb, | ||
| SatMac::ReserveCtrlMsgCallback | reserveCb, | ||
| SatMac::SendCtrlMsgCallback | sendCb, | ||
| RandomAccessSettings_s | randomAccessSettings | ||
| ) |
Create a SatUtHelperLora to make life easier when creating Satellite point to point network connections.
Definition at line 80 of file satellite-ut-helper-lora.cc.
|
inlinevirtual |
Destructor.
Definition at line 76 of file satellite-ut-helper-lora.h.
| TypeId ns3::SatUtHelperLora::GetInstanceTypeId | ( | void | ) | const |
Derived from Object.
Definition at line 65 of file satellite-ut-helper-lora.cc.
References GetTypeId().
Here is the call graph for this function:
|
static |
Derived from Object.
Definition at line 57 of file satellite-ut-helper-lora.cc.
Referenced by GetInstanceTypeId().
Here is the caller graph for this function:
|
virtual |
| n | node |
| satId | id of the satellite |
| beamId | id of the beam |
| fCh | forward channel |
| rCh | return channel |
| gwNd | satellite netdevice of the GW |
| ncc | NCC (Network Control Center) |
| satUserAddress | MAC address of satellite user link |
This method creates a ns3::SatChannel with the attributes configured by SatUtHelperLora::SetChannelAttribute, then, for each node in the input container, we create a ns3::SatNetDevice with the requested attributes, a queue for this ns3::SatNetLorawanDevice, and associate the resulting ns3::SatNetLorawanDevice with the ns3::Node and ns3::SatChannel.
Channel estimation errors
Implements ns3::SatUtHelper.
Definition at line 99 of file satellite-ut-helper-lora.cc.
References ns3::LorawanMacEndDevice::ChangeBeam(), ns3::SatNcc::GetBeamScheduler(), ns3::SatEnums::LORA_UT, ns3::SatPhy::CreateParam_t::m_beamId, ns3::SatUtHelper::m_carrierBandwidthConverter, ns3::SatUtHelper::m_daConstantErrorRate, ns3::SatUtHelper::m_daInterferenceModel, ns3::SatPhy::CreateParam_t::m_device, ns3::SatUtHelper::m_deviceFactory, ns3::SatUtHelper::m_enableChannelEstimationError, ns3::SatUtHelper::m_errorModel, ns3::SatUtHelper::m_fwdLinkCarrierCount, ns3::SatUtHelper::m_linkResults, ns3::SatUtHelper::m_llsConf, ns3::SatUtHelper::RandomAccessSettings_s::m_raCollisionModel, ns3::SatUtHelper::RandomAccessSettings_s::m_raInterferenceEliminationModel, ns3::SatUtHelper::RandomAccessSettings_s::m_raInterferenceModel, ns3::SatUtHelper::RandomAccessSettings_s::m_randomAccessModel, ns3::SatUtHelper::m_raSettings, ns3::SatPhy::CreateParam_t::m_rxCh, ns3::SatPhy::CreateParam_t::m_satId, ns3::SatPhy::CreateParam_t::m_standard, ns3::SatUtHelper::m_superframeSeq, ns3::SatPhy::CreateParam_t::m_txCh, ns3::SatEnums::NT_UT, ns3::SatUtPhy::PerformHandover(), ns3::LorawanMac::Receive(), ns3::SatEnums::REGENERATION_NETWORK, ns3::SatLoraConf::SetConf(), ns3::SatHandoverModule::SetHandoverRequestCallback(), ns3::LorawanMacEndDevice::SetRaChannel(), and ns3::SatConstVariables::SUPERFRAME_SEQUENCE.
Here is the call graph for this function: