Show
Ignore:
Timestamp:
08/11/08 15:45:51 (5 months ago)
Author:
liamstask
Message:

- update doc for webserver OSC interface
- small doc fix for IO

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • firmware/trunk/libraries/webserver/webserver.c

    r792 r809  
    827827#ifdef OSC // Webserver OSC interface 
    828828 
     829/** \defgroup webserverosc Web Server - OSC 
     830  Configure the Web Server  via OSC. 
     831  \ingroup OSC 
     832 
     833  \section devices Devices 
     834    There is only one Web Server system, so a device index is not used. 
     835    
     836  \section properties Properties 
     837  The Web Server system has the following properties 
     838  - active 
     839  - listenport 
     840 
     841  \section details Property Details 
     842 
     843  \b Active 
     844 
     845  The \b active property sets whether the web server on the Make Controller is running or not. 
     846  The default web server does not really do anything too interesting, but provides a count of the 
     847  number of requests it has served.  You can access the web server by typing the board's IP address 
     848  into your favorite browser.  You can check the board's IP address in mchelper. 
     849 
     850  To turn the web server on, send the message 
     851  \code /webserver/active 1 \endcode 
     852  then enter the board's IP address into the address bar of your favorite web browser.  Send the message 
     853  \code /network/webserver 0 \endcode 
     854  to turn the webserver off. 
     855 
     856  <b> Listen Port </b> 
     857 
     858  The \b listenport property sets which port the web server should listen on for incoming requests.  By default 
     859  this is set to 80, the standard port for HTTP. 
     860 
     861  To listen on port 8080, send the message 
     862  \code /webserver/listenport 8080 \endcode 
     863 
     864  Note that the server will most likely already be listening on the previous port, and it won't update its port 
     865  until it serves that last request it's waiting for. 
     866*/ 
     867 
    829868#include "osc.h" 
    830869static char* WebServerOsc_Name = "webserver";