mirror of
https://gitlab.com/wirelos/sprocket-lib.git
synced 2025-12-15 05:02:21 +01:00
rename OTA plugin
This commit is contained in:
@@ -14,7 +14,6 @@ struct OtaConfig {
|
|||||||
const char* password;
|
const char* password;
|
||||||
};
|
};
|
||||||
|
|
||||||
// TODO rename to OtaTcpPlugin
|
|
||||||
class OtaTcpPlugin : public Plugin {
|
class OtaTcpPlugin : public Plugin {
|
||||||
private:
|
private:
|
||||||
OtaConfig config;
|
OtaConfig config;
|
||||||
|
|||||||
@@ -34,7 +34,6 @@ class Sprocket {
|
|||||||
virtual Sprocket* activate();
|
virtual Sprocket* activate();
|
||||||
virtual Sprocket* activate(Scheduler*) { return this; }
|
virtual Sprocket* activate(Scheduler*) { return this; }
|
||||||
virtual Sprocket* activate(Scheduler*, Network*) { return this; }
|
virtual Sprocket* activate(Scheduler*, Network*) { return this; }
|
||||||
virtual Sprocket* enable() { return this; };
|
|
||||||
// TODO bind onMessage to network->onReceive
|
// TODO bind onMessage to network->onReceive
|
||||||
//virtual void onMessage(uint32_t from, String &msg) {};
|
//virtual void onMessage(uint32_t from, String &msg) {};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user