@@ -74,7 +74,8 @@ public class MqttProviderConfig { | |||
client.setCallback(new MqttConsumerCallBack()); | |||
client.connect(options); | |||
String topic = "$share/airmonitor/298dd766/environment/message"; | |||
//String topic = "$share/airmonitor/298dd766/environment/message"; | |||
String topic = "/v1/298dd766/environment/message"; | |||
client.subscribe(topic, 0); | |||
} catch (MqttException e) { | |||
e.printStackTrace(); |