[ns] How to shut down a mobile node
Ezequiel García
elezegarcia at yahoo.com.ar
Thu Apr 30 10:18:41 PDT 2009
I have a question regarding this, does the shuted down node continue to consume energy?
--- El mié 29-abr-09, realoneone <realoneone at 126.com> escribió:
De: realoneone <realoneone at 126.com>
Asunto: Re: [ns] How to shut down a mobile node
Para: ns-users at ISI.EDU
Fecha: miércoles, 29 de abril de 2009, 10:51 pm
Hi there,
Though I had problems by just using "on/off" command of the mobile
nodes, I finally used a tricky way to "shut down" some nodes at
certain time:
In mac/mac-802_11.cc, I added a few lines in the beginning of transmit() and
recv(), which stop transmitting/receiving the packet depending on the clock time
and the id of the node which is calling this function.
Though I have to re-make ns2, it does works fine for me.
Hope it helps.
Ryan
____________________________________________________________________________________
¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar
More information about the Ns-users
mailing list