mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +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.
155 lines
5.9 KiB
Plaintext
155 lines
5.9 KiB
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<simconf>
|
|
<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/serial_socket</project>
|
|
<project EXPORT="discard">[CONTIKI_DIR]/tools/cooja/apps/collect-view</project>
|
|
<project EXPORT="discard">[CONTIKI_DIR]/tools/cooja/apps/powertracker</project>
|
|
<simulation>
|
|
<title>Example Demonstrating the Trickle Library's Functionality</title>
|
|
<delaytime>0</delaytime>
|
|
<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.mspmote.SkyMoteType
|
|
<identifier>sky1</identifier>
|
|
<description>trickle-tester</description>
|
|
<source EXPORT="discard">[CONTIKI_DIR]/examples/trickle-library/trickle-library.c</source>
|
|
<commands EXPORT="discard">make trickle-library.sky TARGET=sky</commands>
|
|
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/trickle-library/trickle-library.sky</firmware>
|
|
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
|
|
<moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
|
|
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
|
|
<moteinterface>org.contikios.cooja.interfaces.Mote2MoteRelations</moteinterface>
|
|
<moteinterface>org.contikios.cooja.interfaces.MoteAttributes</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>
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.SkyCoffeeFilesystem</moteinterface>
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.SkyByteRadio</moteinterface>
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.MspSerial</moteinterface>
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.SkyLED</moteinterface>
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.MspDebugOutput</moteinterface>
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.SkyTemperature</moteinterface>
|
|
</motetype>
|
|
<mote>
|
|
<breakpoints />
|
|
<interface_config>
|
|
org.contikios.cooja.interfaces.Position
|
|
<x>96.8286491032791</x>
|
|
<y>44.83363764767495</y>
|
|
<z>0.0</z>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
<id>1</id>
|
|
</interface_config>
|
|
<motetype_identifier>sky1</motetype_identifier>
|
|
</mote>
|
|
<mote>
|
|
<breakpoints />
|
|
<interface_config>
|
|
org.contikios.cooja.interfaces.Position
|
|
<x>26.625418506201424</x>
|
|
<y>62.32118900834971</y>
|
|
<z>0.0</z>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
<id>2</id>
|
|
</interface_config>
|
|
<motetype_identifier>sky1</motetype_identifier>
|
|
</mote>
|
|
<mote>
|
|
<breakpoints />
|
|
<interface_config>
|
|
org.contikios.cooja.interfaces.Position
|
|
<x>12.373988266345922</x>
|
|
<y>40.21870711164037</y>
|
|
<z>0.0</z>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
<id>3</id>
|
|
</interface_config>
|
|
<motetype_identifier>sky1</motetype_identifier>
|
|
</mote>
|
|
<mote>
|
|
<breakpoints />
|
|
<interface_config>
|
|
org.contikios.cooja.interfaces.Position
|
|
<x>38.44294323221424</x>
|
|
<y>17.14724376428426</y>
|
|
<z>0.0</z>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
<id>4</id>
|
|
</interface_config>
|
|
<motetype_identifier>sky1</motetype_identifier>
|
|
</mote>
|
|
<mote>
|
|
<breakpoints />
|
|
<interface_config>
|
|
org.contikios.cooja.interfaces.Position
|
|
<x>68.38248149463341</x>
|
|
<y>23.506083749222842</y>
|
|
<z>0.0</z>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
<id>5</id>
|
|
</interface_config>
|
|
<motetype_identifier>sky1</motetype_identifier>
|
|
</mote>
|
|
</simulation>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.Visualizer
|
|
<plugin_config>
|
|
<skin>org.contikios.cooja.plugins.skins.UDGMVisualizerSkin</skin>
|
|
<skin>org.contikios.cooja.plugins.skins.TrafficVisualizerSkin</skin>
|
|
<skin>org.contikios.cooja.plugins.skins.IDVisualizerSkin</skin>
|
|
<viewport>5.862188489126289 0.0 0.0 5.862188489126289 -4.083221885224075 -86.33855683341153</viewport>
|
|
</plugin_config>
|
|
<width>642</width>
|
|
<z>0</z>
|
|
<height>369</height>
|
|
<location_x>447</location_x>
|
|
<location_y>10</location_y>
|
|
</plugin>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.LogListener
|
|
<plugin_config>
|
|
<filter />
|
|
<coloring />
|
|
<hidedebug />
|
|
</plugin_config>
|
|
<width>1235</width>
|
|
<z>2</z>
|
|
<height>285</height>
|
|
<location_x>4</location_x>
|
|
<location_y>389</location_y>
|
|
</plugin>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.SimControl
|
|
<width>318</width>
|
|
<z>1</z>
|
|
<height>192</height>
|
|
<location_x>60</location_x>
|
|
<location_y>60</location_y>
|
|
</plugin>
|
|
</simconf>
|
|
|