Hmm.. But the case is that I am developing a protocol and the trasmission
power will vary according to what it wants, so there is no way I could set
the TP individually for each node on my TCL script, since its value will
depend on some events that can not actually be foreseseen.

Can I set the TP value from inside my C code?


Thanks,



> Hi,
>      You can set the transmitted power, by varying the
>      "Phy/WirelessPhy" parameters in your tcl script.
>
>      Please refer to the following conversations:
>
>      http://mailman.isi.edu/pipermail/ns-users/2005-March/048467.html
>
>      You can also see,
>      the threshold.cc file ...  ~ns/indep-utils/propagation/threshold.cc
>      and Chapter 18:Radio Propagation models of the "The ns Manual"
>
>   Hope you'll find it helpful,
>
> Regards,
> Vineet
>
> [EMAIL PROTECTED] wrote:
>> I would like to know how to change a node's transmission power when
>> sending a message. Is there a easy way to do so?
>>
>> Thanks in advance,
>>
>
>
> **************************************************************************************************
> E-mail Confidentiality Notice and Disclaimer.
>
> This e-mail and any files transmitted with it are confidential and are
> intended solely for the use
> of the individual or entity to which they are addressed. Access to this
> e-mail by anyone else is
> unauthorised. If you are not the intended recipient, any disclosure,
> copying, distribution or any
> action taken or omitted to be taken in reliance on it, is prohibited.
> E-mail messages are not
> necessarily secure. Hitachi does not accept responsibility for any changes
> made to this message
> after it was sent.
> Hitachi checks outgoing e-mail messages for the presence of computer
> viruses.
> **************************************************************************************************
>


-- 
Fernando Henrique Gielow - UFPR
Computer Science graduate student.

Reply via email to