nes-proj/examples/ipv6/sky-websense
2016-03-07 17:47:44 +01:00
..
example-sky-websense.csc Fixed loading SerialSocketServer plugin in Cooja using FQDN 2016-01-16 12:25:42 +01:00
Makefile Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01:00
Makefile.target
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 Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01:00
sky-websense.c Moved the sht11 driver to its own module 2014-01-26 23:20:30 +01:00
websense-remote.c Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01: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

Sky websense

This example features a simple webserver running on top of the IPv6 contiki stack on Sky 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-sky-websense.csc"

    make TARGET=cooja example-sky-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://[fd00::0212:7401:0001:0101]/ Node 2: http://[fd00::0212:7402:0002:0202]/

To run the example on real nodes under Linux

  1. Program the nodes with the websense application

    make TARGET=sky sky-websense.upload

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

    cd ../rpl-border-router && make TARGET=sky 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.