Changing individual node transmission range

View: New views
3 Messages — Rating Filter:   Alert me  

Changing individual node transmission range

by abdullah qawasmeh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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.

Re: Changing individual node transmission range

by v.vinay.k :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



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.

Re: Changing individual node transmission range

by v.vinay.k :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



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.

Best regards

V.Vinay Kumar

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.