2012-06-04 17:45:43 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<simconf>
|
|
|
|
<simulation>
|
|
|
|
<title>Hello World (MicaZ)</title>
|
|
|
|
<randomseed>generated</randomseed>
|
|
|
|
<motedelay_us>1000000</motedelay_us>
|
|
|
|
<radiomedium>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.radiomediums.UDGM
|
2012-06-04 17:45:43 +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.avrmote.MicaZMoteType
|
2012-06-04 17:45:43 +02:00
|
|
|
<identifier>micaz1</identifier>
|
|
|
|
<description>MicaZ Mote Type #micaz1</description>
|
|
|
|
<source>[CONTIKI_DIR]/examples/hello-world/hello-world.c</source>
|
|
|
|
<commands>make hello-world.elf TARGET=micaz</commands>
|
|
|
|
<firmware>[CONTIKI_DIR]/examples/hello-world/hello-world.elf</firmware>
|
2013-11-19 12:17:37 +01:00
|
|
|
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.avrmote.interfaces.MicaZID</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.avrmote.interfaces.MicaZLED</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.avrmote.interfaces.MicaZRadio</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.avrmote.interfaces.MicaClock</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.avrmote.interfaces.MicaSerial</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.interfaces.Mote2MoteRelations</moteinterface>
|
|
|
|
<moteinterface>org.contikios.cooja.interfaces.MoteAttributes</moteinterface>
|
2012-06-04 17:45:43 +02:00
|
|
|
</motetype>
|
|
|
|
<mote>
|
|
|
|
<interface_config>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2012-06-04 17:45:43 +02:00
|
|
|
<x>36.478849033811386</x>
|
|
|
|
<y>97.17795415366507</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.avrmote.interfaces.MicaZID
|
2012-06-04 17:45:43 +02:00
|
|
|
<id>1</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>micaz1</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
</simulation>
|
|
|
|
<plugin>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.plugins.SimControl
|
2012-06-04 17:45:43 +02:00
|
|
|
<width>280</width>
|
|
|
|
<z>2</z>
|
|
|
|
<height>160</height>
|
|
|
|
<location_x>17</location_x>
|
|
|
|
<location_y>16</location_y>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.plugins.LogListener
|
2012-06-04 17:45:43 +02:00
|
|
|
<plugin_config>
|
|
|
|
<filter />
|
|
|
|
</plugin_config>
|
|
|
|
<width>680</width>
|
|
|
|
<z>1</z>
|
|
|
|
<height>240</height>
|
|
|
|
<location_x>20</location_x>
|
|
|
|
<location_y>285</location_y>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2013-11-19 12:17:37 +01:00
|
|
|
org.contikios.cooja.plugins.ScriptRunner
|
2012-06-04 17:45:43 +02:00
|
|
|
<plugin_config>
|
|
|
|
<scriptfile>[CONFIG_DIR]/hello-world.js</scriptfile>
|
|
|
|
<active>true</active>
|
|
|
|
</plugin_config>
|
|
|
|
<width>600</width>
|
|
|
|
<z>0</z>
|
|
|
|
<height>535</height>
|
|
|
|
<location_x>403</location_x>
|
|
|
|
<location_y>23</location_y>
|
|
|
|
</plugin>
|
|
|
|
</simconf>
|
|
|
|
|