fixed connected cup sample issues

application-manager-new
ayyoob 8 years ago
parent 1015ca40dc
commit 61e28471de

@ -41,7 +41,7 @@ public class ConnectedCupMQttTransportHandler extends MQTTTransportHandler {
private static String publishTopic = "%s/" + DEVICE_TYPE + "/%s"; private static String publishTopic = "%s/" + DEVICE_TYPE + "/%s";
protected ConnectedCupMQttTransportHandler() { protected ConnectedCupMQttTransportHandler() {
super(iotServerSubscriber, DEVICE_TYPE, "tcp://localhost:1883", ""); super(iotServerSubscriber, DEVICE_TYPE, "tcp://localhost:1886", "");
} }
private ScheduledFuture<?> dataPushServiceHandler; private ScheduledFuture<?> dataPushServiceHandler;

@ -1,6 +1,9 @@
{ {
"deviceType": { "deviceType": {
"label": "Connected Cup", "label": "Connected Cup",
"category": "virtual" "category": "virtual",
"scopes" : [
"perm:connectedcup:enroll"
]
} }
} }
Loading…
Cancel
Save