From bcb0efab770af08238ed19260d4d925409571493 Mon Sep 17 00:00:00 2001 From: fros4943 Date: Tue, 11 Nov 2008 11:30:02 +0000 Subject: [PATCH] added rime rucb test --- tools/cooja/contiki_tests/rime_rucb.csc | 223 +++++++++++++++++++++++ tools/cooja/contiki_tests/rime_rucb.info | 1 + tools/cooja/contiki_tests/rime_rucb.js | 4 + 3 files changed, 228 insertions(+) create mode 100644 tools/cooja/contiki_tests/rime_rucb.csc create mode 100644 tools/cooja/contiki_tests/rime_rucb.info create mode 100644 tools/cooja/contiki_tests/rime_rucb.js diff --git a/tools/cooja/contiki_tests/rime_rucb.csc b/tools/cooja/contiki_tests/rime_rucb.csc new file mode 100644 index 000000000..e3614b781 --- /dev/null +++ b/tools/cooja/contiki_tests/rime_rucb.csc @@ -0,0 +1,223 @@ + + + + My simulation + 0 + 1 + 123456 + 1000 + + se.sics.cooja.radiomediums.UDGM + 25.0 + 40.0 + 0.99 + 1.0 + + + se.sics.cooja.contikimote.ContikiMoteType + mtype16 + Contiki Mote #1 + ../../.. + ../../../platform/cooja + ../../../examples/rime + ../apps/mrm + ../apps/mspsim + ../../../examples/rime + ../../../examples/rime + ../../../examples/rime/example-rucb.c + example_rucb_process + button_sensor + pir_sensor + radio_sensor + vib_sensor + se.sics.cooja.interfaces.Position + se.sics.cooja.interfaces.Battery + se.sics.cooja.contikimote.interfaces.ContikiVib + se.sics.cooja.contikimote.interfaces.ContikiMoteID + se.sics.cooja.contikimote.interfaces.ContikiRS232 + se.sics.cooja.contikimote.interfaces.ContikiBeeper + se.sics.cooja.contikimote.interfaces.ContikiIPAddress + se.sics.cooja.contikimote.interfaces.ContikiRadio + se.sics.cooja.contikimote.interfaces.ContikiButton + se.sics.cooja.contikimote.interfaces.ContikiPIR + se.sics.cooja.contikimote.interfaces.ContikiClock + se.sics.cooja.contikimote.interfaces.ContikiLED + se.sics.cooja.contikimote.interfaces.ContikiLog + se.sics.cooja.contikimote.interfaces.ContikiCFS + cfs_interface + beep_interface + button_interface + radio_interface + ip_interface + leds_interface + moteid_interface + pir_interface + rs232_interface + vib_interface + clock_interface + simlog_interface + false + Rime + + + se.sics.cooja.contikimote.ContikiMote + mtype16 + + se.sics.cooja.interfaces.Position + 0.0 + 50.00000000000001 + 0.0 + + + se.sics.cooja.interfaces.Battery + false + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 51 + + + se.sics.cooja.contikimote.interfaces.ContikiIPAddress + 10.10.17.20 + + + + se.sics.cooja.contikimote.ContikiMote + mtype16 + + se.sics.cooja.interfaces.Position + 14.102564102564104 + 45.28301886792453 + 0.0 + + + se.sics.cooja.interfaces.Battery + false + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 52 + + + se.sics.cooja.contikimote.interfaces.ContikiIPAddress + 10.10.1.11 + + + + se.sics.cooja.contikimote.ContikiMote + mtype16 + + se.sics.cooja.interfaces.Position + -32.16814655285737 + 42.92182758760039 + 0.0 + + + se.sics.cooja.interfaces.Battery + false + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 53 + + + se.sics.cooja.contikimote.interfaces.ContikiIPAddress + 10.10.18.13 + + + + se.sics.cooja.contikimote.ContikiMote + mtype16 + + se.sics.cooja.interfaces.Position + -1.5917258339289355 + 37.3750708005199 + 0.0 + + + se.sics.cooja.interfaces.Battery + false + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 54 + + + se.sics.cooja.contikimote.interfaces.ContikiIPAddress + 10.10.5.21 + + + + se.sics.cooja.contikimote.ContikiMote + mtype16 + + se.sics.cooja.interfaces.Position + 26.334899854939632 + 53.05390331866741 + 0.0 + + + se.sics.cooja.interfaces.Battery + false + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 55 + + + se.sics.cooja.contikimote.interfaces.ContikiIPAddress + 10.10.11.6 + + + + + se.sics.cooja.plugins.SimControl + 265 + 3 + 200 + 0 + 0 + false + + + se.sics.cooja.plugins.LogListener + + + 256 + + 692 + 4 + 209 + 0 + 434 + false + + + se.sics.cooja.radiomediums.UDGM$VisUDGM + 216 + 2 + 197 + 477 + 0 + false + + + se.sics.cooja.plugins.VisTraffic + 208 + 5 + 203 + 266 + -2 + false + + + se.sics.cooja.plugins.RadioLogger + 687 + 1 + 233 + 3 + 201 + false + + + diff --git a/tools/cooja/contiki_tests/rime_rucb.info b/tools/cooja/contiki_tests/rime_rucb.info new file mode 100644 index 000000000..95f92712e --- /dev/null +++ b/tools/cooja/contiki_tests/rime_rucb.info @@ -0,0 +1 @@ +Two OS-level nodes: examples/rime/example-rucb.c. 99% TX success. diff --git a/tools/cooja/contiki_tests/rime_rucb.js b/tools/cooja/contiki_tests/rime_rucb.js new file mode 100644 index 000000000..edcbc2705 --- /dev/null +++ b/tools/cooja/contiki_tests/rime_rucb.js @@ -0,0 +1,4 @@ +if (msg.startsWith('Completion time')) { + log.log(msg + "\n"); + log.testOK(); /* Report test success and quit */ +}