sat-link-budget-example.cc File Reference

Link budget example application for link budget calculation purposes in satellite network. 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-link-budget-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

Link budget example application for link budget calculation purposes in satellite network.

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

Application sends one packet from GW connected user to UT connected users and from UT connected user to GW connected user. User defined scenario is created with given beam ID.

    Example reads sat-link-budget-input-attributes.xml, so user is able to change link budget

parameter by modifying this file without compiling example.

    Used parameters and link budget calculation result are printed as log info.

Definition in file sat-link-budget-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 54 of file sat-link-budget-example.cc.

References ns3::SatUtils::LinearToDb(), and ns3::SatUtils::WToDbW().

+ Here is the call graph for this function: