[ns] what is antenna gain unit in ns2?

2013-04-24 Thread Behnaz Bostanipour
Hello, In ns2, default.tcl we have : Antenna/OmniAntenna set Gt_ 1.0 Antenna/OmniAntenna set Gr_ 1.0 what is the unit of the gain? watts or dBm? Thanks, Behnaz

Re: [ns] what is antenna gain unit in ns2?

2013-04-24 Thread Tuan LE HUU NGUYEN
On 24/04/2013 2:29 CH, Behnaz Bostanipour wrote: Hello, In ns2, default.tcl we have : Antenna/OmniAntenna set Gt_ 1.0 Antenna/OmniAntenna set Gr_ 1.0 what is the unit of the gain? watts or dBm? Thanks, Behnaz Hi Behnaz, I think it is measured in dB (or dBi). Regards,

[ns] enabling-disabling hello on the fly in aodv

2013-04-24 Thread AmarNath Patra
Hello everyone, The hello process is disabled in aodv.cc. To enable it we just need to comment out #ifndef AODV_LINK_LAYER_DETECTION (line number 63) and #endif // LINK LAYER DETECTION (line number 66) in aodv.cc. I want to enable the hello process in the beginning. In the case of *local

[ns] NS@ debugging

2013-04-24 Thread nishil dahin
Hi guys, This may sound trivial; but I wanted to know if NS2 has any default debugger that can debug both tcl and the 'backend' .cc files? Thanks in advance