Hi,
To specify the communication range of wireless nodes, you should set
an appropriate value of the receiving threshold in the network
interface (in your tcl script), i.e

Phy/WirelessPhy set RXThresh_ <value>

A separate C program is provided at
~ns/indep-utils/propagation/threshold.cc to compute the receiving
threshold. You have to compile it, then you can use the executable to
compute the threshold as follows:

threshold -m <propagation-model> [other-options] distance

Ex:

threshold -m Shadowing -r 0.95 50.

Here the propagation model is Shadowing, the communication range is
set to 50m, and 0.95 is the rate of correctly received packets.

More details can be found in ns_manual.
I think the default value is 250m (ns 2.28)

Hope this helps.

Bye.


On 12/17/05, shahram mohrehkesh <[EMAIL PROTECTED]> wrote:
>
> Dear All,
>
> I want to know how I could the communication range of a mobile node?
>
> what is its default value?
>
> Regards, Shahram Mohrehkesh
>

Reply via email to