fix_bug: monitoring - resources
This commit is contained in:
parent
68fe7d4a17
commit
2eee2bc441
@ -145,7 +145,7 @@ public abstract class TransportHealthChecker<C extends TransportMonitoringConfig
|
||||
profileData.setTransportConfiguration(new DefaultDeviceProfileTransportConfiguration());
|
||||
deviceProfile.setProfileData(profileData);
|
||||
} else {
|
||||
tbClient.getResources(new PageLink(1, 0, "lwm2m monitoring")).getData()
|
||||
tbClient.getResources(new PageLink(1, 0, "LwM2M Monitoring id=3 v1.0")).getData()
|
||||
.stream().findFirst()
|
||||
.orElseGet(() -> {
|
||||
TbResource newResource = ResourceUtils.getResource("lwm2m/resource.json", TbResource.class);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user