reef monitor
Dependencies: mbed-rtos EthernetInterface FatFileSystemCpp MCP23S17 SDFileSystem mbed
Fork of HTTPServerHelloWorld by
Diff: Model/Application.h
- Revision:
- 11:9366140ebe5f
- Parent:
- 10:372c882b5533
--- a/Model/Application.h Sun Mar 02 18:15:47 2014 +0000 +++ b/Model/Application.h Fri Jan 02 22:44:42 2015 +0000 @@ -1,10 +1,9 @@ #ifndef APPLICATION_H #define APPLICATION_H -#include "EthernetService.h" -#include "RestServer.h" +#include "HttpServer.h" +#include "WatchDogTimer.h" #include "SDFileSystem.h" -#include "WatchDogTimer.h" #include "ActuatorsController.h" class Application { @@ -12,14 +11,15 @@ SPI *spiHandler; WatchDogTimer* watchDog; - EthernetService* ethernetService; - RestServer* restServer; + HttpServer* httpServer; FileSystemLike* localFileSystem; FileSystemLike* sdFileSystem; ActuatorsController* actuatorsController; void setup(); void loop(); + int isSystemOnline(); + void recoverSystem(); void applicationReset(); void handleFaultyResetRecovery(); public: