2008-11-03 14:05:30 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<simconf>
|
2010-01-22 13:56:42 +00:00
|
|
|
<project>[CONTIKI_DIR]/tools/cooja/apps/mrm</project>
|
|
|
|
<project>[CONTIKI_DIR]/tools/cooja/apps/mspsim</project>
|
|
|
|
<project>[CONTIKI_DIR]/tools/cooja/apps/avrora</project>
|
2008-11-03 14:05:30 +00:00
|
|
|
<simulation>
|
|
|
|
<title>My simulation</title>
|
|
|
|
<delaytime>0</delaytime>
|
2009-06-24 14:42:50 +00:00
|
|
|
<randomseed>generated</randomseed>
|
2009-05-26 14:05:35 +00:00
|
|
|
<motedelay_us>5000000</motedelay_us>
|
2008-11-03 14:05:30 +00:00
|
|
|
<radiomedium>
|
|
|
|
se.sics.cooja.radiomediums.UDGM
|
2009-05-26 14:05:35 +00:00
|
|
|
<transmitting_range>50.0</transmitting_range>
|
|
|
|
<interference_range>50.0</interference_range>
|
2008-11-03 14:05:30 +00:00
|
|
|
<success_ratio_tx>0.5</success_ratio_tx>
|
|
|
|
<success_ratio_rx>1.0</success_ratio_rx>
|
|
|
|
</radiomedium>
|
2010-01-22 13:56:42 +00:00
|
|
|
<events>
|
|
|
|
<logoutput>40000</logoutput>
|
|
|
|
</events>
|
2008-11-03 14:05:30 +00:00
|
|
|
<motetype>
|
|
|
|
se.sics.cooja.mspmote.SkyMoteType
|
|
|
|
<identifier>sky1</identifier>
|
|
|
|
<description>Sky Mote Type #1</description>
|
2010-01-22 13:56:42 +00:00
|
|
|
<source>[CONTIKI_DIR]/examples/rime/example-abc.c</source>
|
2009-03-11 13:25:40 +00:00
|
|
|
<commands>make example-abc.sky TARGET=sky</commands>
|
2010-01-22 13:56:42 +00:00
|
|
|
<firmware>[CONTIKI_DIR]/examples/rime/example-abc.sky</firmware>
|
2009-03-11 13:25:40 +00:00
|
|
|
<moteinterface>se.sics.cooja.interfaces.Position</moteinterface>
|
2009-05-26 14:05:35 +00:00
|
|
|
<moteinterface>se.sics.cooja.interfaces.IPAddress</moteinterface>
|
2009-03-11 13:25:40 +00:00
|
|
|
<moteinterface>se.sics.cooja.interfaces.Mote2MoteRelations</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.MspClock</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.MspMoteID</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.SkyButton</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.SkyFlash</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.SkyByteRadio</moteinterface>
|
2010-01-22 13:56:42 +00:00
|
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.MspSerial</moteinterface>
|
2009-03-11 13:25:40 +00:00
|
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.SkyLED</moteinterface>
|
2010-01-22 13:56:42 +00:00
|
|
|
<moteinterface>se.sics.cooja.interfaces.RimeAddress</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.SkyCoffeeFilesystem</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.MspDebugOutput</moteinterface>
|
2008-11-03 14:05:30 +00:00
|
|
|
</motetype>
|
|
|
|
<motetype>
|
|
|
|
se.sics.cooja.mspmote.ESBMoteType
|
|
|
|
<identifier>esb1</identifier>
|
|
|
|
<description>ESB Mote Type #1</description>
|
2010-01-22 13:56:42 +00:00
|
|
|
<source>[CONTIKI_DIR]/examples/rime/example-abc.c</source>
|
2009-03-11 13:25:40 +00:00
|
|
|
<commands>make example-abc.esb TARGET=esb</commands>
|
2010-01-22 13:56:42 +00:00
|
|
|
<firmware>[CONTIKI_DIR]/examples/rime/example-abc.esb</firmware>
|
2009-03-11 13:25:40 +00:00
|
|
|
<moteinterface>se.sics.cooja.interfaces.Position</moteinterface>
|
2009-05-26 14:05:35 +00:00
|
|
|
<moteinterface>se.sics.cooja.interfaces.IPAddress</moteinterface>
|
2010-01-22 13:56:42 +00:00
|
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.MspSerial</moteinterface>
|
2009-03-11 13:25:40 +00:00
|
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.MspClock</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.ESBLED</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.ESBButton</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.MspMoteID</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.TR1001Radio</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.interfaces.Mote2MoteRelations</moteinterface>
|
2010-01-22 13:56:42 +00:00
|
|
|
<moteinterface>se.sics.cooja.interfaces.RimeAddress</moteinterface>
|
2008-11-03 14:05:30 +00:00
|
|
|
</motetype>
|
|
|
|
<motetype>
|
|
|
|
se.sics.cooja.contikimote.ContikiMoteType
|
2010-01-22 13:56:42 +00:00
|
|
|
<identifier>mtype48</identifier>
|
2009-03-11 13:25:40 +00:00
|
|
|
<description>Contiki Mote Type #1</description>
|
2010-01-22 13:56:42 +00:00
|
|
|
<contikiapp>[CONTIKI_DIR]/examples/rime/example-abc.c</contikiapp>
|
2009-03-11 13:25:40 +00:00
|
|
|
<commands>make example-abc.cooja TARGET=cooja</commands>
|
2008-11-03 14:05:30 +00:00
|
|
|
<moteinterface>se.sics.cooja.interfaces.Position</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.interfaces.Battery</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiVib</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiMoteID</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiRS232</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiBeeper</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiIPAddress</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiRadio</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiButton</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiPIR</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiClock</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiLED</moteinterface>
|
|
|
|
<moteinterface>se.sics.cooja.contikimote.interfaces.ContikiCFS</moteinterface>
|
2009-03-11 13:25:40 +00:00
|
|
|
<moteinterface>se.sics.cooja.interfaces.Mote2MoteRelations</moteinterface>
|
2010-01-22 13:56:42 +00:00
|
|
|
<moteinterface>se.sics.cooja.interfaces.RimeAddress</moteinterface>
|
2008-11-03 14:05:30 +00:00
|
|
|
<symbols>false</symbols>
|
|
|
|
<commstack>Rime</commstack>
|
|
|
|
</motetype>
|
|
|
|
<mote>
|
|
|
|
se.sics.cooja.contikimote.ContikiMote
|
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.interfaces.Position
|
2010-01-22 13:56:42 +00:00
|
|
|
<x>-2.7427179779871587</x>
|
|
|
|
<y>-17.498426286221605</y>
|
2008-11-03 14:05:30 +00:00
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.contikimote.interfaces.ContikiMoteID
|
|
|
|
<id>1</id>
|
|
|
|
</interface_config>
|
2010-01-22 13:56:42 +00:00
|
|
|
<motetype_identifier>mtype48</motetype_identifier>
|
2008-11-03 14:05:30 +00:00
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
se.sics.cooja.contikimote.ContikiMote
|
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.interfaces.Position
|
2010-01-22 13:56:42 +00:00
|
|
|
<x>-1.3167654732910574</x>
|
|
|
|
<y>21.002291340573123</y>
|
2008-11-03 14:05:30 +00:00
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.contikimote.interfaces.ContikiMoteID
|
|
|
|
<id>2</id>
|
|
|
|
</interface_config>
|
2010-01-22 13:56:42 +00:00
|
|
|
<motetype_identifier>mtype48</motetype_identifier>
|
2008-11-03 14:05:30 +00:00
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
se.sics.cooja.mspmote.SkyMote
|
2009-06-24 14:42:50 +00:00
|
|
|
<breakpoints />
|
2008-11-03 14:05:30 +00:00
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.interfaces.Position
|
2010-01-22 13:56:42 +00:00
|
|
|
<x>99.92586236013211</x>
|
|
|
|
<y>-18.924378790917704</y>
|
2008-11-03 14:05:30 +00:00
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.mspmote.interfaces.MspMoteID
|
|
|
|
<id>3</id>
|
|
|
|
</interface_config>
|
2010-01-22 13:56:42 +00:00
|
|
|
<motetype_identifier>sky1</motetype_identifier>
|
2008-11-03 14:05:30 +00:00
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
se.sics.cooja.mspmote.SkyMote
|
2009-06-24 14:42:50 +00:00
|
|
|
<breakpoints />
|
2008-11-03 14:05:30 +00:00
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.interfaces.Position
|
2010-01-22 13:56:42 +00:00
|
|
|
<x>102.77776736952431</x>
|
|
|
|
<y>18.150386331180922</y>
|
2008-11-03 14:05:30 +00:00
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.mspmote.interfaces.MspMoteID
|
|
|
|
<id>4</id>
|
|
|
|
</interface_config>
|
2010-01-22 13:56:42 +00:00
|
|
|
<motetype_identifier>sky1</motetype_identifier>
|
2008-11-03 14:05:30 +00:00
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
se.sics.cooja.mspmote.ESBMote
|
2009-06-24 14:42:50 +00:00
|
|
|
<breakpoints />
|
2008-11-03 14:05:30 +00:00
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.interfaces.Position
|
2010-01-22 13:56:42 +00:00
|
|
|
<x>198.31658518416305</x>
|
|
|
|
<y>-18.924378790917704</y>
|
2008-11-03 14:05:30 +00:00
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.mspmote.interfaces.MspMoteID
|
|
|
|
<id>5</id>
|
|
|
|
</interface_config>
|
2010-01-22 13:56:42 +00:00
|
|
|
<motetype_identifier>esb1</motetype_identifier>
|
2008-11-03 14:05:30 +00:00
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
se.sics.cooja.mspmote.ESBMote
|
2009-06-24 14:42:50 +00:00
|
|
|
<breakpoints />
|
2008-11-03 14:05:30 +00:00
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.interfaces.Position
|
2010-01-22 13:56:42 +00:00
|
|
|
<x>196.890632679467</x>
|
|
|
|
<y>19.57633883587702</y>
|
2008-11-03 14:05:30 +00:00
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.mspmote.interfaces.MspMoteID
|
|
|
|
<id>6</id>
|
|
|
|
</interface_config>
|
2010-01-22 13:56:42 +00:00
|
|
|
<motetype_identifier>esb1</motetype_identifier>
|
2008-11-03 14:05:30 +00:00
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
se.sics.cooja.contikimote.ContikiMote
|
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.interfaces.Position
|
2010-01-22 13:56:42 +00:00
|
|
|
<x>295.28135550349793</x>
|
|
|
|
<y>-18.924378790917704</y>
|
2008-11-03 14:05:30 +00:00
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.contikimote.interfaces.ContikiMoteID
|
|
|
|
<id>7</id>
|
|
|
|
</interface_config>
|
2010-01-22 13:56:42 +00:00
|
|
|
<motetype_identifier>mtype48</motetype_identifier>
|
2008-11-03 14:05:30 +00:00
|
|
|
</mote>
|
|
|
|
<mote>
|
2009-05-26 14:05:35 +00:00
|
|
|
se.sics.cooja.mspmote.SkyMote
|
2009-06-24 14:42:50 +00:00
|
|
|
<breakpoints />
|
2008-11-03 14:05:30 +00:00
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.interfaces.Position
|
2010-01-22 13:56:42 +00:00
|
|
|
<x>293.8554029988019</x>
|
|
|
|
<y>16.72443382648482</y>
|
2008-11-03 14:05:30 +00:00
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2009-05-26 14:05:35 +00:00
|
|
|
se.sics.cooja.mspmote.interfaces.MspMoteID
|
2008-11-03 14:05:30 +00:00
|
|
|
<id>8</id>
|
|
|
|
</interface_config>
|
2010-01-22 13:56:42 +00:00
|
|
|
<motetype_identifier>sky1</motetype_identifier>
|
2008-11-03 14:05:30 +00:00
|
|
|
</mote>
|
|
|
|
<mote>
|
2009-05-26 14:05:35 +00:00
|
|
|
se.sics.cooja.contikimote.ContikiMote
|
2008-11-03 14:05:30 +00:00
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.interfaces.Position
|
2010-01-22 13:56:42 +00:00
|
|
|
<x>399.0339262783647</x>
|
|
|
|
<y>-17.46710863775396</y>
|
2008-11-03 14:05:30 +00:00
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
2009-05-26 14:05:35 +00:00
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.contikimote.interfaces.ContikiMoteID
|
2008-11-03 14:05:30 +00:00
|
|
|
<id>9</id>
|
|
|
|
</interface_config>
|
2010-01-22 13:56:42 +00:00
|
|
|
<motetype_identifier>mtype48</motetype_identifier>
|
2008-11-03 14:05:30 +00:00
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
se.sics.cooja.mspmote.ESBMote
|
2009-06-24 14:42:50 +00:00
|
|
|
<breakpoints />
|
2008-11-03 14:05:30 +00:00
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.interfaces.Position
|
2010-01-22 13:56:42 +00:00
|
|
|
<x>401.18433133198937</x>
|
|
|
|
<y>15.878266080338506</y>
|
2008-11-03 14:05:30 +00:00
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.mspmote.interfaces.MspMoteID
|
|
|
|
<id>10</id>
|
|
|
|
</interface_config>
|
2010-01-22 13:56:42 +00:00
|
|
|
<motetype_identifier>esb1</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
se.sics.cooja.mspmote.SkyMote
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.interfaces.Position
|
|
|
|
<x>479.0051389972142</x>
|
|
|
|
<y>-15.553186635152876</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.mspmote.interfaces.MspMoteID
|
|
|
|
<id>11</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky1</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
se.sics.cooja.mspmote.ESBMote
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.interfaces.Position
|
|
|
|
<x>478.3433974354351</x>
|
|
|
|
<y>18.789928952166647</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.mspmote.interfaces.MspMoteID
|
|
|
|
<id>12</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>esb1</motetype_identifier>
|
2008-11-03 14:05:30 +00:00
|
|
|
</mote>
|
|
|
|
</simulation>
|
|
|
|
<plugin>
|
|
|
|
se.sics.cooja.plugins.SimControl
|
|
|
|
<width>265</width>
|
2010-01-22 13:56:42 +00:00
|
|
|
<z>5</z>
|
2008-11-03 14:05:30 +00:00
|
|
|
<height>200</height>
|
|
|
|
<location_x>0</location_x>
|
2010-01-22 13:56:42 +00:00
|
|
|
<location_y>1</location_y>
|
2008-11-03 14:05:30 +00:00
|
|
|
<minimized>false</minimized>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2009-05-26 14:05:35 +00:00
|
|
|
se.sics.cooja.plugins.LogListener
|
|
|
|
<plugin_config>
|
2010-01-22 13:56:42 +00:00
|
|
|
<filter />
|
2009-05-26 14:05:35 +00:00
|
|
|
</plugin_config>
|
2010-01-22 13:56:42 +00:00
|
|
|
<width>460</width>
|
|
|
|
<z>4</z>
|
|
|
|
<height>178</height>
|
|
|
|
<location_x>400</location_x>
|
|
|
|
<location_y>568</location_y>
|
2008-11-03 14:05:30 +00:00
|
|
|
<minimized>false</minimized>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2009-05-26 14:05:35 +00:00
|
|
|
se.sics.cooja.plugins.Visualizer
|
2008-11-03 14:05:30 +00:00
|
|
|
<plugin_config>
|
2010-01-22 13:56:42 +00:00
|
|
|
<skin>se.sics.cooja.plugins.skins.IDVisualizerSkin</skin>
|
|
|
|
<skin>se.sics.cooja.plugins.skins.UDGMVisualizerSkin</skin>
|
|
|
|
<skin>se.sics.cooja.plugins.skins.MoteTypeVisualizerSkin</skin>
|
|
|
|
<skin>se.sics.cooja.plugins.skins.TrafficVisualizerSkin</skin>
|
|
|
|
<skin>se.sics.cooja.plugins.skins.AddressVisualizerSkin</skin>
|
|
|
|
<viewport>0.6868927097814259 0.0 0.0 0.6868927097814259 19.429407529520386 57.09333478544578</viewport>
|
2008-11-03 14:05:30 +00:00
|
|
|
</plugin_config>
|
2010-01-22 13:56:42 +00:00
|
|
|
<width>401</width>
|
|
|
|
<z>1</z>
|
2009-06-24 14:42:50 +00:00
|
|
|
<height>177</height>
|
2010-01-22 13:56:42 +00:00
|
|
|
<location_x>0</location_x>
|
|
|
|
<location_y>569</location_y>
|
2008-11-03 14:05:30 +00:00
|
|
|
<minimized>false</minimized>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2009-05-26 14:05:35 +00:00
|
|
|
se.sics.cooja.plugins.RadioLogger
|
2009-06-24 14:42:50 +00:00
|
|
|
<width>265</width>
|
2010-01-22 13:56:42 +00:00
|
|
|
<z>2</z>
|
|
|
|
<height>371</height>
|
2009-05-26 14:05:35 +00:00
|
|
|
<location_x>0</location_x>
|
|
|
|
<location_y>199</location_y>
|
2008-11-03 14:05:30 +00:00
|
|
|
<minimized>false</minimized>
|
|
|
|
</plugin>
|
2009-06-24 14:42:50 +00:00
|
|
|
<plugin>
|
|
|
|
se.sics.cooja.plugins.ScriptRunner
|
|
|
|
<plugin_config>
|
|
|
|
<script>TIMEOUT(120000);
|
|
|
|
|
|
|
|
var nr_packets = new Array();
|
2010-01-22 13:56:42 +00:00
|
|
|
for (i=1; i <= 12; i++) {
|
2009-06-24 14:42:50 +00:00
|
|
|
nr_packets[i] = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
while (true) {
|
|
|
|
|
|
|
|
/* Listen for receive notifications */
|
2010-01-22 13:56:42 +00:00
|
|
|
if (msg.contains("abc message received 'Hello'")) {
|
2009-06-24 14:42:50 +00:00
|
|
|
|
|
|
|
/* Log receiving node */
|
|
|
|
nr_packets[id] ++;
|
|
|
|
log.log("Node " + id + " received message: " + nr_packets[id] + "\n");
|
|
|
|
|
|
|
|
log.log("TEST STATUS: ");
|
2010-01-22 13:56:42 +00:00
|
|
|
log.log(" C-C " + nr_packets[1] + "-" + nr_packets[2]);
|
|
|
|
log.log(" S-S " + nr_packets[3] + "-" + nr_packets[4]);
|
|
|
|
log.log(" E-E " + nr_packets[5] + "-" + nr_packets[6]);
|
|
|
|
log.log(" C-S " + nr_packets[7] + "-" + nr_packets[8]);
|
|
|
|
log.log(" C-E " + nr_packets[9] + "-" + nr_packets[10]);
|
|
|
|
log.log(" S-E " + nr_packets[11] + "-" + nr_packets[12]);
|
2009-06-24 14:42:50 +00:00
|
|
|
log.log("\n");
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Did all nodes (1-10) receive at least one message? */
|
2010-01-22 13:56:42 +00:00
|
|
|
for (i = 1; i <= 12; i++) {
|
2009-06-24 14:42:50 +00:00
|
|
|
if (nr_packets[i] < 1) break;
|
2010-01-22 13:56:42 +00:00
|
|
|
}
|
|
|
|
if (i == 12) {
|
|
|
|
log.testOK();
|
2009-06-24 14:42:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
YIELD();
|
|
|
|
}</script>
|
|
|
|
<active>true</active>
|
|
|
|
</plugin_config>
|
|
|
|
<width>596</width>
|
2010-01-22 13:56:42 +00:00
|
|
|
<z>3</z>
|
|
|
|
<height>569</height>
|
|
|
|
<location_x>264</location_x>
|
|
|
|
<location_y>0</location_y>
|
|
|
|
<minimized>false</minimized>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
se.sics.cooja.plugins.TimeLine
|
|
|
|
<plugin_config>
|
|
|
|
<mote>0</mote>
|
|
|
|
<mote>1</mote>
|
|
|
|
<mote>2</mote>
|
|
|
|
<mote>3</mote>
|
|
|
|
<mote>4</mote>
|
|
|
|
<mote>5</mote>
|
|
|
|
<mote>6</mote>
|
|
|
|
<mote>7</mote>
|
|
|
|
<mote>8</mote>
|
|
|
|
<mote>9</mote>
|
|
|
|
<mote>10</mote>
|
|
|
|
<mote>11</mote>
|
|
|
|
<showRadioRXTX />
|
|
|
|
<showRadioHW />
|
|
|
|
<split>109</split>
|
|
|
|
<zoom>12</zoom>
|
|
|
|
</plugin_config>
|
|
|
|
<width>862</width>
|
|
|
|
<z>0</z>
|
|
|
|
<height>219</height>
|
|
|
|
<location_x>-1</location_x>
|
|
|
|
<location_y>746</location_y>
|
2009-06-24 14:42:50 +00:00
|
|
|
<minimized>false</minimized>
|
|
|
|
</plugin>
|
2008-11-03 14:05:30 +00:00
|
|
|
</simconf>
|
|
|
|
|