2015-10-22 13:18:31 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<simconf>
|
2015-08-20 15:13:46 +00:00
|
|
|
<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]/powertracker</project>
|
2015-10-22 13:18:31 +00:00
|
|
|
<simulation>
|
2017-10-30 20:46:45 +00:00
|
|
|
<title>RPL-UDP Example</title>
|
2015-10-22 13:18:31 +00:00
|
|
|
<randomseed>generated</randomseed>
|
|
|
|
<motedelay_us>5000000</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>sky1</identifier>
|
|
|
|
<description>Sky Mote Type #sky1</description>
|
2017-10-28 23:15:03 +00:00
|
|
|
<source EXPORT="discard">[CONTIKI_DIR]/examples/rpl-udp/udp-server.c</source>
|
2018-04-13 09:58:54 +00:00
|
|
|
<commands EXPORT="discard">make udp-server.sky TARGET=sky</commands>
|
2017-10-28 23:15:03 +00:00
|
|
|
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/rpl-udp/udp-server.sky</firmware>
|
2015-10-22 13:18:31 +00:00
|
|
|
<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>
|
|
|
|
<motetype>
|
|
|
|
org.contikios.cooja.mspmote.SkyMoteType
|
|
|
|
<identifier>sky2</identifier>
|
|
|
|
<description>Sky Mote Type #sky2</description>
|
2017-10-28 23:15:03 +00:00
|
|
|
<source EXPORT="discard">[CONTIKI_DIR]/examples/rpl-udp/udp-client.c</source>
|
2018-04-13 09:58:54 +00:00
|
|
|
<commands EXPORT="discard">make udp-client.sky TARGET=sky</commands>
|
2017-10-28 23:15:03 +00:00
|
|
|
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/rpl-udp/udp-client.sky</firmware>
|
2015-10-22 13:18:31 +00:00
|
|
|
<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
|
2017-10-30 20:46:45 +00:00
|
|
|
<x>30.051578821079996</x>
|
|
|
|
<y>-64.69428746901113</y>
|
2015-10-22 13:18:31 +00:00
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
2015-08-20 15:13:46 +00:00
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.mspmote.interfaces.MspClock
|
|
|
|
<deviation>1.0</deviation>
|
|
|
|
</interface_config>
|
2015-10-22 13:18:31 +00:00
|
|
|
<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
|
2017-10-30 20:46:45 +00:00
|
|
|
<x>21.31366587648077</x>
|
|
|
|
<y>-34.91404431659299</y>
|
2015-10-22 13:18:31 +00:00
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
2015-08-20 15:13:46 +00:00
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.mspmote.interfaces.MspClock
|
|
|
|
<deviation>1.0</deviation>
|
|
|
|
</interface_config>
|
2015-10-22 13:18:31 +00:00
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
|
|
<id>2</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.interfaces.Position
|
2017-10-30 20:46:45 +00:00
|
|
|
<x>57.165216906562264</x>
|
|
|
|
<y>-34.02362118358309</y>
|
2015-10-22 13:18:31 +00:00
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
2015-08-20 15:13:46 +00:00
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.mspmote.interfaces.MspClock
|
|
|
|
<deviation>1.0</deviation>
|
|
|
|
</interface_config>
|
2015-10-22 13:18:31 +00:00
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
|
|
<id>3</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.interfaces.Position
|
2017-10-30 20:46:45 +00:00
|
|
|
<x>75.1786320042507</x>
|
|
|
|
<y>-60.441618586411096</y>
|
2015-10-22 13:18:31 +00:00
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
2015-08-20 15:13:46 +00:00
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.mspmote.interfaces.MspClock
|
|
|
|
<deviation>1.0</deviation>
|
|
|
|
</interface_config>
|
2015-10-22 13:18:31 +00:00
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
|
|
<id>4</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.interfaces.Position
|
2017-10-30 20:46:45 +00:00
|
|
|
<x>59.11488934836</x>
|
|
|
|
<y>-7.544844766953879</y>
|
2015-10-22 13:18:31 +00:00
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
2015-08-20 15:13:46 +00:00
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.mspmote.interfaces.MspClock
|
|
|
|
<deviation>1.0</deviation>
|
|
|
|
</interface_config>
|
2015-10-22 13:18:31 +00:00
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
|
|
<id>5</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.interfaces.Position
|
2017-10-30 20:46:45 +00:00
|
|
|
<x>91.720430365082</x>
|
|
|
|
<y>-22.736406051209734</y>
|
2015-10-22 13:18:31 +00:00
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
2015-08-20 15:13:46 +00:00
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.mspmote.interfaces.MspClock
|
|
|
|
<deviation>1.0</deviation>
|
|
|
|
</interface_config>
|
2015-10-22 13:18:31 +00:00
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
|
|
<id>6</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.interfaces.Position
|
2017-10-30 20:46:45 +00:00
|
|
|
<x>92.90372351580778</x>
|
|
|
|
<y>2.532304558933846</y>
|
2015-10-22 13:18:31 +00:00
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
2015-08-20 15:13:46 +00:00
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.mspmote.interfaces.MspClock
|
|
|
|
<deviation>1.0</deviation>
|
|
|
|
</interface_config>
|
2015-10-22 13:18:31 +00:00
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
|
|
<id>7</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.interfaces.Position
|
2017-10-30 20:46:45 +00:00
|
|
|
<x>120.28246466847423</x>
|
|
|
|
<y>19.133402903417824</y>
|
2015-10-22 13:18:31 +00:00
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
2015-08-20 15:13:46 +00:00
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.mspmote.interfaces.MspClock
|
|
|
|
<deviation>1.0</deviation>
|
|
|
|
</interface_config>
|
2015-10-22 13:18:31 +00:00
|
|
|
<interface_config>
|
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
|
|
|
<id>8</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
</simulation>
|
|
|
|
<plugin>
|
|
|
|
org.contikios.cooja.plugins.SimControl
|
2017-10-30 20:46:45 +00:00
|
|
|
<width>249</width>
|
|
|
|
<z>4</z>
|
2015-10-22 13:18:31 +00:00
|
|
|
<height>184</height>
|
2015-08-20 15:13:46 +00:00
|
|
|
<location_x>3</location_x>
|
|
|
|
<location_y>15</location_y>
|
2015-10-22 13:18:31 +00:00
|
|
|
</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.AttributeVisualizerSkin</skin>
|
2017-10-30 20:46:45 +00:00
|
|
|
<viewport>1.3598488697820064 0.0 0.0 1.3598488697820064 6.142207908179105 118.20877091196155</viewport>
|
2015-10-22 13:18:31 +00:00
|
|
|
</plugin_config>
|
2017-10-30 20:46:45 +00:00
|
|
|
<width>234</width>
|
|
|
|
<z>1</z>
|
|
|
|
<height>227</height>
|
2015-08-20 15:13:46 +00:00
|
|
|
<location_x>14</location_x>
|
|
|
|
<location_y>210</location_y>
|
2015-10-22 13:18:31 +00:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
org.contikios.cooja.plugins.LogListener
|
|
|
|
<plugin_config>
|
|
|
|
<filter />
|
2015-08-20 15:13:46 +00:00
|
|
|
<formatted_time />
|
|
|
|
<coloring />
|
2015-10-22 13:18:31 +00:00
|
|
|
</plugin_config>
|
2017-10-30 20:46:45 +00:00
|
|
|
<width>1011</width>
|
2015-10-22 13:18:31 +00:00
|
|
|
<z>0</z>
|
2017-10-30 20:46:45 +00:00
|
|
|
<height>556</height>
|
|
|
|
<location_x>759</location_x>
|
|
|
|
<location_y>7</location_y>
|
2015-10-22 13:18:31 +00:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2017-10-30 20:46:45 +00:00
|
|
|
org.contikios.cooja.plugins.TimeLine
|
2015-10-22 13:18:31 +00:00
|
|
|
<plugin_config>
|
2017-10-30 20:46:45 +00:00
|
|
|
<mote>0</mote>
|
|
|
|
<mote>1</mote>
|
|
|
|
<mote>2</mote>
|
|
|
|
<mote>3</mote>
|
|
|
|
<mote>4</mote>
|
|
|
|
<mote>5</mote>
|
|
|
|
<mote>6</mote>
|
|
|
|
<mote>7</mote>
|
|
|
|
<showRadioRXTX />
|
|
|
|
<showRadioHW />
|
|
|
|
<showLEDs />
|
|
|
|
<zoomfactor>681.712557066089</zoomfactor>
|
2015-10-22 13:18:31 +00:00
|
|
|
</plugin_config>
|
2017-10-30 20:46:45 +00:00
|
|
|
<width>1804</width>
|
|
|
|
<z>3</z>
|
|
|
|
<height>352</height>
|
|
|
|
<location_x>0</location_x>
|
|
|
|
<location_y>567</location_y>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
org.contikios.cooja.plugins.RadioLogger
|
|
|
|
<plugin_config>
|
|
|
|
<split>150</split>
|
|
|
|
<formatted_time />
|
|
|
|
<showdups>false</showdups>
|
|
|
|
<hidenodests>false</hidenodests>
|
|
|
|
</plugin_config>
|
|
|
|
<width>500</width>
|
|
|
|
<z>2</z>
|
|
|
|
<height>546</height>
|
|
|
|
<location_x>259</location_x>
|
|
|
|
<location_y>12</location_y>
|
2015-10-22 13:18:31 +00:00
|
|
|
</plugin>
|
|
|
|
</simconf>
|
|
|
|
|