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.
185 lines
7.6 KiB
Text
185 lines
7.6 KiB
Text
<?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>
|
|
<simulation>
|
|
<title>REST with RPL router</title>
|
|
<delaytime>-2147483648</delaytime>
|
|
<randomseed>123456</randomseed>
|
|
<motedelay_us>1000000</motedelay_us>
|
|
<radiomedium>
|
|
org.contikios.cooja.radiomediums.UDGM
|
|
<transmitting_range>50.0</transmitting_range>
|
|
<interference_range>50.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>rplroot</identifier>
|
|
<description>Sky RPL Root</description>
|
|
<source EXPORT="discard">[CONTIKI_DIR]/examples/ipv6/rpl-border-router/border-router.c</source>
|
|
<commands EXPORT="discard">make border-router.sky TARGET=sky</commands>
|
|
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/ipv6/rpl-border-router/border-router.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>
|
|
<motetype>
|
|
org.contikios.cooja.mspmote.SkyMoteType
|
|
<identifier>skyweb</identifier>
|
|
<description>Rest</description>
|
|
<source EXPORT="discard">[CONTIKI_DIR]/examples/rest-example/rest-server-example.c</source>
|
|
<commands EXPORT="discard">make rest-server-example.sky TARGET=sky</commands>
|
|
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/rest-example/rest-server-example.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>33.260163187353555</x>
|
|
<y>30.643217359962595</y>
|
|
<z>0.0</z>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
<id>1</id>
|
|
</interface_config>
|
|
<motetype_identifier>rplroot</motetype_identifier>
|
|
</mote>
|
|
<mote>
|
|
<breakpoints />
|
|
<interface_config>
|
|
org.contikios.cooja.interfaces.Position
|
|
<x>62.239287566073514</x>
|
|
<y>34.43810269527116</y>
|
|
<z>0.0</z>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
<id>2</id>
|
|
</interface_config>
|
|
<motetype_identifier>skyweb</motetype_identifier>
|
|
</mote>
|
|
<mote>
|
|
<breakpoints />
|
|
<interface_config>
|
|
org.contikios.cooja.interfaces.Position
|
|
<x>47.68359039801751</x>
|
|
<y>47.26544238238854</y>
|
|
<z>0.0</z>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
<id>3</id>
|
|
</interface_config>
|
|
<motetype_identifier>skyweb</motetype_identifier>
|
|
</mote>
|
|
</simulation>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.SimControl
|
|
<width>259</width>
|
|
<z>1</z>
|
|
<height>179</height>
|
|
<location_x>0</location_x>
|
|
<location_y>0</location_y>
|
|
</plugin>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.Visualizer
|
|
<plugin_config>
|
|
<skin>org.contikios.cooja.plugins.skins.IDVisualizerSkin</skin>
|
|
<skin>org.contikios.cooja.plugins.skins.UDGMVisualizerSkin</skin>
|
|
<skin>org.contikios.cooja.plugins.skins.MoteTypeVisualizerSkin</skin>
|
|
<skin>org.contikios.cooja.plugins.skins.AttributeVisualizerSkin</skin>
|
|
<viewport>10.505309204322225 0.0 0.0 10.505309204322225 -249.89475921566975 -141.01191150973983</viewport>
|
|
</plugin_config>
|
|
<width>819</width>
|
|
<z>5</z>
|
|
<height>563</height>
|
|
<location_x>35</location_x>
|
|
<location_y>306</location_y>
|
|
</plugin>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.LogListener
|
|
<plugin_config>
|
|
<filter />
|
|
</plugin_config>
|
|
<width>762</width>
|
|
<z>0</z>
|
|
<height>326</height>
|
|
<location_x>36</location_x>
|
|
<location_y>296</location_y>
|
|
</plugin>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.RadioLogger
|
|
<plugin_config>
|
|
<split>150</split>
|
|
<analyzers name="6lowpan" />
|
|
</plugin_config>
|
|
<width>815</width>
|
|
<z>4</z>
|
|
<height>385</height>
|
|
<location_x>255</location_x>
|
|
<location_y>8</location_y>
|
|
</plugin>
|
|
<plugin>
|
|
SerialSocketServer
|
|
<mote_arg>0</mote_arg>
|
|
<width>422</width>
|
|
<z>3</z>
|
|
<height>74</height>
|
|
<location_x>1234</location_x>
|
|
<location_y>93</location_y>
|
|
</plugin>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.TimeLine
|
|
<plugin_config>
|
|
<mote>0</mote>
|
|
<mote>1</mote>
|
|
<showRadioRXTX />
|
|
<showRadioHW />
|
|
<showLEDs />
|
|
<showWatchpoints />
|
|
<split>125</split>
|
|
<zoomfactor>25.49079397896416</zoomfactor>
|
|
</plugin_config>
|
|
<width>1624</width>
|
|
<z>2</z>
|
|
<height>252</height>
|
|
<location_x>166</location_x>
|
|
<location_y>699</location_y>
|
|
</plugin>
|
|
</simconf>
|
|
|