A simple web server mainly based on ideas from Jasper Schuurmans Netduino web server

Dependents:   RdBlindsServer SpideyWallWeb RdGasUseMonitor

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers RdWebServerDefs.h Source File

RdWebServerDefs.h

00001 // RdWebServer - Simple Web Server for MBED
00002 // Copyright (C) Rob Dobson 2013-2016, MIT License
00003 // Inspired by Jasper Schuurmans multi-threaded web server for Netduino which now seems to have gone from ...
00004 // http://www.schuurmans.cc/multi-threaded-web-server-for-netduino-plus
00005 // More details at http://robdobson.com/2013/10/moving-my-window-shades-control-to-mbed/
00006 
00007 #ifndef RD_WEB_SERVER_DEFS
00008 #define RD_WEB_SERVER_DEFS
00009 
00010 // Setting RDWEB_DEBUG to 4 causes all debugging to be shown
00011 #define RDWEB_DEBUG 2
00012 
00013 // Change the settings below to support a local file system (not available on some MBEDs)
00014 //#define SUPPORT_LOCAL_FILESYSTEM 1
00015 //#define SUPPORT_LOCAL_FILE_CACHE 1
00016 //#define SUPPORT_SD_FILESYSTEM 1
00017 
00018 // Change this to support display of files on the server
00019 // #define SUPPORT_FOLDER_VIEW 1
00020 
00021 // IP Stack choice (if not defined use standard Ethernet library
00022 //#define RD_WEB_SERVER_USE_CC3000 1
00023 
00024 #ifdef RD_WEB_SERVER_CC3000
00025 #include "cc3000.h"
00026 #include "TCPSocketConnection.h"
00027 #include "TCPSocketServer.h"
00028 #else
00029 #include "EthernetInterface.h"
00030 #endif
00031 
00032 #endif