2008-09-17 21:54:15 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<simconf>
|
2009-03-11 13:25:40 +00:00
|
|
|
<project>../apps/mrm</project>
|
|
|
|
<project>../apps/mspsim</project>
|
2009-06-24 14:42:50 +00:00
|
|
|
<project>../apps/avrora</project>
|
2009-03-11 13:25:40 +00:00
|
|
|
<project>../apps/native_gateway</project>
|
2008-09-17 21:54:15 +00:00
|
|
|
<simulation>
|
2009-03-11 13:25:40 +00:00
|
|
|
<title>My simulation</title>
|
2008-09-17 21:54:15 +00:00
|
|
|
<delaytime>0</delaytime>
|
2009-06-24 14:42:50 +00:00
|
|
|
<randomseed>generated</randomseed>
|
|
|
|
<motedelay_us>1000000</motedelay_us>
|
2008-09-17 21:54:15 +00:00
|
|
|
<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.contikimote.ContikiMoteType
|
2009-06-24 14:42:50 +00:00
|
|
|
<identifier>mtype82</identifier>
|
2009-03-11 13:25:40 +00:00
|
|
|
<description>Contiki Mote Type #1</description>
|
|
|
|
<contikiapp>../../../examples/hello-world/hello-world.c</contikiapp>
|
|
|
|
<commands>make hello-world.cooja TARGET=cooja</commands>
|
2008-09-17 21:54:15 +00:00
|
|
|
<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.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>
|
2009-03-11 13:25:40 +00:00
|
|
|
<moteinterface>se.sics.cooja.interfaces.Mote2MoteRelations</moteinterface>
|
2009-06-24 14:42:50 +00:00
|
|
|
<moteinterface>se.sics.cooja.interfaces.RimeAddress</moteinterface>
|
2008-09-17 21:54:15 +00:00
|
|
|
<symbols>false</symbols>
|
|
|
|
<commstack>Rime</commstack>
|
|
|
|
</motetype>
|
|
|
|
<mote>
|
|
|
|
se.sics.cooja.contikimote.ContikiMote
|
2009-06-24 14:42:50 +00:00
|
|
|
<motetype_identifier>mtype82</motetype_identifier>
|
2008-09-17 21:54:15 +00:00
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.interfaces.Position
|
2009-03-11 13:25:40 +00:00
|
|
|
<x>69.64867743029201</x>
|
|
|
|
<y>69.2570131081022</y>
|
2008-09-17 21:54:15 +00:00
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
2008-11-05 18:20:30 +00:00
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.interfaces.Battery
|
|
|
|
<infinite>false</infinite>
|
|
|
|
</interface_config>
|
2008-09-17 21:54:15 +00:00
|
|
|
<interface_config>
|
|
|
|
se.sics.cooja.contikimote.interfaces.ContikiMoteID
|
|
|
|
<id>1</id>
|
|
|
|
</interface_config>
|
|
|
|
</mote>
|
|
|
|
</simulation>
|
2008-09-29 13:08:23 +00:00
|
|
|
<plugin>
|
2009-06-24 14:42:50 +00:00
|
|
|
se.sics.cooja.plugins.Visualizer
|
|
|
|
<plugin_config>
|
|
|
|
<skin>Mote IDs</skin>
|
|
|
|
<skin>Log output: printf()'s</skin>
|
|
|
|
</plugin_config>
|
|
|
|
<width>259</width>
|
2008-10-05 17:11:54 +00:00
|
|
|
<z>1</z>
|
2009-06-24 14:42:50 +00:00
|
|
|
<height>198</height>
|
|
|
|
<location_x>2</location_x>
|
|
|
|
<location_y>203</location_y>
|
2008-09-29 13:08:23 +00:00
|
|
|
<minimized>false</minimized>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2009-06-24 14:42:50 +00:00
|
|
|
se.sics.cooja.plugins.LogListener
|
|
|
|
<plugin_config>
|
|
|
|
<filter />
|
|
|
|
</plugin_config>
|
|
|
|
<width>259</width>
|
2008-10-05 17:11:54 +00:00
|
|
|
<z>2</z>
|
2009-06-24 14:42:50 +00:00
|
|
|
<height>217</height>
|
|
|
|
<location_x>2</location_x>
|
|
|
|
<location_y>403</location_y>
|
2008-09-29 13:08:23 +00:00
|
|
|
<minimized>false</minimized>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2009-06-24 14:42:50 +00:00
|
|
|
se.sics.cooja.plugins.SimControl
|
|
|
|
<width>259</width>
|
|
|
|
<z>3</z>
|
|
|
|
<height>200</height>
|
|
|
|
<location_x>2</location_x>
|
|
|
|
<location_y>3</location_y>
|
|
|
|
<minimized>false</minimized>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
se.sics.cooja.plugins.ScriptRunner
|
2008-09-29 13:08:23 +00:00
|
|
|
<plugin_config>
|
2009-06-24 14:42:50 +00:00
|
|
|
<script>TIMEOUT(2000, log.log("last message: " + msg + "\n"));
|
|
|
|
|
|
|
|
WAIT_UNTIL(msg.equals('Hello, world'));
|
|
|
|
log.testOK();</script>
|
|
|
|
<active>true</active>
|
2008-09-29 13:08:23 +00:00
|
|
|
</plugin_config>
|
2009-06-24 14:42:50 +00:00
|
|
|
<width>592</width>
|
2009-03-11 13:25:40 +00:00
|
|
|
<z>0</z>
|
2009-06-24 14:42:50 +00:00
|
|
|
<height>618</height>
|
|
|
|
<location_x>264</location_x>
|
|
|
|
<location_y>3</location_y>
|
2008-09-29 13:08:23 +00:00
|
|
|
<minimized>false</minimized>
|
|
|
|
</plugin>
|
2008-09-17 21:54:15 +00:00
|
|
|
</simconf>
|
|
|
|
|