mqttfertig
This commit is contained in:
parent
44aa9a8afd
commit
d9088aba7a
@ -92,6 +92,7 @@ public class mqtt {
|
||||
abholtag = 0;
|
||||
}
|
||||
temp = tempabfallart + "," + abholtag;
|
||||
System.out.println(temp);
|
||||
|
||||
|
||||
if (temp != null) {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user