#include <ns3/log.h>#include <ns3/core-module.h>#include <ns3/lr-wpan-module.h>#include <ns3/propagation-loss-model.h>#include <ns3/propagation-delay-model.h>#include <ns3/simulator.h>#include <ns3/single-model-spectrum-channel.h>#include <ns3/constant-position-mobility-model.h>#include <ns3/packet.h>#include <iostream>
Include dependency graph for lr-wpan-data.cc:Go to the source code of this file.
Functions | |
| static void | DataConfirm (McpsDataConfirmParams params) |
| static void | DataIndication (McpsDataIndicationParams params, Ptr< Packet > p) |
| int | main (int argc, char *argv[]) |
| static void | StateChangeNotification (std::string context, Time now, LrWpanPhyEnumeration oldState, LrWpanPhyEnumeration newState) |
|
static |
Definition at line 47 of file lr-wpan-data.cc.
References ns3::McpsDataConfirmParams::m_status, and NS_LOG_UNCOND.
Referenced by main().
Here is the caller graph for this function:
|
static |
Definition at line 42 of file lr-wpan-data.cc.
References ns3::Packet::GetSize(), and NS_LOG_UNCOND.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 59 of file lr-wpan-data.cc.
References ns3::Node::AddDevice(), ns3::SingleModelSpectrumChannel::AddPropagationLossModel(), ns3::CommandLine::AddValue(), ns3::AsciiTraceHelper::CreateFileStream(), DataConfirm(), DataIndication(), ns3::Simulator::Destroy(), ns3::AsciiTraceHelperForDevice::EnableAsciiAll(), ns3::LrWpanHelper::EnableLogComponents(), ns3::PcapHelperForDevice::EnablePcapAll(), ns3::McpsDataRequestParams::m_srcAddrMode, ns3::MakeCallback(), ns3::LrWpanMac::McpsDataRequest(), ns3::CommandLine::Parse(), ns3::Simulator::Run(), ns3::Simulator::ScheduleWithContext(), ns3::Seconds(), ns3::MobilityModel::SetPosition(), ns3::SingleModelSpectrumChannel::SetPropagationDelayModel(), ns3::SHORT_ADDR, StateChangeNotification(), ns3::TX_OPTION_ACK, and verbose.
Here is the call graph for this function:
|
static |
Definition at line 52 of file lr-wpan-data.cc.
References ns3::Time::GetSeconds(), ns3::LrWpanHelper::LrWpanPhyEnumerationPrinter(), and NS_LOG_UNCOND.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function: