[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Use of Errmodel
>>> Ramesh Neelamani said:
> Hi!
>
> I am a new NS user and hav been trying to use the Errmodel to
> simulate a wireless link. Havent been very successful. Could anywone
> provide me with some guidance or an example? You help would be greatly
> appreciated!
>
> Thanx in advance.
By the end of this week, there will be some more descriptive examples in the distribution that illustrate it's usage. Right now, if you look in tcl/ex/snoop/snoop.tcl and tcl/lib/ns-ber.tcl you will see what there is and how to use it (snoop.tcl is the simulation script that uses error functions defined in ns-ber.tcl). The C code for the error models is in errmodel.{cc,h}. More error models, including ones that are (arguably) more realistic, are on their way.
To understand examples of how to set up LAN topologies with link-layers, MAC protocols and a channel model, please look at tcl/ex/mac-test.tcl
-- Hari.