[ns] How to enable HELLO message in AODV ?

2006-03-02 Thread Heo Heo
Could anyone let me know how to enable Hello message in AODV ? I read from a post somewhere that Hello message is not enabled by default. After having it enabled, how should I find out the Hello message in the trace file ? Thanks a lot for your help. ---

[ns] How to measure energy consumption of wireless nodes

2006-03-27 Thread Heo Heo
Hi Gurus, I am a newbie in ns2 and I need to evaluate the energy consumption of AODV. My plan is to have the nodes send/receive data for a period of time and measure the energy difference from the beginning to the end. Could anyone instruct me how to do this. In detail: 1

[ns] How to specify "wait" in ns2

2006-05-21 Thread Heo Heo
I am working on improving AODV, and I need to specify "wait" in ns2, something like: - When the routing packets (RREQ) arrive, just store it into a buffer and do not send out anything. - Wait for a period of X miliseconds. After that, look into the buffer and select the routing pa

[ns] Wireless packet size limit + wireless bandwidth question

2006-07-22 Thread Heo Heo
Hi all, I was doing a simple wireless simulation in which 2 nodes send are placed next to each other, with one being the sender and the other being the receiver (based on the Simple.tcl on ns website). The sender sends 500 packets to the receiver. 1) I tried to change the packet s

[ns] Problem adding extra fields hdr_cmn structure

2006-07-28 Thread Heo Heo
I want to add an extra field in the Hdr_cmn structure (in packet.h). Lets just say the extra field is : MyValue. - At the routing layer, I modified the value of this field. - At the Physical layer (wireless-phy.cc), I take some actions based on the value of MyValue. To my s