sat-list-position-ext-fading-example.cc File Reference

List position external fading example demonstrates how to set user defined (list) positions with external fading. More...

#include "ns3/applications-module.h"
#include "ns3/config-store-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-list-position-ext-fading-example.cc:

Go to the source code of this file.

Functions

static void LinkBudgetTraceCb (std::string context, Ptr< SatSignalParameters > params, Mac48Address ownAdd, Mac48Address destAdd, double ifPower, double cSinr)
 

Detailed Description

List position external fading example demonstrates how to set user defined (list) positions with external fading.

The example is useful when new list positions and external fading trace sources are taken into use.

The default values for list position (UT positions) and external fading trace are set before command line parsing, in order to replace them without re-compiling the example.

    Some parameter can be set as command line arguments.
    To see help for user arguments:
    execute command -> ./waf --run "sat-ext-fading-example --PrintHelp"

    Example sends packets from GW connected user to every UT users and
    from every UT users to GW connected user.

    Information of the created UTs and link budget info for every received packet
    are printed as log info.

Definition in file sat-list-position-ext-fading-example.cc.

Function Documentation

◆ LinkBudgetTraceCb()

static void LinkBudgetTraceCb ( std::string  context,
Ptr< SatSignalParameters params,
Mac48Address  ownAdd,
Mac48Address  destAdd,
double  ifPower,
double  cSinr 
)
static

Definition at line 60 of file sat-list-position-ext-fading-example.cc.

References ns3::SatUtils::LinearToDb().

+ Here is the call graph for this function: