osd-contiki/examples/ipv6/sky-websense
Enric M. Calvo 701a42e239 Added dummy light driver. Now skywebsense likes Z1
The light sensor driver is mapped to the same pin as the potentiometer
in Z1 Starter Platform. sky-websense is untouched, though.
2011-02-27 21:28:25 +01:00
..
example-sky-websense.csc Added example COOJA simulation 2010-05-09 14:31:33 +00:00
Makefile Moved project-conf.h 2010-11-03 15:46:41 +00:00
Makefile.target Web server example showing light and temperature sensor data 2010-05-09 12:56:48 +00:00
project-conf.h Moved project-conf.h 2010-11-03 15:46:41 +00:00
README Added documentation 2010-05-09 15:57:34 +00:00
sky-websense.c Added dummy light driver. Now skywebsense likes Z1 2011-02-27 21:28:25 +01:00
websense-remote.c Renamed wget() to wget_get() and added server port as argument 2010-06-14 14:12:43 +00:00
wget.c Renamed wget() to wget_get() and added server port as argument 2010-06-14 14:12:43 +00:00
wget.h Renamed wget() to wget_get() and added server port as argument 2010-06-14 14:12:43 +00:00

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://[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=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://[<ROUTER IPv6 ADDRESS>]/. On this page you should
   see a list of all accessible nodes with their IP adresses.