Rob Dobson / RdWebServer

Dependents:   RdBlindsServer SpideyWallWeb RdGasUseMonitor

Committer:
Bobty
Date:
Mon Feb 08 14:08:42 2016 +0000
Revision:
29:46998f2e458f
Parent:
28:99036ff32459
Fixed RTOS namespace issue

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Bobty 28:99036ff32459 1 // RdWebServer - Simple Web Server for MBED
Bobty 28:99036ff32459 2 // Copyright (C) Rob Dobson 2013-2016, MIT License
Bobty 28:99036ff32459 3 // Inspired by Jasper Schuurmans multi-threaded web server for Netduino which now seems to have gone from ...
Bobty 28:99036ff32459 4 // http://www.schuurmans.cc/multi-threaded-web-server-for-netduino-plus
Bobty 28:99036ff32459 5 // More details at http://robdobson.com/2013/10/moving-my-window-shades-control-to-mbed/
Bobty 28:99036ff32459 6
Bobty 28:99036ff32459 7 #ifndef RD_WEB_SERVER_DEFS
Bobty 28:99036ff32459 8 #define RD_WEB_SERVER_DEFS
Bobty 28:99036ff32459 9
Bobty 28:99036ff32459 10 // Setting RDWEB_DEBUG to 4 causes all debugging to be shown
Bobty 28:99036ff32459 11 #define RDWEB_DEBUG 2
Bobty 28:99036ff32459 12
Bobty 28:99036ff32459 13 // Change the settings below to support a local file system (not available on some MBEDs)
Bobty 28:99036ff32459 14 //#define SUPPORT_LOCAL_FILESYSTEM 1
Bobty 28:99036ff32459 15 //#define SUPPORT_LOCAL_FILE_CACHE 1
Bobty 28:99036ff32459 16 //#define SUPPORT_SD_FILESYSTEM 1
Bobty 28:99036ff32459 17
Bobty 28:99036ff32459 18 // Change this to support display of files on the server
Bobty 28:99036ff32459 19 // #define SUPPORT_FOLDER_VIEW 1
Bobty 28:99036ff32459 20
Bobty 29:46998f2e458f 21 // IP Stack choice (if not defined use standard Ethernet library
Bobty 29:46998f2e458f 22 //#define RD_WEB_SERVER_USE_CC3000 1
Bobty 29:46998f2e458f 23
Bobty 29:46998f2e458f 24 #ifdef RD_WEB_SERVER_CC3000
Bobty 28:99036ff32459 25 #include "cc3000.h"
Bobty 28:99036ff32459 26 #include "TCPSocketConnection.h"
Bobty 28:99036ff32459 27 #include "TCPSocketServer.h"
Bobty 29:46998f2e458f 28 #else
Bobty 29:46998f2e458f 29 #include "EthernetInterface.h"
Bobty 29:46998f2e458f 30 #endif
Bobty 28:99036ff32459 31
Bobty 28:99036ff32459 32 #endif