[ns] sleep a node
juan manuel gomez garcia
juanmagoga at hotmail.com
Wed Nov 29 04:02:25 PST 2006
Hi Matthias :
I'm investigating the energy consumption in zigbee routing protocol. For
that I need that the nodes sleep.
Then I found the code of Iyappan. This are the steps that I do:
· Delette the files of ns2.
· Copy the files of Iyappan.
· 'make clean'
· 'make'
but the 'make' dont finish because I obtain the next error:
mac/mac-tdma.cc: In member function `void MacTdma::radioSwitch(int)':
mac/mac-tdma.cc:484: error: `node_wakeup' undeclared (first use this
function)
mac/mac-tdma.cc:484: error: (Each undeclared identifier is reported only
once
for each function it appears in.)
mac/mac-tdma.cc:494: error: `node_sleep' undeclared (first use this
function)
make: *** [mac/mac-tdma.o] Error 1
I have not modified anything.
What are the changes that you do for Iyappan code run ok?
Thank you very much for your help.
l für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
_________________________________________________________________
Descubre la descarga digital con MSN Music. Más de un millón de canciones.
http://music.msn.es/
More information about the Ns-users
mailing list