views:

480

answers:

4

I am trying to use the error model in ns2 with wireless links, I am using ns2.33. I tried the uniform error model and the markov chain model. No errors from ns but when I am trying to find the dropped packets due to corruption I can not find any of them using either the uniform or markov models. So please help me if I made any error in using the error model.

to search for dropped packets I am using eid@eid-laptop:~/code/ns2/noisy$ cat mixed.tr | grep d

My code is available here : http://pastebin.com/f68749435

A: 

Try:

grep d mixed.tr
Joseph Bui
A: 

the same, it is not working. I can see the trace file no dropped packets !!!

A: 

i am also working in error model.but its not working properly.there is any method to drop packets in MANET?

bonia
A: 

in node config incomingErrProc and OutgoingErrProc u should assign proc where u have defined error object. direct assigning error object dont works....... i hope it will make it........:)

Ejaz