mirror of
https://gitlab.com/wirelos/sprocket-plugin-mqtt.git
synced 2025-12-14 21:52:21 +01:00
remove some comments
This commit is contained in:
@@ -55,7 +55,7 @@ void MqttPlugin::connect()
|
||||
void MqttPlugin::upstreamHandler(String topic, String msg)
|
||||
{
|
||||
// publish message on remote queue
|
||||
PRINT_MSG(Serial, "MQTT", String("upstream: " + msg).c_str());
|
||||
PRINT_MSG(Serial, "MQTT", String("publish remote: " + topic).c_str());
|
||||
client->publish((String(mqttConfig.outTopicRoot) + topic).c_str(), msg.c_str());
|
||||
}
|
||||
|
||||
@@ -72,6 +72,5 @@ void MqttPlugin::downstreamHandler(char *topic, uint8_t *payload, unsigned int l
|
||||
String localTopic = String(topic).substring(topicRootLength);
|
||||
publish(localTopic, msg);
|
||||
|
||||
PRINT_MSG(Serial, "MQTT", (String(topic) + " " + msg).c_str());
|
||||
PRINT_MSG(Serial, "MQTT", (String("publish local: ") + localTopic).c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user