Added support for the FTP standalone client to the c64 target.
[contiki-2.x.git] / tools / cooja / contiki_tests / crosslevel.csc
blob16cc5f5dbe801dcd14e54a75fd3c0368061f9b83
1 <?xml version="1.0" encoding="UTF-8"?>
2 <simconf>
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>
6 <simulation>
7 <title>My simulation</title>
8 <delaytime>0</delaytime>
9 <randomseed>generated</randomseed>
10 <motedelay_us>5000000</motedelay_us>
11 <radiomedium>
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>
17 </radiomedium>
18 <events>
19 <logoutput>40000</logoutput>
20 </events>
21 <motetype>
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>
42 </motetype>
43 <motetype>
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>
61 </motetype>
62 <motetype>
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>
84 </motetype>
85 <motetype>
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>
91 </motetype>
92 <mote>
93 <interface_config>
94 se.sics.cooja.interfaces.Position
95 <x>199.49101781472754</x>
96 <y>-95.62813700240686</y>
97 <z>0.0</z>
98 </interface_config>
99 <interface_config>
100 se.sics.cooja.contikimote.interfaces.ContikiMoteID
101 <id>6</id>
102 </interface_config>
103 <motetype_identifier>mtype430</motetype_identifier>
104 </mote>
105 <mote>
106 <interface_config>
107 se.sics.cooja.interfaces.Position
108 <x>98.81565434011203</x>
109 <y>11.842061334190785</y>
110 <z>0.0</z>
111 </interface_config>
112 <interface_config>
113 se.sics.cooja.contikimote.interfaces.ContikiMoteID
114 <id>12</id>
115 </interface_config>
116 <motetype_identifier>mtype430</motetype_identifier>
117 </mote>
118 <mote>
119 <breakpoints />
120 <interface_config>
121 se.sics.cooja.interfaces.Position
122 <x>-6.590009891330797</x>
123 <y>-126.908292993505</y>
124 <z>0.0</z>
125 </interface_config>
126 <interface_config>
127 se.sics.cooja.mspmote.interfaces.MspMoteID
128 <id>1</id>
129 </interface_config>
130 <motetype_identifier>sky1</motetype_identifier>
131 </mote>
132 <mote>
133 <breakpoints />
134 <interface_config>
135 se.sics.cooja.interfaces.Position
136 <x>-2.909991539436897</x>
137 <y>-95.62813700240686</y>
138 <z>0.0</z>
139 </interface_config>
140 <interface_config>
141 se.sics.cooja.mspmote.interfaces.MspMoteID
142 <id>2</id>
143 </interface_config>
144 <motetype_identifier>sky1</motetype_identifier>
145 </mote>
146 <mote>
147 <breakpoints />
148 <interface_config>
149 se.sics.cooja.interfaces.Position
150 <x>96.4505039616984</x>
151 <y>-95.62813700240686</y>
152 <z>0.0</z>
153 </interface_config>
154 <interface_config>
155 se.sics.cooja.mspmote.interfaces.MspMoteID
156 <id>4</id>
157 </interface_config>
158 <motetype_identifier>esb1</motetype_identifier>
159 </mote>
160 <mote>
161 <breakpoints />
162 <interface_config>
163 se.sics.cooja.interfaces.Position
164 <x>-1.2018609210334443</x>
165 <y>15.546413751270247</y>
166 <z>0.0</z>
167 </interface_config>
168 <interface_config>
169 se.sics.cooja.mspmote.interfaces.MspMoteID
170 <id>10</id>
171 </interface_config>
172 <motetype_identifier>esb1</motetype_identifier>
173 </mote>
174 <mote>
175 <interface_config>
176 se.sics.cooja.interfaces.Position
177 <x>-3.557828103468252</x>
178 <y>112.32835838975996</y>
179 <z>0.0</z>
180 </interface_config>
181 <interface_config>
182 se.sics.cooja.contikimote.interfaces.ContikiMoteID
183 <id>16</id>
184 </interface_config>
185 <motetype_identifier>mtype430</motetype_identifier>
186 </mote>
187 <mote>
188 <breakpoints />
189 <interface_config>
190 se.sics.cooja.interfaces.Position
191 <x>197.65100863878064</x>
192 <y>-130.5883113453989</y>
193 <z>0.0</z>
194 </interface_config>
195 <interface_config>
196 se.sics.cooja.mspmote.interfaces.MspMoteID
197 <id>5</id>
198 </interface_config>
199 <motetype_identifier>sky1</motetype_identifier>
200 </mote>
201 <mote>
202 <breakpoints />
203 <interface_config>
204 se.sics.cooja.interfaces.Position
205 <x>-3.0540371295731754</x>
206 <y>-15.940581793905181</y>
207 <z>0.0</z>
208 </interface_config>
209 <interface_config>
210 se.sics.cooja.mspmote.interfaces.MspMoteID
211 <id>9</id>
212 </interface_config>
213 <motetype_identifier>esb1</motetype_identifier>
214 </mote>
215 <mote>
216 <breakpoints />
217 <interface_config>
218 se.sics.cooja.interfaces.Position
219 <x>92.7704856098045</x>
220 <y>-128.74830216945196</y>
221 <z>0.0</z>
222 </interface_config>
223 <interface_config>
224 se.sics.cooja.mspmote.interfaces.MspMoteID
225 <id>3</id>
226 </interface_config>
227 <motetype_identifier>sky1</motetype_identifier>
228 </mote>
229 <mote>
230 <breakpoints />
231 <interface_config>
232 se.sics.cooja.interfaces.Position
233 <x>98.81565434011203</x>
234 <y>-17.792758002444913</y>
235 <z>0.0</z>
236 </interface_config>
237 <interface_config>
238 se.sics.cooja.mspmote.interfaces.MspMoteID
239 <id>11</id>
240 </interface_config>
241 <motetype_identifier>esb1</motetype_identifier>
242 </mote>
243 <mote>
244 <interface_config>
245 se.sics.cooja.motes.AbstractApplicationMoteType$SimpleMoteID
246 <id>14</id>
247 </interface_config>
248 <interface_config>
249 se.sics.cooja.interfaces.Position
250 <x>199.74274129227032</x>
251 <y>4.324930898273846</y>
252 <z>0.0</z>
253 </interface_config>
254 <motetype_identifier>apptype1</motetype_identifier>
255 </mote>
256 <mote>
257 <interface_config>
258 se.sics.cooja.motes.AbstractApplicationMoteType$SimpleMoteID
259 <id>8</id>
260 </interface_config>
261 <interface_config>
262 se.sics.cooja.interfaces.Position
263 <x>291.4419800282441</x>
264 <y>-99.28851117819308</y>
265 <z>0.0</z>
266 </interface_config>
267 <motetype_identifier>apptype1</motetype_identifier>
268 </mote>
269 <mote>
270 <interface_config>
271 se.sics.cooja.motes.AbstractApplicationMoteType$SimpleMoteID
272 <id>19</id>
273 </interface_config>
274 <interface_config>
275 se.sics.cooja.interfaces.Position
276 <x>-5.495536655521387</x>
277 <y>179.73520343003455</y>
278 <z>0.0</z>
279 </interface_config>
280 <motetype_identifier>apptype1</motetype_identifier>
281 </mote>
282 <mote>
283 <interface_config>
284 se.sics.cooja.motes.AbstractApplicationMoteType$SimpleMoteID
285 <id>20</id>
286 </interface_config>
287 <interface_config>
288 se.sics.cooja.interfaces.Position
289 <x>-3.8119538152129264</x>
290 <y>201.62178035404452</y>
291 <z>0.0</z>
292 </interface_config>
293 <motetype_identifier>apptype1</motetype_identifier>
294 </mote>
295 <mote>
296 <interface_config>
297 se.sics.cooja.motes.AbstractApplicationMoteType$SimpleMoteID
298 <id>18</id>
299 </interface_config>
300 <interface_config>
301 se.sics.cooja.interfaces.Position
302 <x>100.5701822839116</x>
303 <y>109.02472413707922</y>
304 <z>0.0</z>
305 </interface_config>
306 <motetype_identifier>apptype1</motetype_identifier>
307 </mote>
308 <mote>
309 <breakpoints />
310 <interface_config>
311 se.sics.cooja.interfaces.Position
312 <x>289.58980381970434</x>
313 <y>-130.77550672336852</y>
314 <z>0.0</z>
315 </interface_config>
316 <interface_config>
317 se.sics.cooja.mspmote.interfaces.MspMoteID
318 <id>7</id>
319 </interface_config>
320 <motetype_identifier>sky1</motetype_identifier>
321 </mote>
322 <mote>
323 <breakpoints />
324 <interface_config>
325 se.sics.cooja.interfaces.Position
326 <x>196.5661698954619</x>
327 <y>-22.675925974597682</y>
328 <z>0.0</z>
329 </interface_config>
330 <interface_config>
331 se.sics.cooja.mspmote.interfaces.MspMoteID
332 <id>13</id>
333 </interface_config>
334 <motetype_identifier>esb1</motetype_identifier>
335 </mote>
336 <mote>
337 <interface_config>
338 se.sics.cooja.interfaces.Position
339 <x>100.5701822839116</x>
340 <y>85.45456437276077</y>
341 <z>0.0</z>
342 </interface_config>
343 <interface_config>
344 se.sics.cooja.contikimote.interfaces.ContikiMoteID
345 <id>17</id>
346 </interface_config>
347 <motetype_identifier>mtype430</motetype_identifier>
348 </mote>
349 <mote>
350 <interface_config>
351 se.sics.cooja.interfaces.Position
352 <x>-5.14611380187246</x>
353 <y>83.73921581848423</y>
354 <z>0.0</z>
355 </interface_config>
356 <interface_config>
357 se.sics.cooja.contikimote.interfaces.ContikiMoteID
358 <id>15</id>
359 </interface_config>
360 <motetype_identifier>mtype430</motetype_identifier>
361 </mote>
362 </simulation>
363 <plugin>
364 se.sics.cooja.plugins.SimControl
365 <width>265</width>
366 <z>5</z>
367 <height>200</height>
368 <location_x>0</location_x>
369 <location_y>1</location_y>
370 <minimized>false</minimized>
371 </plugin>
372 <plugin>
373 se.sics.cooja.plugins.LogListener
374 <plugin_config>
375 <filter />
376 </plugin_config>
377 <width>953</width>
378 <z>3</z>
379 <height>130</height>
380 <location_x>0</location_x>
381 <location_y>524</location_y>
382 <minimized>false</minimized>
383 </plugin>
384 <plugin>
385 se.sics.cooja.plugins.RadioLogger
386 <plugin_config>
387 <split>110</split>
388 </plugin_config>
389 <width>695</width>
390 <z>2</z>
391 <height>152</height>
392 <location_x>260</location_x>
393 <location_y>369</location_y>
394 <minimized>false</minimized>
395 </plugin>
396 <plugin>
397 se.sics.cooja.plugins.ScriptRunner
398 <plugin_config>
399 <script>TIMEOUT(120000);
401 NR_NODES = 20;
402 var nr_packets = new Array();
403 for (i=1; i &lt;= NR_NODES; i++) {
404 nr_packets[i] = 0;
407 while (true) {
409 /* Listen for receive notifications */
410 if (msg.contains("abc message received 'Hello'")) {
412 /* Log receiving node */
413 nr_packets[id] ++;
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]);
427 log.log("\n");
430 /* Did all NR_NODES receive at least three messages? */
431 for (i = 1; i &lt;= NR_NODES; i++) {
432 if (nr_packets[i] &lt; 3) break;
434 if (i == NR_NODES+1) {
435 log.testOK();
438 YIELD();
439 }</script>
440 <active>true</active>
441 </plugin_config>
442 <width>692</width>
443 <z>4</z>
444 <height>367</height>
445 <location_x>264</location_x>
446 <location_y>0</location_y>
447 <minimized>false</minimized>
448 </plugin>
449 <plugin>
450 se.sics.cooja.plugins.TimeLine
451 <plugin_config>
452 <mote>0</mote>
453 <mote>1</mote>
454 <mote>2</mote>
455 <mote>3</mote>
456 <mote>4</mote>
457 <mote>5</mote>
458 <mote>6</mote>
459 <mote>7</mote>
460 <mote>8</mote>
461 <mote>9</mote>
462 <mote>10</mote>
463 <mote>11</mote>
464 <mote>12</mote>
465 <mote>13</mote>
466 <mote>14</mote>
467 <mote>15</mote>
468 <mote>16</mote>
469 <mote>17</mote>
470 <mote>18</mote>
471 <mote>19</mote>
472 <showRadioRXTX />
473 <showRadioHW />
474 <split>109</split>
475 <zoom>12</zoom>
476 </plugin_config>
477 <width>956</width>
478 <z>1</z>
479 <height>310</height>
480 <location_x>-1</location_x>
481 <location_y>655</location_y>
482 <minimized>false</minimized>
483 </plugin>
484 <plugin>
485 se.sics.cooja.plugins.Visualizer
486 <plugin_config>
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>
492 </plugin_config>
493 <width>264</width>
494 <z>0</z>
495 <height>321</height>
496 <location_x>0</location_x>
497 <location_y>201</location_y>
498 <minimized>false</minimized>
499 </plugin>
500 </simconf>