diff --git a/regression-tests/11-ipv6/04-exp5438-udp-fragmentation-contikimac.csc b/regression-tests/11-ipv6/04-exp5438-udp-fragmentation-contikimac.csc
new file mode 100644
index 000000000..4daec7100
--- /dev/null
+++ b/regression-tests/11-ipv6/04-exp5438-udp-fragmentation-contikimac.csc
@@ -0,0 +1,166 @@
+
+
+ [APPS_DIR]/mrm
+ [APPS_DIR]/mspsim
+ [APPS_DIR]/avrora
+ [APPS_DIR]/serial_socket
+ [APPS_DIR]/collect-view
+ [APPS_DIR]/powertracker
+
+ My simulation
+ 123456
+ 1000000
+
+ se.sics.cooja.radiomediums.UDGM
+ 50.0
+ 100.0
+ 1.0
+ 1.0
+
+
+ 40000
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#1
+ Sender
+
+ make clean TARGET=exp5438
+make udp-sender.exp5438 DEFINES=NETSTACK_CONF_RDC=contikimac_driver TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/sender/udp-sender.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#2
+ Receiver
+
+ make clean TARGET=exp5438
+make udp-receiver.exp5438 DEFINES=NETSTACK_CONF_RDC=contikimac_driver TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/receiver/udp-receiver.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 40.305234290431166
+ 41.884881003965305
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 1
+
+ exp5438#1
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 65.38552901873047
+ 40.93246474846026
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 2
+
+ exp5438#2
+
+
+
+ se.sics.cooja.plugins.SimControl
+ 280
+ 0
+ 160
+ 400
+ 0
+
+
+ se.sics.cooja.plugins.Visualizer
+
+ se.sics.cooja.plugins.skins.IDVisualizerSkin
+ se.sics.cooja.plugins.skins.UDGMVisualizerSkin
+ 6.299766478490424 0.0 0.0 6.299766478490424 -160.913563890561 -119.86496930434095
+
+ 400
+ 2
+ 400
+ 1
+ 1
+
+
+ se.sics.cooja.plugins.LogListener
+
+
+
+
+ 1200
+ 5
+ 240
+ 400
+ 160
+
+
+ se.sics.cooja.plugins.TimeLine
+
+ 0
+ 1
+
+
+
+ 500.0
+
+ 1600
+ 4
+ 166
+ 0
+ 539
+
+
+ se.sics.cooja.plugins.Notes
+
+ Enter notes here
+ true
+
+ 920
+ 3
+ 160
+ 680
+ 0
+
+
+ se.sics.cooja.plugins.ScriptRunner
+
+ [CONFIG_DIR]/fragmentation-should-receive-all.js
+ true
+
+ 618
+ 1
+ 399
+ 645
+ 128
+
+
+
diff --git a/regression-tests/11-ipv6/05-exp5438-udp-fragmentation-nullrdc.csc b/regression-tests/11-ipv6/05-exp5438-udp-fragmentation-nullrdc.csc
new file mode 100644
index 000000000..efe286bd4
--- /dev/null
+++ b/regression-tests/11-ipv6/05-exp5438-udp-fragmentation-nullrdc.csc
@@ -0,0 +1,166 @@
+
+
+ [APPS_DIR]/mrm
+ [APPS_DIR]/mspsim
+ [APPS_DIR]/avrora
+ [APPS_DIR]/serial_socket
+ [APPS_DIR]/collect-view
+ [APPS_DIR]/powertracker
+
+ My simulation
+ 123456
+ 1000000
+
+ se.sics.cooja.radiomediums.UDGM
+ 50.0
+ 100.0
+ 1.0
+ 1.0
+
+
+ 40000
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#1
+ Sender
+
+ make clean TARGET=exp5438
+make udp-sender.exp5438 DEFINES=NETSTACK_CONF_RDC=nullrdc_driver TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/sender/udp-sender.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#2
+ Receiver
+
+ make clean TARGET=exp5438
+make udp-receiver.exp5438 DEFINES=NETSTACK_CONF_RDC=nullrdc_driver TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/receiver/udp-receiver.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 40.305234290431166
+ 41.884881003965305
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 1
+
+ exp5438#1
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 65.38552901873047
+ 40.93246474846026
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 2
+
+ exp5438#2
+
+
+
+ se.sics.cooja.plugins.SimControl
+ 280
+ 0
+ 160
+ 400
+ 0
+
+
+ se.sics.cooja.plugins.Visualizer
+
+ se.sics.cooja.plugins.skins.IDVisualizerSkin
+ se.sics.cooja.plugins.skins.UDGMVisualizerSkin
+ 6.299766478490424 0.0 0.0 6.299766478490424 -160.913563890561 -119.86496930434095
+
+ 400
+ 2
+ 400
+ 1
+ 1
+
+
+ se.sics.cooja.plugins.LogListener
+
+
+
+
+ 1200
+ 5
+ 240
+ 400
+ 160
+
+
+ se.sics.cooja.plugins.TimeLine
+
+ 0
+ 1
+
+
+
+ 500.0
+
+ 1600
+ 4
+ 166
+ 0
+ 539
+
+
+ se.sics.cooja.plugins.Notes
+
+ Enter notes here
+ true
+
+ 920
+ 3
+ 160
+ 680
+ 0
+
+
+ se.sics.cooja.plugins.ScriptRunner
+
+ [CONFIG_DIR]/fragmentation-should-receive-all.js
+ true
+
+ 618
+ 1
+ 399
+ 645
+ 128
+
+
+
diff --git a/regression-tests/11-ipv6/06-exp5438-udp-fragmentation-contikimac-large-sender.csc b/regression-tests/11-ipv6/06-exp5438-udp-fragmentation-contikimac-large-sender.csc
new file mode 100644
index 000000000..05bae3591
--- /dev/null
+++ b/regression-tests/11-ipv6/06-exp5438-udp-fragmentation-contikimac-large-sender.csc
@@ -0,0 +1,165 @@
+
+
+ [APPS_DIR]/mrm
+ [APPS_DIR]/mspsim
+ [APPS_DIR]/avrora
+ [APPS_DIR]/serial_socket
+ [APPS_DIR]/collect-view
+ [APPS_DIR]/powertracker
+
+ My simulation
+ 123456
+ 1000000
+
+ se.sics.cooja.radiomediums.UDGM
+ 50.0
+ 100.0
+ 1.0
+ 1.0
+
+
+ 40000
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#1
+ Sender
+
+ make clean TARGET=exp5438
+make udp-sender.exp5438 DEFINES=NETSTACK_CONF_RDC=contikimac_driver,SIZE=500,BUFSIZE=600 TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/sender/udp-sender.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#2
+ Receiver
+
+ make clean TARGET=exp5438
+make udp-receiver.exp5438 DEFINES=NETSTACK_CONF_RDC=contikimac_driver TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/receiver/udp-receiver.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 40.305234290431166
+ 41.884881003965305
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 1
+
+ exp5438#1
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 65.38552901873047
+ 40.93246474846026
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 2
+
+ exp5438#2
+
+
+
+ se.sics.cooja.plugins.SimControl
+ 280
+ 0
+ 160
+ 400
+ 0
+
+
+ se.sics.cooja.plugins.Visualizer
+
+ se.sics.cooja.plugins.skins.IDVisualizerSkin
+ se.sics.cooja.plugins.skins.UDGMVisualizerSkin
+ 6.299766478490424 0.0 0.0 6.299766478490424 -160.913563890561 -119.86496930434095
+
+ 400
+ 2
+ 400
+ 1
+ 1
+
+
+ se.sics.cooja.plugins.LogListener
+
+
+
+
+ 1200
+ 5
+ 240
+ 400
+ 160
+
+
+ se.sics.cooja.plugins.TimeLine
+
+ 0
+ 1
+
+
+
+ 500.0
+
+ 1600
+ 4
+ 166
+ 0
+ 539
+
+
+ se.sics.cooja.plugins.Notes
+
+ Enter notes here
+ true
+
+ 920
+ 3
+ 160
+ 680
+ 0
+
+
+ se.sics.cooja.plugins.ScriptRunner
+
+ [CONFIG_DIR]/fragmentation-should-receive-none.js true
+
+ 618
+ 1
+ 399
+ 645
+ 128
+
+
+
diff --git a/regression-tests/11-ipv6/07-exp5438-udp-fragmentation-nullrdc-large-sender.csc b/regression-tests/11-ipv6/07-exp5438-udp-fragmentation-nullrdc-large-sender.csc
new file mode 100644
index 000000000..0209ba7b8
--- /dev/null
+++ b/regression-tests/11-ipv6/07-exp5438-udp-fragmentation-nullrdc-large-sender.csc
@@ -0,0 +1,166 @@
+
+
+ [APPS_DIR]/mrm
+ [APPS_DIR]/mspsim
+ [APPS_DIR]/avrora
+ [APPS_DIR]/serial_socket
+ [APPS_DIR]/collect-view
+ [APPS_DIR]/powertracker
+
+ My simulation
+ 123456
+ 1000000
+
+ se.sics.cooja.radiomediums.UDGM
+ 50.0
+ 100.0
+ 1.0
+ 1.0
+
+
+ 40000
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#1
+ Sender
+
+ make clean TARGET=exp5438
+make udp-sender.exp5438 DEFINES=NETSTACK_CONF_RDC=nullrdc_driver,SIZE=500,BUFSIZE=600 TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/sender/udp-sender.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#2
+ Receiver
+
+ make clean TARGET=exp5438
+make udp-receiver.exp5438 DEFINES=NETSTACK_CONF_RDC=nullrdc_driver TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/receiver/udp-receiver.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 40.305234290431166
+ 41.884881003965305
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 1
+
+ exp5438#1
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 65.38552901873047
+ 40.93246474846026
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 2
+
+ exp5438#2
+
+
+
+ se.sics.cooja.plugins.SimControl
+ 280
+ 0
+ 160
+ 400
+ 0
+
+
+ se.sics.cooja.plugins.Visualizer
+
+ se.sics.cooja.plugins.skins.IDVisualizerSkin
+ se.sics.cooja.plugins.skins.UDGMVisualizerSkin
+ 6.299766478490424 0.0 0.0 6.299766478490424 -160.913563890561 -119.86496930434095
+
+ 400
+ 2
+ 400
+ 1
+ 1
+
+
+ se.sics.cooja.plugins.LogListener
+
+
+
+
+ 1200
+ 5
+ 240
+ 400
+ 160
+
+
+ se.sics.cooja.plugins.TimeLine
+
+ 0
+ 1
+
+
+
+ 500.0
+
+ 1600
+ 4
+ 166
+ 0
+ 539
+
+
+ se.sics.cooja.plugins.Notes
+
+ Enter notes here
+ true
+
+ 920
+ 3
+ 160
+ 680
+ 0
+
+
+ se.sics.cooja.plugins.ScriptRunner
+
+ [CONFIG_DIR]/fragmentation-should-receive-none.js
+ true
+
+ 618
+ 1
+ 399
+ 645
+ 128
+
+
+
diff --git a/regression-tests/11-ipv6/08-exp5438-udp-fragmentation-contikimac-too-large-sender.csc b/regression-tests/11-ipv6/08-exp5438-udp-fragmentation-contikimac-too-large-sender.csc
new file mode 100644
index 000000000..d6c55de4c
--- /dev/null
+++ b/regression-tests/11-ipv6/08-exp5438-udp-fragmentation-contikimac-too-large-sender.csc
@@ -0,0 +1,166 @@
+
+
+ [APPS_DIR]/mrm
+ [APPS_DIR]/mspsim
+ [APPS_DIR]/avrora
+ [APPS_DIR]/serial_socket
+ [APPS_DIR]/collect-view
+ [APPS_DIR]/powertracker
+
+ My simulation
+ 123456
+ 1000000
+
+ se.sics.cooja.radiomediums.UDGM
+ 50.0
+ 100.0
+ 1.0
+ 1.0
+
+
+ 40000
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#1
+ Sender
+
+ make clean TARGET=exp5438
+make udp-sender.exp5438 DEFINES=NETSTACK_CONF_RDC=contikimac_driver,SIZE=500,BUFSIZE=200 TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/sender/udp-sender.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#2
+ Receiver
+
+ make clean TARGET=exp5438
+make udp-receiver.exp5438 DEFINES=NETSTACK_CONF_RDC=contikimac_driver TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/receiver/udp-receiver.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 40.305234290431166
+ 41.884881003965305
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 1
+
+ exp5438#1
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 65.38552901873047
+ 40.93246474846026
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 2
+
+ exp5438#2
+
+
+
+ se.sics.cooja.plugins.SimControl
+ 280
+ 0
+ 160
+ 400
+ 0
+
+
+ se.sics.cooja.plugins.Visualizer
+
+ se.sics.cooja.plugins.skins.IDVisualizerSkin
+ se.sics.cooja.plugins.skins.UDGMVisualizerSkin
+ 6.299766478490424 0.0 0.0 6.299766478490424 -160.913563890561 -119.86496930434095
+
+ 400
+ 2
+ 400
+ 1
+ 1
+
+
+ se.sics.cooja.plugins.LogListener
+
+
+
+
+ 1200
+ 5
+ 240
+ 400
+ 160
+
+
+ se.sics.cooja.plugins.TimeLine
+
+ 0
+ 1
+
+
+
+ 500.0
+
+ 1600
+ 4
+ 166
+ 0
+ 539
+
+
+ se.sics.cooja.plugins.Notes
+
+ Enter notes here
+ true
+
+ 920
+ 3
+ 160
+ 680
+ 0
+
+
+ se.sics.cooja.plugins.ScriptRunner
+
+ [CONFIG_DIR]/fragmentation-should-receive-none.js
+ true
+
+ 618
+ 1
+ 399
+ 645
+ 128
+
+
+
diff --git a/regression-tests/11-ipv6/09-exp5438-udp-fragmentation-nullrdc-too-large-sender.csc b/regression-tests/11-ipv6/09-exp5438-udp-fragmentation-nullrdc-too-large-sender.csc
new file mode 100644
index 000000000..dfdba6d71
--- /dev/null
+++ b/regression-tests/11-ipv6/09-exp5438-udp-fragmentation-nullrdc-too-large-sender.csc
@@ -0,0 +1,165 @@
+
+
+ [APPS_DIR]/mrm
+ [APPS_DIR]/mspsim
+ [APPS_DIR]/avrora
+ [APPS_DIR]/serial_socket
+ [APPS_DIR]/collect-view
+ [APPS_DIR]/powertracker
+
+ My simulation
+ 123456
+ 1000000
+
+ se.sics.cooja.radiomediums.UDGM
+ 50.0
+ 100.0
+ 1.0
+ 1.0
+
+
+ 40000
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#1
+ Sender
+
+ make clean TARGET=exp5438
+make udp-sender.exp5438 DEFINES=NETSTACK_CONF_RDC=nullrdc_driver,SIZE=500,BUFSIZE=200 TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/sender/udp-sender.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#2
+ Receiver
+
+ make clean TARGET=exp5438
+make udp-receiver.exp5438 DEFINES=NETSTACK_CONF_RDC=nullrdc_driver TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/receiver/udp-receiver.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 40.305234290431166
+ 41.884881003965305
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 1
+
+ exp5438#1
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 65.38552901873047
+ 40.93246474846026
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 2
+
+ exp5438#2
+
+
+
+ se.sics.cooja.plugins.SimControl
+ 280
+ 0
+ 160
+ 400
+ 0
+
+
+ se.sics.cooja.plugins.Visualizer
+
+ se.sics.cooja.plugins.skins.IDVisualizerSkin
+ se.sics.cooja.plugins.skins.UDGMVisualizerSkin
+ 6.299766478490424 0.0 0.0 6.299766478490424 -160.913563890561 -119.86496930434095
+
+ 400
+ 2
+ 400
+ 1
+ 1
+
+
+ se.sics.cooja.plugins.LogListener
+
+
+
+
+ 1200
+ 5
+ 240
+ 400
+ 160
+
+
+ se.sics.cooja.plugins.TimeLine
+
+ 0
+ 1
+
+
+
+ 500.0
+
+ 1600
+ 4
+ 166
+ 0
+ 539
+
+
+ se.sics.cooja.plugins.Notes
+
+ Enter notes here
+ true
+
+ 920
+ 3
+ 160
+ 680
+ 0
+
+
+ se.sics.cooja.plugins.ScriptRunner
+
+ [CONFIG_DIR]/fragmentation-should-receive-none.js true
+
+ 618
+ 1
+ 399
+ 645
+ 128
+
+
+
diff --git a/regression-tests/11-ipv6/10-exp5438-unicast-fragmentation-contikimac.csc b/regression-tests/11-ipv6/10-exp5438-unicast-fragmentation-contikimac.csc
new file mode 100644
index 000000000..f6292931a
--- /dev/null
+++ b/regression-tests/11-ipv6/10-exp5438-unicast-fragmentation-contikimac.csc
@@ -0,0 +1,166 @@
+
+
+ [APPS_DIR]/mrm
+ [APPS_DIR]/mspsim
+ [APPS_DIR]/avrora
+ [APPS_DIR]/serial_socket
+ [APPS_DIR]/collect-view
+ [APPS_DIR]/powertracker
+
+ My simulation
+ 123456
+ 1000000
+
+ se.sics.cooja.radiomediums.UDGM
+ 50.0
+ 100.0
+ 1.0
+ 1.0
+
+
+ 40000
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#1
+ Sender
+
+ make clean TARGET=exp5438
+make unicast-sender.exp5438 DEFINES=NETSTACK_CONF_RDC=contikimac_driver,SIZE=400,BUFSIZE=500 TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/sender/unicast-sender.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#2
+ Receiver
+
+ make clean TARGET=exp5438
+make udp-receiver.exp5438 DEFINES=NETSTACK_CONF_RDC=contikimac_driver,SIZE=400,BUFSIZE=500 TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/receiver/udp-receiver.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 40.305234290431166
+ 41.884881003965305
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 1
+
+ exp5438#1
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 65.38552901873047
+ 40.93246474846026
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 2
+
+ exp5438#2
+
+
+
+ se.sics.cooja.plugins.SimControl
+ 280
+ 0
+ 160
+ 400
+ 0
+
+
+ se.sics.cooja.plugins.Visualizer
+
+ se.sics.cooja.plugins.skins.IDVisualizerSkin
+ se.sics.cooja.plugins.skins.UDGMVisualizerSkin
+ 6.299766478490424 0.0 0.0 6.299766478490424 -160.913563890561 -119.86496930434095
+
+ 400
+ 2
+ 400
+ 1
+ 1
+
+
+ se.sics.cooja.plugins.LogListener
+
+
+
+
+ 1200
+ 5
+ 240
+ 400
+ 160
+
+
+ se.sics.cooja.plugins.TimeLine
+
+ 0
+ 1
+
+
+
+ 500.0
+
+ 1600
+ 4
+ 166
+ 0
+ 539
+
+
+ se.sics.cooja.plugins.Notes
+
+ Enter notes here
+ true
+
+ 920
+ 3
+ 160
+ 680
+ 0
+
+
+ se.sics.cooja.plugins.ScriptRunner
+
+ [CONFIG_DIR]/fragmentation-should-receive-all.js
+ true
+
+ 618
+ 1
+ 399
+ 645
+ 128
+
+
+
diff --git a/regression-tests/11-ipv6/11-exp5438-unicast-fragmentation-nullrdc.csc b/regression-tests/11-ipv6/11-exp5438-unicast-fragmentation-nullrdc.csc
new file mode 100644
index 000000000..9e13b0301
--- /dev/null
+++ b/regression-tests/11-ipv6/11-exp5438-unicast-fragmentation-nullrdc.csc
@@ -0,0 +1,166 @@
+
+
+ [APPS_DIR]/mrm
+ [APPS_DIR]/mspsim
+ [APPS_DIR]/avrora
+ [APPS_DIR]/serial_socket
+ [APPS_DIR]/collect-view
+ [APPS_DIR]/powertracker
+
+ My simulation
+ 123456
+ 1000000
+
+ se.sics.cooja.radiomediums.UDGM
+ 50.0
+ 100.0
+ 1.0
+ 1.0
+
+
+ 40000
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#1
+ Sender
+
+ make clean TARGET=exp5438
+make unicast-sender.exp5438 DEFINES=NETSTACK_CONF_RDC=nullrdc_driver,SIZE=400,BUFSIZE=500 TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/sender/unicast-sender.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#2
+ Receiver
+
+ make clean TARGET=exp5438
+make udp-receiver.exp5438 DEFINES=NETSTACK_CONF_RDC=nullrdc_driver,SIZE=400,BUFSIZE=500 TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/receiver/udp-receiver.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 40.305234290431166
+ 41.884881003965305
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 1
+
+ exp5438#1
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 65.38552901873047
+ 40.93246474846026
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 2
+
+ exp5438#2
+
+
+
+ se.sics.cooja.plugins.SimControl
+ 280
+ 0
+ 160
+ 400
+ 0
+
+
+ se.sics.cooja.plugins.Visualizer
+
+ se.sics.cooja.plugins.skins.IDVisualizerSkin
+ se.sics.cooja.plugins.skins.UDGMVisualizerSkin
+ 6.299766478490424 0.0 0.0 6.299766478490424 -160.913563890561 -119.86496930434095
+
+ 400
+ 2
+ 400
+ 1
+ 1
+
+
+ se.sics.cooja.plugins.LogListener
+
+
+
+
+ 1200
+ 5
+ 240
+ 400
+ 160
+
+
+ se.sics.cooja.plugins.TimeLine
+
+ 0
+ 1
+
+
+
+ 500.0
+
+ 1600
+ 4
+ 166
+ 0
+ 539
+
+
+ se.sics.cooja.plugins.Notes
+
+ Enter notes here
+ true
+
+ 920
+ 3
+ 160
+ 680
+ 0
+
+
+ se.sics.cooja.plugins.ScriptRunner
+
+ [CONFIG_DIR]/fragmentation-should-receive-all.js
+ true
+
+ 618
+ 1
+ 399
+ 645
+ 128
+
+
+
diff --git a/regression-tests/11-ipv6/12-exp5438-unicast-fragmentation-contikimac-large-sender.csc b/regression-tests/11-ipv6/12-exp5438-unicast-fragmentation-contikimac-large-sender.csc
new file mode 100644
index 000000000..b1a0ad9ab
--- /dev/null
+++ b/regression-tests/11-ipv6/12-exp5438-unicast-fragmentation-contikimac-large-sender.csc
@@ -0,0 +1,165 @@
+
+
+ [APPS_DIR]/mrm
+ [APPS_DIR]/mspsim
+ [APPS_DIR]/avrora
+ [APPS_DIR]/serial_socket
+ [APPS_DIR]/collect-view
+ [APPS_DIR]/powertracker
+
+ My simulation
+ 123456
+ 1000000
+
+ se.sics.cooja.radiomediums.UDGM
+ 50.0
+ 100.0
+ 1.0
+ 1.0
+
+
+ 40000
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#1
+ Sender
+
+ make clean TARGET=exp5438
+make unicast-sender.exp5438 DEFINES=NETSTACK_CONF_RDC=contikimac_driver,SIZE=500,BUFSIZE=600 TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/sender/unicast-sender.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#2
+ Receiver
+
+ make clean TARGET=exp5438
+make udp-receiver.exp5438 DEFINES=NETSTACK_CONF_RDC=contikimac_driver TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/receiver/udp-receiver.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 40.305234290431166
+ 41.884881003965305
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 1
+
+ exp5438#1
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 65.38552901873047
+ 40.93246474846026
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 2
+
+ exp5438#2
+
+
+
+ se.sics.cooja.plugins.SimControl
+ 280
+ 0
+ 160
+ 400
+ 0
+
+
+ se.sics.cooja.plugins.Visualizer
+
+ se.sics.cooja.plugins.skins.IDVisualizerSkin
+ se.sics.cooja.plugins.skins.UDGMVisualizerSkin
+ 6.299766478490424 0.0 0.0 6.299766478490424 -160.913563890561 -119.86496930434095
+
+ 400
+ 2
+ 400
+ 1
+ 1
+
+
+ se.sics.cooja.plugins.LogListener
+
+
+
+
+ 1200
+ 5
+ 240
+ 400
+ 160
+
+
+ se.sics.cooja.plugins.TimeLine
+
+ 0
+ 1
+
+
+
+ 500.0
+
+ 1600
+ 4
+ 166
+ 0
+ 539
+
+
+ se.sics.cooja.plugins.Notes
+
+ Enter notes here
+ true
+
+ 920
+ 3
+ 160
+ 680
+ 0
+
+
+ se.sics.cooja.plugins.ScriptRunner
+
+ [CONFIG_DIR]/fragmentation-should-receive-none.js true
+
+ 618
+ 1
+ 399
+ 645
+ 128
+
+
+
diff --git a/regression-tests/11-ipv6/13-exp5438-unicast-fragmentation-nullrdc-large-sender.csc b/regression-tests/11-ipv6/13-exp5438-unicast-fragmentation-nullrdc-large-sender.csc
new file mode 100644
index 000000000..41d3c65cd
--- /dev/null
+++ b/regression-tests/11-ipv6/13-exp5438-unicast-fragmentation-nullrdc-large-sender.csc
@@ -0,0 +1,166 @@
+
+
+ [APPS_DIR]/mrm
+ [APPS_DIR]/mspsim
+ [APPS_DIR]/avrora
+ [APPS_DIR]/serial_socket
+ [APPS_DIR]/collect-view
+ [APPS_DIR]/powertracker
+
+ My simulation
+ 123456
+ 1000000
+
+ se.sics.cooja.radiomediums.UDGM
+ 50.0
+ 100.0
+ 1.0
+ 1.0
+
+
+ 40000
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#1
+ Sender
+
+ make clean TARGET=exp5438
+make unicast-sender.exp5438 DEFINES=NETSTACK_CONF_RDC=nullrdc_driver,SIZE=500,BUFSIZE=600 TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/sender/unicast-sender.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#2
+ Receiver
+
+ make clean TARGET=exp5438
+make udp-receiver.exp5438 DEFINES=NETSTACK_CONF_RDC=nullrdc_driver TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/receiver/udp-receiver.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 40.305234290431166
+ 41.884881003965305
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 1
+
+ exp5438#1
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 65.38552901873047
+ 40.93246474846026
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 2
+
+ exp5438#2
+
+
+
+ se.sics.cooja.plugins.SimControl
+ 280
+ 0
+ 160
+ 400
+ 0
+
+
+ se.sics.cooja.plugins.Visualizer
+
+ se.sics.cooja.plugins.skins.IDVisualizerSkin
+ se.sics.cooja.plugins.skins.UDGMVisualizerSkin
+ 6.299766478490424 0.0 0.0 6.299766478490424 -160.913563890561 -119.86496930434095
+
+ 400
+ 2
+ 400
+ 1
+ 1
+
+
+ se.sics.cooja.plugins.LogListener
+
+
+
+
+ 1200
+ 5
+ 240
+ 400
+ 160
+
+
+ se.sics.cooja.plugins.TimeLine
+
+ 0
+ 1
+
+
+
+ 500.0
+
+ 1600
+ 4
+ 166
+ 0
+ 539
+
+
+ se.sics.cooja.plugins.Notes
+
+ Enter notes here
+ true
+
+ 920
+ 3
+ 160
+ 680
+ 0
+
+
+ se.sics.cooja.plugins.ScriptRunner
+
+ [CONFIG_DIR]/fragmentation-should-receive-none.js
+ true
+
+ 618
+ 1
+ 399
+ 645
+ 128
+
+
+
diff --git a/regression-tests/11-ipv6/14-exp5438-unicast-fragmentation-contikimac-too-large-sender.csc b/regression-tests/11-ipv6/14-exp5438-unicast-fragmentation-contikimac-too-large-sender.csc
new file mode 100644
index 000000000..2c1acd318
--- /dev/null
+++ b/regression-tests/11-ipv6/14-exp5438-unicast-fragmentation-contikimac-too-large-sender.csc
@@ -0,0 +1,166 @@
+
+
+ [APPS_DIR]/mrm
+ [APPS_DIR]/mspsim
+ [APPS_DIR]/avrora
+ [APPS_DIR]/serial_socket
+ [APPS_DIR]/collect-view
+ [APPS_DIR]/powertracker
+
+ My simulation
+ 123456
+ 1000000
+
+ se.sics.cooja.radiomediums.UDGM
+ 50.0
+ 100.0
+ 1.0
+ 1.0
+
+
+ 40000
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#1
+ Sender
+
+ make clean TARGET=exp5438
+make unicast-sender.exp5438 DEFINES=NETSTACK_CONF_RDC=contikimac_driver,SIZE=500,BUFSIZE=200 TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/sender/unicast-sender.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#2
+ Receiver
+
+ make clean TARGET=exp5438
+make udp-receiver.exp5438 DEFINES=NETSTACK_CONF_RDC=contikimac_driver TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/receiver/udp-receiver.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 40.305234290431166
+ 41.884881003965305
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 1
+
+ exp5438#1
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 65.38552901873047
+ 40.93246474846026
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 2
+
+ exp5438#2
+
+
+
+ se.sics.cooja.plugins.SimControl
+ 280
+ 0
+ 160
+ 400
+ 0
+
+
+ se.sics.cooja.plugins.Visualizer
+
+ se.sics.cooja.plugins.skins.IDVisualizerSkin
+ se.sics.cooja.plugins.skins.UDGMVisualizerSkin
+ 6.299766478490424 0.0 0.0 6.299766478490424 -160.913563890561 -119.86496930434095
+
+ 400
+ 2
+ 400
+ 1
+ 1
+
+
+ se.sics.cooja.plugins.LogListener
+
+
+
+
+ 1200
+ 5
+ 240
+ 400
+ 160
+
+
+ se.sics.cooja.plugins.TimeLine
+
+ 0
+ 1
+
+
+
+ 500.0
+
+ 1600
+ 4
+ 166
+ 0
+ 539
+
+
+ se.sics.cooja.plugins.Notes
+
+ Enter notes here
+ true
+
+ 920
+ 3
+ 160
+ 680
+ 0
+
+
+ se.sics.cooja.plugins.ScriptRunner
+
+ [CONFIG_DIR]/fragmentation-should-receive-none.js
+ true
+
+ 618
+ 1
+ 399
+ 645
+ 128
+
+
+
diff --git a/regression-tests/11-ipv6/15-exp5438-unicast-fragmentation-nullrdc-too-large-sender.csc b/regression-tests/11-ipv6/15-exp5438-unicast-fragmentation-nullrdc-too-large-sender.csc
new file mode 100644
index 000000000..a64255550
--- /dev/null
+++ b/regression-tests/11-ipv6/15-exp5438-unicast-fragmentation-nullrdc-too-large-sender.csc
@@ -0,0 +1,165 @@
+
+
+ [APPS_DIR]/mrm
+ [APPS_DIR]/mspsim
+ [APPS_DIR]/avrora
+ [APPS_DIR]/serial_socket
+ [APPS_DIR]/collect-view
+ [APPS_DIR]/powertracker
+
+ My simulation
+ 123456
+ 1000000
+
+ se.sics.cooja.radiomediums.UDGM
+ 50.0
+ 100.0
+ 1.0
+ 1.0
+
+
+ 40000
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#1
+ Sender
+
+ make clean TARGET=exp5438
+make unicast-sender.exp5438 DEFINES=NETSTACK_CONF_RDC=nullrdc_driver,SIZE=500,BUFSIZE=200 TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/sender/unicast-sender.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+ se.sics.cooja.mspmote.Exp5438MoteType
+ exp5438#2
+ Receiver
+
+ make clean TARGET=exp5438
+make udp-receiver.exp5438 DEFINES=NETSTACK_CONF_RDC=nullrdc_driver TARGET=exp5438
+ [CONTIKI_DIR]/regression-tests/11-ipv6/code/receiver/udp-receiver.exp5438
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.RimeAddress
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.interfaces.MoteAttributes
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.UsciA1Serial
+ se.sics.cooja.mspmote.interfaces.Exp5438LED
+ se.sics.cooja.mspmote.interfaces.MspDebugOutput
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 40.305234290431166
+ 41.884881003965305
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 1
+
+ exp5438#1
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 65.38552901873047
+ 40.93246474846026
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 2
+
+ exp5438#2
+
+
+
+ se.sics.cooja.plugins.SimControl
+ 280
+ 0
+ 160
+ 400
+ 0
+
+
+ se.sics.cooja.plugins.Visualizer
+
+ se.sics.cooja.plugins.skins.IDVisualizerSkin
+ se.sics.cooja.plugins.skins.UDGMVisualizerSkin
+ 6.299766478490424 0.0 0.0 6.299766478490424 -160.913563890561 -119.86496930434095
+
+ 400
+ 2
+ 400
+ 1
+ 1
+
+
+ se.sics.cooja.plugins.LogListener
+
+
+
+
+ 1200
+ 5
+ 240
+ 400
+ 160
+
+
+ se.sics.cooja.plugins.TimeLine
+
+ 0
+ 1
+
+
+
+ 500.0
+
+ 1600
+ 4
+ 166
+ 0
+ 539
+
+
+ se.sics.cooja.plugins.Notes
+
+ Enter notes here
+ true
+
+ 920
+ 3
+ 160
+ 680
+ 0
+
+
+ se.sics.cooja.plugins.ScriptRunner
+
+ [CONFIG_DIR]/fragmentation-should-receive-none.js true
+
+ 618
+ 1
+ 399
+ 645
+ 128
+
+
+
diff --git a/regression-tests/11-ipv6/04-sky-ipv6-rpl-collect.csc b/regression-tests/11-ipv6/16-sky-ipv6-rpl-collect.csc
similarity index 100%
rename from regression-tests/11-ipv6/04-sky-ipv6-rpl-collect.csc
rename to regression-tests/11-ipv6/16-sky-ipv6-rpl-collect.csc
diff --git a/regression-tests/11-ipv6/code/receiver/Makefile b/regression-tests/11-ipv6/code/receiver/Makefile
new file mode 100644
index 000000000..aafcd9278
--- /dev/null
+++ b/regression-tests/11-ipv6/code/receiver/Makefile
@@ -0,0 +1,7 @@
+CONTIKI=../../../..
+
+WITH_UIP6=1
+UIP_CONF_IPV6=1
+CFLAGS+= -DUIP_CONF_IPV6_RPL -DPROJECT_CONF_H=\"project-conf.h\"
+
+include $(CONTIKI)/Makefile.include
diff --git a/regression-tests/11-ipv6/code/receiver/project-conf.h b/regression-tests/11-ipv6/code/receiver/project-conf.h
new file mode 100644
index 000000000..877ed0ac4
--- /dev/null
+++ b/regression-tests/11-ipv6/code/receiver/project-conf.h
@@ -0,0 +1,6 @@
+
+
+#ifdef BUFSIZE
+#undef UIP_CONF_BUFFER_SIZE
+#define UIP_CONF_BUFFER_SIZE BUFSIZE
+#endif /* BUFSIZE */
diff --git a/regression-tests/11-ipv6/code/receiver/udp-receiver.c b/regression-tests/11-ipv6/code/receiver/udp-receiver.c
new file mode 100644
index 000000000..564c2672e
--- /dev/null
+++ b/regression-tests/11-ipv6/code/receiver/udp-receiver.c
@@ -0,0 +1,66 @@
+#include "contiki.h"
+#include "contiki-lib.h"
+#include "contiki-net.h"
+
+#include
+
+#define UDP_PORT 61618
+
+#define SEND_INTERVAL (4 * CLOCK_SECOND)
+
+static struct simple_udp_connection broadcast_connection;
+
+/*---------------------------------------------------------------------------*/
+PROCESS(udp_process, "UDP broadcast process");
+AUTOSTART_PROCESSES(&udp_process);
+/*---------------------------------------------------------------------------*/
+static void
+receiver(struct simple_udp_connection *c,
+ const uip_ipaddr_t *sender_addr,
+ uint16_t sender_port,
+ const uip_ipaddr_t *receiver_addr,
+ uint16_t receiver_port,
+ const uint8_t *data,
+ uint16_t datalen)
+{
+ static int msg;
+
+ msg++;
+ printf("Data %d received length %d\n",
+ msg, datalen);
+}
+/*---------------------------------------------------------------------------*/
+PROCESS_THREAD(udp_process, ev, data)
+{
+ static struct etimer periodic_timer;
+ static struct etimer send_timer;
+ uip_ipaddr_t addr;
+ static int alive;
+
+ PROCESS_BEGIN();
+
+ uip_ip6addr(&addr, 0xaaaa, 0, 0, 0, 0, 0, 0, 2);
+ uip_ds6_addr_add(&addr, 0, ADDR_AUTOCONF);
+
+ simple_udp_register(&broadcast_connection, UDP_PORT,
+ NULL, UDP_PORT,
+ receiver);
+
+ etimer_set(&periodic_timer, 20 * CLOCK_SECOND);
+ PROCESS_WAIT_EVENT_UNTIL(etimer_expired(&periodic_timer));
+ etimer_set(&periodic_timer, SEND_INTERVAL);
+
+ while(1) {
+ PROCESS_WAIT_EVENT_UNTIL(etimer_expired(&periodic_timer));
+ etimer_reset(&periodic_timer);
+ alive++;
+ printf("Alive %d\n", alive);
+
+ /*printf("Sending broadcast\n");
+ uip_create_linklocal_allnodes_mcast(&addr);
+ simple_udp_sendto(&broadcast_connection, "Test", 4, &addr);*/
+ }
+
+ PROCESS_END();
+}
+/*---------------------------------------------------------------------------*/
diff --git a/regression-tests/11-ipv6/code/sender/Makefile b/regression-tests/11-ipv6/code/sender/Makefile
new file mode 100644
index 000000000..aafcd9278
--- /dev/null
+++ b/regression-tests/11-ipv6/code/sender/Makefile
@@ -0,0 +1,7 @@
+CONTIKI=../../../..
+
+WITH_UIP6=1
+UIP_CONF_IPV6=1
+CFLAGS+= -DUIP_CONF_IPV6_RPL -DPROJECT_CONF_H=\"project-conf.h\"
+
+include $(CONTIKI)/Makefile.include
diff --git a/regression-tests/11-ipv6/code/sender/project-conf.h b/regression-tests/11-ipv6/code/sender/project-conf.h
new file mode 100644
index 000000000..877ed0ac4
--- /dev/null
+++ b/regression-tests/11-ipv6/code/sender/project-conf.h
@@ -0,0 +1,6 @@
+
+
+#ifdef BUFSIZE
+#undef UIP_CONF_BUFFER_SIZE
+#define UIP_CONF_BUFFER_SIZE BUFSIZE
+#endif /* BUFSIZE */
diff --git a/regression-tests/11-ipv6/code/sender/udp-sender.c b/regression-tests/11-ipv6/code/sender/udp-sender.c
new file mode 100644
index 000000000..b2d4dde6a
--- /dev/null
+++ b/regression-tests/11-ipv6/code/sender/udp-sender.c
@@ -0,0 +1,61 @@
+#include "contiki.h"
+#include "contiki-lib.h"
+#include "contiki-net.h"
+
+#include
+
+#define UDP_PORT 61618
+
+#define SEND_INTERVAL (4 * CLOCK_SECOND)
+
+static struct simple_udp_connection broadcast_connection;
+
+#ifndef SIZE
+#define SIZE 100
+#endif
+
+/*---------------------------------------------------------------------------*/
+PROCESS(udp_process, "UDP broadcast process");
+AUTOSTART_PROCESSES(&udp_process);
+/*---------------------------------------------------------------------------*/
+static void
+receiver(struct simple_udp_connection *c,
+ const uip_ipaddr_t *sender_addr,
+ uint16_t sender_port,
+ const uip_ipaddr_t *receiver_addr,
+ uint16_t receiver_port,
+ const uint8_t *data,
+ uint16_t datalen)
+{
+ printf("Data received on port %d from port %d with length %d\n",
+ receiver_port, sender_port, datalen);
+}
+/*---------------------------------------------------------------------------*/
+PROCESS_THREAD(udp_process, ev, data)
+{
+ static struct etimer periodic_timer;
+ static struct etimer send_timer;
+ uip_ipaddr_t addr;
+
+ PROCESS_BEGIN();
+
+ simple_udp_register(&broadcast_connection, UDP_PORT,
+ NULL, UDP_PORT,
+ receiver);
+
+ etimer_set(&periodic_timer, 20 * CLOCK_SECOND);
+ PROCESS_WAIT_EVENT_UNTIL(etimer_expired(&periodic_timer));
+ etimer_set(&periodic_timer, SEND_INTERVAL);
+ while(1) {
+ uint8_t buf[SIZE];
+ PROCESS_WAIT_EVENT_UNTIL(etimer_expired(&periodic_timer));
+ etimer_reset(&periodic_timer);
+
+ printf("Sending broadcast\n");
+ uip_create_linklocal_allnodes_mcast(&addr);
+ simple_udp_sendto(&broadcast_connection, buf, sizeof(buf), &addr);
+ }
+
+ PROCESS_END();
+}
+/*---------------------------------------------------------------------------*/
diff --git a/regression-tests/11-ipv6/code/sender/unicast-sender.c b/regression-tests/11-ipv6/code/sender/unicast-sender.c
new file mode 100644
index 000000000..071e3ac37
--- /dev/null
+++ b/regression-tests/11-ipv6/code/sender/unicast-sender.c
@@ -0,0 +1,72 @@
+#include "contiki.h"
+#include "contiki-lib.h"
+#include "contiki-net.h"
+#include "net/rpl/rpl.h"
+
+#include
+
+#define UDP_PORT 61618
+
+#define SEND_INTERVAL (4 * CLOCK_SECOND)
+
+static struct simple_udp_connection broadcast_connection;
+
+#ifndef SIZE
+#define SIZE 100
+#endif
+
+/*---------------------------------------------------------------------------*/
+PROCESS(udp_process, "UDP broadcast process");
+AUTOSTART_PROCESSES(&udp_process);
+/*---------------------------------------------------------------------------*/
+static void
+receiver(struct simple_udp_connection *c,
+ const uip_ipaddr_t *sender_addr,
+ uint16_t sender_port,
+ const uip_ipaddr_t *receiver_addr,
+ uint16_t receiver_port,
+ const uint8_t *data,
+ uint16_t datalen)
+{
+ printf("Data received on port %d from port %d with length %d\n",
+ receiver_port, sender_port, datalen);
+}
+/*---------------------------------------------------------------------------*/
+PROCESS_THREAD(udp_process, ev, data)
+{
+ static struct etimer periodic_timer;
+ static struct etimer send_timer;
+ uip_ipaddr_t addr;
+
+ PROCESS_BEGIN();
+
+ uip_ip6addr(&addr, 0xaaaa, 0, 0, 0, 0, 0, 0, 3);
+ uip_ds6_addr_add(&addr, 0, ADDR_AUTOCONF);
+
+ rpl_set_root(RPL_DEFAULT_INSTANCE, &addr);
+ /* dag = rpl_get_any_dag();
+ uip_ip6addr(&prefix, 0xaaaa, 0, 0, 0, 0, 0, 0, 0);
+ rpl_set_prefix(dag, &prefix, 64);*/
+
+
+ simple_udp_register(&broadcast_connection, UDP_PORT,
+ NULL, UDP_PORT,
+ receiver);
+
+ etimer_set(&periodic_timer, 20 * CLOCK_SECOND);
+ PROCESS_WAIT_EVENT_UNTIL(etimer_expired(&periodic_timer));
+ etimer_set(&periodic_timer, SEND_INTERVAL);
+
+ while(1) {
+ uint8_t buf[SIZE];
+ PROCESS_WAIT_EVENT_UNTIL(etimer_expired(&periodic_timer));
+ etimer_reset(&periodic_timer);
+
+ printf("Sending unicast\n");
+ uip_ip6addr(&addr, 0xaaaa, 0, 0, 0, 0, 0, 0, 2);
+ simple_udp_sendto(&broadcast_connection, buf, sizeof(buf), &addr);
+ }
+
+ PROCESS_END();
+}
+/*---------------------------------------------------------------------------*/
diff --git a/regression-tests/11-ipv6/fragmentation-should-receive-all.js b/regression-tests/11-ipv6/fragmentation-should-receive-all.js
new file mode 100644
index 000000000..b6ad2dbd8
--- /dev/null
+++ b/regression-tests/11-ipv6/fragmentation-should-receive-all.js
@@ -0,0 +1,23 @@
+TIMEOUT(200000, log.log("last message: " + msg + "\n"));
+
+data = 0;
+alive = 0;
+while(true) {
+ YIELD();
+ if(msg.startsWith('Data')) {
+ data++;
+ log.log("Heard " + data + " data messages\n");
+ }
+ if(msg.startsWith('Alive')) {
+ alive++;
+ log.log("Heard " + alive + " alive messages\n");
+ }
+ if(data == 10 && alive == 10) {
+ if(msg.startsWith('Data 10') ||
+ msg.startsWith('Alive 10')) {
+ log.testOK();
+ } else {
+ log.testError();
+ }
+ }
+}
diff --git a/regression-tests/11-ipv6/fragmentation-should-receive-none.js b/regression-tests/11-ipv6/fragmentation-should-receive-none.js
new file mode 100644
index 000000000..6a04bbf4f
--- /dev/null
+++ b/regression-tests/11-ipv6/fragmentation-should-receive-none.js
@@ -0,0 +1,22 @@
+TIMEOUT(200000, log.log("last message: " + msg + "\n"));
+
+data = 0;
+alive = 0;
+while(true) {
+ YIELD();
+ if(msg.startsWith('Data')) {
+ data++;
+ log.log("Heard " + data + " data messages\n");
+ }
+ if(msg.startsWith('Alive')) {
+ alive++;
+ log.log("Heard " + alive + " alive messages\n");
+ }
+ if(data == 0 && alive == 10) {
+ if(msg.startsWith('Alive 10')) {
+ log.testOK();
+ } else {
+ log.testError();
+ }
+ }
+}