Creates needed objects for LORA UT nodes like SatOrbiterNetDevice objects. More...
#include "satellite-ut-helper-lora.h"
Public Member Functions | |
| SatUtHelperLora () | |
| Default constructor. | |
| 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. | |
| virtual | ~SatUtHelperLora () |
| Destructor. | |
| 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. | |
| 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. | |
| virtual | ~SatUtHelper () |
| Destructor. | |
| void | EnableCreationTraces (Ptr< OutputStreamWrapper > stream, CallbackBase &cb) |
| Enables creation traces to be written in given file. | |
| 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. | |
| void | SetDeviceAttribute (std::string name, const AttributeValue &value) |
| Set an attribute value to be propagated to each NetDevice created by the helper. | |
| void | SetPhyAttribute (std::string name, const AttributeValue &value) |
| Set an attribute value to be propagated to each Phy created by the helper. | |
Static Public Member Functions | |
| static TypeId | GetTypeId (void) |
| Derived from Object. | |
| Static Public Member Functions inherited from ns3::SatUtHelper | |
| static TypeId | GetTypeId (void) |
| Derived from Object. | |
Additional Inherited Members | |
| Protected Attributes inherited from ns3::SatUtHelper | |
| bool | m_asyncAccess |
| SatTypedefs::CarrierBandwidthConverter_t | m_carrierBandwidthConverter |
| ObjectFactory | m_channelFactory |
| bool | m_crdsaOnlyForControl |
| Planned CRDSA usage: | |
| TracedCallback< std::string > | m_creationTrace |
| Trace callback for creation traces. | |
| double | m_daConstantErrorRate |
| SatPhy::InterferenceModel | m_daInterferenceModel |
| ObjectFactory | m_deviceFactory |
| bool | m_enableChannelEstimationError |
| Enable channel estimation error modeling at forward link receiver (= UT). | |
| SatPhy::ErrorModel | m_errorModel |
| uint32_t | m_fwdLinkCarrierCount |
| Ptr< SatLinkResults > | m_linkResults |
| Ptr< SatLowerLayerServiceConf > | m_llsConf |
| Configured lower layer service configuration. | |
| RandomAccessSettings_s | m_raSettings |
| The used random access model settings. | |
| SatMac::ReadCtrlMsgCallback | m_readCtrlCb |
| SatMac::ReserveCtrlMsgCallback | m_reserveCtrlCb |
| SatMac::SendCtrlMsgCallback | m_sendCtrlCb |
| Ptr< SatSuperframeSeq > | m_superframeSeq |
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 64 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 72 of file satellite-ut-helper-lora.cc.
References ns3::SatUtHelper::SatUtHelper().
|
inlinevirtual |
Destructor.
Definition at line 71 of file satellite-ut-helper-lora.h.
|
static |
Derived from Object.
Definition at line 57 of file satellite-ut-helper-lora.cc.
References ns3::SatUtHelper::SatUtHelper().
|
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 91 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::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::LorawanMacEndDevice::SetRaChannel(), and ns3::SatConstVariables::SUPERFRAME_SEQUENCE.