How to get the received power?

50 views
Skip to first unread message

Lara

unread,
Dec 9, 2009, 7:20:49 AM12/9/09
to ns-3-users
Hi all,

I'm trying to obtain the received power during the simulation using:

PropagationLossModel o = CreateObject<LogDistancePropagationLossModel>
();
double power = (o->GetObject<LogDistancePropagationLossModel>
()).DoCalcRxPower (double 14.5, (wifiStaNodes.Get(1))-
>GetObject<MobilityModel>(),(wifiApNode.Get(0))-
>GetObject<MobilityModel>());

and it is not working.
I'm on the right way?

Thanks in advance.

Mathieu Lacage

unread,
Dec 15, 2009, 6:32:54 AM12/15/09
to ns-3-...@googlegroups.com
sorry for this late answer,


What is not working ? Are you getting an error ?

Mathieu
--
Mathieu Lacage <mathieu...@gmail.com>
Reply all
Reply to author
Forward
0 new messages