2010-04-30 15:52:48 +00:00
|
|
|
<?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/mobility</project>
|
|
|
|
<simulation>
|
|
|
|
<title>Data collection network using IPv6 and RPL</title>
|
|
|
|
<delaytime>0</delaytime>
|
|
|
|
<randomseed>generated</randomseed>
|
|
|
|
<motedelay_us>5000000</motedelay_us>
|
|
|
|
<radiomedium>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.radiomediums.UDGM
|
2010-04-30 15:52:48 +00:00
|
|
|
<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>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.SkyMoteType
|
2010-04-30 15:52:48 +00:00
|
|
|
<identifier>sky1</identifier>
|
|
|
|
<description>Sky Mote Type #sky1</description>
|
|
|
|
<source EXPORT="discard">[CONTIKI_DIR]/examples/ipv6/rpl-udp/udp-server.c</source>
|
|
|
|
<commands EXPORT="discard">make udp-server.sky TARGET=sky</commands>
|
|
|
|
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/ipv6/rpl-udp/udp-server.sky</firmware>
|
2013-11-19 11:17:37 +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>
|
2014-07-23 13:42:59 +00:00
|
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.Msp802154Radio</moteinterface>
|
2013-11-19 11:17:37 +00:00
|
|
|
<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>
|
2010-04-30 15:52:48 +00:00
|
|
|
</motetype>
|
|
|
|
<motetype>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.SkyMoteType
|
2010-04-30 15:52:48 +00:00
|
|
|
<identifier>sky2</identifier>
|
|
|
|
<description>Sky Mote Type #sky2</description>
|
|
|
|
<source EXPORT="discard">[CONTIKI_DIR]/examples/ipv6/rpl-udp/udp-client.c</source>
|
|
|
|
<commands EXPORT="discard">make udp-client.sky TARGET=sky</commands>
|
|
|
|
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/ipv6/rpl-udp/udp-client.sky</firmware>
|
2013-11-19 11:17:37 +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>
|
2014-07-23 13:42:59 +00:00
|
|
|
<moteinterface>org.contikios.cooja.mspmote.interfaces.Msp802154Radio</moteinterface>
|
2013-11-19 11:17:37 +00:00
|
|
|
<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>
|
2010-04-30 15:52:48 +00:00
|
|
|
</motetype>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>48.435974731198804</x>
|
|
|
|
<y>-66.16503914182063</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>1</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky1</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>4.049356309774755</x>
|
|
|
|
<y>98.28771308774003</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>2</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>127.9689727848476</x>
|
|
|
|
<y>91.71883780610729</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>3</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>57.897299848739024</x>
|
|
|
|
<y>92.47229665488265</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>4</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>47.34887596588397</x>
|
|
|
|
<y>-30.341495695501195</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>5</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>47.13486576528276</x>
|
|
|
|
<y>32.944481932122315</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>6</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>-11.42091423859419</x>
|
|
|
|
<y>17.879870626121914</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>7</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>118.92746659954325</x>
|
|
|
|
<y>57.05973076244069</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>8</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>53.68872892015448</x>
|
|
|
|
<y>59.887319605093715</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>9</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>16.45706316609417</x>
|
|
|
|
<y>23.9075414163248</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>10</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>-18.9555027263478</x>
|
|
|
|
<y>75.14274313304935</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>11</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>29.265863595275306</x>
|
|
|
|
<y>85.6911670159044</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>12</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>-39.298891643282545</x>
|
|
|
|
<y>-3.9704359883635574</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>13</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>66.93880603404335</x>
|
|
|
|
<y>-42.39683727590697</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>14</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>94.81678343873172</x>
|
|
|
|
<y>26.921376811426246</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>15</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>-43.06618588715935</x>
|
|
|
|
<y>30.68867105530305</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>16</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>-34.02467970185502</x>
|
|
|
|
<y>-24.313824905298304</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>17</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>-28.750467760427494</x>
|
|
|
|
<y>48.01822457713635</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>18</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>124.95513738974614</x>
|
|
|
|
<y>20.140247172447996</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>19</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>15.703604317318808</x>
|
|
|
|
<y>-47.6710492173345</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>20</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>-40.05235049205791</x>
|
|
|
|
<y>92.47229665488265</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>21</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>121.18784314586934</x>
|
|
|
|
<y>-24.313824905298304</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>22</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>88.03565379975346</x>
|
|
|
|
<y>-44.657213822233054</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>23</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>24.745110502623138</x>
|
|
|
|
<y>-1.7100594420374744</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>24</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>94.06332458995635</x>
|
|
|
|
<y>-2.4635182908128352</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>25</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>-4.639784599615941</x>
|
|
|
|
<y>-9.998106778566445</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>26</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>-13.681290784920272</x>
|
|
|
|
<y>-50.684884612435944</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>27</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>103.10483077526068</x>
|
|
|
|
<y>96.99304974753483</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>28</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>8.922474678340558</x>
|
|
|
|
<y>59.320107308766765</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>29</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>58.650758697514384</x>
|
|
|
|
<y>2.8106936506146916</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>30</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
<mote>
|
|
|
|
<breakpoints />
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.interfaces.Position
|
2010-04-30 15:52:48 +00:00
|
|
|
<x>90.59867707439</x>
|
|
|
|
<y>67.97632874312737</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</interface_config>
|
|
|
|
<interface_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.mspmote.interfaces.MspMoteID
|
2010-04-30 15:52:48 +00:00
|
|
|
<id>31</id>
|
|
|
|
</interface_config>
|
|
|
|
<motetype_identifier>sky2</motetype_identifier>
|
|
|
|
</mote>
|
|
|
|
</simulation>
|
|
|
|
<plugin>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.plugins.SimControl
|
2010-04-30 15:52:48 +00:00
|
|
|
<width>259</width>
|
2010-05-25 15:29:04 +00:00
|
|
|
<z>1</z>
|
2010-04-30 15:52:48 +00:00
|
|
|
<height>184</height>
|
|
|
|
<location_x>0</location_x>
|
|
|
|
<location_y>0</location_y>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.plugins.Visualizer
|
2010-04-30 15:52:48 +00:00
|
|
|
<plugin_config>
|
2013-11-19 11:17:37 +00:00
|
|
|
<skin>org.contikios.cooja.plugins.skins.IDVisualizerSkin</skin>
|
|
|
|
<skin>org.contikios.cooja.plugins.skins.UDGMVisualizerSkin</skin>
|
|
|
|
<skin>org.contikios.cooja.plugins.skins.AttributeVisualizerSkin</skin>
|
2010-05-21 13:45:04 +00:00
|
|
|
<viewport>2.349818846983307 0.0 0.0 2.349818846983307 150.19773526533348 176.95275613586946</viewport>
|
2010-04-30 15:52:48 +00:00
|
|
|
</plugin_config>
|
2010-05-21 13:45:04 +00:00
|
|
|
<width>520</width>
|
2010-05-25 15:29:04 +00:00
|
|
|
<z>3</z>
|
2010-05-21 13:45:04 +00:00
|
|
|
<height>523</height>
|
|
|
|
<location_x>269</location_x>
|
|
|
|
<location_y>14</location_y>
|
2010-04-30 15:52:48 +00:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.plugins.LogListener
|
2010-04-30 15:52:48 +00:00
|
|
|
<plugin_config>
|
|
|
|
<filter />
|
|
|
|
</plugin_config>
|
2010-05-25 15:29:04 +00:00
|
|
|
<width>937</width>
|
2010-04-30 15:52:48 +00:00
|
|
|
<z>0</z>
|
2010-05-21 13:45:04 +00:00
|
|
|
<height>213</height>
|
2010-05-25 15:29:04 +00:00
|
|
|
<location_x>21</location_x>
|
|
|
|
<location_y>464</location_y>
|
2010-04-30 15:52:48 +00:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2013-11-19 11:17:37 +00:00
|
|
|
org.contikios.cooja.plugins.ScriptRunner
|
2010-04-30 15:52:48 +00:00
|
|
|
<plugin_config>
|
|
|
|
<script>TIMEOUT(12000000, log.log("Total PRR " + totalPRR + "\n"));
|
|
|
|
packetsReceived= new Array();
|
|
|
|
packetsSent = new Array();
|
|
|
|
serverID = 1;
|
|
|
|
nodeCount = 31;
|
|
|
|
totalPRR = 0;
|
|
|
|
|
|
|
|
for(i = 0; i <= nodeCount; i++) {
|
|
|
|
packetsReceived[i] = 0;
|
|
|
|
packetsSent[i] = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
while(1) {
|
|
|
|
YIELD();
|
|
|
|
|
|
|
|
msgArray = msg.split(' ');
|
|
|
|
if(msgArray[0].equals("DATA")) {
|
|
|
|
if(msgArray.length == 9) {
|
|
|
|
// Received packet
|
|
|
|
senderID = parseInt(msgArray[8]);
|
|
|
|
packetsReceived[senderID]++;
|
|
|
|
|
|
|
|
log.log("SenderID " + senderID + " PRR " + packetsReceived[senderID] / packetsSent[senderID] + "\n");
|
|
|
|
totalReceived = totalSent = 0;
|
|
|
|
for(i = serverID + 1; i <= nodeCount; i++) {
|
|
|
|
totalReceived += packetsReceived[i];
|
|
|
|
totalSent += packetsSent[i];
|
|
|
|
}
|
|
|
|
totalPRR = totalReceived / totalSent;
|
|
|
|
log.log("Total PRR " + totalPRR + " recv " + totalReceived + " sent " + totalSent + "\n");
|
|
|
|
} else if(msgArray.length == 6) {
|
|
|
|
// Sent packet
|
|
|
|
packetsSent[id]++;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}</script>
|
|
|
|
<active>true</active>
|
|
|
|
</plugin_config>
|
|
|
|
<width>600</width>
|
2010-05-25 15:29:04 +00:00
|
|
|
<z>2</z>
|
2010-04-30 15:52:48 +00:00
|
|
|
<height>700</height>
|
|
|
|
<location_x>665</location_x>
|
|
|
|
<location_y>6</location_y>
|
|
|
|
</plugin>
|
|
|
|
</simconf>
|
|
|
|
|