[ns] running wireless1.tcl (fwd)

Alex Hamidian alexh@telecom.lth.se
Thu Apr 25 05:22:31 2002


It means that you should create the channel as shown in 
tcl/ex/wireless-mitf.tcl; i.e. like this:
set chan_1_ [new $val(chan)]

If you take a look at the file you will see:

#Please note:
# 1. you can still specify "channelType" in node-config right now:
# set val(chan)           Channel/WirelessChannel
# $ns_ node-config ...
#         -channelType $val(chan)
#                  ...
# But we recommend you to use node-config in the way shown in this script
# for your future simulations. 

Ali Hamidian


Ranna Reboucas Allen Palacio wrote:

>
>what does "warning: Please use -channel as shown
>in tcl/ex/wireless-mitf.tcl" mean?
>
>
>-----------------------------------------------------------------
>                 Ranna Reboucas Allen Palacio
>   allen@ufc.br | allen@lia.ufc.br | ranna.allen@bol.com.br
>-----------------------------------------------------------------
>      _._
>     ()~()
>    (/- -\)        Bacharelado em Ciencias da Computacao
>    )(_=_)(        Universidade Federal do Ceara
>   (()-"-())       Fortaleza - Ceara - Brasil
>   //     \\
>  ^/_______\^
>     _|||_
>    (__|__)
>-----------------------------------------------------------------
>
>
>