#include <ns3/core-module.h>
#include <ns3/lr-wpan-module.h>
#include <ns3/mobility-module.h>
#include <ns3/netanim-module.h>
#include <ns3/network-module.h>
#include <ns3/propagation-module.h>
#include <ns3/spectrum-module.h>
#include <iostream>
Go to the source code of this file.
Functions | |
static void | AssociateConfirm (Ptr< LrWpanNetDevice > device, MlmeAssociateConfirmParams params) |
static void | AssociateIndication (Ptr< LrWpanNetDevice > device, MlmeAssociateIndicationParams params) |
static void | CommStatusIndication (Ptr< LrWpanNetDevice > device, MlmeCommStatusIndicationParams params) |
static void | PollConfirm (Ptr< LrWpanNetDevice > device, MlmePollConfirmParams params) |
static void | ScanConfirm (Ptr< LrWpanNetDevice > device, MlmeScanConfirmParams params) |
static void | UpdateAnimation () |
Variables | |
AnimationInterface * | anim = nullptr |
NodeContainer | coordinators |
NodeContainer | nodes |
|
static |
Definition at line 270 of file lr-wpan-bootstrap.cc.
References ns3::Time::As(), ns3::Simulator::Now(), and ns3::Time::S.
|
static |
Definition at line 179 of file lr-wpan-bootstrap.cc.
References ns3::Mac16Address::CopyFrom(), ns3::lrwpan::CapabilityField::IsShortAddrAllocOn(), ns3::lrwpan::MlmeAssociateResponseParams::m_assocShortAddr, ns3::lrwpan::MlmeAssociateResponseParams::m_extDevAddr, ns3::lrwpan::MlmeAssociateResponseParams::m_status, ns3::lrwpan::LrWpanMac::MlmeAssociateResponse(), ns3::Simulator::ScheduleNow(), and ns3::lrwpan::CapabilityField::SetCapability().
|
static |
Definition at line 234 of file lr-wpan-bootstrap.cc.
References ns3::Time::As(), ns3::Simulator::Now(), and ns3::Time::S.
|
static |
Definition at line 302 of file lr-wpan-bootstrap.cc.
References ns3::Time::As(), ns3::Simulator::Now(), and ns3::Time::S.
|
static |
Definition at line 74 of file lr-wpan-bootstrap.cc.
References ns3::Time::As(), ns3::lrwpan::EXT_ADDR, ns3::lrwpan::CapabilityField::GetCapability(), ns3::lrwpan::SuperframeField::IsAssocPermit(), ns3::lrwpan::MlmeAssociateRequestParams::m_capabilityInfo, ns3::lrwpan::MlmeAssociateRequestParams::m_chNum, ns3::lrwpan::MlmeAssociateRequestParams::m_chPage, ns3::lrwpan::MlmeAssociateRequestParams::m_coordAddrMode, ns3::lrwpan::MlmeAssociateRequestParams::m_coordExtAddr, ns3::lrwpan::MlmeAssociateRequestParams::m_coordPanId, ns3::lrwpan::MlmeAssociateRequestParams::m_coordShortAddr, ns3::lrwpan::LrWpanMac::MlmeAssociateRequest(), ns3::Simulator::Now(), ns3::Time::S, ns3::Simulator::ScheduleNow(), ns3::lrwpan::CapabilityField::SetShortAddrAllocOn(), and ns3::lrwpan::SHORT_ADDR.
|
static |
Definition at line 48 of file lr-wpan-bootstrap.cc.
References anim, ns3::Time::As(), ns3::DynamicCast(), ns3::NodeContainer::Get(), ns3::NodeContainer::GetN(), nodes, ns3::Simulator::Now(), ns3::Time::S, ns3::AnimationInterface::UpdateNodeColor(), and ns3::AnimationInterface::UpdateNodeSize().
AnimationInterface* anim = nullptr |
Definition at line 45 of file lr-wpan-bootstrap.cc.
Referenced by NetAnimExperiment::Run(), and UpdateAnimation().
NodeContainer coordinators |
Definition at line 44 of file lr-wpan-bootstrap.cc.
NodeContainer nodes |
Definition at line 43 of file lr-wpan-bootstrap.cc.
Referenced by ns3::CsmaStarHelper::CsmaStarHelper(), ns3::lorawan::NetworkServer::AddNodes(), Ns2MobilityHelperTest::CreateNodes(), BuildingsChannelConditionModelTestCase::DoRun(), BuildingsHelperOneTestCase::DoRun(), BuildingsPenetrationLossesTestCase::DoRun(), BulkSendBasicTestCase::DoRun(), BulkSendSeqTsSizeTestCase::DoRun(), CsmaOneSubnetTestCase::DoRun(), CsmaPacketSocketTestCase::DoRun(), DhcpTestCase::DoRun(), Ipv4DeduplicationPerformanceTest::DoRun(), Ipv4DeduplicationTest::DoRun(), Ipv4FragmentationTest::DoRun(), Ipv4RawSocketImplTest::DoRun(), Ipv4RipCountToInfinityTest::DoRun(), Ipv4RipTest::DoRun(), Ipv6DadTest::DoRun(), Ipv6ForwardingTest::DoRun(), Ipv6RawSocketImplTest::DoRun(), Ipv6RipngCountToInfinityTest::DoRun(), Ipv6RipngTest::DoRun(), LrWpanAckTestCase::DoRun(), ns3::aodv::LoopbackTestCase::DoRun(), ns3::TcpGeneralTest::DoRun(), Ns3TcpSocketTestCaseCsma::DoRun(), OutdoorRandomWalkTestCase::DoRun(), OverallGainAverageTest::DoRun(), PacketSocketAppsTest::DoRun(), RandomRoomPositionAllocatorTestCase::DoRun(), RocketfuelTopologyReaderMapsTest::DoRun(), RocketfuelTopologyReaderWeightsTest::DoRun(), SameRoomPositionAllocatorTestCase::DoRun(), SixlowpanIphcStatefulImplTest::DoRun(), SpectrumWifiPhyInterfacesHelperTest::DoRun(), StaWifiMacScanningTestCase::DoRun(), ThreeGppAntennaSetupChangedTest::DoRun(), ThreeGppCalcLongTermMultiPortTest::DoRun(), ThreeGppChannelConditionModelTestCase::DoRun(), ThreeGppChannelMatrixComputationTest::DoRun(), ThreeGppChannelMatrixUpdateTest::DoRun(), ThreeGppIndoorOfficePropagationLossModelTestCase::DoRun(), ThreeGppMimoPolarizationTest::DoRun(), ThreeGppRmaPropagationLossModelTestCase::DoRun(), ThreeGppSpectrumPropagationLossModelTest::DoRun(), ThreeGppUmaPropagationLossModelTestCase::DoRun(), ThreeGppUmiPropagationLossModelTestCase::DoRun(), ThreeGppV2vBuildingsChCondModelTestCase::DoRun(), ThreeGppV2vHighwayLosNlosvChCondModelTestCase::DoRun(), ThreeGppV2vHighwayPropagationLossModelTestCase::DoRun(), ThreeGppV2vUrbanLosNlosvChCondModelTestCase::DoRun(), ThreeGppV2vUrbanPropagationLossModelTestCase::DoRun(), Udp6SocketImplTest::DoRun(), UdpEchoClientSetFillTestCase::DoRun(), UdpSocketImplTest::DoRun(), V2vHighwayProbChCondModelTestCase::DoRun(), V2vUrbanProbChCondModelTestCase::DoRun(), TestWifiPhyRxTraceHelper::DoSetup(), TestWifiPhyRxTraceHelperYans::DoSetup(), ns3::WifiPhyRxTraceHelper::Enable(), ns3::WifiPhyRxTraceHelper::Enable(), ns3::WifiPhyRxTraceHelper::Enable(), experiment(), ns3::RocketfuelTopologyReader::GenerateFromMapsFile(), ns3::RocketfuelTopologyReader::GenerateFromWeightsFile(), ns3::DsrMainHelper::Install(), ns3::FlowMonitorHelper::Install(), ns3::WifiPhyRxTraceHelper::MapMacAddressesToNodeIds(), ns3::WifiPhyRxTraceSink::MapNodeToLinkToChannel(), ns3::InetTopologyReader::Read(), ns3::OrbisTopologyReader::Read(), ns3::RocketfuelTopologyReader::Read(), Experiment::Run(), RoutingExperiment::Run(), ThreeGppShadowingTestCase::RunTest(), ns3::PyViz::SetNodesOfInterest(), ThreeGppNTNPropagationLossModelTestCase::TestChannelGain(), UpdateAnimation(), Experiment::UpdatePositions(), and NetAnimExperiment::UpdatePositions().