reef monitor

Dependencies:   mbed-rtos EthernetInterface FatFileSystemCpp MCP23S17 SDFileSystem mbed

Fork of HTTPServerHelloWorld by Donatien Garnier

Revision:
7:1fe91b525d9a
Parent:
6:b2c4687b421d
Child:
8:3655e9a98f28
--- a/Model/Application.h	Sun Feb 02 16:57:24 2014 +0000
+++ b/Model/Application.h	Sat Feb 08 17:33:41 2014 +0000
@@ -4,9 +4,11 @@
 #include "EthernetService.h"
 #include "RestServer.h"
 #include "MSCFileSystem.h"
+#include "WatchDogTimer.h"
 
 class Application {
     private:
+        WatchDogTimer* watchDog;
         EthernetService* ethernetService;
         RestServer* restServer;
         FileSystemLike* localFileSystem;
@@ -15,6 +17,7 @@
         void setup();
         void loop();
         void applicationReset();
+        void handleFaultyResetRecovery();
     public:
         Application();
         ~Application();