1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <project>[CONTIKI_DIR]/tools/cooja/apps/mrm
</project>
4 <project>[CONTIKI_DIR]/tools/cooja/apps/mspsim
</project>
5 <project>[CONTIKI_DIR]/tools/cooja/apps/avrora
</project>
7 <title>My simulation
</title>
8 <delaytime>0</delaytime>
9 <randomseed>generated
</randomseed>
10 <motedelay_us>5000000</motedelay_us>
12 se.sics.cooja.radiomediums.UDGM
13 <transmitting_range>50.0</transmitting_range>
14 <interference_range>50.0</interference_range>
15 <success_ratio_tx>0.5</success_ratio_tx>
16 <success_ratio_rx>1.0</success_ratio_rx>
19 <logoutput>40000</logoutput>
22 se.sics.cooja.mspmote.SkyMoteType
23 <identifier>sky1
</identifier>
24 <description>Sky Mote Type #
1</description>
25 <source>[CONTIKI_DIR]/examples/rime/example-abc.c
</source>
26 <commands>make clean TARGET=sky
27 make example-abc.sky TARGET=sky DEFINES=NETSTACK_MAC=nullmac_driver,NETSTACK_RDC=nullrdc_driver
</commands>
28 <firmware>[CONTIKI_DIR]/examples/rime/example-abc.sky
</firmware>
29 <moteinterface>se.sics.cooja.interfaces.Position
</moteinterface>
30 <moteinterface>se.sics.cooja.interfaces.IPAddress
</moteinterface>
31 <moteinterface>se.sics.cooja.interfaces.Mote2MoteRelations
</moteinterface>
32 <moteinterface>se.sics.cooja.mspmote.interfaces.MspClock
</moteinterface>
33 <moteinterface>se.sics.cooja.mspmote.interfaces.MspMoteID
</moteinterface>
34 <moteinterface>se.sics.cooja.mspmote.interfaces.SkyButton
</moteinterface>
35 <moteinterface>se.sics.cooja.mspmote.interfaces.SkyFlash
</moteinterface>
36 <moteinterface>se.sics.cooja.mspmote.interfaces.SkyByteRadio
</moteinterface>
37 <moteinterface>se.sics.cooja.mspmote.interfaces.MspSerial
</moteinterface>
38 <moteinterface>se.sics.cooja.mspmote.interfaces.SkyLED
</moteinterface>
39 <moteinterface>se.sics.cooja.interfaces.RimeAddress
</moteinterface>
40 <moteinterface>se.sics.cooja.mspmote.interfaces.SkyCoffeeFilesystem
</moteinterface>
41 <moteinterface>se.sics.cooja.mspmote.interfaces.MspDebugOutput
</moteinterface>
44 se.sics.cooja.mspmote.ESBMoteType
45 <identifier>esb1
</identifier>
46 <description>ESB Mote Type #
1</description>
47 <source>[CONTIKI_DIR]/examples/rime/example-abc.c
</source>
48 <commands>make clean TARGET=esb
49 make example-abc.esb TARGET=esb DEFINES=NETSTACK_MAC=nullmac_driver,NETSTACK_RDC=nullrdc_driver
</commands>
50 <firmware>[CONTIKI_DIR]/examples/rime/example-abc.esb
</firmware>
51 <moteinterface>se.sics.cooja.interfaces.Position
</moteinterface>
52 <moteinterface>se.sics.cooja.interfaces.IPAddress
</moteinterface>
53 <moteinterface>se.sics.cooja.mspmote.interfaces.MspSerial
</moteinterface>
54 <moteinterface>se.sics.cooja.mspmote.interfaces.MspClock
</moteinterface>
55 <moteinterface>se.sics.cooja.mspmote.interfaces.ESBLED
</moteinterface>
56 <moteinterface>se.sics.cooja.mspmote.interfaces.ESBButton
</moteinterface>
57 <moteinterface>se.sics.cooja.mspmote.interfaces.MspMoteID
</moteinterface>
58 <moteinterface>se.sics.cooja.mspmote.interfaces.TR1001Radio
</moteinterface>
59 <moteinterface>se.sics.cooja.interfaces.Mote2MoteRelations
</moteinterface>
60 <moteinterface>se.sics.cooja.interfaces.RimeAddress
</moteinterface>
63 se.sics.cooja.contikimote.ContikiMoteType
64 <identifier>mtype430
</identifier>
65 <description>Contiki Mote Type #
1</description>
66 <contikiapp>[CONTIKI_DIR]/examples/rime/example-abc.c
</contikiapp>
67 <commands>make example-abc.cooja TARGET=cooja DEFINES=NETSTACK_MAC=nullmac_driver,NETSTACK_RDC=nullrdc_driver
</commands>
68 <moteinterface>se.sics.cooja.interfaces.Position
</moteinterface>
69 <moteinterface>se.sics.cooja.interfaces.Battery
</moteinterface>
70 <moteinterface>se.sics.cooja.contikimote.interfaces.ContikiVib
</moteinterface>
71 <moteinterface>se.sics.cooja.contikimote.interfaces.ContikiMoteID
</moteinterface>
72 <moteinterface>se.sics.cooja.contikimote.interfaces.ContikiRS232
</moteinterface>
73 <moteinterface>se.sics.cooja.contikimote.interfaces.ContikiBeeper
</moteinterface>
74 <moteinterface>se.sics.cooja.contikimote.interfaces.ContikiIPAddress
</moteinterface>
75 <moteinterface>se.sics.cooja.contikimote.interfaces.ContikiRadio
</moteinterface>
76 <moteinterface>se.sics.cooja.contikimote.interfaces.ContikiButton
</moteinterface>
77 <moteinterface>se.sics.cooja.contikimote.interfaces.ContikiPIR
</moteinterface>
78 <moteinterface>se.sics.cooja.contikimote.interfaces.ContikiClock
</moteinterface>
79 <moteinterface>se.sics.cooja.contikimote.interfaces.ContikiLED
</moteinterface>
80 <moteinterface>se.sics.cooja.contikimote.interfaces.ContikiCFS
</moteinterface>
81 <moteinterface>se.sics.cooja.interfaces.Mote2MoteRelations
</moteinterface>
82 <moteinterface>se.sics.cooja.interfaces.RimeAddress
</moteinterface>
83 <symbols>false
</symbols>
86 se.sics.cooja.motes.ImportAppMoteType
87 <identifier>apptype1
</identifier>
88 <description>Application Mote Type #apptype1
</description>
89 <motepath>[CONTIKI_DIR]/tools/cooja/examples/appmote_rimeabc
</motepath>
90 <moteclass>RimeABC
</moteclass>
94 se.sics.cooja.interfaces.Position
95 <x>199.49101781472754</x>
96 <y>-
95.62813700240686</y>
100 se.sics.cooja.contikimote.interfaces.ContikiMoteID
103 <motetype_identifier>mtype430
</motetype_identifier>
107 se.sics.cooja.interfaces.Position
108 <x>98.81565434011203</x>
109 <y>11.842061334190785</y>
113 se.sics.cooja.contikimote.interfaces.ContikiMoteID
116 <motetype_identifier>mtype430
</motetype_identifier>
121 se.sics.cooja.interfaces.Position
122 <x>-
6.590009891330797</x>
123 <y>-
126.908292993505</y>
127 se.sics.cooja.mspmote.interfaces.MspMoteID
130 <motetype_identifier>sky1
</motetype_identifier>
135 se.sics.cooja.interfaces.Position
136 <x>-
2.909991539436897</x>
137 <y>-
95.62813700240686</y>
141 se.sics.cooja.mspmote.interfaces.MspMoteID
144 <motetype_identifier>sky1
</motetype_identifier>
149 se.sics.cooja.interfaces.Position
150 <x>96.4505039616984</x>
151 <y>-
95.62813700240686</y>
155 se.sics.cooja.mspmote.interfaces.MspMoteID
158 <motetype_identifier>esb1
</motetype_identifier>
163 se.sics.cooja.interfaces.Position
164 <x>-
1.2018609210334443</x>
165 <y>15.546413751270247</y>
169 se.sics.cooja.mspmote.interfaces.MspMoteID
172 <motetype_identifier>esb1
</motetype_identifier>
176 se.sics.cooja.interfaces.Position
177 <x>-
3.557828103468252</x>
178 <y>112.32835838975996</y>
182 se.sics.cooja.contikimote.interfaces.ContikiMoteID
185 <motetype_identifier>mtype430
</motetype_identifier>
190 se.sics.cooja.interfaces.Position
191 <x>197.65100863878064</x>
192 <y>-
130.5883113453989</y>
196 se.sics.cooja.mspmote.interfaces.MspMoteID
199 <motetype_identifier>sky1
</motetype_identifier>
204 se.sics.cooja.interfaces.Position
205 <x>-
3.0540371295731754</x>
206 <y>-
15.940581793905181</y>
210 se.sics.cooja.mspmote.interfaces.MspMoteID
213 <motetype_identifier>esb1
</motetype_identifier>
218 se.sics.cooja.interfaces.Position
219 <x>92.7704856098045</x>
220 <y>-
128.74830216945196</y>
224 se.sics.cooja.mspmote.interfaces.MspMoteID
227 <motetype_identifier>sky1
</motetype_identifier>
232 se.sics.cooja.interfaces.Position
233 <x>98.81565434011203</x>
234 <y>-
17.792758002444913</y>
238 se.sics.cooja.mspmote.interfaces.MspMoteID
241 <motetype_identifier>esb1
</motetype_identifier>
245 se.sics.cooja.motes.AbstractApplicationMoteType$SimpleMoteID
249 se.sics.cooja.interfaces.Position
250 <x>199.74274129227032</x>
251 <y>4.324930898273846</y>
254 <motetype_identifier>apptype1
</motetype_identifier>
258 se.sics.cooja.motes.AbstractApplicationMoteType$SimpleMoteID
262 se.sics.cooja.interfaces.Position
263 <x>291.4419800282441</x>
264 <y>-
99.28851117819308</y>
267 <motetype_identifier>apptype1
</motetype_identifier>
271 se.sics.cooja.motes.AbstractApplicationMoteType$SimpleMoteID
275 se.sics.cooja.interfaces.Position
276 <x>-
5.495536655521387</x>
277 <y>179.73520343003455</y>
280 <motetype_identifier>apptype1
</motetype_identifier>
284 se.sics.cooja.motes.AbstractApplicationMoteType$SimpleMoteID
288 se.sics.cooja.interfaces.Position
289 <x>-
3.8119538152129264</x>
290 <y>201.62178035404452</y>
293 <motetype_identifier>apptype1
</motetype_identifier>
297 se.sics.cooja.motes.AbstractApplicationMoteType$SimpleMoteID
301 se.sics.cooja.interfaces.Position
302 <x>100.5701822839116</x>
303 <y>109.02472413707922</y>
306 <motetype_identifier>apptype1
</motetype_identifier>
311 se.sics.cooja.interfaces.Position
312 <x>289.58980381970434</x>
313 <y>-
130.77550672336852</y>
317 se.sics.cooja.mspmote.interfaces.MspMoteID
320 <motetype_identifier>sky1
</motetype_identifier>
325 se.sics.cooja.interfaces.Position
326 <x>196.5661698954619</x>
327 <y>-
22.675925974597682</y>
331 se.sics.cooja.mspmote.interfaces.MspMoteID
334 <motetype_identifier>esb1
</motetype_identifier>
338 se.sics.cooja.interfaces.Position
339 <x>100.5701822839116</x>
340 <y>85.45456437276077</y>
344 se.sics.cooja.contikimote.interfaces.ContikiMoteID
347 <motetype_identifier>mtype430
</motetype_identifier>
351 se.sics.cooja.interfaces.Position
352 <x>-
5.14611380187246</x>
353 <y>83.73921581848423</y>
357 se.sics.cooja.contikimote.interfaces.ContikiMoteID
360 <motetype_identifier>mtype430
</motetype_identifier>
364 se.sics.cooja.plugins.SimControl
368 <location_x>0</location_x>
369 <location_y>1</location_y>
370 <minimized>false
</minimized>
373 se.sics.cooja.plugins.LogListener
380 <location_x>0</location_x>
381 <location_y>524</location_y>
382 <minimized>false
</minimized>
385 se.sics.cooja.plugins.RadioLogger
392 <location_x>260</location_x>
393 <location_y>369</location_y>
394 <minimized>false
</minimized>
397 se.sics.cooja.plugins.ScriptRunner
399 <script>TIMEOUT(
120000);
402 var nr_packets = new Array();
403 for (i=
1; i
<= NR_NODES; i++) {
409 /* Listen for receive notifications */
410 if (msg.contains(
"abc message received 'Hello'")) {
412 /* Log receiving node */
414 log.log(
"Node " + id +
" received message: " + nr_packets[id] +
"\n");
416 log.log(
"TEST STATUS: ");
417 log.log(
" S-S " + nr_packets[
1] +
"-" + nr_packets[
2]);
418 log.log(
" S-E " + nr_packets[
3] +
"-" + nr_packets[
4]);
419 log.log(
" S-C " + nr_packets[
5] +
"-" + nr_packets[
6]);
420 log.log(
" S-A " + nr_packets[
7] +
"-" + nr_packets[
8]);
421 log.log(
" E-E " + nr_packets[
9] +
"-" + nr_packets[
10]);
422 log.log(
" E-C " + nr_packets[
11] +
"-" + nr_packets[
12]);
423 log.log(
" E-A " + nr_packets[
13] +
"-" + nr_packets[
14]);
424 log.log(
" C-C " + nr_packets[
15] +
"-" + nr_packets[
16]);
425 log.log(
" C-A " + nr_packets[
17] +
"-" + nr_packets[
18]);
426 log.log(
" A-A " + nr_packets[
19] +
"-" + nr_packets[
20]);
430 /* Did all NR_NODES receive at least three messages? */
431 for (i =
1; i
<= NR_NODES; i++) {
432 if (nr_packets[i]
< 3) break;
434 if (i == NR_NODES+
1) {
440 <active>true
</active>
445 <location_x>264</location_x>
446 <location_y>0</location_y>
447 <minimized>false
</minimized>
450 se.sics.cooja.plugins.TimeLine
480 <location_x>-
1</location_x>
481 <location_y>655</location_y>
482 <minimized>false
</minimized>
485 se.sics.cooja.plugins.Visualizer
487 <skin>se.sics.cooja.plugins.skins.IDVisualizerSkin
</skin>
488 <skin>se.sics.cooja.plugins.skins.MoteTypeVisualizerSkin
</skin>
489 <skin>se.sics.cooja.plugins.skins.UDGMVisualizerSkin
</skin>
490 <skin>se.sics.cooja.plugins.skins.TrafficVisualizerSkin
</skin>
491 <viewport>0.5766712294536613 0.0 0.0 0.5766712294536613 36.4700887534336 117.76935499005339</viewport>
496 <location_x>0</location_x>
497 <location_y>201</location_y>
498 <minimized>false
</minimized>