[Avrora] Error in monitoring packet contents
Farhana Khan
j_farhana at yahoo.com
Sun Jul 22 09:24:48 PDT 2007
Hello
I will be grateful if some one help me solving the problem. I want to monitor the packet payload. The program works fine under Tossim Tinyos 2.0. But in avrora whenever i run the program it does not display the contents. The output I recieve is as follows
$ avrora -platform=mica2 -simulation=sensor-network -seconds=5.0 -monitors=pack
et -show-packets=true -topology=topo.txt -nodecount=1,1 countsend.od countrecie
ve.od
©[1;34mAvrora ©[1;00m[©[1;34mBeta 1.6.0©[1;00m] - (c) 2003-2005 UCLA Compilers Group
This simulator and analysis tool is provided with absolutely no warranty,
either expressed or implied. It is provided to you with the hope that it be
useful for evaluation of and experimentation with microcontroller and sensor
network programs. For more information about the license that this software is
provided to you under, specify the "license" option.
©[0;33mLoading countsend.od©[1;00m...[©[0;32mOK©[1;00m: 1.172 seconds]
©[0;33mLoading countrecieve.od©[1;00m...[©[0;32mOK©[1;00m: 0.469 seconds]
=={ Simulation events }=======================================================
©[0;32mNode Time Event©[1;00m
------------------------------------------------------------------------------
1 8007362 ©[0;31mRed©[1;00m: on
1 8007364 ©[0;32mGreen©[1;00m: on
1 8007366 ©[1;33mYellow©[1;00m: on
1 8007368 ©[0;31mRed©[1;00m: off
1 8007370 ©[0;32mGreen©[1;00m: off
1 8007372 ©[1;33mYellow©[1;00m: off
1 8411311 ©[1;36mPacket sent©[1;00m: 00:00:00:00:00:00:00:00:00:00:00:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
0 8411747 ©[1;36mPacket sent©[1;00m: 00:00:00:00:00:00:00:00:00:00:00:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
==============================================================================
©[0;32mSimulated time©[1;00m: ©[1;36m36864000©[1;00m cycles
©[0;32mTime for simulation©[1;00m: ©[1;36m110.564©[1;00m seconds
©[0;32mTotal throughput©[1;00m: ©[1;36m0.6668355©[1;00m mhz
©[0;32mThroughput per node©[1;00m: ©[1;36m0.33341774©[1;00m mhz
=={ Monitors for node 0 }=====================================================
©[0;32mBytes sent©[1;00m: ©[1;36m61©[1;00m
©[0;32mPackets sent©[1;00m: ©[1;36m1©[1;00m
=={ Monitors for node 1 }=====================================================
©[0;32mBytes sent©[1;00m: ©[1;36m61©[1;00m
©[0;32mPackets sent©[1;00m: ©[1;36m1©[1;00m
The code is attached here with
Regards
Farhana
---------------------------------
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ucla.edu/pipermail/avrora/attachments/20070722/8c780b54/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RadioSenseToLedsAppC.nc
Type: application/octet-stream
Size: 2542 bytes
Desc: 195611596-RadioSenseToLedsAppC.nc
Url : http://lists.ucla.edu/pipermail/avrora/attachments/20070722/8c780b54/attachment-0004.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RadioSenseToLedsC.nc
Type: application/octet-stream
Size: 4023 bytes
Desc: 271839595-RadioSenseToLedsC.nc
Url : http://lists.ucla.edu/pipermail/avrora/attachments/20070722/8c780b54/attachment-0005.obj
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: RadioSenseToLeds.h
Url: http://lists.ucla.edu/pipermail/avrora/attachments/20070722/8c780b54/attachment-0001.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RadioRecieveAppC.nc
Type: application/octet-stream
Size: 2270 bytes
Desc: 382965545-RadioRecieveAppC.nc
Url : http://lists.ucla.edu/pipermail/avrora/attachments/20070722/8c780b54/attachment-0006.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RadioRecieveC.nc
Type: application/octet-stream
Size: 3234 bytes
Desc: 1003412353-RadioRecieveC.nc
Url : http://lists.ucla.edu/pipermail/avrora/attachments/20070722/8c780b54/attachment-0007.obj
More information about the Avrora
mailing list