lwm2m: add fireResourceChange to LwM2mBinaryAppDataContainer
This commit is contained in:
parent
452699a4fe
commit
2561ab6eb1
@ -84,8 +84,8 @@ public class LwM2mBinaryAppDataContainer extends BaseInstanceEnabler implements
|
|||||||
try {
|
try {
|
||||||
if (id != null) this.setId(id);
|
if (id != null) this.setId(id);
|
||||||
executorService.scheduleWithFixedDelay(() -> {
|
executorService.scheduleWithFixedDelay(() -> {
|
||||||
// fireResourceChange(0);
|
fireResourceChange(0);
|
||||||
// fireResourceChange(2);
|
fireResourceChange(2);
|
||||||
}
|
}
|
||||||
, 1, 1, TimeUnit.SECONDS); // 1 sec
|
, 1, 1, TimeUnit.SECONDS); // 1 sec
|
||||||
// , 1800000, 1800000, TimeUnit.MILLISECONDS); // 30 MIN
|
// , 1800000, 1800000, TimeUnit.MILLISECONDS); // 30 MIN
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user