From d9088aba7accfcaab0c23dee3232ff411b32f828 Mon Sep 17 00:00:00 2001 From: Gregor_Dutzler Date: Fri, 25 Oct 2019 15:58:19 +0200 Subject: [PATCH] mqttfertig --- src/com/wasteinformationserver/mqtt/mqtt.java | 1 + src/com/wasteinformationserver/mqtt/mqtttransmitter.java | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/wasteinformationserver/mqtt/mqtt.java b/src/com/wasteinformationserver/mqtt/mqtt.java index 6a94129..4bc8451 100644 --- a/src/com/wasteinformationserver/mqtt/mqtt.java +++ b/src/com/wasteinformationserver/mqtt/mqtt.java @@ -92,6 +92,7 @@ public class mqtt { abholtag = 0; } temp = tempabfallart + "," + abholtag; + System.out.println(temp); if (temp != null) { diff --git a/src/com/wasteinformationserver/mqtt/mqtttransmitter.java b/src/com/wasteinformationserver/mqtt/mqtttransmitter.java index ed385ef..67e2a79 100644 --- a/src/com/wasteinformationserver/mqtt/mqtttransmitter.java +++ b/src/com/wasteinformationserver/mqtt/mqtttransmitter.java @@ -7,7 +7,6 @@ import org.eclipse.paho.client.mqttv3.MqttException; import org.eclipse.paho.client.mqttv3.MqttMessage; import org.eclipse.paho.client.mqttv3.persist.MemoryPersistence; -import java.util.ArrayList; public class mqtttransmitter { @@ -40,7 +39,6 @@ public class mqtttransmitter { Log.debug("Message published"); sampleClient.disconnect(); Log.debug("Disconnected"); - System.out.println("HI"); } catch (MqttException me) {