mirror of
https://repository.entgra.net/community/product-iots.git
synced 2025-09-16 23:32:19 +00:00
fixed connected cup sample issues
This commit is contained in:
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…
Reference in New Issue
Block a user