mirror of
https://gitlab.com/wirelos/sprocket-lib.git
synced 2025-12-17 21:56:40 +01:00
read config from json on SPIFFS
This commit is contained in:
@@ -34,10 +34,7 @@ class MeshSprocket : public Sprocket {
|
||||
};
|
||||
|
||||
void dispatch( uint32_t from, String &msg ) {
|
||||
MeshMessage mMsg;
|
||||
if(mMsg.fromJsonString(msg)){
|
||||
dispatchMessageToPlugins(mMsg);
|
||||
}
|
||||
Sprocket::dispatch(from, msg);
|
||||
onMessage(from, msg);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user