REST with RPL router-2147483648generated1000000
se.sics.cooja.radiomediums.UDGM
50.050.01.01.040000
se.sics.cooja.mspmote.SkyMoteType
rplrootSky RPL Rootmake 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.skyse.sics.cooja.interfaces.Positionse.sics.cooja.interfaces.RimeAddressse.sics.cooja.interfaces.IPAddressse.sics.cooja.interfaces.Mote2MoteRelationsse.sics.cooja.interfaces.MoteAttributesse.sics.cooja.mspmote.interfaces.MspClockse.sics.cooja.mspmote.interfaces.MspMoteIDse.sics.cooja.mspmote.interfaces.SkyButtonse.sics.cooja.mspmote.interfaces.SkyFlashse.sics.cooja.mspmote.interfaces.SkyCoffeeFilesystemse.sics.cooja.mspmote.interfaces.SkyByteRadiose.sics.cooja.mspmote.interfaces.MspSerialse.sics.cooja.mspmote.interfaces.SkyLEDse.sics.cooja.mspmote.interfaces.MspDebugOutputse.sics.cooja.mspmote.interfaces.SkyTemperature
se.sics.cooja.mspmote.SkyMoteType
skywebRestmake rest-server-example.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/rest-server-example.skyse.sics.cooja.interfaces.Positionse.sics.cooja.interfaces.RimeAddressse.sics.cooja.interfaces.IPAddressse.sics.cooja.interfaces.Mote2MoteRelationsse.sics.cooja.interfaces.MoteAttributesse.sics.cooja.mspmote.interfaces.MspClockse.sics.cooja.mspmote.interfaces.MspMoteIDse.sics.cooja.mspmote.interfaces.SkyButtonse.sics.cooja.mspmote.interfaces.SkyFlashse.sics.cooja.mspmote.interfaces.SkyCoffeeFilesystemse.sics.cooja.mspmote.interfaces.SkyByteRadiose.sics.cooja.mspmote.interfaces.MspSerialse.sics.cooja.mspmote.interfaces.SkyLEDse.sics.cooja.mspmote.interfaces.MspDebugOutputse.sics.cooja.mspmote.interfaces.SkyTemperature
se.sics.cooja.interfaces.Position
33.26016318735355530.6432173599625950.0
se.sics.cooja.mspmote.interfaces.MspMoteID
1rplroot
se.sics.cooja.interfaces.Position
35.10089523978529539.705745522874280.0
se.sics.cooja.mspmote.interfaces.MspMoteID
2skyweb
se.sics.cooja.plugins.SimControl
259617900
se.sics.cooja.plugins.Visualizer
se.sics.cooja.plugins.skins.IDVisualizerSkinse.sics.cooja.plugins.skins.UDGMVisualizerSkinse.sics.cooja.plugins.skins.MoteTypeVisualizerSkinse.sics.cooja.plugins.skins.AttributeVisualizerSkinse.sics.cooja.plugins.skins.AddressVisualizerSkinse.sics.cooja.plugins.skins.GridVisualizerSkin3.3323852179491644 0.0 0.0 3.3323852179491644 -30.392247168885415 -60.7922700036329917651732593
se.sics.cooja.plugins.LogListener
58223936259
se.sics.cooja.plugins.RadioLogger
114574-1471412190true
SerialSocketServer
04284747181
se.sics.cooja.plugins.TimeLine
012324060.2737326431579315213655
se.sics.cooja.plugins.Notes
Nightly test based on simulation in examples/er-rest-example/rest-server-example.csc:
* 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 CoAP to talk to the server, and requires an external Java library:
See: https://github.com/dapaulid/JCoAP
To download jar-file: $ wget --no-check-certificate http://github.com/dapaulid/JCoAP/raw/master/run/SampleClient.jar
true75112524393
se.sics.cooja.plugins.ScriptRunner
[CONFIG_DIR]/rest_rpl_coap.jstrue6000584592260
PowerTracker
400-1155132152true