2015-10-22 15:18:31 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<simconf>
|
|
|
|
<project EXPORT="discard">[CONTIKI_DIR]/tools/cooja/apps/mspsim</project>
|
|
|
|
<project EXPORT="discard">[CONTIKI_DIR]/tools/cooja/apps/serial_socket</project>
|
|
|
|
<project EXPORT="discard">[CONTIKI_DIR]/tools/cooja/apps/mrm</project>
|
|
|
|
<simulation>
|
|
|
|
<title>UDP Stream Example</title>
|
|
|
|
<delaytime>0</delaytime>
|
|
|
|
<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.SkyMoteType
|
|
|
|
<identifier>mote</identifier>
|
|
|
|
<description>mote</description>
|
|
|
|
<source EXPORT="discard">[CONTIKI_DIR]/examples/udp-stream/udp-stream.c</source>
|
|
|
|
<commands EXPORT="discard">make udp-stream.sky TARGET=sky</commands>
|
|
|
|
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/udp-stream/udp-stream.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.Msp802154Radio</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>mote</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.interfaces.Position
|
|
|
|
<x>70.87477363740156</x>
|
|
|
|
<y>31.656474063135494</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
|
|
<id>2</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>mote</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.interfaces.Position
|
|
|
|
<x>112.33402646502834</x>
|
|
|
|
<y>47.18506616257089</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
|
|
<id>3</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>mote</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.interfaces.Position
|
|
|
|
<x>132.53950850661624</x>
|
|
|
|
<y>78.99637996219282</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
|
|
<id>4</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>mote</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.interfaces.Position
|
|
|
|
<x>136.72844990548202</x>
|
|
|
|
<y>114.94735349716447</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
|
|
<id>5</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>mote</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
</simulation>
|
|
|
|
<plugin>
|
|
|
|
org.contikios.cooja.plugins.SimControl
|
|
|
|
<width>259</width>
|
|
|
|
<z>4</z>
|
|
|
|
<height>178</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>1.2465387687077096 0.0 0.0 1.2465387687077096 22.99764760264848 12.704392736072247</viewport>
|
|
|
|
</plugin_config>
|
|
|
|
<width>257</width>
|
|
|
|
<z>3</z>
|
|
|
|
<height>297</height>
|
|
|
|
<location_x>0</location_x>
|
|
|
|
<location_y>180</location_y>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
org.contikios.cooja.plugins.LogListener
|
|
|
|
<plugin_config>
|
|
|
|
<filter />
|
|
|
|
<coloring />
|
|
|
|
</plugin_config>
|
|
|
|
<width>568</width>
|
|
|
|
<z>2</z>
|
|
|
|
<height>663</height>
|
|
|
|
<location_x>257</location_x>
|
|
|
|
<location_y>-2</location_y>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
org.contikios.cooja.plugins.RadioLogger
|
|
|
|
<plugin_config>
|
|
|
|
<split>449</split>
|
|
|
|
<analyzers name="6lowpan" />
|
|
|
|
</plugin_config>
|
|
|
|
<width>605</width>
|
|
|
|
<z>1</z>
|
|
|
|
<height>661</height>
|
|
|
|
<location_x>824</location_x>
|
|
|
|
<location_y>0</location_y>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
org.contikios.cooja.plugins.TimeLine
|
|
|
|
<plugin_config>
|
|
|
|
<mote>0</mote>
|
|
|
|
<mote>1</mote>
|
|
|
|
<mote>2</mote>
|
|
|
|
<mote>3</mote>
|
|
|
|
<mote>4</mote>
|
|
|
|
<showRadioRXTX />
|
|
|
|
<showRadioHW />
|
|
|
|
<split>125</split>
|
|
|
|
<zoomfactor>100000.0</zoomfactor>
|
|
|
|
</plugin_config>
|
|
|
|
<width>1429</width>
|
|
|
|
<z>0</z>
|
|
|
|
<height>141</height>
|
|
|
|
<location_x>1</location_x>
|
|
|
|
<location_y>661</location_y>
|
|
|
|
</plugin>
|
|
|
|
</simconf>
|
|
|
|
|