125 lines
4.2 KiB
Plaintext
125 lines
4.2 KiB
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<simconf>
|
|
<project>[CONTIKI_DIR]/tools/cooja/apps/mrm</project>
|
|
<project>[CONTIKI_DIR]/tools/cooja/apps/mspsim</project>
|
|
<project>[CONTIKI_DIR]/tools/cooja/apps/avrora</project>
|
|
<simulation>
|
|
<title>My simulation</title>
|
|
<delaytime>0</delaytime>
|
|
<randomseed>generated</randomseed>
|
|
<motedelay_us>1000000</motedelay_us>
|
|
<radiomedium>
|
|
se.sics.cooja.radiomediums.UDGM
|
|
<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>
|
|
se.sics.cooja.mspmote.ESBMoteType
|
|
<identifier>esb1</identifier>
|
|
<description>ESB Mote Type #esb1</description>
|
|
<source>[CONTIKI_DIR]/examples/hello-world/hello-world.c</source>
|
|
<commands>make hello-world.esb TARGET=esb</commands>
|
|
<firmware>[CONTIKI_DIR]/examples/hello-world/hello-world.esb</firmware>
|
|
<moteinterface>se.sics.cooja.interfaces.Position</moteinterface>
|
|
<moteinterface>se.sics.cooja.interfaces.RimeAddress</moteinterface>
|
|
<moteinterface>se.sics.cooja.interfaces.IPAddress</moteinterface>
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.MspSerial</moteinterface>
|
|
<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>
|
|
</motetype>
|
|
<mote>
|
|
se.sics.cooja.mspmote.ESBMote
|
|
<breakpoints />
|
|
<interface_config>
|
|
se.sics.cooja.interfaces.Position
|
|
<x>57.296459690977144</x>
|
|
<y>73.20759478605089</y>
|
|
<z>0.0</z>
|
|
</interface_config>
|
|
<interface_config>
|
|
se.sics.cooja.mspmote.interfaces.MspMoteID
|
|
<id>1</id>
|
|
</interface_config>
|
|
<motetype_identifier>esb1</motetype_identifier>
|
|
</mote>
|
|
</simulation>
|
|
<plugin>
|
|
se.sics.cooja.plugins.SimControl
|
|
<width>259</width>
|
|
<z>6</z>
|
|
<height>184</height>
|
|
<location_x>60</location_x>
|
|
<location_y>60</location_y>
|
|
<minimized>false</minimized>
|
|
</plugin>
|
|
<plugin>
|
|
se.sics.cooja.plugins.Visualizer
|
|
<plugin_config>
|
|
<skin>se.sics.cooja.plugins.skins.IDVisualizerSkin</skin>
|
|
<skin>se.sics.cooja.plugins.skins.LogVisualizerSkin</skin>
|
|
<viewport>0.9090909090909091 0.0 0.0 0.9090909090909091 91.91230937183896 53.4476411035901</viewport>
|
|
</plugin_config>
|
|
<width>300</width>
|
|
<z>3</z>
|
|
<height>300</height>
|
|
<location_x>945</location_x>
|
|
<location_y>0</location_y>
|
|
<minimized>false</minimized>
|
|
</plugin>
|
|
<plugin>
|
|
se.sics.cooja.plugins.LogListener
|
|
<plugin_config>
|
|
<filter />
|
|
</plugin_config>
|
|
<width>1245</width>
|
|
<z>5</z>
|
|
<height>150</height>
|
|
<location_x>0</location_x>
|
|
<location_y>530</location_y>
|
|
<minimized>false</minimized>
|
|
</plugin>
|
|
<plugin>
|
|
se.sics.cooja.plugins.TimeLine
|
|
<plugin_config>
|
|
<mote>0</mote>
|
|
<showRadioRXTX />
|
|
<showRadioHW />
|
|
<showLEDs />
|
|
<split>109</split>
|
|
<zoom>9</zoom>
|
|
</plugin_config>
|
|
<width>1245</width>
|
|
<z>1</z>
|
|
<height>150</height>
|
|
<location_x>0</location_x>
|
|
<location_y>680</location_y>
|
|
<minimized>false</minimized>
|
|
</plugin>
|
|
<plugin>
|
|
se.sics.cooja.plugins.ScriptRunner
|
|
<plugin_config>
|
|
<script>TIMEOUT(5000, log.log("last message: " + msg + "\n"));
|
|
|
|
WAIT_UNTIL(msg.equals('Hello, world'));
|
|
log.testOK();</script>
|
|
<active>true</active>
|
|
</plugin_config>
|
|
<width>600</width>
|
|
<z>0</z>
|
|
<height>453</height>
|
|
<location_x>337</location_x>
|
|
<location_y>25</location_y>
|
|
<minimized>false</minimized>
|
|
</plugin>
|
|
</simconf>
|
|
|