Search This Blog

Monday, 30 December 2013

How can i enable Hello Packets in AODV ?


     > By default Hello Packet is not enabled. You have to enable it.

 Steps :
           i) In aodv.cc, comment the line as shown

                     //#ifndef AODV_LINK_LAYER_DETECTION
                       htimer.handle((Event*) 0);
                       ntimer.handle((Event*) 0);
                     //#endif // LINK LAYER DETECTION


 How can i change the Hello interval ?

     >  By default hello interval set to 1 second ( 1000 milli sec )

      >  In aodv.h, Macro variable HELLO_INTERVAL can be found.