contiki/examples/webserver-ipv6-raven
2010-12-14 23:22:01 +00:00
..
Huginn Give jackdaw fe80::0 address and number webservers from fe80::1 2010-12-14 23:22:01 +00:00
Muninn Give jackdaw fe80::0 address and number webservers from fe80::1 2010-12-14 23:22:01 +00:00
Makefile
Makefile.webserver
README
webserver6.c

This example features a simple webserver running on top of the IPv6
contiki stack. It differs from the generic webserver6 example in order
to store the web pages in avr flash memory.

The perl script /tools/makefsdata converts the default web content from
/platform/avr-raven/apps/raven-webserver/httpd-fs/*.* into the c source file
/platform/avr-raven/apps/raven-webserver/httpd-fsdata.c.
This file is not deleted in a $make clean so that a rebuild can be done without
perl in the toolchain (e.g. from a Windows cmd window). If any web file is
changed the dependencies will attempt to update httpd-fsdata.c. If perl
is not present, touching httpd-fsdata.c will give it a newer modification date
and allow the build to continue.
  
Two alternate web contents Huginn and Muninn are included in this directory.
Use e.g. $make WEBDIR=Huginn to generate a webserver6-huginn.elf file.
The ipv6 address suffix and server names are specified in the makefsdata.h file.

$make COFFEE_FILES=1 or 3 uses a static coffee file system in eeprom or program
flash memory.  Files can not be created, but existing files can be rewritten
using http POST via upload.html. When switching coffee types a $make clean
should be done to ensure all c source is on the same page (ahem).
-->This is under development and rewrites are not working yet.

Future plans are for $make COFFEE_FILES=2 or 4 for a full coffee file system.