fixed connected cup sample issues

This commit is contained in:
ayyoob 2017-01-20 16:27:32 +05:30
parent 1015ca40dc
commit 61e28471de
2 changed files with 5 additions and 2 deletions

View File

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

View File

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