-
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 Response with timestamped SenML #1610
Read Response with timestamped SenML #1610
Conversation
fdf802c
to
1ea4b47
Compare
I will try to look at this tomorrow. |
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.
My first quick review.
I didn't checkout / test the code yet.
Do you want to handle timestamped value for ObserveResponse
too ?
(I mean for observe response, not notification (notification as already timestamp value)
...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
...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
...rc/main/java/org/eclipse/leshan/server/californium/endpoint/ServerCoapMessageTranslator.java
Outdated
Show resolved
Hide resolved
...ver-cf/src/main/java/org/eclipse/leshan/server/californium/request/LwM2mResponseBuilder.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/eclipse/leshan/transport/javacoap/server/request/LwM2mResponseBuilder.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/eclipse/leshan/transport/javacoap/server/request/LwM2mResponseBuilder.java
Outdated
Show resolved
Hide resolved
1ea4b47
to
77e086c
Compare
77e086c
to
cffdbff
Compare
cffdbff
to
778eecd
Compare
I rebase the code on You could review it if wanted. (I advice to review commit by commit) We still need to decide :
I didn't have time to test about reducing timeout value but I pretty sure that 3 seconds is not needed |
e920219
to
541ee6e
Compare
I reviewed the code and everything looks fine. I also pushed commit with timestamped for Observe Response. |
🙏 I started to work on it again. I should be able to push some code tomorrow. |
@mgdlkundera, I added some more fix/features. You could review/test it if wanted. (I advice to review commit by commit) @mjviljan is possible to test it ? (let me know if this is a problem for you to test a PR) |
Yes, I can test this also. Unfortunately only some time next week, so if you want to merge this before that, don't wait for me. But otherwise I'll come back to this once I've tried it out. |
@mjviljan thx for letting me know that. We can wait for next week. |
Hi, sorry for the delay. I tested this now for my case. Unfortunately this doesn't fix that — but I guess that's just (more) proof that the data I receive from the device may not be really LwM2M standard-compliant. Anyway, thanks for suggesting me to test this! At least I now have some new knowledge to continue with. |
I tested it and I also look through the code and it is ok. |
e7ace9e
to
9a1fee0
Compare
Thx 🙏 I rebased it on |
Implementation of read response with timestamped SenML
This aims to implement : #1553