Merge pull request #453 from adamdunkels/push/travis-fix

Fix broken travis
This commit is contained in:
Adam Dunkels 2013-11-22 02:36:09 -08:00
commit 6265219775
25 changed files with 4075 additions and 3857 deletions

View File

@ -29,7 +29,7 @@ before_script:
export CC65_HOME=/tmp/cc65/ && cc65 --version || true"
## Compile cooja.jar only when it's going to be needed
- "[ ${BUILD_CATEGORY:-sim} = sim ] && java -version && ant -q -f tools/cooja/build.xml jar || true"
- "[ ${BUILD_CATEGORY:-sim} = sim ] && java -version && ant -q -f tools/cooja/build.xml jar && sudo java -Xshare:dump -version || true"
## IMPORTANT: The commands here have to end with `|| true`,
## because it would make the test fail if BUILD_TYPE test fails

View File

@ -1,17 +1,13 @@
<?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/native_gateway</project>
<project EXPORT="discard">[CONTIKI_DIR]/tools/cooja/apps/serial_socket</project>
<project EXPORT="discard">/home/user/contikiprojects/sics.se/mobility</project>
<project EXPORT="discard">[CONTIKI_DIR]/tools/cooja/apps/collect-view</project>
<project EXPORT="discard">/home/user/contikiprojects/sics.se/powertracker</project>
<project EXPORT="discard">/home/user/nes/papers/smartip-paper/code/cooja_qr</project>
<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>Rime collect test</title>
<delaytime>0</delaytime>
<randomseed>1</randomseed>
<motedelay_us>10000000</motedelay_us>
<radiomedium>
@ -26,9 +22,9 @@
</events>
<motetype>
org.contikios.cooja.contikimote.ContikiMoteType
<identifier>mtype949</identifier>
<identifier>mtype929</identifier>
<description>Contiki Mote Type #1</description>
<contikiapp>[CONTIKI_DIR]/examples/rime/example-collect.c</contikiapp>
<source>[CONTIKI_DIR]/examples/rime/example-collect.c</source>
<commands>make example-collect.cooja TARGET=cooja</commands>
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
<moteinterface>org.contikios.cooja.interfaces.Battery</moteinterface>
@ -59,7 +55,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>1</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -72,7 +72,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>2</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -85,7 +89,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>3</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -98,7 +106,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>4</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -111,7 +123,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>5</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -124,7 +140,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>6</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -137,7 +157,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>7</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -150,7 +174,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>8</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -163,7 +191,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>9</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -176,7 +208,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>10</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -189,7 +225,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>11</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -202,7 +242,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>12</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -215,7 +259,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>13</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -228,7 +276,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>14</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -241,7 +293,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>15</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -254,7 +310,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>16</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -267,7 +327,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>17</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -280,7 +344,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>18</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -293,7 +361,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>19</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -306,7 +378,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>20</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -319,7 +395,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>21</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -332,7 +412,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>22</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -345,7 +429,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>23</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -358,7 +446,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>24</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -371,7 +463,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>25</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -384,7 +480,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>26</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -397,7 +497,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>27</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -410,7 +514,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>28</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -423,7 +531,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>29</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -436,7 +548,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>30</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -449,7 +565,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>31</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -462,7 +582,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>32</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -475,7 +599,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>33</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -488,7 +616,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>34</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -501,7 +633,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>35</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -514,7 +650,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>36</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -527,7 +667,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>37</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -540,7 +684,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>38</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -553,7 +701,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>39</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -566,7 +718,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>40</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -579,7 +735,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>41</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -592,7 +752,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>42</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -605,7 +769,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>43</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -618,7 +786,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>44</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -631,7 +803,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>45</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -644,7 +820,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>46</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -657,7 +837,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>47</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -670,7 +854,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>48</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -683,7 +871,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>49</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
<mote>
<interface_config>
@ -696,7 +888,11 @@
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>50</id>
</interface_config>
<motetype_identifier>mtype949</motetype_identifier>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype929</motetype_identifier>
</mote>
</simulation>
<plugin>
@ -724,6 +920,8 @@
org.contikios.cooja.plugins.LogListener
<plugin_config>
<filter>ID:1</filter>
<formatted_time />
<coloring />
</plugin_config>
<width>933</width>
<z>2</z>

View File

@ -1,184 +1,181 @@
<?xml version="1.0" encoding="UTF-8"?>
<simconf>
<project>../apps/mrm</project>
<project>../apps/mspsim</project>
<project>../apps/avrora</project>
<project>../apps/native_gateway</project>
<simulation>
<title>My simulation</title>
<delaytime>0</delaytime>
<randomseed>generated</randomseed>
<motedelay_us>1000000</motedelay_us>
<radiomedium>
org.contikios.cooja.radiomediums.UDGM
<transmitting_range>25.0</transmitting_range>
<interference_range>40.0</interference_range>
<success_ratio_tx>0.99</success_ratio_tx>
<success_ratio_rx>1.0</success_ratio_rx>
</radiomedium>
<motetype>
org.contikios.cooja.contikimote.ContikiMoteType
<identifier>mtype296</identifier>
<description>Contiki Mote #1</description>
<contikiapp>[CONTIKI_DIR]/examples/rime/example-rucb.c</contikiapp>
<commands>make example-rucb.cooja TARGET=cooja</commands>
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
<moteinterface>org.contikios.cooja.interfaces.Battery</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiVib</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiMoteID</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiRS232</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiBeeper</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiIPAddress</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiRadio</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiButton</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiPIR</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiClock</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiLED</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiCFS</moteinterface>
<moteinterface>org.contikios.cooja.interfaces.Mote2MoteRelations</moteinterface>
<symbols>false</symbols>
<commstack>Rime</commstack>
</motetype>
<mote>
org.contikios.cooja.contikimote.ContikiMote
<motetype_identifier>mtype296</motetype_identifier>
<interface_config>
org.contikios.cooja.interfaces.Position
<x>0.0</x>
<y>50.00000000000001</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.interfaces.Battery
<infinite>false</infinite>
</interface_config>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>51</id>
</interface_config>
</mote>
<mote>
org.contikios.cooja.contikimote.ContikiMote
<motetype_identifier>mtype296</motetype_identifier>
<interface_config>
org.contikios.cooja.interfaces.Position
<x>14.102564102564104</x>
<y>45.28301886792453</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.interfaces.Battery
<infinite>false</infinite>
</interface_config>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>52</id>
</interface_config>
</mote>
<mote>
org.contikios.cooja.contikimote.ContikiMote
<motetype_identifier>mtype296</motetype_identifier>
<interface_config>
org.contikios.cooja.interfaces.Position
<x>-32.16814655285737</x>
<y>42.92182758760039</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.interfaces.Battery
<infinite>false</infinite>
</interface_config>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>53</id>
</interface_config>
</mote>
<mote>
org.contikios.cooja.contikimote.ContikiMote
<motetype_identifier>mtype296</motetype_identifier>
<interface_config>
org.contikios.cooja.interfaces.Position
<x>-1.5917258339289355</x>
<y>37.3750708005199</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.interfaces.Battery
<infinite>false</infinite>
</interface_config>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>54</id>
</interface_config>
</mote>
<mote>
org.contikios.cooja.contikimote.ContikiMote
<motetype_identifier>mtype296</motetype_identifier>
<interface_config>
org.contikios.cooja.interfaces.Position
<x>26.334899854939632</x>
<y>53.05390331866741</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.interfaces.Battery
<infinite>false</infinite>
</interface_config>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>55</id>
</interface_config>
</mote>
</simulation>
<plugin>
org.contikios.cooja.plugins.SimControl
<width>265</width>
<z>3</z>
<height>200</height>
<location_x>0</location_x>
<location_y>0</location_y>
<minimized>false</minimized>
</plugin>
<plugin>
org.contikios.cooja.plugins.LogListener
<plugin_config>
<filter />
</plugin_config>
<width>798</width>
<z>2</z>
<height>289</height>
<location_x>0</location_x>
<location_y>354</location_y>
<minimized>false</minimized>
</plugin>
<plugin>
org.contikios.cooja.plugins.Visualizer
<plugin_config>
<skin>Mote IDs</skin>
<skin>Radio environment (UDGM)</skin>
</plugin_config>
<width>265</width>
<z>0</z>
<height>155</height>
<location_x>0</location_x>
<location_y>200</location_y>
<minimized>false</minimized>
</plugin>
<plugin>
org.contikios.cooja.plugins.ScriptRunner
<plugin_config>
<script>TIMEOUT(120000);
WAIT_UNTIL(msg.startsWith('Completion time'));
log.testOK();</script>
<active>true</active>
</plugin_config>
<width>534</width>
<z>1</z>
<height>354</height>
<location_x>264</location_x>
<location_y>0</location_y>
<minimized>false</minimized>
</plugin>
</simconf>
<?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>generated</randomseed>
<motedelay_us>1000000</motedelay_us>
<radiomedium>
org.contikios.cooja.radiomediums.UDGM
<transmitting_range>25.0</transmitting_range>
<interference_range>40.0</interference_range>
<success_ratio_tx>0.99</success_ratio_tx>
<success_ratio_rx>1.0</success_ratio_rx>
</radiomedium>
<events>
<logoutput>40000</logoutput>
</events>
<motetype>
org.contikios.cooja.contikimote.ContikiMoteType
<identifier>mtype965</identifier>
<description>Contiki Mote #1</description>
<source>[CONTIKI_DIR]/examples/rime/example-rucb.c</source>
<commands>make example-rucb.cooja TARGET=cooja</commands>
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
<moteinterface>org.contikios.cooja.interfaces.Battery</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiVib</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiMoteID</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiRS232</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiBeeper</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiIPAddress</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiRadio</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiButton</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiPIR</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiClock</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiLED</moteinterface>
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiCFS</moteinterface>
<moteinterface>org.contikios.cooja.interfaces.Mote2MoteRelations</moteinterface>
<symbols>false</symbols>
</motetype>
<mote>
<interface_config>
org.contikios.cooja.interfaces.Position
<x>0.0</x>
<y>50.00000000000001</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>51</id>
</interface_config>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype965</motetype_identifier>
</mote>
<mote>
<interface_config>
org.contikios.cooja.interfaces.Position
<x>14.102564102564104</x>
<y>45.28301886792453</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>52</id>
</interface_config>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype965</motetype_identifier>
</mote>
<mote>
<interface_config>
org.contikios.cooja.interfaces.Position
<x>-32.16814655285737</x>
<y>42.92182758760039</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>53</id>
</interface_config>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype965</motetype_identifier>
</mote>
<mote>
<interface_config>
org.contikios.cooja.interfaces.Position
<x>-1.5917258339289355</x>
<y>37.3750708005199</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>54</id>
</interface_config>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype965</motetype_identifier>
</mote>
<mote>
<interface_config>
org.contikios.cooja.interfaces.Position
<x>26.334899854939632</x>
<y>53.05390331866741</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
<id>55</id>
</interface_config>
<interface_config>
org.contikios.cooja.contikimote.interfaces.ContikiRadio
<bitrate>250.0</bitrate>
</interface_config>
<motetype_identifier>mtype965</motetype_identifier>
</mote>
</simulation>
<plugin>
org.contikios.cooja.plugins.SimControl
<width>265</width>
<z>3</z>
<height>200</height>
<location_x>0</location_x>
<location_y>0</location_y>
</plugin>
<plugin>
org.contikios.cooja.plugins.LogListener
<plugin_config>
<filter />
<formatted_time />
<coloring />
</plugin_config>
<width>798</width>
<z>2</z>
<height>289</height>
<location_x>0</location_x>
<location_y>354</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>3.931419201604973 0.0 0.0 3.931419201604973 137.46646903794633 -127.75710261680608</viewport>
</plugin_config>
<width>265</width>
<z>0</z>
<height>155</height>
<location_x>0</location_x>
<location_y>200</location_y>
</plugin>
<plugin>
org.contikios.cooja.plugins.ScriptRunner
<plugin_config>
<script>TIMEOUT(120000);
WAIT_UNTIL(msg.startsWith('Completion time'));
log.testOK();</script>
<active>true</active>
</plugin_config>
<width>534</width>
<z>1</z>
<height>354</height>
<location_x>264</location_x>
<location_y>0</location_y>
</plugin>
</simconf>

View File

@ -1,136 +1,137 @@
<?xml version="1.0" encoding="UTF-8"?>
<simconf>
<project>../apps/mrm</project>
<project>../apps/mspsim</project>
<project>../apps/avrora</project>
<project>../apps/native_gateway</project>
<simulation>
<title>My simulation</title>
<delaytime>0</delaytime>
<randomseed>generated</randomseed>
<motedelay_us>5000000</motedelay_us>
<radiomedium>
org.contikios.cooja.radiomediums.UDGM
<transmitting_range>50.0</transmitting_range>
<interference_range>100.0</interference_range>
<success_ratio_tx>0.95</success_ratio_tx>
<success_ratio_rx>1.0</success_ratio_rx>
</radiomedium>
<motetype>
org.contikios.cooja.mspmote.SkyMoteType
<identifier>sky1</identifier>
<description>Sky Mote Type #1</description>
<source>[CONTIKI_DIR]/examples/rime/example-abc.c</source>
<commands>make clean TARGET=sky
make example-abc.sky TARGET=sky</commands>
<firmware>[CONTIKI_DIR]/examples/rime/example-abc.sky</firmware>
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
<moteinterface>org.contikios.cooja.interfaces.Mote2MoteRelations</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.SkyByteRadio</moteinterface>
<moteinterface>org.contikios.cooja.mspmote.interfaces.SkySerial</moteinterface>
<moteinterface>org.contikios.cooja.mspmote.interfaces.SkyLED</moteinterface>
</motetype>
<mote>
org.contikios.cooja.mspmote.SkyMote
<motetype_identifier>sky1</motetype_identifier>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>33.53152221759984</x>
<y>15.078801911773077</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>1</id>
</interface_config>
</mote>
<mote>
org.contikios.cooja.mspmote.SkyMote
<motetype_identifier>sky1</motetype_identifier>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>54.67966631314053</x>
<y>31.0253850381183</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>2</id>
</interface_config>
</mote>
</simulation>
<plugin>
org.contikios.cooja.plugins.SimControl
<width>313</width>
<z>3</z>
<height>199</height>
<location_x>-1</location_x>
<location_y>0</location_y>
<minimized>false</minimized>
</plugin>
<plugin>
org.contikios.cooja.plugins.Visualizer
<plugin_config>
<skin>Mote IDs</skin>
<skin>Radio environment (UDGM)</skin>
</plugin_config>
<width>312</width>
<z>2</z>
<height>123</height>
<location_x>0</location_x>
<location_y>198</location_y>
<minimized>false</minimized>
</plugin>
<plugin>
org.contikios.cooja.plugins.LogListener
<plugin_config>
<filter />
</plugin_config>
<width>311</width>
<z>0</z>
<height>377</height>
<location_x>1</location_x>
<location_y>320</location_y>
<minimized>false</minimized>
</plugin>
<plugin>
org.contikios.cooja.plugins.ScriptRunner
<plugin_config>
<script>TIMEOUT(100000, log.log("Node 1: " + nr_packets[1] + ".\nNode 2: " + nr_packets[2] + ".\n"));
nr_packets = new Array();
nr_packets[1] = 0;
nr_packets[2] = 0;
while (true) {
/* Only handle receive messages */
YIELD_THEN_WAIT_UNTIL(msg.contains('received'));
/* Count received packets */
nr_packets[id]++;
//log.log("Node " + id + " received " + nr_packets[id] + " messages\n");
if (nr_packets[1] &gt;= 4 &amp;&amp; nr_packets[2] &gt;= 4) {
log.log("Node 1: " + nr_packets[1] + ".\nNode 2: " + nr_packets[2] + ".\n");
log.testOK(); /* Report test success */
}
}</script>
<active>true</active>
</plugin_config>
<width>601</width>
<z>1</z>
<height>697</height>
<location_x>312</location_x>
<location_y>0</location_y>
<minimized>false</minimized>
</plugin>
</simconf>
<?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>generated</randomseed>
<motedelay_us>5000000</motedelay_us>
<radiomedium>
org.contikios.cooja.radiomediums.UDGM
<transmitting_range>50.0</transmitting_range>
<interference_range>100.0</interference_range>
<success_ratio_tx>0.95</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 #1</description>
<source EXPORT="discard">[CONTIKI_DIR]/examples/rime/example-abc.c</source>
<commands EXPORT="discard">make clean TARGET=sky
make example-abc.sky TARGET=sky</commands>
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/rime/example-abc.sky</firmware>
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
<moteinterface>org.contikios.cooja.interfaces.Mote2MoteRelations</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.Msp802154Radio</moteinterface>
<moteinterface>org.contikios.cooja.mspmote.interfaces.MspSerial</moteinterface>
<moteinterface>org.contikios.cooja.mspmote.interfaces.SkyLED</moteinterface>
</motetype>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>33.53152221759984</x>
<y>15.078801911773077</y>
<z>0.0</z>
</interface_config>
<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
<x>54.67966631314053</x>
<y>31.0253850381183</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>2</id>
</interface_config>
<motetype_identifier>sky1</motetype_identifier>
</mote>
</simulation>
<plugin>
org.contikios.cooja.plugins.SimControl
<width>313</width>
<z>3</z>
<height>199</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>
<viewport>3.93358704057683 0.0 0.0 3.93358704057683 -23.493194019199933 -56.677416151212064</viewport>
</plugin_config>
<width>312</width>
<z>2</z>
<height>123</height>
<location_x>0</location_x>
<location_y>198</location_y>
</plugin>
<plugin>
org.contikios.cooja.plugins.LogListener
<plugin_config>
<filter />
<formatted_time />
<coloring />
</plugin_config>
<width>311</width>
<z>0</z>
<height>377</height>
<location_x>1</location_x>
<location_y>320</location_y>
</plugin>
<plugin>
org.contikios.cooja.plugins.ScriptRunner
<plugin_config>
<script>TIMEOUT(100000, log.log("Node 1: " + nr_packets[1] + ".\nNode 2: " + nr_packets[2] + ".\n"));
nr_packets = new Array();
nr_packets[1] = 0;
nr_packets[2] = 0;
while (true) {
/* Only handle receive messages */
YIELD_THEN_WAIT_UNTIL(msg.contains('received'));
/* Count received packets */
nr_packets[id]++;
//log.log("Node " + id + " received " + nr_packets[id] + " messages\n");
if (nr_packets[1] &gt;= 4 &amp;&amp; nr_packets[2] &gt;= 4) {
log.log("Node 1: " + nr_packets[1] + ".\nNode 2: " + nr_packets[2] + ".\n");
log.testOK(); /* Report test success */
}
}</script>
<active>true</active>
</plugin_config>
<width>601</width>
<z>1</z>
<height>697</height>
<location_x>312</location_x>
<location_y>0</location_y>
</plugin>
</simconf>

View File

@ -1,157 +1,155 @@
<?xml version="1.0" encoding="UTF-8"?>
<simconf>
<project>../apps/mrm</project>
<project>../apps/mspsim</project>
<project>../apps/avrora</project>
<project>../apps/native_gateway</project>
<simulation>
<title>Deluge</title>
<delaytime>0</delaytime>
<randomseed>generated</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>
<motetype>
org.contikios.cooja.mspmote.SkyMoteType
<identifier>sky1</identifier>
<description>Sky Mote Type #1</description>
<source>[CONTIKI_DIR]/examples/sky/test-deluge.c</source>
<commands>make clean TARGET=sky
make APPS=deluge test-deluge.sky TARGET=sky</commands>
<firmware>[CONTIKI_DIR]/examples/sky/test-deluge.sky</firmware>
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
<moteinterface>org.contikios.cooja.interfaces.Mote2MoteRelations</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.SkyByteRadio</moteinterface>
<moteinterface>org.contikios.cooja.mspmote.interfaces.SkySerial</moteinterface>
<moteinterface>org.contikios.cooja.mspmote.interfaces.SkyLED</moteinterface>
</motetype>
<mote>
org.contikios.cooja.mspmote.SkyMote
<motetype_identifier>sky1</motetype_identifier>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>22.464792491653174</x>
<y>11.3235347656354</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>1</id>
</interface_config>
</mote>
<mote>
org.contikios.cooja.mspmote.SkyMote
<motetype_identifier>sky1</motetype_identifier>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>16.167564578306468</x>
<y>29.89745599030348</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>3</id>
</interface_config>
</mote>
<mote>
org.contikios.cooja.mspmote.SkyMote
<motetype_identifier>sky1</motetype_identifier>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>63.42409596590043</x>
<y>12.470791515046386</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>5</id>
</interface_config>
</mote>
</simulation>
<plugin>
org.contikios.cooja.plugins.SimControl
<width>282</width>
<z>4</z>
<height>212</height>
<location_x>0</location_x>
<location_y>0</location_y>
<minimized>false</minimized>
</plugin>
<plugin>
org.contikios.cooja.plugins.Visualizer
<plugin_config>
<skin>Mote IDs</skin>
<skin>Radio environment (UDGM)</skin>
</plugin_config>
<width>283</width>
<z>2</z>
<height>144</height>
<location_x>-1</location_x>
<location_y>212</location_y>
<minimized>false</minimized>
</plugin>
<plugin>
org.contikios.cooja.plugins.ScriptRunner
<plugin_config>
<script>TIMEOUT(100000, log.log("last msg: " + msg + "\n")); /* print last msg at timeout */
WAIT_UNTIL(id == 3 &amp;&amp; msg.contains("version 1"));
log.log("Node 3 got version 1\n");
WAIT_UNTIL(id == 5 &amp;&amp; msg.contains("version 1"));
log.log("Node 5 got version 1\n");
log.testOK(); /* Report test success and quit */</script>
<active>true</active>
</plugin_config>
<width>600</width>
<z>1</z>
<height>357</height>
<location_x>281</location_x>
<location_y>1</location_y>
<minimized>false</minimized>
</plugin>
<plugin>
org.contikios.cooja.plugins.TimeLine
<plugin_config>
<mote>0</mote>
<mote>1</mote>
<mote>2</mote>
<showRadioRXTX />
<split>109</split>
<zoom>9</zoom>
</plugin_config>
<width>882</width>
<z>3</z>
<height>149</height>
<location_x>-1</location_x>
<location_y>357</location_y>
<minimized>false</minimized>
</plugin>
<plugin>
org.contikios.cooja.plugins.LogListener
<plugin_config>
<filter />
</plugin_config>
<width>882</width>
<z>0</z>
<height>195</height>
<location_x>-1</location_x>
<location_y>504</location_y>
<minimized>false</minimized>
</plugin>
</simconf>
<?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>Deluge</title>
<randomseed>generated</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>sky1</identifier>
<description>Sky Mote Type #1</description>
<source EXPORT="discard">[CONTIKI_DIR]/examples/sky/test-deluge.c</source>
<commands EXPORT="discard">make clean TARGET=sky
make APPS=deluge test-deluge.sky TARGET=sky</commands>
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/sky/test-deluge.sky</firmware>
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
<moteinterface>org.contikios.cooja.interfaces.Mote2MoteRelations</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.Msp802154Radio</moteinterface>
<moteinterface>org.contikios.cooja.mspmote.interfaces.MspSerial</moteinterface>
<moteinterface>org.contikios.cooja.mspmote.interfaces.SkyLED</moteinterface>
</motetype>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>22.464792491653174</x>
<y>11.3235347656354</y>
<z>0.0</z>
</interface_config>
<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
<x>16.167564578306468</x>
<y>29.89745599030348</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>3</id>
</interface_config>
<motetype_identifier>sky1</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>63.42409596590043</x>
<y>12.470791515046386</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>5</id>
</interface_config>
<motetype_identifier>sky1</motetype_identifier>
</mote>
</simulation>
<plugin>
org.contikios.cooja.plugins.SimControl
<width>282</width>
<z>4</z>
<height>212</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>
<viewport>4.405003166995177 0.0 0.0 4.405003166995177 -40.3007583818182 -45.78929741329485</viewport>
</plugin_config>
<width>283</width>
<z>2</z>
<height>144</height>
<location_x>-1</location_x>
<location_y>212</location_y>
</plugin>
<plugin>
org.contikios.cooja.plugins.ScriptRunner
<plugin_config>
<script>TIMEOUT(100000, log.log("last msg: " + msg + "\n")); /* print last msg at timeout */
WAIT_UNTIL(id == 3 &amp;&amp; msg.contains("version 1"));
log.log("Node 3 got version 1\n");
WAIT_UNTIL(id == 5 &amp;&amp; msg.contains("version 1"));
log.log("Node 5 got version 1\n");
log.testOK(); /* Report test success and quit */</script>
<active>true</active>
</plugin_config>
<width>600</width>
<z>1</z>
<height>357</height>
<location_x>281</location_x>
<location_y>1</location_y>
</plugin>
<plugin>
org.contikios.cooja.plugins.TimeLine
<plugin_config>
<mote>0</mote>
<mote>1</mote>
<mote>2</mote>
<showRadioRXTX />
<zoomfactor>500.0</zoomfactor>
</plugin_config>
<width>882</width>
<z>3</z>
<height>149</height>
<location_x>-1</location_x>
<location_y>357</location_y>
</plugin>
<plugin>
org.contikios.cooja.plugins.LogListener
<plugin_config>
<filter />
<formatted_time />
<coloring />
</plugin_config>
<width>882</width>
<z>0</z>
<height>195</height>
<location_x>-1</location_x>
<location_y>504</location_y>
</plugin>
</simconf>

View File

@ -1,208 +1,212 @@