#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/multi-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) |
Function called when a Data indication is invoked. More... | |
Variables | |
static uint32_t | g_received = 0 |
number of packets received More... | |
$ ./ns3 run "lr-wpan-error-distance-plot [Program Options]"
–txPower
–packetSize
–channelNumber
Definition in file lr-wpan-error-distance-plot.cc.
|
static |
Function called when a Data indication is invoked.
params | MCPS data indication parameters |
p | packet |
Definition at line 67 of file lr-wpan-error-distance-plot.cc.
References g_received.
|
static |
number of packets received
Definition at line 57 of file lr-wpan-error-distance-plot.cc.
Referenced by LrWpanErrorDistanceCallback().