-
Notifications
You must be signed in to change notification settings - Fork 52
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
Registration lifetime, update and send operations #555
Comments
Hi David, the client registers to the server with lifetime 3600 For what we understood in the past from the specs, the only way to detect the "online" status is the reg update. Sincerely, if also the notify would trigger the sending of the queue, I would be happy because I would reduce the max delay to the distance between the notifies does this use case match your question? |
@giuseppe-melis I think @davidahoward talk about the new Send Operation from LWM2M v1.1 and you are talking about Observe/notify not exactly the same. But more generally, I see 2 questions here :
My understanding is :
Why ?
So at the end :
(Note that for coap+tcp brings even more question around all of this : https://github.com/eclipse/leshan/wiki/CoAP-over-TCP) |
Thanks Simon, |
(Note that I'm not part of specification authors, so I maybe missed something)
No problem, I think your answer/question is totally complementary with the original one. |
I'm not sure I understand 2.
Are you saying that the client waking up and sending NOTIFY/SEND to server won't work behind a NAT because the server doesn't get the socket address from the received packet? |
This is not what I'm saying. I try to rephrase. I understand the specification :
I guess that :
So if you dequeue on "Registration Update" all works as excepted. Now, if you use "notify" as event "wake-up" event when you're behind a NAT , I just say that you should not forget that you should also probably update "client socket address" in "registration". I don't say it's impossible technically, but at least for now I understand this is out of the spec : #391. I imagine you can use "client socket address" from NOTIFY/SEND packet as destination for "queued request" without updating "client socket address" in "registration" but honestly that smell not so good design to me. |
@davidahoward did you succeed to get more clarification about all of this maybe via other channel ? |
Does the client need to do a registration update operation if a send operation occurs at an interval less than the registration lifetime?
Does the lifetime counter get reset because of a send operation?
For example, if the registration lifetime is set to 3600 seconds, and the client does a send operation every 300 seconds, would the client ever need to do a registration update operation? Why?
OMA-TS-LightweightM2M_Core-V1_1_1-20190617-A.pdf
OMA-TS-LightweightM2M_Transport-V1_1_1-20190617-A.pdf
The text was updated successfully, but these errors were encountered: