REST with RPL router -2147483648 generated 1000000 org.contikios.cooja.radiomediums.UDGM 50.0 50.0 1.0 1.0 40000 org.contikios.cooja.mspmote.SkyMoteType rplroot Sky RPL Root [CONTIKI_DIR]/examples/ipv6/rpl-border-router/border-router.c 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 org.contikios.cooja.interfaces.Position org.contikios.cooja.interfaces.RimeAddress org.contikios.cooja.interfaces.IPAddress org.contikios.cooja.interfaces.Mote2MoteRelations org.contikios.cooja.interfaces.MoteAttributes org.contikios.cooja.mspmote.interfaces.MspClock org.contikios.cooja.mspmote.interfaces.MspMoteID org.contikios.cooja.mspmote.interfaces.SkyButton org.contikios.cooja.mspmote.interfaces.SkyFlash org.contikios.cooja.mspmote.interfaces.SkyCoffeeFilesystem org.contikios.cooja.mspmote.interfaces.Msp802154Radio org.contikios.cooja.mspmote.interfaces.MspSerial org.contikios.cooja.mspmote.interfaces.SkyLED org.contikios.cooja.mspmote.interfaces.MspDebugOutput org.contikios.cooja.mspmote.interfaces.SkyTemperature org.contikios.cooja.mspmote.SkyMoteType skyweb Rest server [CONTIKI_DIR]/examples/er-rest-example/er-example-server.c 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 org.contikios.cooja.interfaces.Position org.contikios.cooja.interfaces.RimeAddress org.contikios.cooja.interfaces.IPAddress org.contikios.cooja.interfaces.Mote2MoteRelations org.contikios.cooja.interfaces.MoteAttributes org.contikios.cooja.mspmote.interfaces.MspClock org.contikios.cooja.mspmote.interfaces.MspMoteID org.contikios.cooja.mspmote.interfaces.SkyButton org.contikios.cooja.mspmote.interfaces.SkyFlash org.contikios.cooja.mspmote.interfaces.SkyCoffeeFilesystem org.contikios.cooja.mspmote.interfaces.Msp802154Radio org.contikios.cooja.mspmote.interfaces.MspSerial org.contikios.cooja.mspmote.interfaces.SkyLED org.contikios.cooja.mspmote.interfaces.MspDebugOutput org.contikios.cooja.mspmote.interfaces.SkyTemperature org.contikios.cooja.interfaces.Position 33.260163187353555 30.643217359962595 0.0 org.contikios.cooja.mspmote.interfaces.MspMoteID 1 rplroot org.contikios.cooja.interfaces.Position 35.100895239785295 39.70574552287428 0.0 org.contikios.cooja.mspmote.interfaces.MspMoteID 2 skyweb org.contikios.cooja.plugins.SimControl 259 6 179 0 0 org.contikios.cooja.plugins.Visualizer org.contikios.cooja.plugins.skins.IDVisualizerSkin org.contikios.cooja.plugins.skins.UDGMVisualizerSkin org.contikios.cooja.plugins.skins.MoteTypeVisualizerSkin org.contikios.cooja.plugins.skins.AttributeVisualizerSkin org.contikios.cooja.plugins.skins.AddressVisualizerSkin org.contikios.cooja.plugins.skins.GridVisualizerSkin 3.3323852179491644 0.0 0.0 3.3323852179491644 -30.392247168885415 -60.79227000363299 176 5 173 259 3 org.contikios.cooja.plugins.LogListener 576 0 492 12 260 org.contikios.cooja.plugins.RadioLogger 114 574 -1 471 412 190 true SerialSocketServer 0 428 4 74 7 181 org.contikios.cooja.plugins.TimeLine 0 1 23 24060.2737326431 579 2 152 6 758 org.contikios.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 org.contikios.cooja.plugins.ScriptRunner [CONFIG_DIR]/rest_rpl_coap.js true 596 1 725 591 225 PowerTracker 400 -1 155 132 152 true