#include <ns3/test.h>
#include <ns3/log.h>
#include <ns3/callback.h>
#include <ns3/packet.h>
#include <ns3/simulator.h>
#include <ns3/lr-wpan-error-model.h>
#include <ns3/propagation-loss-model.h>
#include <ns3/lr-wpan-net-device.h>
#include <ns3/spectrum-value.h>
#include <ns3/lr-wpan-spectrum-value-helper.h>
#include <ns3/lr-wpan-mac.h>
#include <ns3/node.h>
#include <ns3/net-device.h>
#include <ns3/single-model-spectrum-channel.h>
#include <ns3/mac16-address.h>
#include <ns3/constant-position-mobility-model.h>
#include <ns3/uinteger.h>
#include <ns3/nstime.h>
#include <ns3/abort.h>
#include <ns3/command-line.h>
#include <ns3/gnuplot.h>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
Go to the source code of this file.
Functions | |
static void | LrWpanErrorDistanceCallback (McpsDataIndicationParams params, Ptr< Packet > p) |
int | main (int argc, char *argv[]) |
Variables | |
static uint32_t | g_received = 0 |
|
static |
Definition at line 61 of file lr-wpan-error-distance-plot.cc.
References g_received.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 66 of file lr-wpan-error-distance-plot.cc.
References ns3::Gnuplot2dDataset::Add(), ns3::Gnuplot::AddDataset(), ns3::Node::AddDevice(), ns3::SingleModelSpectrumChannel::AddPropagationLossModel(), ns3::CommandLine::AddValue(), ns3::LrWpanSpectrumValueHelper::CreateTxPowerSpectralDensity(), ns3::Simulator::Destroy(), g_received, ns3::Gnuplot::GenerateOutput(), LrWpanErrorDistanceCallback(), ns3::McpsDataRequestParams::m_dstAddr, ns3::McpsDataRequestParams::m_dstAddrMode, ns3::McpsDataRequestParams::m_dstPanId, ns3::McpsDataRequestParams::m_msduHandle, ns3::McpsDataRequestParams::m_srcAddrMode, ns3::McpsDataRequestParams::m_txOptions, ns3::MakeCallback(), ns3::LrWpanMac::McpsDataRequest(), NS_LOG_DEBUG, ns3::CommandLine::Parse(), ns3::Simulator::Run(), ns3::Simulator::Schedule(), ns3::Seconds(), ns3::Gnuplot::SetExtra(), ns3::Gnuplot::SetLegend(), ns3::MobilityModel::SetPosition(), ns3::Gnuplot::SetTerminal(), ns3::Gnuplot::SetTitle(), and ns3::SHORT_ADDR.
|
static |
Definition at line 56 of file lr-wpan-error-distance-plot.cc.
Referenced by LrWpanErrorDistanceCallback(), and main().