From 9011013fb0ec9fa4c152ec8a2f2223c9cf3d5a59 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Sat, 6 Feb 2010 09:57:14 +0000 Subject: [PATCH] Automated test for testing IPv6/6lowpan fragmentation --- .../sky_ipv6_udp_fragmentation.csc | 157 ++++++++++++++++++ 1 file changed, 157 insertions(+) create mode 100644 tools/cooja/contiki_tests/sky_ipv6_udp_fragmentation.csc diff --git a/tools/cooja/contiki_tests/sky_ipv6_udp_fragmentation.csc b/tools/cooja/contiki_tests/sky_ipv6_udp_fragmentation.csc new file mode 100644 index 000000000..2e04903ab --- /dev/null +++ b/tools/cooja/contiki_tests/sky_ipv6_udp_fragmentation.csc @@ -0,0 +1,157 @@ + + + ../apps/mrm + ../apps/mspsim + ../apps/avrora + ../apps/native_gateway + + My simulation + 0 + generated + 1000000 + + se.sics.cooja.radiomediums.UDGM + 50.0 + 100.0 + 1.0 + 1.0 + + + se.sics.cooja.mspmote.SkyMoteType + sky1 + Sky Mote Type #1 + ../../../examples/udp-sender-ipv6/example-udp-sender.c + make clean TARGET=sky +make example-udp-sender.sky TARGET=sky DEFINES=WITH_UIP6,UDP_ADDR_A=0xfe80,UDP_ADDR_B=0,UDP_ADDR_C=0,UDP_ADDR_D=0,UDP_ADDR_E=0x0212,UDP_ADDR_F=0x7402,UDP_ADDR_G=0x02,UDP_ADDR_H=0x202,SICSLOWPAN_CONF_FRAG=1,SEND_TOO_LARGE_PACKET_TO_TEST_FRAGMENTATION=1 + ../../../examples/udp-sender-ipv6/example-udp-sender.sky + se.sics.cooja.interfaces.Position + se.sics.cooja.interfaces.IPAddress + se.sics.cooja.interfaces.Mote2MoteRelations + se.sics.cooja.mspmote.interfaces.MspClock + se.sics.cooja.mspmote.interfaces.MspMoteID + se.sics.cooja.mspmote.interfaces.SkyButton + se.sics.cooja.mspmote.interfaces.SkyFlash + se.sics.cooja.mspmote.interfaces.SkyByteRadio + se.sics.cooja.mspmote.interfaces.SkySerial + se.sics.cooja.mspmote.interfaces.SkyLED + + + se.sics.cooja.mspmote.SkyMoteType + sky2 + Sky Mote Type #2 + ../../../examples/udp-receiver-ipv6/example-udp-receiver.c + make clean TARGET=sky +make example-udp-receiver.sky TARGET=sky DEFINES=WITH_UIP6,UDP_ADDR_A=0xfe80,UDP_ADDR_B=0,UDP_ADDR_C=0,UDP_ADDR_D=0,UDP_ADDR_E=0x0212,UDP_ADDR_F=0x7401,UDP_ADDR_G=0x01,UDP_ADDR_H=0x101,SICSLOWPAN_CONF_FRAG=1 + ../../../examples/udp-receiver-ipv6/example-udp-receiver.sky + se.sics.cooja.interfaces.Position + se.sics.cooja.interfaces.IPAddress + se.sics.cooja.interfaces.Mote2MoteRelations + se.sics.cooja.mspmote.interfaces.MspClock + se.sics.cooja.mspmote.interfaces.MspMoteID + se.sics.cooja.mspmote.interfaces.SkyButton + se.sics.cooja.mspmote.interfaces.SkyFlash + se.sics.cooja.mspmote.interfaces.SkyByteRadio + se.sics.cooja.mspmote.interfaces.SkySerial + se.sics.cooja.mspmote.interfaces.SkyLED + + + se.sics.cooja.mspmote.SkyMote + sky1 + + + se.sics.cooja.interfaces.Position + 65.934608127183 + 63.70462190529231 + 0.0 + + + se.sics.cooja.mspmote.interfaces.MspMoteID + 1 + + + + se.sics.cooja.mspmote.SkyMote + sky2 + + + se.sics.cooja.interfaces.Position + 67.66105781539623 + 63.13924301161143 + 0.0 + + + se.sics.cooja.mspmote.interfaces.MspMoteID + 2 + + + + + se.sics.cooja.plugins.SimControl + 248 + 3 + 200 + 0 + 0 + false + + + se.sics.cooja.plugins.LogListener + + + + 816 + 1 + 333 + 1 + 365 + false + + + se.sics.cooja.plugins.Visualizer + + Mote IDs + Addresses: IP or Rime + Radio environment (UDGM) + + 246 + 0 + 167 + 0 + 198 + false + + + se.sics.cooja.plugins.ScriptRunner + + + true + + 572 + 2 + 700 + 246 + -1 + false + + +