sat-trace-input-rx-power-example.cc File Reference

Trace input Rx power example application based on CBR example for satellite network. More...

#include "ns3/applications-module.h"
#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/network-module.h"
#include "ns3/satellite-module.h"
#include "ns3/traffic-module.h"
+ Include dependency graph for sat-trace-input-rx-power-example.cc:

Go to the source code of this file.

Detailed Description

Trace input Rx power example application based on CBR example for satellite network.

Interval, packet size and test scenario can be given in command line as user argument. To see help for user arguments, execute the command

./waf –run "trace-input-rx-power-example --PrintHelp"

This example application sends first packets from GW connected user to UT connected users and after that from UT connected user to GW connected user.

This example uses the following trace for input:

  • rx power density trace

The input folder is: {NS-3-root-folder}/contrib/satellite/data/rxpowertraces/input

The input data files must be available in the folder stated above for the example program to read, otherwise the program will fail. Trace output example can be used to produce the required trace files if these are missing.

Definition in file sat-trace-input-rx-power-example.cc.