368 lines
14 KiB
Plaintext
368 lines
14 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<simconf>
|
||
|
<project EXPORT="discard">[APPS_DIR]/mrm</project>
|
||
|
<project EXPORT="discard">[APPS_DIR]/mspsim</project>
|
||
|
<project EXPORT="discard">[APPS_DIR]/avrora</project>
|
||
|
<project EXPORT="discard">[APPS_DIR]/serial_socket</project>
|
||
|
<project EXPORT="discard">[APPS_DIR]/collect-view</project>
|
||
|
<project EXPORT="discard">[APPS_DIR]/powertracker</project>
|
||
|
<simulation>
|
||
|
<title>Multicast regression test</title>
|
||
|
<randomseed>123456</randomseed>
|
||
|
<motedelay_us>1000000</motedelay_us>
|
||
|
<radiomedium>
|
||
|
se.sics.cooja.radiomediums.UDGM
|
||
|
<transmitting_range>15.0</transmitting_range>
|
||
|
<interference_range>0.0</interference_range>
|
||
|
<success_ratio_tx>1.0</success_ratio_tx>
|
||
|
<success_ratio_rx>1.0</success_ratio_rx>
|
||
|
</radiomedium>
|
||
|
<events>
|
||
|
<logoutput>40000</logoutput>
|
||
|
</events>
|
||
|
<motetype>
|
||
|
se.sics.cooja.contikimote.ContikiMoteType
|
||
|
<identifier>mtype612</identifier>
|
||
|
<description>Root/sender</description>
|
||
|
<source>[CONTIKI_DIR]/examples/ipv6/multicast/root.c</source>
|
||
|
<commands>make root.cooja TARGET=cooja</commands>
|
||
|
<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.interfaces.RimeAddress</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>
|
||
|
<moteinterface>se.sics.cooja.interfaces.Mote2MoteRelations</moteinterface>
|
||
|
<moteinterface>se.sics.cooja.interfaces.MoteAttributes</moteinterface>
|
||
|
<symbols>false</symbols>
|
||
|
</motetype>
|
||
|
<motetype>
|
||
|
se.sics.cooja.contikimote.ContikiMoteType
|
||
|
<identifier>mtype890</identifier>
|
||
|
<description>Intermediate</description>
|
||
|
<source>[CONTIKI_DIR]/examples/ipv6/multicast/intermediate.c</source>
|
||
|
<commands>make intermediate.cooja TARGET=cooja</commands>
|
||
|
<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.interfaces.RimeAddress</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>
|
||
|
<moteinterface>se.sics.cooja.interfaces.Mote2MoteRelations</moteinterface>
|
||
|
<moteinterface>se.sics.cooja.interfaces.MoteAttributes</moteinterface>
|
||
|
<symbols>false</symbols>
|
||
|
</motetype>
|
||
|
<motetype>
|
||
|
se.sics.cooja.contikimote.ContikiMoteType
|
||
|
<identifier>mtype956</identifier>
|
||
|
<description>Receiver</description>
|
||
|
<source>[CONTIKI_DIR]/examples/ipv6/multicast/sink.c</source>
|
||
|
<commands>make sink.cooja TARGET=cooja</commands>
|
||
|
<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.interfaces.RimeAddress</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>
|
||
|
<moteinterface>se.sics.cooja.interfaces.Mote2MoteRelations</moteinterface>
|
||
|
<moteinterface>se.sics.cooja.interfaces.MoteAttributes</moteinterface>
|
||
|
<symbols>false</symbols>
|
||
|
</motetype>
|
||
|
<mote>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.interfaces.Position
|
||
|
<x>-7.983976888750106</x>
|
||
|
<y>0.37523218201044733</y>
|
||
|
<z>0.0</z>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiMoteID
|
||
|
<id>1</id>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiRadio
|
||
|
<bitrate>250.0</bitrate>
|
||
|
</interface_config>
|
||
|
<motetype_identifier>mtype612</motetype_identifier>
|
||
|
</mote>
|
||
|
<mote>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.interfaces.Position
|
||
|
<x>0.0</x>
|
||
|
<y>0.0</y>
|
||
|
<z>0.0</z>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiMoteID
|
||
|
<id>2</id>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiRadio
|
||
|
<bitrate>250.0</bitrate>
|
||
|
</interface_config>
|
||
|
<motetype_identifier>mtype890</motetype_identifier>
|
||
|
</mote>
|
||
|
<mote>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.interfaces.Position
|
||
|
<x>10.0</x>
|
||
|
<y>0.0</y>
|
||
|
<z>0.0</z>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiMoteID
|
||
|
<id>3</id>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiRadio
|
||
|
<bitrate>250.0</bitrate>
|
||
|
</interface_config>
|
||
|
<motetype_identifier>mtype890</motetype_identifier>
|
||
|
</mote>
|
||
|
<mote>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.interfaces.Position
|
||
|
<x>20.0</x>
|
||
|
<y>0.0</y>
|
||
|
<z>0.0</z>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiMoteID
|
||
|
<id>4</id>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiRadio
|
||
|
<bitrate>250.0</bitrate>
|
||
|
</interface_config>
|
||
|
<motetype_identifier>mtype890</motetype_identifier>
|
||
|
</mote>
|
||
|
<mote>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.interfaces.Position
|
||
|
<x>30.0</x>
|
||
|
<y>0.0</y>
|
||
|
<z>0.0</z>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiMoteID
|
||
|
<id>5</id>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiRadio
|
||
|
<bitrate>250.0</bitrate>
|
||
|
</interface_config>
|
||
|
<motetype_identifier>mtype890</motetype_identifier>
|
||
|
</mote>
|
||
|
<mote>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.interfaces.Position
|
||
|
<x>40.0</x>
|
||
|
<y>0.0</y>
|
||
|
<z>0.0</z>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiMoteID
|
||
|
<id>6</id>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiRadio
|
||
|
<bitrate>250.0</bitrate>
|
||
|
</interface_config>
|
||
|
<motetype_identifier>mtype890</motetype_identifier>
|
||
|
</mote>
|
||
|
<mote>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.interfaces.Position
|
||
|
<x>50.0</x>
|
||
|
<y>0.0</y>
|
||
|
<z>0.0</z>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiMoteID
|
||
|
<id>7</id>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiRadio
|
||
|
<bitrate>250.0</bitrate>
|
||
|
</interface_config>
|
||
|
<motetype_identifier>mtype890</motetype_identifier>
|
||
|
</mote>
|
||
|
<mote>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.interfaces.Position
|
||
|
<x>60.0</x>
|
||
|
<y>0.0</y>
|
||
|
<z>0.0</z>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiMoteID
|
||
|
<id>8</id>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiRadio
|
||
|
<bitrate>250.0</bitrate>
|
||
|
</interface_config>
|
||
|
<motetype_identifier>mtype890</motetype_identifier>
|
||
|
</mote>
|
||
|
<mote>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.interfaces.Position
|
||
|
<x>70.0</x>
|
||
|
<y>0.0</y>
|
||
|
<z>0.0</z>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiMoteID
|
||
|
<id>9</id>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiRadio
|
||
|
<bitrate>250.0</bitrate>
|
||
|
</interface_config>
|
||
|
<motetype_identifier>mtype890</motetype_identifier>
|
||
|
</mote>
|
||
|
<mote>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.interfaces.Position
|
||
|
<x>79.93950307524713</x>
|
||
|
<y>-0.043451055913349</y>
|
||
|
<z>0.0</z>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiMoteID
|
||
|
<id>10</id>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiRadio
|
||
|
<bitrate>250.0</bitrate>
|
||
|
</interface_config>
|
||
|
<motetype_identifier>mtype890</motetype_identifier>
|
||
|
</mote>
|
||
|
<mote>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.interfaces.Position
|
||
|
<x>90.0</x>
|
||
|
<y>0.0</y>
|
||
|
<z>0.0</z>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiMoteID
|
||
|
<id>11</id>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiRadio
|
||
|
<bitrate>250.0</bitrate>
|
||
|
</interface_config>
|
||
|
<motetype_identifier>mtype890</motetype_identifier>
|
||
|
</mote>
|
||
|
<mote>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.interfaces.Position
|
||
|
<x>99.61761525766555</x>
|
||
|
<y>0.37523218201044733</y>
|
||
|
<z>0.0</z>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiMoteID
|
||
|
<id>12</id>
|
||
|
</interface_config>
|
||
|
<interface_config>
|
||
|
se.sics.cooja.contikimote.interfaces.ContikiRadio
|
||
|
<bitrate>250.0</bitrate>
|
||
|
</interface_config>
|
||
|
<motetype_identifier>mtype956</motetype_identifier>
|
||
|
</mote>
|
||
|
</simulation>
|
||
|
<plugin>
|
||
|
se.sics.cooja.plugins.SimControl
|
||
|
<width>280</width>
|
||
|
<z>1</z>
|
||
|
<height>160</height>
|
||
|
<location_x>400</location_x>
|
||
|
<location_y>0</location_y>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
se.sics.cooja.plugins.Visualizer
|
||
|
<plugin_config>
|
||
|
<moterelations>true</moterelations>
|
||
|
<skin>se.sics.cooja.plugins.skins.IDVisualizerSkin</skin>
|
||
|
<skin>se.sics.cooja.plugins.skins.GridVisualizerSkin</skin>
|
||
|
<skin>se.sics.cooja.plugins.skins.TrafficVisualizerSkin</skin>
|
||
|
<skin>se.sics.cooja.plugins.skins.UDGMVisualizerSkin</skin>
|
||
|
<skin>se.sics.cooja.plugins.skins.MoteTypeVisualizerSkin</skin>
|
||
|
<viewport>2.388440494916608 0.0 0.0 2.388440494916608 109.06925371156906 149.10378026149033</viewport>
|
||
|
</plugin_config>
|
||
|
<width>400</width>
|
||
|
<z>3</z>
|
||
|
<height>400</height>
|
||
|
<location_x>1</location_x>
|
||
|
<location_y>1</location_y>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
se.sics.cooja.plugins.LogListener
|
||
|
<plugin_config>
|
||
|
<filter />
|
||
|
<formatted_time />
|
||
|
<coloring />
|
||
|
</plugin_config>
|
||
|
<width>1200</width>
|
||
|
<z>2</z>
|
||
|
<height>240</height>
|
||
|
<location_x>400</location_x>
|
||
|
<location_y>160</location_y>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
se.sics.cooja.plugins.Notes
|
||
|
<plugin_config>
|
||
|
<notes>Enter notes here</notes>
|
||
|
<decorations>true</decorations>
|
||
|
</plugin_config>
|
||
|
<width>920</width>
|
||
|
<z>4</z>
|
||
|
<height>160</height>
|
||
|
<location_x>680</location_x>
|
||
|
<location_y>0</location_y>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
se.sics.cooja.plugins.ScriptRunner
|
||
|
<plugin_config>
|
||
|
<script>TIMEOUT(300000);
|
||
|

|
||
|
WAIT_UNTIL(msg.equals("In: [0x00000063], TTL 54, total 97"));
|
||
|

|
||
|
log.testOK(); /* Report test success and quit */</script>
|
||
|
<active>true</active>
|
||
|
</plugin_config>
|
||
|
<width>600</width>
|
||
|
<z>0</z>
|
||
|
<height>700</height>
|
||
|
<location_x>843</location_x>
|
||
|
<location_y>77</location_y>
|
||
|
</plugin>
|
||
|
</simconf>
|
||
|
|