80 lines
2.8 KiB
Text
80 lines
2.8 KiB
Text
<?xml version="1.0" encoding="UTF-8"?>
|
|
<simconf>
|
|
<project>../apps/mrm</project>
|
|
<project>../apps/mspsim</project>
|
|
<project>../apps/avrora</project>
|
|
<project>../apps/native_gateway</project>
|
|
<simulation>
|
|
<title>Hello World (Sky)</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>
|
|
<motetype>
|
|
se.sics.cooja.mspmote.SkyMoteType
|
|
<identifier>sky1</identifier>
|
|
<description>Sky Mote Type #1</description>
|
|
<source>../../../examples/hello-world/hello-world.c</source>
|
|
<commands>make clean TARGET=sky
|
|
make hello-world.sky TARGET=sky</commands>
|
|
<firmware>../../../examples/hello-world/hello-world.sky</firmware>
|
|
<moteinterface>se.sics.cooja.interfaces.Position</moteinterface>
|
|
<moteinterface>se.sics.cooja.interfaces.IPAddress</moteinterface>
|
|
<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>
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.SkySerial</moteinterface>
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.SkyLED</moteinterface>
|
|
</motetype>
|
|
<mote>
|
|
se.sics.cooja.mspmote.SkyMote
|
|
<motetype_identifier>sky1</motetype_identifier>
|
|
<breakpoints />
|
|
<interface_config>
|
|
se.sics.cooja.interfaces.Position
|
|
<x>64.11203103628397</x>
|
|
<y>93.06735634828134</y>
|
|
<z>0.0</z>
|
|
</interface_config>
|
|
<interface_config>
|
|
se.sics.cooja.mspmote.interfaces.MspMoteID
|
|
<id>1</id>
|
|
</interface_config>
|
|
</mote>
|
|
</simulation>
|
|
<plugin>
|
|
se.sics.cooja.plugins.SimControl
|
|
<width>248</width>
|
|
<z>1</z>
|
|
<height>200</height>
|
|
<location_x>0</location_x>
|
|
<location_y>0</location_y>
|
|
<minimized>false</minimized>
|
|
</plugin>
|
|
<plugin>
|
|
se.sics.cooja.plugins.ScriptRunner
|
|
<plugin_config>
|
|
<script>TIMEOUT(2000, log.log("last message: " + msg + "\n"));
|
|
|
|
WAIT_UNTIL(msg.equals('Hello, world'));
|
|
log.testOK();</script>
|
|
<active>true</active>
|
|
</plugin_config>
|
|
<width>541</width>
|
|
<z>0</z>
|
|
<height>448</height>
|
|
<location_x>248</location_x>
|
|
<location_y>-1</location_y>
|
|
<minimized>false</minimized>
|
|
</plugin>
|
|
</simconf>
|
|
|