2009-03-11 14:25:40 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<simconf>
|
2010-03-29 12:52:22 +02:00
|
|
|
<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/native_gateway</project>
|
2009-03-11 14:25:40 +01:00
|
|
|
<simulation>
|
|
|
|
<title>My simulation</title>
|
|
|
|
<delaytime>0</delaytime>
|
2009-06-24 16:42:50 +02:00
|
|
|
<randomseed>generated</randomseed>
|
|
|
|
<motedelay_us>1000000</motedelay_us>
|
2009-03-11 14:25:40 +01:00
|
|
|
<radiomedium>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.radiomediums.UDGM
|
2009-03-11 14:25:40 +01: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>
|
2010-03-29 12:52:22 +02:00
|
|
|
<events>
|
|
|
|
<logoutput>40000</logoutput>
|
|
|
|
</events>
|
2009-03-11 14:25:40 +01:00
|
|
|
<motetype>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.mspmote.SkyMoteType
|
2009-03-11 14:25:40 +01:00
|
|
|
<identifier>sky1</identifier>
|
|
|
|
<description>Sky Mote Type #1</description>
|
2010-03-29 12:52:22 +02:00
|
|
|
<source EXPORT="discard">[CONTIKI_DIR]/examples/sky-shell/sky-shell.c</source>
|
|
|
|
<commands EXPORT="discard">make clean TARGET=sky
|
2010-02-03 22:16:13 +01:00
|
|
|
make sky-shell.sky TARGET=sky</commands>
|
2010-03-29 12:52:22 +02:00
|
|
|
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/sky-shell/sky-shell.sky</firmware>
|
2013-11-19 12:17:37 +01:00
|
|
|
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.interfaces.Mote2MoteRelations</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>
|
2014-07-23 15:42:59 +02:00
|
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.Msp802154Radio</moteinterface>
|
2013-11-19 12:17:37 +01:00
|
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.MspSerial</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.SkyLED</moteinterface>
|
2009-03-11 14:25:40 +01:00
|
|
|
</motetype>
|
|
|
|
<mote>
|
2009-06-24 16:42:50 +02:00
|
|
|
<breakpoints />
|
2009-03-11 14:25:40 +01:00
|
|
|
<interface_config>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2009-03-11 14:25:40 +01:00
|
|
|
<x>62.86427076032819</x>
|
|
|
|
<y>38.98246035522194</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2009-03-11 14:25:40 +01:00
|
|
|
<id>1</id>
|
|
|
|
</interface_config>
|
2010-03-29 12:52:22 +02:00
|
|
|
<motetype_identifier>sky1</motetype_identifier>
|
2009-03-11 14:25:40 +01:00
|
|
|
</mote>
|
|
|
|
</simulation>
|
|
|
|
<plugin>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.plugins.SimControl
|
2009-03-11 14:25:40 +01:00
|
|
|
<width>302</width>
|
2010-03-29 12:52:22 +02:00
|
|
|
<z>2</z>
|
2009-06-24 16:42:50 +02:00
|
|
|
<height>204</height>
|
|
|
|
<location_x>0</location_x>
|
2009-03-11 14:25:40 +01:00
|
|
|
<location_y>0</location_y>
|
|
|
|
<minimized>false</minimized>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.plugins.LogListener
|
2009-03-11 14:25:40 +01:00
|
|
|
<plugin_config>
|
|
|
|
<filter />
|
|
|
|
</plugin_config>
|
|
|
|
<width>690</width>
|
2010-03-29 12:52:22 +02:00
|
|
|
<z>1</z>
|
2009-03-11 14:25:40 +01:00
|
|
|
<height>190</height>
|
|
|
|
<location_x>0</location_x>
|
|
|
|
<location_y>457</location_y>
|
|
|
|
<minimized>false</minimized>
|
|
|
|
</plugin>
|
2009-06-24 16:42:50 +02:00
|
|
|
<plugin>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.plugins.ScriptRunner
|
2009-06-24 16:42:50 +02:00
|
|
|
<plugin_config>
|
|
|
|
<script>TIMEOUT(2000, log.log("last message: " + msg + "\n"));
|
|
|
|
|
2010-03-29 12:52:22 +02:00
|
|
|
WAIT_UNTIL(msg.contains('Contiki'));
|
2009-06-24 16:42:50 +02:00
|
|
|
log.testOK();</script>
|
|
|
|
<active>true</active>
|
|
|
|
</plugin_config>
|
|
|
|
<width>600</width>
|
2010-03-29 12:52:22 +02:00
|
|
|
<z>0</z>
|
2009-06-24 16:42:50 +02:00
|
|
|
<height>458</height>
|
|
|
|
<location_x>300</location_x>
|
|
|
|
<location_y>-1</location_y>
|
|
|
|
<minimized>false</minimized>
|
|
|
|
</plugin>
|
2009-03-11 14:25:40 +01:00
|
|
|
</simconf>
|
|
|
|
|