[ns] Changing individual node transmission range

v.vinay.k v.vinay.k at gmail.com
Tue Apr 1 01:11:17 PDT 2008




Hi  

ofcourse if you use that command it will affects all the nodes in your
topology.So for each node to have diffent characteristics you just need to
use the required command with required argument before that particular set
of nodes creation.And for others to have different  values just change the
argument and again reapeat the process of creation of other set of nodes.

For example to set diffeent receiver sensitivity for two nodes 


Phy/WirelessPhy set RXThresh_ <value1>  #this is for first node
set node_0 [$ns _ node] # node0 created

Phy/WirelessPhy set RXThresh_ <value2>  #this is for second node
set node_1 [$ns _ node] # node1 created


By using this format you can set differnt configuration for different
nodes.Hope it help you.

abdullah qawasmeh wrote:
> 
> 
> Hi All,
> 
> 
> Does any body know how to change the transmission range of individual
> nodes in ns?. The NS manual suggests using the following command
> "Phy/WirelessPhy set RXThresh_ <value>". This, however, will change the
> transmission range of all the nodes in the simulation.
> 
> 
> Regards,
> 
> Abdulla
> 
>        
> ---------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it
> now.
> 
> 

-- 
View this message in context: http://www.nabble.com/Changing-individual-node-transmission-range-tp16372635p16416567.html
Sent from the ns-users mailing list archive at Nabble.com.



More information about the Ns-users mailing list