mirror of
https://gitlab.com/wirelos/sprocket-lib.git
synced 2025-12-15 13:08:21 +01:00
virtual dispatch
This commit is contained in:
@@ -31,7 +31,7 @@ class MeshSprocket : public Sprocket {
|
|||||||
return this;
|
return this;
|
||||||
} using Sprocket::activate;
|
} using Sprocket::activate;
|
||||||
|
|
||||||
void dispatch( uint32_t from, String &msg ) {
|
virtual void dispatch( uint32_t from, String &msg ) {
|
||||||
SprocketMessage sMsg;
|
SprocketMessage sMsg;
|
||||||
sMsg.fromJsonString(msg);
|
sMsg.fromJsonString(msg);
|
||||||
if(sMsg.valid){
|
if(sMsg.valid){
|
||||||
|
|||||||
Reference in New Issue
Block a user