[ns] How to assign different transmission ranges for different nodes ??
Mathiew Moussa
mmm59 at aub.edu.lb
Mon Mar 2 01:42:29 PST 2009
Hi All,
I was wondering if anyone knows how to assign different transmission
ranges for various Nodes in the network.
In my network i have sinks and sensor and i want the sinks to have a
larger transmission range than that of the sensors.
we usually assign the transmission range of nodes using a command in
tcl similar to :
#Phy/WirelessPhy set Pt_ 0.2818 ;# 250m
and so i was also wondering what the constant "RANGE" in mobile/god.h
stood for and what range it controlled ?? The RANGE is used in god.cc
by method isNeighbor to calculate if 2 nodes are neighbors.
I hope someone can help we this because it's urgent, thanks.
Mathiew
More information about the Ns-users
mailing list