[ns] How to get the power a node receives from a BS

2009-02-06 Thread Spyros Marinis
Hi all! Please could anyone help me with this? It is really important. How can I get the power of the signal a mobile node receives from a base station as it moves in the topology?? Is there a c++ function I can call from my code? Thank you very much in advance! Spyros

[ns] Link Quality estimation based on retransmission ratio

2009-02-06 Thread Vinh Pham
Hi. I'm wondering if anyone has experiences concerning using the retransmission ratio as a measure for the link quality? To be more specific, assume node A has performed (n+r) transmissions to the neighbouring node B within a time window T. Of this (n+r) transmissions, node B received n

Re: [ns] How to get the power a node receives from a BS

2009-02-06 Thread martini.spy
thank you very much for your repsonse! could you tell me how I can get the coordinates of the mobile node as it moves, so that I can calculate the distance? martini.spy wrote: Hi all! Please could anyone help me with this? It is really important. How can I get the power of the signal a

[ns] Energy consumption in mobile nodes

2009-02-06 Thread Salvo Danilo Giuffrida
Hello, the default values for receive/transmit energy consumption (~200 mW, both for receive and transmit), are they realistic? Particularly, is it normal that the same energy is spent for receiving and trasmitting? I've seen some example scripts that simulated MANETs, and there the default

[ns] Changing value of variables inside agent (not taking effect)

2009-02-06 Thread fhg07
Ok. Inside my Agent I do have lots of functions: command, recv, and others that I implemented. And inside my agent I also have lots of variables. Well, I am still not that comfortable with C++, so I have a silly question: If I do change a variable from my agent inside recv, for example,

[ns] plotting graph in tracegraph

2009-02-06 Thread Syed Faraz Hasan
Hello, I am using ns2 for simulations and want to use tracegraph for plotting. I have downloaded it and it is also running OK. However, I don't know how to display graphs using it. Here is what I doing... I open tracegraph using trgraph.exe (I m using windows xp). A dialog box opens. I go to

[ns] Compiling threshold.cc for receiver threshold values?

2009-02-06 Thread Syed Faraz Hasan
Hello, I want to set different values to receiver power in the tcl code. The ns documentation says threshold.cc is availabe and it is to be run to get an executable file. That file could be used to computer receiver power for different scenarios. How can I compile this file? Is it compiled in

Re: [ns] how to implement a buffer

2009-02-06 Thread Sidney Doria
My implementation of PUMA protocol has this functionality. Take a look in the Class MessageCache. You can download the code at: sourceforge.net/projects/puma-adhoc Sidney Doria UFCG / BRAZIL 2009/2/6 sai krishna gumudavally saikris...@gmail.com: Hello, I'm working on a project

[ns] Simulating voice traffic

2009-02-06 Thread daramola
Hi all, I am new to ns2, I need to simulate voice traffic on the Internet using path diversity, is ns2 suitable for such? If yes i need assistance please, how do i go about it.

[ns] Fw: how to improve performance of tcp than cbr and add and join feature in maodv

2009-02-06 Thread vaishali mandhare
--- On Thu, 5/2/09, vaishali mandhare v_mandh...@yahoo.com wrote: From: vaishali mandhare v_mandh...@yahoo.com Subject: how to improve performance of tcp than cbr and add and join feature in maodv To: ns user ns-users@isi.edu Date: Thursday, 5 February, 2009, 4:12 PM Hello, I am doing

[ns] Regarding Tcl debugging

2009-02-06 Thread Somshekar Yadlapur
Hi All, This is Somshekar, trying out to do tcl debugging. I tried to install the tcl debugger but than i was getting the warning as the script debugging is disabled and configure --with-tcldebug. I have already ran a coomand ./configure --enable-debug --with-tcldebug after this also it is