mqttfertig

This commit is contained in:
Gregor_Dutzler 2019-10-25 15:58:19 +02:00
parent 44aa9a8afd
commit d9088aba7a
2 changed files with 1 additions and 2 deletions

View File

@ -92,6 +92,7 @@ public class mqtt {
abholtag = 0;
}
temp = tempabfallart + "," + abholtag;
System.out.println(temp);
if (temp != null) {

View File

@ -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) {