2012-04-18 16:31:10 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<simconf>
|
|
|
|
<project EXPORT="discard">[CONTIKI_DIR]/tools/cooja/apps/mrm</project>
|
|
|
|
<project EXPORT="discard">[CONTIKI_DIR]/tools/cooja/apps/mspsim</project>
|
|
|
|
<project EXPORT="discard">[CONTIKI_DIR]/tools/cooja/apps/avrora</project>
|
|
|
|
<project EXPORT="discard">[CONTIKI_DIR]/tools/cooja/apps/serial_socket</project>
|
|
|
|
<project EXPORT="discard">[CONTIKI_DIR]/tools/cooja/apps/collect-view</project>
|
|
|
|
<project EXPORT="discard">[CONTIKI_DIR]/tools/cooja/apps/powertracker</project>
|
|
|
|
<simulation>
|
|
|
|
<title>Example Demonstrating the Trickle Library's Functionality</title>
|
|
|
|
<delaytime>0</delaytime>
|
|
|
|
<randomseed>generated</randomseed>
|
|
|
|
<motedelay_us>1000000</motedelay_us>
|
|
|
|
<radiomedium>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.radiomediums.UDGM
|
2012-04-18 16:31:10 +02:00
|
|
|
<transmitting_range>50.0</transmitting_range>
|
|
|
|
<interference_range>100.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>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.mspmote.SkyMoteType
|
2012-04-18 16:31:10 +02:00
|
|
|
<identifier>sky1</identifier>
|
|
|
|
<description>trickle-tester</description>
|
|
|
|
<source EXPORT="discard">[CONTIKI_DIR]/examples/trickle-library/trickle-library.c</source>
|
|
|
|
<commands EXPORT="discard">make trickle-library.sky TARGET=sky</commands>
|
|
|
|
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/trickle-library/trickle-library.sky</firmware>
|
2013-11-19 12:17:37 +01:00
|
|
|
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.interfaces.Mote2MoteRelations</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.interfaces.MoteAttributes</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.MspClock</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.MspMoteID</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.SkyButton</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.SkyFlash</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.SkyCoffeeFilesystem</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.SkyByteRadio</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.MspSerial</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.SkyLED</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.MspDebugOutput</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.SkyTemperature</moteinterface>
|
2012-04-18 16:31:10 +02:00
|
|
|
</motetype>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2012-04-18 16:31:10 +02:00
|
|
|
<x>96.8286491032791</x>
|
|
|
|
<y>44.83363764767495</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2012-04-18 16:31:10 +02:00
|
|
|
<id>1</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky1</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2012-04-18 16:31:10 +02:00
|
|
|
<x>26.625418506201424</x>
|
|
|
|
<y>62.32118900834971</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2012-04-18 16:31:10 +02:00
|
|
|
<id>2</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky1</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2012-04-18 16:31:10 +02:00
|
|
|
<x>12.373988266345922</x>
|
|
|
|
<y>40.21870711164037</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2012-04-18 16:31:10 +02:00
|
|
|
<id>3</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky1</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2012-04-18 16:31:10 +02:00
|
|
|
<x>38.44294323221424</x>
|
|
|
|
<y>17.14724376428426</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2012-04-18 16:31:10 +02:00
|
|
|
<id>4</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky1</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2012-04-18 16:31:10 +02:00
|
|
|
<x>68.38248149463341</x>
|
|
|
|
<y>23.506083749222842</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2012-04-18 16:31:10 +02:00
|
|
|
<id>5</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky1</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
</simulation>
|
|
|
|
<plugin>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.plugins.Visualizer
|
2012-04-18 16:31:10 +02:00
|
|
|
<plugin_config>
|
2013-11-19 12:17:37 +01:00
|
|
|
<skin>org.contikios.cooja.plugins.skins.UDGMVisualizerSkin</skin>
|
|
|
|
<skin>org.contikios.cooja.plugins.skins.TrafficVisualizerSkin</skin>
|
|
|
|
<skin>org.contikios.cooja.plugins.skins.IDVisualizerSkin</skin>
|
2012-04-18 16:31:10 +02:00
|
|
|
<viewport>5.862188489126289 0.0 0.0 5.862188489126289 -4.083221885224075 -86.33855683341153</viewport>
|
|
|
|
</plugin_config>
|
|
|
|
<width>642</width>
|
|
|
|
<z>0</z>
|
|
|
|
<height>369</height>
|
|
|
|
<location_x>447</location_x>
|
|
|
|
<location_y>10</location_y>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.plugins.LogListener
|
2012-04-18 16:31:10 +02:00
|
|
|
<plugin_config>
|
|
|
|
<filter />
|
|
|
|
<coloring />
|
|
|
|
<hidedebug />
|
|
|
|
</plugin_config>
|
|
|
|
<width>1235</width>
|
|
|
|
<z>2</z>
|
|
|
|
<height>285</height>
|
|
|
|
<location_x>4</location_x>
|
|
|
|
<location_y>389</location_y>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.plugins.SimControl
|
2012-04-18 16:31:10 +02:00
|
|
|
<width>318</width>
|
|
|
|
<z>1</z>
|
|
|
|
<height>192</height>
|
|
|
|
<location_x>60</location_x>
|
|
|
|
<location_y>60</location_y>
|
|
|
|
</plugin>
|
|
|
|
</simconf>
|
|
|
|
|