diff --git a/examples/zolertia/z1/ipv6/z1-websense/Makefile b/examples/zolertia/z1/ipv6/z1-websense/Makefile index 45cd84bea..717802ae9 100644 --- a/examples/zolertia/z1/ipv6/z1-websense/Makefile +++ b/examples/zolertia/z1/ipv6/z1-websense/Makefile @@ -1,14 +1,14 @@ all: z1-websense -CONTIKI=../../../../.. +CONTIKI = ../../../../.. -SMALL=1 +SMALL = 1 APPS += webserver webbrowser CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\" CONTIKI_SOURCEFILES += wget.c -PROJECTDIRS += ../../../ipv6/rpl-border-router +PROJECTDIRS += ../../../../ipv6/rpl-border-router PROJECT_SOURCEFILES += httpd-simple.c CONTIKI_WITH_IPV6 = 1 diff --git a/examples/zolertia/z1/ipv6/z1-websense/Makefile.target b/examples/zolertia/z1/ipv6/z1-websense/Makefile.target new file mode 100644 index 000000000..ff66066d4 --- /dev/null +++ b/examples/zolertia/z1/ipv6/z1-websense/Makefile.target @@ -0,0 +1 @@ +TARGET = z1 diff --git a/examples/zolertia/z1/ipv6/z1-websense/README.md b/examples/zolertia/z1/ipv6/z1-websense/README.md index c3883bb00..af373adc6 100644 --- a/examples/zolertia/z1/ipv6/z1-websense/README.md +++ b/examples/zolertia/z1/ipv6/z1-websense/README.md @@ -18,6 +18,7 @@ To test the example in COOJA under Linux make connect-router-cooja 3. You should now be able to browse to the nodes using your web browser: + Router: http://[aaaa::0212:7401:0001:0101]/ Node 2: http://[aaaa::0212:7402:0002:0202]/ @@ -31,7 +32,7 @@ To run the example on real nodes under Linux 2. Disconnect the nodes and program one node with the RPL border router - cd ../rpl-border-router && make TARGET=z1 border-router.upload + cd examples/ipv6/rpl-border-router && make TARGET=z1 border-router.upload 3. Connect to the border router using tunslip6: diff --git a/examples/zolertia/z1/ipv6/z1-websense/example-sky-websense.csc b/examples/zolertia/z1/ipv6/z1-websense/example-z1-websense.csc similarity index 79% rename from examples/zolertia/z1/ipv6/z1-websense/example-sky-websense.csc rename to examples/zolertia/z1/ipv6/z1-websense/example-z1-websense.csc index f226357e1..87a20f781 100644 --- a/examples/zolertia/z1/ipv6/z1-websense/example-sky-websense.csc +++ b/examples/zolertia/z1/ipv6/z1-websense/example-z1-websense.csc @@ -5,7 +5,7 @@ [CONTIKI_DIR]/tools/cooja/apps/avrora [CONTIKI_DIR]/tools/cooja/apps/serial_socket - Sky Websense with RPL router + Z1 Websense with RPL router 0 123456 1000000 @@ -20,12 +20,12 @@ 40000 - org.contikios.cooja.mspmote.SkyMoteType + org.contikios.cooja.mspmote.Z1MoteType rplroot - Sky RPL Root + Z1 RPL Root [CONTIKI_DIR]/examples/ipv6/rpl-border-router/border-router.c - make border-router.sky TARGET=sky - [CONTIKI_DIR]/examples/ipv6/rpl-border-router/border-router.sky + make border-router.z1 TARGET=z1 + [CONTIKI_DIR]/examples/ipv6/rpl-border-router/border-router.z1 org.contikios.cooja.interfaces.Position org.contikios.cooja.interfaces.RimeAddress org.contikios.cooja.interfaces.IPAddress @@ -33,22 +33,19 @@ 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.MspButton org.contikios.cooja.mspmote.interfaces.Msp802154Radio org.contikios.cooja.mspmote.interfaces.MspSerial - org.contikios.cooja.mspmote.interfaces.SkyLED + org.contikios.cooja.mspmote.interfaces.MspLED org.contikios.cooja.mspmote.interfaces.MspDebugOutput - org.contikios.cooja.mspmote.interfaces.SkyTemperature - org.contikios.cooja.mspmote.SkyMoteType - skyweb - Sky Websense - [CONTIKI_DIR]/examples/ipv6/sky-websense/sky-websense.c - make sky-websense.sky TARGET=sky - [CONTIKI_DIR]/examples/ipv6/sky-websense/sky-websense.sky + org.contikios.cooja.mspmote.Z1MoteType + Z1web + Z1 Websense + [CONTIKI_DIR]/examples/zolertia/z1/ipv6/z1-websense/z1-websense.c + make z1-websense.z1 TARGET=z1 + [CONTIKI_DIR]/examples/zolertia/z1/ipv6/z1-websense/z1-websense.z1 org.contikios.cooja.interfaces.Position org.contikios.cooja.interfaces.RimeAddress org.contikios.cooja.interfaces.IPAddress @@ -56,14 +53,11 @@ 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.MspButton org.contikios.cooja.mspmote.interfaces.Msp802154Radio org.contikios.cooja.mspmote.interfaces.MspSerial - org.contikios.cooja.mspmote.interfaces.SkyLED + org.contikios.cooja.mspmote.interfaces.MspLED org.contikios.cooja.mspmote.interfaces.MspDebugOutput - org.contikios.cooja.mspmote.interfaces.SkyTemperature @@ -91,7 +85,7 @@ org.contikios.cooja.mspmote.interfaces.MspMoteID 2 - skyweb + Z1web @@ -105,7 +99,7 @@ org.contikios.cooja.mspmote.interfaces.MspMoteID 3 - skyweb + Z1web @@ -119,7 +113,7 @@ org.contikios.cooja.mspmote.interfaces.MspMoteID 4 - skyweb + Z1web @@ -133,7 +127,7 @@ org.contikios.cooja.mspmote.interfaces.MspMoteID 5 - skyweb + Z1web @@ -147,7 +141,7 @@ org.contikios.cooja.mspmote.interfaces.MspMoteID 6 - skyweb + Z1web