You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm testing the future 2.0.0-M15 (from the nightly build).
I use the Leshan client to test the server part (based on Leshan). The Leshan client is configured with an instance of LwM2mTestObject and a ResourceListener. I send a WriteRequest from the server:
mode: UPDATE
path: /3442/0/1120
the resource to write has 2 instances:
id: 0 and value: 1025
id: 1 and value: 1026
The LwM2mTestObject initially has 1 instance of the resource 1120 (id: 0, value: 1024), so I expect to be notified for change (in the ResourceListener) for: /3442/0/1120/0, /3442/0/1120/1 (and /3442/0/1120 which is something new compared to 2.0.0-M14).
But /3442/0/1120/1 is missing from the notification (the instance is nevertheless created).
Hi,
I'm testing the future 2.0.0-M15 (from the nightly build).
I use the Leshan client to test the server part (based on Leshan). The Leshan client is configured with an instance of
LwM2mTestObject
and aResourceListener
. I send aWriteRequest
from the server:The LwM2mTestObject initially has 1 instance of the resource 1120 (id: 0, value: 1024), so I expect to be notified for change (in the ResourceListener) for:
/3442/0/1120/0
,/3442/0/1120/1
(and/3442/0/1120
which is something new compared to 2.0.0-M14).But
/3442/0/1120/1
is missing from the notification (the instance is nevertheless created).leshan/leshan-client-core/src/main/java/org/eclipse/leshan/client/resource/SimpleInstanceEnabler.java
Lines 127 to 133 in dceda02
I guess that the issue is just that it should be
previousValue
insteadnewValue
on L128.The text was updated successfully, but these errors were encountered: