osd-contiki/examples/z1/ipv6/z1-websense
2014-12-01 20:13:09 +01:00
..
example-sky-websense.csc SkyByteRadio was replaced by Msp802154Radio 2014-07-23 15:42:59 +02:00
Makefile Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
Makefile.target Cleaned up some files, moved z1-websense example 2011-03-16 17:41:03 +01:00
project-conf.h A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
README.md Rename to md 2013-03-26 23:15:37 +01:00
websense-remote.c Removed all old RCS tags in the Contiki source tree. Those RCS tags are not used any more, as we are now using git to manage the Contiki source tree 2012-10-26 15:54:49 +02:00
wget.c Updated include paths for the moved files under net/ 2014-01-26 23:20:23 +01:00
wget.h A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
z1-websense.c Moved the cc2420 driver into a separate dev/cc2420 module 2014-01-26 23:20:27 +01:00

Z1 websense

This example features a simple webserver running on top of the IPv6 contiki stack on Zolertia Z1 motes to provide sensor values, and with a RPL border router to bridge the sensor network to Internet.

To test the example in COOJA under Linux

  1. Start COOJA and load the simulation "example-z1-websense.csc"

    make TARGET=cooja example-z1-websense.csc

  2. Connect to the COOJA simulation using tunslip6:

    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]/

To run the example on real nodes under Linux

  1. Program the nodes with the websense application

    make TARGET=z1 z1-websense.upload

  2. Disconnect the nodes and program one node with the RPL border router

    cd ../rpl-border-router && make TARGET=z1 border-router.upload

  3. Connect to the border router using tunslip6:

    make connect-router

  4. Reboot the router and note the router IP address

  5. You should now be able to browse to your router node using your web browser: http://[]/. On this page you should see a list of all accessible nodes with their IP adresses.