mirror of
https://gitlab.com/wirelos/sprocket-plugin-mqtt.git
synced 2025-12-14 13:51:27 +01:00
fallback publish
This commit is contained in:
@@ -109,7 +109,9 @@ void MqttPlugin::downstreamHandler(char *topic, uint8_t *payload, unsigned int l
|
|||||||
publish(localTopic, msg);
|
publish(localTopic, msg);
|
||||||
PRINT_MSG(Serial, "MQTT", (String("publish mediator: ") + localTopic).c_str());
|
PRINT_MSG(Serial, "MQTT", (String("publish mediator: ") + localTopic).c_str());
|
||||||
}
|
}
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
publish(topicStr, msg);
|
||||||
|
PRINT_MSG(Serial, "MQTT", (String("publish mediator: ") + topicStr).c_str());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user