-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read Composite support for timestamped data. #1639
Read Composite support for timestamped data. #1639
Conversation
020fb17
to
5edaaa4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reading that I think maybe we need to clarify which behavior we want for different case.
I guess this should be more or less consistent with ReadResponse
and ObserveResponse
?
...egration-tests/src/test/java/org/eclipse/leshan/integration/tests/lockstep/LockStepTest.java
Outdated
Show resolved
Hide resolved
...egration-tests/src/test/java/org/eclipse/leshan/integration/tests/lockstep/LockStepTest.java
Outdated
Show resolved
Hide resolved
...egration-tests/src/test/java/org/eclipse/leshan/integration/tests/lockstep/LockStepTest.java
Outdated
Show resolved
Hide resolved
leshan-lwm2m-core/src/main/java/org/eclipse/leshan/core/response/ReadCompositeResponse.java
Outdated
Show resolved
Hide resolved
leshan-lwm2m-core/src/main/java/org/eclipse/leshan/core/response/ObserveCompositeResponse.java
Outdated
Show resolved
Hide resolved
leshan-lwm2m-core/src/main/java/org/eclipse/leshan/core/response/ReadCompositeResponse.java
Show resolved
Hide resolved
leshan-lwm2m-core/src/main/java/org/eclipse/leshan/core/response/ReadCompositeResponse.java
Outdated
Show resolved
Hide resolved
leshan-lwm2m-core/src/main/java/org/eclipse/leshan/core/response/ReadCompositeResponse.java
Outdated
Show resolved
Hide resolved
leshan-lwm2m-core/src/main/java/org/eclipse/leshan/core/response/ReadCompositeResponse.java
Outdated
Show resolved
Hide resolved
5edaaa4
to
cc9e4bc
Compare
I added some code fixes in dedicated commit |
@JaroslawLegierski I add some modification, I let you review it. |
913e27e
to
05d6d10
Compare
I see that the content in ObserveCompositeResponse has been divided into:
I tested this new feature using a Leshan demo client I created some time ago, which has very limited timestamp support, and the results are OK (If there is one timestamp in the content, the data is decoded, if there are more, we get an exception). |
@JaroslawLegierski Let me know if you think this can be integrated in (Maybe 🤷, you should check if the code is customizable enough, so you can have desired behavior which seems different than default one : #1621 (comment)) |
@JaroslawLegierski, we have several opened PR and I would like to start to integrate some of them in Let me know if I should wait for this one OR if I should integrate it ? 🙏 |
I am still waiting for feedback from my colleagues from FR. Can we please wait a few more days? |
Yep no problem. I just wanted to know if I should wait 🙂 |
I think we can merge this PR with the master branch. |
This is now integrated in Thx @JaroslawLegierski 😉 ! |
The main aim of this PR is to support Read Composite using timestamped data described in #1637