REST with RPL router
-2147483648
generated
1000000
se.sics.cooja.radiomediums.UDGM
50.0
50.0
1.0
1.0
40000
se.sics.cooja.mspmote.SkyMoteType
rplroot
Sky RPL Root
make border-router.sky TARGET=sky DEFINES=NETSTACK_MAC=nullmac_driver,NETSTACK_RDC=nullrdc_driver,NULLRDC_CONF_802154_AUTOACK=0,CC2420_CONF_AUTOACK=0,ENERGEST_CONF_ON=0,PROCESS_CONF_NO_PROCESS_NAMES=1
[CONTIKI_DIR]/examples/ipv6/rpl-border-router/border-router.sky
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.SkyButton
se.sics.cooja.mspmote.interfaces.SkyFlash
se.sics.cooja.mspmote.interfaces.SkyCoffeeFilesystem
se.sics.cooja.mspmote.interfaces.SkyByteRadio
se.sics.cooja.mspmote.interfaces.MspSerial
se.sics.cooja.mspmote.interfaces.SkyLED
se.sics.cooja.mspmote.interfaces.MspDebugOutput
se.sics.cooja.mspmote.interfaces.SkyTemperature
se.sics.cooja.mspmote.SkyMoteType
skyweb
Rest server
make er-example-server.sky TARGET=sky DEFINES=NETSTACK_MAC=nullmac_driver,NETSTACK_RDC=nullrdc_driver,NULLRDC_CONF_802154_AUTOACK=0,CC2420_CONF_AUTOACK=0,ENERGEST_CONF_ON=0,PROCESS_CONF_NO_PROCESS_NAMES=1
[CONTIKI_DIR]/examples/er-rest-example/er-example-server.sky
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.SkyButton
se.sics.cooja.mspmote.interfaces.SkyFlash
se.sics.cooja.mspmote.interfaces.SkyCoffeeFilesystem
se.sics.cooja.mspmote.interfaces.SkyByteRadio
se.sics.cooja.mspmote.interfaces.MspSerial
se.sics.cooja.mspmote.interfaces.SkyLED
se.sics.cooja.mspmote.interfaces.MspDebugOutput
se.sics.cooja.mspmote.interfaces.SkyTemperature
se.sics.cooja.interfaces.Position
33.260163187353555
30.643217359962595
0.0
se.sics.cooja.mspmote.interfaces.MspMoteID
1
rplroot
se.sics.cooja.interfaces.Position
35.100895239785295
39.70574552287428
0.0
se.sics.cooja.mspmote.interfaces.MspMoteID
2
skyweb
se.sics.cooja.plugins.SimControl
259
6
179
0
0
se.sics.cooja.plugins.Visualizer
se.sics.cooja.plugins.skins.IDVisualizerSkin
se.sics.cooja.plugins.skins.UDGMVisualizerSkin
se.sics.cooja.plugins.skins.MoteTypeVisualizerSkin
se.sics.cooja.plugins.skins.AttributeVisualizerSkin
se.sics.cooja.plugins.skins.AddressVisualizerSkin
se.sics.cooja.plugins.skins.GridVisualizerSkin
3.3323852179491644 0.0 0.0 3.3323852179491644 -30.392247168885415 -60.79227000363299
176
5
173
259
3
se.sics.cooja.plugins.LogListener
576
0
492
12
260
se.sics.cooja.plugins.RadioLogger
114
574
-1
471
412
190
true
SerialSocketServer
0
428
4
74
7
181
se.sics.cooja.plugins.TimeLine
0
1
23
24060.2737326431
579
2
152
6
758
se.sics.cooja.plugins.Notes
Nightly test exercising Contiki's Erbium CoAP implementation:
* One REST server, and one RPL border router w. corresponding tun0 netif
* ContikiMAC is disabled to make firmwares fit on Tmote Sky nodes.
* Additional compile-time DEFINES used in this simulation:
NETSTACK_MAC=nullmac_driver
NETSTACK_RDC=nullrdc_driver
NULLRDC_CONF_802154_AUTOACK=0
CC2420_CONF_AUTOACK=0
ENERGEST_CONF_ON=0
PROCESS_CONF_NO_PROCESS_NAMES=1
The test script communicates with the REST server via the RPL border router using external commands.
(* $ make connect-router-cooja)
* $ ping6 -c 10 -I tun0 aaaa::212:7401:1:101
* $ ping6 -c 10 -I tun0 aaaa::212:7402:2:202
* $ wget -t 1 -T 10 -O - http://[aaaa::212:7402:2:202]
The final test uses the CoAP Java implementation by Matthias Kovatsch, downloaded from:
https://github.com/mkovatsc/Californium/blob/master/run/ExampleClient.jar
* $ java -jar ExampleClient.jar DISCOVER coap://[aaaa::212:7402:2:202]
* $ java -jar ExampleClient.jar GET coap://[aaaa::212:7402:2:202]/hello
true
751
3
369
439
3
se.sics.cooja.plugins.ScriptRunner
[CONFIG_DIR]/rest_rpl_coap.js
true
596
1
725
591
225
PowerTracker
400
-1
155
132
152
true