|
|
@ -42,8 +42,7 @@ public class ConnectedCupMQTTConnector extends MQTTTransportHandler {
|
|
|
|
private static String serverName = DeviceManagementConfigurationManager.getInstance().
|
|
|
|
private static String serverName = DeviceManagementConfigurationManager.getInstance().
|
|
|
|
getDeviceManagementServerInfo().getName();
|
|
|
|
getDeviceManagementServerInfo().getName();
|
|
|
|
|
|
|
|
|
|
|
|
private static String subscribeTopic = "wso2" + File.separator + "+" + File.separator +
|
|
|
|
private static String subscribeTopic = "wso2/+/" + ConnectedCupConstants.DEVICE_TYPE + "/+/"
|
|
|
|
ConnectedCupConstants.DEVICE_TYPE + File.separator + "+" + File.separator
|
|
|
|
|
|
|
|
+ "connected_publisher";
|
|
|
|
+ "connected_publisher";
|
|
|
|
|
|
|
|
|
|
|
|
private static String iotServerSubscriber = UUID.randomUUID().toString().substring(0, 5);
|
|
|
|
private static String iotServerSubscriber = UUID.randomUUID().toString().substring(0, 5);
|
|
|
|