|
|
@ -57,7 +57,7 @@ public class AgentConstants {
|
|
|
|
--------------------------------------------------------------------------------------- */
|
|
|
|
--------------------------------------------------------------------------------------- */
|
|
|
|
public static final int DEFAULT_MQTT_RECONNECTION_INTERVAL = 2; // time in seconds
|
|
|
|
public static final int DEFAULT_MQTT_RECONNECTION_INTERVAL = 2; // time in seconds
|
|
|
|
public static final int DEFAULT_MQTT_QUALITY_OF_SERVICE = 0;
|
|
|
|
public static final int DEFAULT_MQTT_QUALITY_OF_SERVICE = 0;
|
|
|
|
public static final String MQTT_SUBSCRIBE_TOPIC = "%s/" + DEVICE_TYPE + "/%s";
|
|
|
|
public static final String MQTT_SUBSCRIBE_TOPIC = "%s/" + DEVICE_TYPE + "/%s/#";
|
|
|
|
public static final String MQTT_PUBLISH_TOPIC = "%s/" + DEVICE_TYPE + "/%s/temperature";
|
|
|
|
public static final String MQTT_PUBLISH_TOPIC = "%s/" + DEVICE_TYPE + "/%s/temperature";
|
|
|
|
/* ---------------------------------------------------------------------------------------
|
|
|
|
/* ---------------------------------------------------------------------------------------
|
|
|
|
XMPP Connection specific information
|
|
|
|
XMPP Connection specific information
|
|
|
|