mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-06 11:08:42 +00:00
b5c94910ac
like /tools/mspsim. This is a very simple modification that affects a very large number of files in Contiki: Cooja, /platform/cooja, Collect-view, Coffe-manager, and Cooja simulation files (.csc). I've gone through Contiki to update all references I could find. Nevertheless, this commit will likely break external dependencies, like saved Cooja simulation files.
101 lines
3.9 KiB
XML
101 lines
3.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<simconf>
|
|
<simulation>
|
|
<title>Hello World test (Cooja motes)</title>
|
|
<randomseed>generated</randomseed>
|
|
<motedelay_us>1000000</motedelay_us>
|
|
<radiomedium>
|
|
org.contikios.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>
|
|
org.contikios.cooja.contikimote.ContikiMoteType
|
|
<identifier>mtype725</identifier>
|
|
<description>Contiki Mote Type #1</description>
|
|
<source>[CONTIKI_DIR]/examples/hello-world/hello-world.c</source>
|
|
<commands>make hello-world.cooja TARGET=cooja</commands>
|
|
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
|
|
<moteinterface>org.contikios.cooja.interfaces.Battery</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiVib</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiMoteID</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiRS232</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiBeeper</moteinterface>
|
|
<moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiIPAddress</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiRadio</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiButton</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiPIR</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiClock</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiLED</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiCFS</moteinterface>
|
|
<moteinterface>org.contikios.cooja.interfaces.Mote2MoteRelations</moteinterface>
|
|
<moteinterface>org.contikios.cooja.interfaces.MoteAttributes</moteinterface>
|
|
<symbols>false</symbols>
|
|
</motetype>
|
|
<mote>
|
|
<interface_config>
|
|
org.contikios.cooja.interfaces.Position
|
|
<x>69.64867743029201</x>
|
|
<y>69.2570131081022</y>
|
|
<z>0.0</z>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
|
|
<id>1</id>
|
|
</interface_config>
|
|
<motetype_identifier>mtype725</motetype_identifier>
|
|
</mote>
|
|
</simulation>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.Visualizer
|
|
<plugin_config>
|
|
<skin>org.contikios.cooja.plugins.skins.IDVisualizerSkin</skin>
|
|
<skin>org.contikios.cooja.plugins.skins.LogVisualizerSkin</skin>
|
|
<viewport>0.9090909090909091 0.0 0.0 0.9090909090909091 59.68302051791636 6.039078992634368</viewport>
|
|
</plugin_config>
|
|
<width>259</width>
|
|
<z>1</z>
|
|
<height>198</height>
|
|
<location_x>2</location_x>
|
|
<location_y>203</location_y>
|
|
</plugin>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.LogListener
|
|
<plugin_config>
|
|
<filter />
|
|
</plugin_config>
|
|
<width>259</width>
|
|
<z>2</z>
|
|
<height>217</height>
|
|
<location_x>2</location_x>
|
|
<location_y>403</location_y>
|
|
</plugin>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.SimControl
|
|
<width>259</width>
|
|
<z>3</z>
|
|
<height>200</height>
|
|
<location_x>2</location_x>
|
|
<location_y>3</location_y>
|
|
</plugin>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.ScriptRunner
|
|
<plugin_config>
|
|
<scriptfile>[CONFIG_DIR]/hello-world.js</scriptfile>
|
|
<active>true</active>
|
|
</plugin_config>
|
|
<width>592</width>
|
|
<z>0</z>
|
|
<height>618</height>
|
|
<location_x>318</location_x>
|
|
<location_y>61</location_y>
|
|
</plugin>
|
|
</simconf>
|
|
|