Resolve "OTA"

This commit is contained in:
Patrick Balsiger
2018-08-03 11:01:42 +00:00
parent 18ccf6a892
commit dbb4ce9de7
18 changed files with 895 additions and 17 deletions

View File

@@ -3,7 +3,10 @@
#include <TaskSchedulerDeclarations.h>
#include <Arduino.h>
#include <FS.h>
#include "FS.h"
#ifdef ESP32
#include "SPIFFS.h"
#endif
#include "Network.h"
using namespace std;
@@ -31,6 +34,7 @@ class Sprocket {
virtual Sprocket* activate();
virtual Sprocket* activate(Scheduler*) { return this; }
virtual Sprocket* activate(Scheduler*, Network*) { return this; }
virtual Sprocket* enable() { return this; };
// TODO bind onMessage to network->onReceive
//virtual void onMessage(uint32_t from, String &msg) {};
};