mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-21 19:29:18 +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.
167 lines
6.7 KiB
Plaintext
167 lines
6.7 KiB
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<simconf>
|
|
<project EXPORT="discard">[APPS_DIR]/mrm</project>
|
|
<project EXPORT="discard">[APPS_DIR]/mspsim</project>
|
|
<project EXPORT="discard">[APPS_DIR]/avrora</project>
|
|
<project EXPORT="discard">[APPS_DIR]/serial_socket</project>
|
|
<project EXPORT="discard">[APPS_DIR]/collect-view</project>
|
|
<project EXPORT="discard">[APPS_DIR]/powertracker</project>
|
|
<simulation>
|
|
<title>My simulation</title>
|
|
<randomseed>123456</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.Exp5438MoteType
|
|
<identifier>exp5438#1</identifier>
|
|
<description>Sender</description>
|
|
<source EXPORT="discard">[CONTIKI_DIR]/regression-tests/11-ipv6/code/sender/unicast-sender.c</source>
|
|
<commands EXPORT="discard">make clean TARGET=exp5438
|
|
make unicast-sender.exp5438 DEFINES=NETSTACK_CONF_RDC=nullrdc_driver,SIZE=500,BUFSIZE=600 TARGET=exp5438</commands>
|
|
<firmware EXPORT="copy">[CONTIKI_DIR]/regression-tests/11-ipv6/code/sender/unicast-sender.exp5438</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.Msp802154Radio</moteinterface>
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.UsciA1Serial</moteinterface>
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.Exp5438LED</moteinterface>
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.MspDebugOutput</moteinterface>
|
|
</motetype>
|
|
<motetype>
|
|
org.contikios.cooja.mspmote.Exp5438MoteType
|
|
<identifier>exp5438#2</identifier>
|
|
<description>Receiver</description>
|
|
<source EXPORT="discard">[CONTIKI_DIR]/regression-tests/11-ipv6/code/receiver/udp-receiver.c</source>
|
|
<commands EXPORT="discard">make clean TARGET=exp5438
|
|
make udp-receiver.exp5438 DEFINES=NETSTACK_CONF_RDC=nullrdc_driver TARGET=exp5438</commands>
|
|
<firmware EXPORT="copy">[CONTIKI_DIR]/regression-tests/11-ipv6/code/receiver/udp-receiver.exp5438</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.Msp802154Radio</moteinterface>
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.UsciA1Serial</moteinterface>
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.Exp5438LED</moteinterface>
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.MspDebugOutput</moteinterface>
|
|
</motetype>
|
|
<mote>
|
|
<breakpoints />
|
|
<interface_config>
|
|
org.contikios.cooja.interfaces.Position
|
|
<x>40.305234290431166</x>
|
|
<y>41.884881003965305</y>
|
|
<z>0.0</z>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
<id>1</id>
|
|
</interface_config>
|
|
<motetype_identifier>exp5438#1</motetype_identifier>
|
|
</mote>
|
|
<mote>
|
|
<breakpoints />
|
|
<interface_config>
|
|
org.contikios.cooja.interfaces.Position
|
|
<x>65.38552901873047</x>
|
|
<y>40.93246474846026</y>
|
|
<z>0.0</z>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
<id>2</id>
|
|
</interface_config>
|
|
<motetype_identifier>exp5438#2</motetype_identifier>
|
|
</mote>
|
|
</simulation>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.SimControl
|
|
<width>280</width>
|
|
<z>0</z>
|
|
<height>160</height>
|
|
<location_x>400</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>
|
|
<viewport>6.299766478490424 0.0 0.0 6.299766478490424 -160.913563890561 -119.86496930434095</viewport>
|
|
</plugin_config>
|
|
<width>400</width>
|
|
<z>2</z>
|
|
<height>400</height>
|
|
<location_x>1</location_x>
|
|
<location_y>1</location_y>
|
|
</plugin>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.LogListener
|
|
<plugin_config>
|
|
<filter />
|
|
<formatted_time />
|
|
</plugin_config>
|
|
<width>1200</width>
|
|
<z>5</z>
|
|
<height>240</height>
|
|
<location_x>400</location_x>
|
|
<location_y>160</location_y>
|
|
</plugin>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.TimeLine
|
|
<plugin_config>
|
|
<mote>0</mote>
|
|
<mote>1</mote>
|
|
<showRadioRXTX />
|
|
<showRadioHW />
|
|
<showLEDs />
|
|
<zoomfactor>500.0</zoomfactor>
|
|
</plugin_config>
|
|
<width>1600</width>
|
|
<z>4</z>
|
|
<height>166</height>
|
|
<location_x>0</location_x>
|
|
<location_y>539</location_y>
|
|
</plugin>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.Notes
|
|
<plugin_config>
|
|
<notes>Enter notes here</notes>
|
|
<decorations>true</decorations>
|
|
</plugin_config>
|
|
<width>920</width>
|
|
<z>3</z>
|
|
<height>160</height>
|
|
<location_x>680</location_x>
|
|
<location_y>0</location_y>
|
|
</plugin>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.ScriptRunner
|
|
<plugin_config>
|
|
<scriptfile>[CONFIG_DIR]/fragmentation-should-receive-none.js</scriptfile>
|
|
<active>true</active>
|
|
</plugin_config>
|
|
<width>618</width>
|
|
<z>1</z>
|
|
<height>399</height>
|
|
<location_x>645</location_x>
|
|
<location_y>128</location_y>
|
|
</plugin>
|
|
</simconf>
|
|
|